[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-11-08 18:29:52
Message-ID: 1226168992.840704.21825.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 881679 by mart:

take also shadow position and radius into account


 M  +2 -1      pager.cpp  


--- trunk/KDE/kdebase/workspace/plasma/applets/pager/pager.cpp #881678:881679
@@ -1023,7 +1023,8 @@
         }
 
         QPixmap result = Plasma::PaintUtils::shadowText(desktopText, \
                defaultTextColor, shadowColor, QPoint(1,2), 2);
-        painter->drawPixmap(m_rects[i].center() - result.rect().center(), result);
+        //take also shadow position and radius into account
+        painter->drawPixmap(m_rects[i].center() - result.rect().center() + \
QPoint(1,3), result);  }
 }
 


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

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