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

List:       kde-commits
Subject:    kdeartwork/styles/plastik (silent)
From:       Sandro Giessl <ceebx () users ! sourceforge ! net>
Date:       2003-09-03 19:21:34
[Download RAW message or body]

CVS commit by giessl: 

CVS_SILENT slightly improved slider handle arrow.


  M +8 -2      plastik.cpp   1.6


--- kdeartwork/styles/plastik/plastik.cpp  #1.5:1.6
@@ -661,5 +661,5 @@ void PlastikStyle::renderSliderHandle(QP
         p->drawPoint(xcenter+5-4, ycenter+7);
         // anti-aliasing of the contour... sort of. :)
-        p->setPen(alphaBlendColors(g.background(), enabled?contourColor:contourColor3, 100) );
+        p->setPen(alphaBlendColors(g.background(), enabled?contourColor:contourColor3, 80) );
         p->drawPoint(xcenter, ycenter+8);
         p->setPen(alphaBlendColors(g.background(), enabled?contourColor:contourColor3, 150) );
@@ -672,4 +672,7 @@ void PlastikStyle::renderSliderHandle(QP
         p->drawPoint(xcenter-5+3, ycenter+7);
         p->drawPoint(xcenter+5-3, ycenter+7);
+        p->setPen(alphaBlendColors(g.background(), enabled?contourColor:contourColor3, 190) );
+        p->drawPoint(xcenter-5+4, ycenter+8);
+        p->drawPoint(xcenter+5-4, ycenter+8);
 
 
@@ -712,5 +715,5 @@ void PlastikStyle::renderSliderHandle(QP
         p->drawPoint(xcenter+7, ycenter+5-4);
         // anti-aliasing. ...sort of :)
-        p->setPen(alphaBlendColors(g.background(), enabled?contourColor:contourColor3, 100) );
+        p->setPen(alphaBlendColors(g.background(), enabled?contourColor:contourColor3, 80) );
         p->drawPoint(xcenter+8, ycenter);
         p->setPen(alphaBlendColors(g.background(), enabled?contourColor:contourColor3, 150) );
@@ -723,4 +726,7 @@ void PlastikStyle::renderSliderHandle(QP
         p->drawPoint(xcenter+7, ycenter-5+3);
         p->drawPoint(xcenter+7, ycenter+5-3);
+        p->setPen(alphaBlendColors(g.background(), enabled?contourColor:contourColor3, 190) );
+        p->drawPoint(xcenter+8, ycenter-5+4);
+        p->drawPoint(xcenter+8, ycenter+5-4);
 
         QRegion mask(xcenter-5, ycenter-4, 13, 9);


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

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