vertical_cursor_view.cpp
323 Bytes
#include "vertical_cursor_view.h"
namespace Shared {
void VerticalCursorView::drawRect(KDContext * ctx, KDRect rect) const {
KDCoordinate height = bounds().height();
ctx->fillRect(KDRect(0, 0, 1, height), KDColorBlack);
}
KDSize VerticalCursorView::minimalSizeForOptimalDisplay() const {
return KDSize(1, 0);
}
}