[themes] Color with pointers

This commit is contained in:
Laury
2022-02-11 18:41:00 +01:00
parent 84d88a3e8d
commit 63d1e0ee4e
175 changed files with 546 additions and 652 deletions

View File

@@ -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-1)/2, 0, 1, height), Palette::PrimaryText);
ctx->fillRect(KDRect(0, (height-1)/2, width, 1), Palette::PrimaryText);
ctx->fillRect(KDRect((width-1)/2, 0, 1, height), *Palette::PrimaryText);
ctx->fillRect(KDRect(0, (height-1)/2, width, 1), *Palette::PrimaryText);
}
KDSize CursorView::minimalSizeForOptimalDisplay() const {