mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps] Shared: resize cross cursor
This commit is contained in:
committed by
EmilieNumworks
parent
66401fc697
commit
d6215d4cc1
@@ -5,8 +5,8 @@ namespace Shared {
|
||||
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);
|
||||
ctx->fillRect(KDRect((width-1)/2, 0, 1, height), KDColorBlack);
|
||||
ctx->fillRect(KDRect(0, (height-1)/2, width, 1), KDColorBlack);
|
||||
}
|
||||
|
||||
KDSize CursorView::minimalSizeForOptimalDisplay() const {
|
||||
|
||||
Reference in New Issue
Block a user