1 2 3 4 5 6 7 8 9 10 11 12 13 14
#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); } }