Commit Graph

18 Commits

Author SHA1 Message Date
Aaron J. Seigo
ac918ad4bf kdebug fixes
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=695587
2007-08-02 13:12:59 +00:00
Aaron J. Seigo
6f850a1f66 * hide() items on completed dissapear
* emit signals on anim completion
* note that the slide anim needs to be rewritten

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=693277
2007-07-27 16:34:01 +00:00
Aaron J. Seigo
af043ca588 too tired to do much of anything else, i figured i could fix some ebn issues
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690173
2007-07-20 08:06:27 +00:00
Aaron J. Seigo
9303303aa2 SVN_SILENT: TODO is done, remove it
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=690083
2007-07-20 02:01:56 +00:00
Alexis Ménard
cf889b289b +add a signal when a movement animation is finished
+modify applet solid notifier to disappear when the notification is finished 



svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=689154
2007-07-17 19:23:33 +00:00
Alexis Ménard
44bf51c596 +Disable old medianotifier autostart, it now has to be loaded explicitely to be used.
+Add new applet solidnotifier wich will in future show new devices.I put it directly here because it was a 
default applet wich will be loaded on start. Send me email if problem.
+Modify solidnotifierengine in order to connect it with solid.Just connect signal, no filter and so
+Problem in solidnotifier applet->don't find the solidnotifier engine.See it later.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=684582
2007-07-06 23:54:56 +00:00
Alexis Ménard
fee185b328 +Add slideIn slideDown animation in plasma
Mail me if you want a simple applet wich use this animation

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=684432
2007-07-06 16:26:48 +00:00
Aaron J. Seigo
33d25b39d8 * sketch in movement animations
* add slideIn, slideOut
* change the name of the progress parameters in the animator header to
  reflect how they are actually used these days

CCMAIL:darktears31@gmail.com

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=683150
2007-07-04 09:36:50 +00:00
Aaron J. Seigo
45ee70aa26 * startElementAnimation -> animateElement
* animate -> animateItem
* frames -> framesPerSecond
* use the curve shape as provided by the animator
* get rid of the use of QTimeLine
    * this cuts down on the number of objects and timer events dramatically in the case of multiple simultaneous animations
    * all animations now update on the same tick
    * simplifies the management code a -lot- though now i need to do a lot more of the math

TODO: implement interval updating based on the curve shape; otherwise, works pretty well =)

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=679871
2007-06-25 06:01:34 +00:00
Aaron J. Seigo
8c8012c1ce framesPerSecond is more obvious
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=679782
2007-06-24 21:36:00 +00:00
Aaron J. Seigo
a45a0c2e5f since we are now using a range of 0-1, there's no real need for *Completed methods, just pass in 1
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=679744
2007-06-24 20:22:19 +00:00
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