Commit Graph

51 Commits

Author SHA1 Message Date
Alex Merry
e293d7d785 Specify includes in apidocs, so we get
#include <Plasma/Foo>
at the top of the apidocs pages.


svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=852289
2008-08-25 17:47:48 +00:00
Richard Dale
dc878d9033 * Make the multiple inclusion header guard macros all start with PLASMA_
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=842922
2008-08-06 09:19:29 +00:00
Marijn Kruisselbrink
21b148b963 change all ClassName::Private classes to ClassNamePrivate, and adjust friends accordingly; this makes plasma compilable with gcc < 4.2
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=826893
2008-07-01 18:56:43 +00:00
Marco Martin
aadef48088 new optional (so retrocompatible) parameter in the slot called by the custom animation:
the slot can be something like
void animationUpdate(qreal progress, int animId)
it's useful to keep track of multiple animations with a single slot

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=808853
2008-05-17 17:27:18 +00:00
Andreas Hartmetz
9117de06cf dashbot is such a sissy
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802621
2008-04-30 01:30:11 +00:00
Aaron J. Seigo
5482bad2ce protected slots -> Q_PRIVATE_SLOT
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802610
2008-04-29 23:27:17 +00:00
Aaron J. Seigo
67f44e6f0a * constructor + destructor private
* init -> pimpl

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802607
2008-04-29 23:24:09 +00:00
Aaron J. Seigo
0c2b74e11d * animateItem, moveItem return int
* add stopItemAnimation and stopItemMovement

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=802605
2008-04-29 23:16:33 +00:00
Aaron J. Seigo
72db181c7c Phase -> Animator
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800875
2008-04-25 03:23:31 +00:00
Aaron J. Seigo
202e01e44d move animator.[c|cpp] -> animationdriver.[h|cpp]
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800872
2008-04-25 03:17:00 +00:00
Aaron J. Seigo
6e80fe4354 Phase becomes Animator
Animator becomes AnimationDriver

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800870
2008-04-25 03:11:59 +00:00
Davide Bettio
aa5f747305 API REVIEW: Phase -> AnimatorDriver
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800840
2008-04-24 23:21:17 +00:00
Davide Bettio
3bfaf57014 API REVIEW: Animation merges with ElementAnimation.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800825
2008-04-24 22:30:53 +00:00
Davide Bettio
84aa9fb8b0 FramesPerSecond -> FPS.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800816
2008-04-24 21:47:25 +00:00
Davide Bettio
ba4beb2835 API REVIEW: curve(element) -> elementAnimationCurve(element)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800750
2008-04-24 19:28:04 +00:00
Davide Bettio
0dc5009d81 API REVIEW: curve(movement) -> movementAnimationCurve(movement)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800747
2008-04-24 19:22:44 +00:00
Davide Bettio
921afdb3db API REVIEW: curve(animation) -> animationCurve(animation)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800745
2008-04-24 19:18:28 +00:00
Davide Bettio
b1da29061c API REVIEW: duration(element) -> elementAnimationDuration(element)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800743
2008-04-24 19:11:12 +00:00
Davide Bettio
2c169f97ff API REVIEW: duration(movement) -> movementAnimationDuration(movement)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800740
2008-04-24 19:05:51 +00:00
Davide Bettio
eb378c78fd animationFramesPerSecond(element) -> elementAnimationFramesPerSecond(element)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800735
2008-04-24 18:45:47 +00:00
Davide Bettio
27954bc347 API REVIEW: animationFramesPerSecond(movement) -> movementAnimationFramesPerSecond(movement)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800733
2008-04-24 18:41:47 +00:00
Davide Bettio
ab377f4f18 API REVIEW: duration(animation) -> animationDuration(animation)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800723
2008-04-24 18:20:58 +00:00
Davide Bettio
aa31688da7 API REVIEW: framesPerSecond(element) -> animationFramesPerSecond(element)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800720
2008-04-24 18:15:57 +00:00
Davide Bettio
714755631d API REVIEW: framesPerSecond(movement) -> animationFramesPerSecond(movement)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800715
2008-04-24 18:11:48 +00:00
Davide Bettio
16ef3e589c API REVIEW: FramesPerSecond() -> animationFramesPerSecond()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800711
2008-04-24 18:06:26 +00:00
Davide Bettio
b74b254741 API REVIEW: element*(qreal frame, ...) -> element*(qreal progress, ...)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800707
2008-04-24 17:57:56 +00:00
Davide Bettio
0b28813b3e API REVIEW: slideOut() -> itemSlideOut()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800706
2008-04-24 17:51:33 +00:00
Davide Bettio
b88c344091 API REVIEW: slideIn() -> itemSlideIn()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800702
2008-04-24 17:41:50 +00:00
Davide Bettio
16e79457e8 API REVIEW: activate() -> itemActivated()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800700
2008-04-24 17:36:44 +00:00
Davide Bettio
ae65cf26d5 API REVIEW: disappear() -> itemDisappear()
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800698
2008-04-24 17:30:49 +00:00
Davide Bettio
45d4be4b8d API REVIEW: http://techbase.kde.org/index.php?title=Projects/Plasma/Tokamak1#Plasma::Animator
appear() -> itemAppear()

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800696
2008-04-24 17:16:36 +00:00
Aaron J. Seigo
0dfb81a617 BINARY INCOMPATIBLE CHANGES
* const correctness in Animator
* remove the vestiges of the FrameAppear stuff in Phase we never used
* introduce FastSlide[In|Out]
* put the duration in the hands of the Animator with duration methods

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=765004
2008-01-22 23:37:48 +00:00
Aaron J. Seigo
095b27e53b make slideIn and slideOut actually work, we needed the start point as well so i added that to the api.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=724244
2007-10-11 20:19:51 +00:00
Aaron J. Seigo
e9517a938b remove dead code; background rendering ended up somewhere completely different
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=723925
2007-10-11 04:43:13 +00:00
Aaron J. Seigo
e0f831373c SVN_SILENT: add "or later" clause. cleared with copyright holders, except for rich moore's ui loader which i need to ask him for permission for first.
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=712549
2007-09-14 19:06:18 +00:00
Aaron J. Seigo
904c1b13f8 move animator to the new plugin system
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=705975
2007-08-29 02:45:20 +00:00
Aaron J. Seigo
db4a7ebe61 copyright cleanups:
* Copyright (C) -> Copyright
* add "or later" clause to files that i have the sole copyright on
* add current year (2007) to my copyrights where it was missing

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=696946
2007-08-06 11:20:02 +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
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
6c736f91e0 add dptr; thanks ebn!
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=684181
2007-07-06 10:28:28 +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
1ba292c158 * allow the animator to define the curve to use
* switch to Phase::CurveShape now that we aren't using QTimeLine

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=679868
2007-06-25 05:57:47 +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
f16c087846 * add element appear and disappear methods
* collapse all the frame rate methods into two (one for element anims and one for whole item anims) which take the Phase enumerations

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=677781
2007-06-19 21:53:19 +00:00
Pino Toscano
f39618e727 include cleanup
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=676613
2007-06-17 09:28:55 +00:00
Laurent Montel
3d126ae09b Fix include
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=675269
2007-06-13 21:26:08 +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
eb330b2a79 * cleanup includes for external usage
* include KGenericFactory so subclasses don't have to
* move the plugin macro to Animator where it belongs

svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=673394
2007-06-10 06:02:38 +00:00
David Faure
b00436fbe1 SVN_SILENT No ';'
svn path=/trunk/KDE/kdebase/workspace/lib/plasma/; revision=672801
2007-06-08 07:23:09 +00:00