Hi,<br><br><div class="gmail_quote">On Thu, Jun 4, 2009 at 3:12 PM, Gökmen GÖKSEL <span dir="ltr"><<a href="mailto:gokmen@pardus.org.tr">gokmen@pardus.org.tr</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thursday 04 June 2009 15:34:22 Akmanalp, Mehmet A wrote:<br>
> Hello,<br>
Hi,<br>
<div class="im"><br>
> I wanted to distill the discussions made previously on the list + my<br>
> thoughts and findings into something more concrete, so I can start<br>
> making a prototype soon.<br>
</div>Cool<br>
<div class="im"><br>
> * For grouping, our Animation object (or whatever) can just subclass<br>
> QAnimationGroup. QAG supplies all we need, no need to go lower to<br>
> QAbstractAnimation imho. This way, we can interopt with other Kinetic<br>
> stuff nicely. IIRC, it was also mentioned the js / ruby / python APIs<br>
> will not need to know about Kinetic.<br>
</div>"QAG supplies all we need" -> What do we need exactly ?</blockquote><div><br>Running sequential animation and some of same at the same time. Let's say bounce growing effect kind of...<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<div class="im"><br>
> * Now that I thought of it, I'm not exactly sure what aseigo meant by<br>
> "auto-start-when-event-loop-enters magic". Would we make QAG start<br>
> automagically with the next tick of the event loop. If so, providing<br>
> an option to not do this would also be neat, so people using our stuff<br>
> in conjunction with Kinetic stuff can have more freedom. However, how<br>
> would we detect that an animaton object is done being created?(Maybe<br>
> we're going to add more properties to it.)<br>
</div>We can handle it by using some properties or something different with some low<br>
level tricks :) <br></blockquote><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<div class="im"><br>
> * Should we set the object to animated in the Animation ctor or set it<br>
> later with a function such as .setObject()?<br>
</div>Can't we make it in both way ?<br>
<div class="im"><br>
> * Imho the new library should not depend on Plasma::Animator, I can<br>
> reimplement the stuff I need.<br>
</div>Looks fine<br>
<div class="im"><br>
> * For consistency / compatibility between all the different language<br>
> bindings, returning a reference instead of using something like the <<<br>
> operator as a grouping shortcut seems like a better idea.<br>
</div>+1<br>
<div class="im"><br>
> * Example (looks a bit cleaner in monospace):<br>
> Animation a,b;<br>
> a.setParallel(1)<br>
> .add(Animator.blur(0.6))<br>
> .add(Animator.bounce(2))<br>
> b.add(a)<br>
> .add(Animator.pause(1))<br>
</div>Looks fine,<br>
<div class="im"><br>
> * A list of effects to be definitely implemented (since they were<br>
> already being used / wanted by someone):<br>
> - Flip<br>
> - Slide In / Out<br>
> - Fade In / Out<br>
> - Expand / Contract in a direction<br>
> - Grow / Shrink / Scale<br>
</div>Animate, animate every thing :)<br>
<div class="im"><br>
> * I'm still lacking a decent name for the class. SimpleAnimator?<br>
> KineticAnimator? Animator2? :P Maybe something shorter and easier to<br>
> type? Dunno.<br>
</div>just Kinetic in namespace of Plasma should be fine; Plasma::Kinetic ;)</blockquote><div><br>Kinetic means nothing for a dev, if you read this class name without knowing what it's doing behind, what you expect that thing do? You don't know... Plasma::Animator is a good name, you guess it "animate" something. It's already taken so AnimationManager, AnimationFactory, AnimationProvider perhaps.<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<font color="#888888"><br>
--<br>
Gökmen GÖKSEL<br>
Pardus Developer<br>
</font><br>_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
<br></blockquote></div><br>