questions about animator
Marco Martin
notmart at gmail.com
Fri May 16 23:17:18 CEST 2008
On Thursday 15 May 2008, Aaron J. Seigo wrote:
> On Thursday 15 May 2008, Marco Martin wrote:
> > i think it would really look simpler if i could do something with custom
> > animations, but it seems somewhat limited. the animationUpdate() slot
> > don't know anything on what is the animation id it's updating, so
> > basically one single slot for every id (think would be nice if the id
> > would be an extra param of that slow but well huu, nevermind:D)...
>
> that could be done pretty easily i suppose.
>
of these two patches the first one adds an optional second parameter to the
custom animation called method that represents the anim id, so a custom
animation slot can manage multiple animations (the metacall is attempted with
a single param first, so it's retrocompatible)
the second one adds animations on the pager, maybe a bit complex but hey, the
result looks good :)
Cheers,
Marco Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pageranimation.diff
Type: text/x-diff
Size: 10725 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080516/14452c7e/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: animator_twoCustomParams.diff
Type: text/x-diff
Size: 2885 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080516/14452c7e/attachment-0001.bin
More information about the Panel-devel
mailing list