Commit Graph

242 Commits

Author SHA1 Message Date
Giulio Camuffo
8c3ab81d2f fixed the calculation of the height
svn path=/trunk/KDE/kdelibs/; revision=1176062
2010-09-16 14:13:09 +00:00
Marco Martin
91e0556fed calculte intermediate values that actually make sense
svn path=/trunk/KDE/kdelibs/; revision=1167476
2010-08-24 18:21:19 +00:00
Aaron J. Seigo
ae26e2a87c push/pop a context when loading
svn path=/trunk/KDE/kdelibs/; revision=1159708
2010-08-06 01:26:28 +00:00
Aaron J. Seigo
b2d37c0604 delete the widget snapshot; i bet that's where the pixmaps are leaking from
svn path=/trunk/KDE/kdelibs/; revision=1149617
2010-07-13 20:33:08 +00:00
Aaron J. Seigo
c79a1fb1f1 SVN_SILENT: ws
svn path=/trunk/KDE/kdelibs/; revision=1148342
2010-07-10 10:41:47 +00:00
Aaron J. Seigo
5df21d2137 provide a short-circuit path for checking the js anims so we don't check over and over again
svn path=/trunk/KDE/kdelibs/; revision=1138329
2010-06-15 18:02:44 +00:00
Marco Martin
b959b74d36 this animtion is a slide, is not an absolute position target
svn path=/trunk/KDE/kdelibs/; revision=1137131
2010-06-11 18:38:58 +00:00
Aaron J. Seigo
eb8e81e27c make it possible to prefix anims
svn path=/trunk/KDE/kdelibs/; revision=1126034
2010-05-13 00:52:36 +00:00
Adenilson Cavalcanti Da Silva
5e9ca683a6 Debugging message.
svn path=/trunk/KDE/kdelibs/; revision=1123334
2010-05-05 20:57:02 +00:00
Aaron J. Seigo
a87f70804f missing macro
svn path=/trunk/KDE/kdelibs/; revision=1120796
2010-04-30 00:22:26 +00:00
Aaron J. Seigo
f456c124aa easing curve support
svn path=/trunk/KDE/kdelibs/; revision=1120795
2010-04-30 00:13:44 +00:00
Aaron J. Seigo
b9ff1cb689 make these properties read-only
svn path=/trunk/KDE/kdelibs/; revision=1120793
2010-04-30 00:06:43 +00:00
Aaron J. Seigo
af0963e236 * don't pass in anything to the ctor, instead set properties
* don't set properties on m_instance unless it's a success
* set the duration and target propreties on each pass through start

svn path=/trunk/KDE/kdelibs/; revision=1120786
2010-04-29 23:51:32 +00:00
Aaron J. Seigo
c5748b3719 make the JS anims an easing curve anim
svn path=/trunk/KDE/kdelibs/; revision=1120782
2010-04-29 23:40:30 +00:00
Aaron J. Seigo
6c44a1e8a4 access to other animations
svn path=/trunk/KDE/kdelibs/; revision=1120776
2010-04-29 23:01:48 +00:00
Aaron J. Seigo
a06b2bf70d access to easing curves
svn path=/trunk/KDE/kdelibs/; revision=1120770
2010-04-29 22:29:26 +00:00
Aaron J. Seigo
a246be9d42 * get rid of some manual memory management
* get rid of some members that were really only used as local members
* make the fps stuff optional (and off by default)

svn path=/trunk/KDE/kdelibs/; revision=1120750
2010-04-29 21:17:43 +00:00
Aaron J. Seigo
736c381bbe * move script file loading from Animator to AnimationScriptEngine
* don't use camel case includes for kdelibs classes in files which are themselves in kdelibs
* add my copyright to these files since they are approaching 100% code written by me

svn path=/trunk/KDE/kdelibs/; revision=1120250
2010-04-28 17:51:46 +00:00
Aaron J. Seigo
03bc2d587e allow clearing the animations, checking for whether an animation is registered and make it first-come, first-serve to avoid anims overriding each other
svn path=/trunk/KDE/kdelibs/; revision=1120236
2010-04-28 17:38:27 +00:00
Aaron J. Seigo
cbd94fc434 buld
svn path=/trunk/KDE/kdelibs/; revision=1119246
2010-04-26 21:00:21 +00:00
Aaron J. Seigo
a5c793691b proper file names, AnimationEngine -> AnimationScriptEngine, and it becomes a namespace
svn path=/trunk/KDE/kdelibs/; revision=1119242
2010-04-26 20:56:15 +00:00
Aaron J. Seigo
d38dc61819 clean up the copyright headers
svn path=/trunk/KDE/kdelibs/; revision=1119236
2010-04-26 20:46:36 +00:00
Adenilson Cavalcanti Da Silva
058713d07a Adding jsanim classes (next, change object factory to address jsanim
object creation).


svn path=/trunk/KDE/kdelibs/; revision=1119231
2010-04-26 20:37:43 +00:00
Bruno de Oliveira Abinader
51a9b1ac72 Added Plasma::Animator::easingCurve() pre-defined easing curves factory.
Using this, Plasma::PendulumCurve now longer needs to be public :-)

svn path=/trunk/KDE/kdelibs/; revision=1118090
2010-04-23 20:55:46 +00:00
Bruno de Oliveira Abinader
2375cd6ce8 Added Plasma::PendulumCurve class plus make it work with RotationAnimation
svn path=/trunk/KDE/kdelibs/; revision=1117942
2010-04-23 13:39:34 +00:00
Bruno de Oliveira Abinader
abd0dd20b5 Missed RotationStacked QEasingCurve double call fix :-)
svn path=/trunk/KDE/kdelibs/; revision=1117941
2010-04-23 13:38:38 +00:00
Bruno de Oliveira Abinader
75b66bdd8b Avoid double call for QEasingCurve's valueForProgress() (now executed by EasingAnimation before calling updateEffectiveTime), causing a minor corruption of the effective animation progress values.
svn path=/trunk/KDE/kdelibs/; revision=1117762
2010-04-22 23:10:29 +00:00
Bruno de Oliveira Abinader
a8975d2e2d Initial WaterAnimation implementation
This water animation uses the RippleEffect class to simulate a cool water animation on the target widget

svn path=/trunk/KDE/kdelibs/; revision=1116474
2010-04-19 15:09:36 +00:00
Bruno de Oliveira Abinader
daffafb9fe s/pulsershadow/widgetsnapshot
svn path=/trunk/KDE/kdelibs/; revision=1115254
2010-04-15 18:51:26 +00:00
Aaron J. Seigo
892d8ae1c0 use the easing curve in all of our animations
svn path=/trunk/KDE/kdelibs/; revision=1112612
2010-04-08 17:07:33 +00:00
Bruno de Oliveira Abinader
4f301b339f Reverting "Added bouncing effect for Rotation animation"
svn path=/trunk/KDE/kdelibs/; revision=1112210
2010-04-07 15:56:21 +00:00
Bruno de Oliveira Abinader
7507808e7c Added bouncing effect for Rotation animation
svn path=/trunk/KDE/kdelibs/; revision=1112192
2010-04-07 15:19:07 +00:00
Marco Martin
8269a5055e fix fade out
svn path=/trunk/KDE/kdelibs/; revision=1109248
2010-03-30 21:24:04 +00:00
Zack Rusin
a0fe64f519 Reduce debugging output a bit
especially since it's unconditional
SVN_SILENT


svn path=/trunk/KDE/kdelibs/; revision=1106171
2010-03-22 03:19:37 +00:00
Adenilson Cavalcanti Da Silva
3958e203be Paint only if the item is visible.
svn path=/trunk/KDE/kdelibs/; revision=1105303
2010-03-19 19:47:52 +00:00
Igor Trindade Oliveira
65ee24a2a3 use qfuzzycompare to resolse black frame in pixmap transitions
svn path=/trunk/KDE/kdelibs/; revision=1095410
2010-02-24 08:53:10 +00:00
Adenilson Cavalcanti Da Silva
af1a619c06 Including 'moc' files, should speed up compilation.
svn path=/trunk/KDE/kdelibs/; revision=1095303
2010-02-23 23:31:45 +00:00
Adenilson Cavalcanti Da Silva
6265ebb629 We no longer need this to be a slot.
svn path=/trunk/KDE/kdelibs/; revision=1095302
2010-02-23 23:31:20 +00:00
Adenilson Cavalcanti Da Silva
4dec145f85 Safeguards in case of invalid image.
svn path=/trunk/KDE/kdelibs/; revision=1094589
2010-02-22 23:18:30 +00:00
Adenilson Cavalcanti Da Silva
5506f87e55 Trying to get the center right.
svn path=/trunk/KDE/kdelibs/; revision=1094577
2010-02-22 22:31:14 +00:00
Adenilson Cavalcanti Da Silva
02d3966f3c Setting the scale (it works now, there is a problem with centering).
svn path=/trunk/KDE/kdelibs/; revision=1094558
2010-02-22 22:17:17 +00:00
Adenilson Cavalcanti Da Silva
3b589bbd68 Implementing now the support for 'bigger icons' in the animation itself (it is
missing the setting of the scale factor), but at least there is not
any regression in the code.


svn path=/trunk/KDE/kdelibs/; revision=1094544
2010-02-22 22:06:05 +00:00
Adenilson Cavalcanti Da Silva
04e16a4261 Implementing support for larger pre-scaled widget raster representation.
svn path=/trunk/KDE/kdelibs/; revision=1094534
2010-02-22 21:58:21 +00:00
Adenilson Cavalcanti Da Silva
24ea07b548 Fixing behavior showed in IconWidget (thanks aseigo for helping, I owne you
ein WEISSBIER!).


svn path=/trunk/KDE/kdelibs/; revision=1094514
2010-02-22 21:38:22 +00:00
Adenilson Cavalcanti Da Silva
ee1b3166f7 Adding a todo.
svn path=/trunk/KDE/kdelibs/; revision=1094499
2010-02-22 21:22:08 +00:00
Adenilson Cavalcanti Da Silva
ed33fab95e Same case.
svn path=/trunk/KDE/kdelibs/; revision=1094498
2010-02-22 21:21:27 +00:00
Adenilson Cavalcanti Da Silva
c64e8beb83 Adding missing documentation.
svn path=/trunk/KDE/kdelibs/; revision=1094497
2010-02-22 21:20:53 +00:00
Alexis Ménard
d4683537c9 Build fix on ARM.
svn path=/trunk/KDE/kdelibs/; revision=1092055
2010-02-18 07:39:28 +00:00
Marco Martin
ef3e69f672 never make the pixmap fully opaque, because the alpha channel would get disabled, obtaining a so pretty black rectangle
svn path=/trunk/KDE/kdelibs/; revision=1088460
2010-02-10 21:54:12 +00:00
Bruno de Oliveira Abinader
262289bd48 Fix a glitch when the action widget pixmap alpha reaches near 100%
svn path=/trunk/KDE/kdelibs/; revision=1087295
2010-02-08 19:24:47 +00:00