[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Qt Kinetic + Plasma Call For Ideas / Project Plan
From:       Gökmen_GÖKSEL <gokmen () pardus ! org ! tr>
Date:       2009-05-29 5:26:19
Message-ID: 200905290826.19849.gokmen () pardus ! org ! tr
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Friday 29 May 2009 03:43:37 Aaron J. Seigo wrote:
> in which case an API like this:
>
> Animation a(item);
> a.add(animator.fadeIn());
> Animation b;
> b.setParallel(true);
> b.add(animator.blur(0.8));
> b.add(animator.bounce(4));
> a.add(b);
> a.addPause(10); // a.add(animator.pause(10));?
> a.add(animator.fadeOut());
> a.run(250); // builds the qt animation objects and runs it all
Looks cool :)

> starts to look not bad as that would be the "degenerate" case with this
> being a more common case:
>
> Animation a(item1, item2);
> a.add(animator.flip());
> a.add(animator.bounce(3));
> a.add(animator.moveTo(destination));
> a.run(250);
I think this is the most readable solution for it ;)

-- 
Gökmen GÖKSEL
Pardus Developer

["signature.asc" (application/pgp-signature)]

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic