mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 08:47:28 +01:00
9 lines
300 B
C++
9 lines
300 B
C++
#include "cursor_view.h"
|
|
|
|
void CursorView::drawRect(KDContext * ctx, KDRect rect) const {
|
|
KDCoordinate width = bounds().width();
|
|
KDCoordinate height = bounds().height();
|
|
ctx->fillRect(KDRect(width/2, 0, 1, height), KDColorBlack);
|
|
ctx->fillRect(KDRect(0, height/2, width, 1), KDColorBlack);
|
|
}
|