summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/launcherview.cpp15
1 files changed, 14 insertions, 1 deletions
diff --git a/core/launcher/launcherview.cpp b/core/launcher/launcherview.cpp
index 6354bb7..1598d13 100644
--- a/core/launcher/launcherview.cpp
+++ b/core/launcher/launcherview.cpp
@@ -44,2 +44,5 @@ class LauncherIconView : public QIconView {
public:
+ QColor iconText;
+ QColor background;
+
LauncherIconView( QWidget* parent, const char* name=0 ) :
@@ -53,2 +56,7 @@ public:
ike = FALSE;
+
+ Config config( "qpe" );
+ config.setGroup( "Appearance" );
+ iconText = QColor( config.readEntry( "LauncherIconText", "#000000" ) );
+ background = QColor( config.readEntry( "LauncherBackground", "#FFFFFF" ) );
}
@@ -149,3 +157,4 @@ public:
- painter.fillRect( QRect( 0, 0, width(), height() ), colorGroup().background().light(110));
+// painter.fillRect( QRect( 0, 0, width(), height() ), colorGroup().background().light(110));
+ painter.fillRect( QRect( 0, 0, width(), height() ), background);
// Overlay the Qtopia logo in the center
@@ -289,2 +298,6 @@ public:
}
+ else {
+ mycg.setColor( QColorGroup::Text, liv->iconText );
+ }
+
QIconViewItem::paintItem(p,mycg);