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

List:       kde-commits
Subject:    KDE/kdelibs/plasma
From:       Igor Trindade Oliveira <igor_trindade () yahoo ! com ! br>
Date:       2009-12-05 20:23:14
Message-ID: 1260044594.463233.16023.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1059117 by igorto:

add zoom animation to new animation api

 M  +1 -0      CMakeLists.txt  
 A             animations/zoom.cpp   [License: LGPL (v2+)]
 A             animations/zoom_p.h   [License: LGPL (v2+)]
 M  +4 -0      animator.cpp  
 M  +2 -1      animator.h  


--- trunk/KDE/kdelibs/plasma/CMakeLists.txt #1059116:1059117
@@ -54,6 +54,7 @@
     animations/rotationstacked.cpp
     animations/stackedlayout.cpp
     animations/geo.cpp
+    animations/zoom.cpp
     applet.cpp
     configloader.cpp
     containment.cpp
--- trunk/KDE/kdelibs/plasma/animator.cpp #1059116:1059117
@@ -30,6 +30,7 @@
 #include "animations/slide_p.h"
 #include "animations/rotationstacked.h"
 #include "animations/geo_p.h"
+#include "animations/zoom_p.h"
 
 namespace Plasma
 {
@@ -66,6 +67,9 @@
     case GeoAnimation:
         result = new Plasma::GeoAnimation;
         break;
+    case ZoomAnimation:
+        result = new Plasma::ZoomAnimation;
+        break;
 
     default:
         kDebug() << "Unsupported animation type.";
--- trunk/KDE/kdelibs/plasma/animator.h #1059116:1059117
@@ -63,7 +63,8 @@
         RotationAnimation, /*<< Rotate an animated object */
         RotationStackedAnimation, /*<< for flipping one object with another */
         SlideAnimation, /*<< Move the position of animated object */
-        GeoAnimation /*<< Geometry animation*/
+        GeoAnimation, /*<< Geometry animation*/
+        ZoomAnimation /*<<Zoom animation */
     };
 
     enum CurveShape {
[prev in list] [next in list] [prev in thread] [next in thread] 

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