Qt Kinetic + Plasma Call For Ideas / Project Plan

Gökmen GÖKSEL gokmen at pardus.org.tr
Fri May 29 07:26:19 CEST 2009


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090529/00d9a1b7/attachment.sig 


More information about the Plasma-devel mailing list