Commit Graph

7 Commits

Author SHA1 Message Date
Aaron J. Seigo
ac1d10f987 so that people don't have to ask me how to turn on the anims =)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=677882
2007-06-20 06:06:47 +00:00
Aaron J. Seigo
30f07bb62c add the concept of element animation. right now it only provides support for modifying a pixmap; positioning needs to be added, but this at least shows that it works(tm)
the idea is that you register an element animation and get back an id. you can associate a pixmap with that id and off you go. the item gets update() calls whenever the anim changes and you can fetch your precious little pixmap back with a call to animationResult.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=677782
2007-06-19 21:56:03 +00:00
Aaron J. Seigo
fab8953ccb * provide a Phase singleton
* use it in Corona

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676831
2007-06-17 20:05:43 +00:00
Aaron J. Seigo
13a83e87f8 * add a set of "completed" methods to the animations so the animator can clean up
* instead of passing in the frame, pass in the % completed in a qreal (0.0 - 1.0), allowing the Animator to remain innocent of animation time elapse
* call the Animator immediately with 0% to allow it to start immediately and do setup

svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=673398
2007-06-10 07:09:07 +00:00
Aaron J. Seigo
2360b4b210 * actually start the timeline (durr!)
* open up the possiblity to change the CurveShape depending on the effect

svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=673396
2007-06-10 06:25:26 +00:00
Aaron J. Seigo
73ccedb42e make the frame rates per second by dividing by 1/duration. we will likely want different durations per anim, but i really like the idea of controlling the durations centrally as a means to .. guide (yeah, that's it!) Animator developers
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672786
2007-06-08 06:05:40 +00:00
Aaron J. Seigo
2894a3403b initial 284LOC sketch of phase/animator. this includes the "null" animator base class, the phase manager and plugin loader.
tomorrow: an animator!

svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672771
2007-06-08 05:24:19 +00:00