[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/applets/pager
From:       Marco Martin <notmart () gmail ! com>
Date:       2008-12-10 17:26:34
Message-ID: 1228929994.554029.13430.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 895404 by mart:

use always the plasma text color to paint miniatures: looks the same
with the default theme but looks less terrible with themes that uses
system colors


 M  +6 -6      pager.cpp  


--- trunk/KDE/kdebase/workspace/plasma/applets/pager/pager.cpp #895403:895404
@@ -913,25 +913,25 @@
 
     // Inactive windows
     QColor drawingColor = \
                plasmaColorTheme->foreground(KColorScheme::InactiveText).color();
-    drawingColor.setAlpha(50);
+    drawingColor.setAlpha(45);
     QBrush windowBrush(drawingColor);
     // Inactive windows Active desktop
-    drawingColor.setAlpha(192);
+    drawingColor.setAlpha(90);
     QBrush windowBrushActiveDesk(drawingColor);
 
     // Inactive window borders
-    drawingColor = plasmaColorTheme->foreground(KColorScheme::NeutralText).color();
-    drawingColor.setAlpha(238);
+    drawingColor = defaultTextColor;
+    drawingColor.setAlpha(130);
     QPen windowPen(drawingColor);
 
     // Active window borders
     QPen activeWindowPen(defaultTextColor);
 
     // Active windows
-    drawingColor.setAlpha(190);
+    drawingColor.setAlpha(130);
     QBrush activeWindowBrush(drawingColor);
     // Active windows Active desktop
-    drawingColor.setAlpha(228);
+    drawingColor.setAlpha(155);
     QBrush activeWindowBrushActiveDesk(drawingColor);
 
     if (m_showOwnBackground && (formFactor() == Plasma::Vertical || formFactor() == \
Plasma::Horizontal)) {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic