Jason Tackaberry wrote: > Author: tack > Date: Sun Aug 3 17:39:57 2008 > New Revision: 3378 > > Log: > Support for clutter 0.8 and pyclutter 0.8 (changes not tested against > 0.6 though).
Thanks. While looking at your changes I see again a design flaw in kaa.candy. I noticed it before when you proposed the layout stuff you did for kaa.canvas. Right now a kaa.candy.Widget IS a clutter.Actor. This exposes the clutter API to the kaa.candy user making some stuff impossible. E.g. widget.get_width() will return the real object width and can not respect alignments. And set_width could never support '100%' as value. So I propose that a kaa.candy.Widget HAS a clutter.Actor. I see the following advantages: - Thread-safe because we do not modify a real clutter actor. One single now_render function could be created to calculate stuff and create the actors in the gobject mainloop - Hide clutter API the user should no use - Support layout What do you think? > - /* FIXME: Below wont actually render the corrent graduated effect. */ > + /* FIXME: Below wont actually render the corrent graduated effect. > + * The code below is disabled for clutter 0.7+ as porting it is > + * non-trivial. > + */ > + > + g_warning("ClutterReflectTexture doesn't support tiled textures."); I have no idea what the code does. It was copied from tidy. Maybe tidy is already updated to 0.8 > -import clutter.cluttercairo > +try: > + import cluttercairo > +except ImportError: > + # 0.6 > + import clutter.cluttercairo as cluttercairo There is clutter.__version__ Dischi -- Only Irish coffee provides in a single glass all four essential food groups -- alcohol, caffeine, sugar, and fat. -- Alex Levine ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel