Commit Graph

55 Commits

Author SHA1 Message Date
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
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
Davide Bettio
7e5915f398 API REVIEW: FPS -> Fps
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=801635
2008-04-27 09:02:18 +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
eba58a193d API REVIEW: *Slide* -> *Slide*Movement
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=800796
2008-04-24 21:06:08 +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
ee32d3c996 remove the use of 1209 explicitly now that i have Winter's Magic Formula for default debug space. makes backporting way easier; sorry for the noise of the earlier commit. suppose i should read planetkde.org more closely ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758498
2008-01-08 01:25:09 +00:00
Aaron J. Seigo
12ef6308cb use the plasma debug area (1209); i considered wrapping this in Plasma::debug() but that seems overkill ;)
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=758415
2008-01-07 20:50:31 +00:00
Seb Ruiz
d8961b351c use correct precision
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=739895
2007-11-22 07:16:34 +00:00
Alexis Ménard
ccdccda3db Just add more frame for a more fluid effect
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=732756
2007-11-04 17:07:57 +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
Thiago Macieira
eca6dc90c0 Remove use of k_funcinfo
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=702583
2007-08-20 21:33:48 +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
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
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
d734b95419 apparently this is more efficient; thx frederikh
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=678250
2007-06-20 23:33:26 +00:00