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

List:       kde-commits
Subject:    kdebase/kicker
From:       Aaron J. Seigo <aseigo () kde ! org>
Date:       2005-02-05 11:08:05
Message-ID: 20050205110805.C981F1CFBF () office ! kde ! org
[Download RAW message or body]

CVS commit by aseigo: 

restore tint percentages.
kconfigxt _really_ needs to grant more control over accessors. bleh.


  M +2 -2      core/containerarea.cpp   1.206
  M +2 -2      extensions/taskbar/taskbarextension.cpp   1.58


--- kdebase/kicker/core/containerarea.cpp  #1.205:1.206
@@ -1083,6 +1083,6 @@ void ContainerArea::setBackgroundTheme()
         }
 
-        _rootPixmap->setFadeEffect(KickerSettings::self()->tintValue(),
-                                   KickerSettings::self()->tintColor());
+        double tint = double(KickerSettings::self()->tintValue()) / 100;
+        _rootPixmap->setFadeEffect(tint, KickerSettings::self()->tintColor());
         _bgSet = true;
         return;

--- kdebase/kicker/extensions/taskbar/taskbarextension.cpp  #1.57:1.58
@@ -148,6 +148,6 @@ void TaskBarExtension::setBackgroundThem
         }
 
-        m_rootPixmap->setFadeEffect(KickerSettings::self()->tintValue(),
-                                    KickerSettings::self()->tintColor());
+        double tint = double(KickerSettings::self()->tintValue()) / 100;
+        m_rootPixmap->setFadeEffect(tint, KickerSettings::self()->tintColor());
         m_rootPixmap->start();
         return;


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

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