author | alwin <alwin> | 2005-03-20 18:29:19 (UTC) |
---|---|---|
committer | alwin <alwin> | 2005-03-20 18:29:19 (UTC) |
commit | ee29d99e2af9837b61ece67ebb54f2cbdfc50732 (patch) (unidiff) | |
tree | 34642ff35645ec9cd4fa182ca9d35d7c2739210b | |
parent | d330608d5c2713f8bde051b91382d0e0e54317ba (diff) | |
download | opie-ee29d99e2af9837b61ece67ebb54f2cbdfc50732.zip opie-ee29d99e2af9837b61ece67ebb54f2cbdfc50732.tar.gz opie-ee29d99e2af9837b61ece67ebb54f2cbdfc50732.tar.bz2 |
made monthview colors a little bit darker so them will visible on bright
displays
-rw-r--r-- | library/datebookmonth.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/library/datebookmonth.cpp b/library/datebookmonth.cpp index 013ab66..2616b7b 100644 --- a/library/datebookmonth.cpp +++ b/library/datebookmonth.cpp | |||
@@ -31,2 +31,5 @@ | |||
31 | 31 | ||
32 | static const QColor s_colorNormalLight = QColor(255, 150, 150); | ||
33 | static const QColor s_colorRepeatLight = QColor(150, 150, 255); | ||
34 | static const QColor s_colorHolidayLight= QColor(150, 255, 150); | ||
32 | 35 | ||
@@ -612,3 +615,3 @@ void DayItemMonth::paint( QPainter *p, const QColorGroup &cg, | |||
612 | p->fillRect( 0, 0, cr.width(), cr.height() / 2, | 615 | p->fillRect( 0, 0, cr.width(), cr.height() / 2, |
613 | colorNormalLight ); | 616 | s_colorNormalLight ); |
614 | p->fillRect( 0, cr.height() / 2, cr.width(), cr.height() / 2, | 617 | p->fillRect( 0, cr.height() / 2, cr.width(), cr.height() / 2, |
@@ -618,6 +621,6 @@ void DayItemMonth::paint( QPainter *p, const QColorGroup &cg, | |||
618 | p->fillRect( 0, 0, cr.width(), cr.height(), | 621 | p->fillRect( 0, 0, cr.width(), cr.height(), |
619 | colorNormalLight ); | 622 | s_colorNormalLight ); |
620 | } else { | 623 | } else { |
621 | p->fillRect( 0, 0, cr.width(), cr.height(), | 624 | p->fillRect( 0, 0, cr.width(), cr.height(), |
622 | QColor(0,220,0) ); | 625 | s_colorHolidayLight ); |
623 | } | 626 | } |
@@ -625,3 +628,3 @@ void DayItemMonth::paint( QPainter *p, const QColorGroup &cg, | |||
625 | p->fillRect( 0, 0, cr.width(), cr.height(), | 628 | p->fillRect( 0, 0, cr.width(), cr.height(), |
626 | colorRepeatLight ); | 629 | s_colorRepeatLight ); |
627 | } | 630 | } |