panels and popups sliding effect

Marco Martin notmart at gmail.com
Thu Jul 23 23:24:36 CEST 2009


On Thursday 23 July 2009, Aaron J. Seigo wrote:
> On Tuesday 21 July 2009, Marco Martin wrote:
> > is the custom anim code in Dialog and Panel to be removed? or should be
>
> yes, i think it can be removed.
>
> what i don't like about these patches is that they manipulate the xatoms
> directly. it's fairly ugly code and it gets copied in various places,
> requiring changes made to all of them when/if we change how this is done
> (as we just have)
>
> perhaps we should add to Plasma::Animator a method for animating one or
> more windows? then it's completely hidden from the individual applets using
> this stuff. if kwin changes, we can change our code easily. if we wish to
> do it differently in other windowing systems or managers, we can.. etc.
I like the Animator idea
probably it should be enough
animateWindow(winId, Animation, Location);

Cheers,
Marco Martin


More information about the Plasma-devel mailing list