mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
15 lines
331 B
C++
15 lines
331 B
C++
#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), Palette::PrimaryText);
|
|
}
|
|
|
|
KDSize VerticalCursorView::minimalSizeForOptimalDisplay() const {
|
|
return KDSize(1, 0);
|
|
}
|
|
|
|
}
|