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

List:       kde-commits
Subject:    KDE/kdelibs/kstyles/plastik
From:       Sandro Giessl <sandro () giessl ! com>
Date:       2005-07-26 18:03:51
Message-ID: 1122401031.393152.22963.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 438971 by giessl:

Sebastien is right, of course etched custom menu items should be drawn with
cg.light() as 30 lines below for normal etched menu items.

CCMAIL: slaout@linux62.org


 M  +1 -1      plastik.cpp  


--- trunk/KDE/kdelibs/kstyles/plastik/plastik.cpp #438970:438971
@@ -2596,7 +2596,7 @@
 
                 // Draw etched text if we're inactive and the menu item is disabled
                 if ( etchtext && !enabled && !active ) {
-                    p->setPen( cg.foreground() );
+                    p->setPen( cg.light() );
                     mi->custom()->paint( p, cg, active, enabled, xp+offset, \
r.y()+m+1, tw, r.height()-2*m );  p->setPen( discol );
                 }


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

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