mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-27 01:29:58 +01:00
[apps\shared] Create a folder shared/
Change-Id: I94e4474ff5ab3bf9db7afd5b3be57b985755ecdf
This commit is contained in:
8
apps/shared/cursor_view.cpp
Normal file
8
apps/shared/cursor_view.cpp
Normal file
@@ -0,0 +1,8 @@
|
||||
#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);
|
||||
}
|
||||
Reference in New Issue
Block a user