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

List:       kde-commits
Subject:    kdeartwork/styles/plastik
From:       Sandro Giessl <sandro () giessl ! com>
Date:       2004-05-10 13:13:27
Message-ID: 20040510131327.DE8BB24EE () office ! kde ! org
[Download RAW message or body]

CVS commit by giessl: 

Overwrite KStyle's menu blend pixmap using the menu background color instead of
the button color. Only affects "Software-/XRender Blend".

CCMAIL: 81249-done@bugs.kde.org


  M +6 -0      plastik.cpp   1.74
  M +2 -0      plastik.h   1.25


--- kdeartwork/styles/plastik/plastik.cpp  #1.73:1.74
@@ -921,4 +921,10 @@ void PlastikStyle::renderPanel(QPainter 
 }
 
+void PlastikStyle::renderMenuBlendPixmap( KPixmap &pix, const QColorGroup &cg,
+    const QPopupMenu* /* popup */ ) const
+{
+    pix.fill( cg.background().light(105) );
+}
+
 void PlastikStyle::renderTab(QPainter *p,
                             const QRect &r,

--- kdeartwork/styles/plastik/plastik.h  #1.24:1.25
@@ -247,4 +247,6 @@ protected:
                    const bool cornerWidget = false) const;
 
+    virtual void renderMenuBlendPixmap( KPixmap& pix, const QColorGroup& cg, 
+                                        const QPopupMenu* popup ) const;
 
     bool eventFilter(QObject *, QEvent *);


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

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