New Default theme: Omega theme! (Beta)

This commit is contained in:
Quentin Guidée
2019-11-29 19:42:39 +01:00
parent af2e8209ef
commit c68a0cdb33
102 changed files with 348 additions and 196 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::Text);
ctx->fillRect(KDRect(0, (height-1)/2, width, 1), Palette::Text);
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 {