On Wed, Aug 20, 2008 at 5:06 PM, Gustavo Sverzut Barbieri
<[EMAIL PROTECTED]> wrote:
> Guys,
>
> Batch of patches covering most of SVN. I changed it a bit, but on top
> of Cedric changes.
>
> New version provides a need_recalculate flag for smart objects, this
> flag, when set and SmartObject provides calculate(), will call this
> function before doing any work on render. If not provided, this flag
> will be untouched. There is also a way for users to call calculate
> themselves, this is evas_object_smart_calculate(), that will help and
> unset need_calculate.
>
> With this change, we can even avoid the dirty flags spread all over
> our code, replacing them with need_recalculate. This also gives a
> common name, calculate, avoiding things like reconfigure, recalc, ...
>
> So far edje makes minimal use of it, others don't use it at all.
> Python bindings are exporting that to its users, but no example code
> is provided yet.
>
> TODO: we add objects to e->calculate_objects, but do not remove then
> until render phase. If you have a need_render_set, unset, then set
> again, you'll end with 2 entries for that object in the array. It's
> not a big problem, because we check for need_recalculate before
> calling the function and this flag is unset after the first call.
>
> As Cedric, I'm using e17 with this patch and it works nicely. Please
> comment on it, let's try to include it soon.

All in SVN now, remember that you must recompile ALL libraries/apps
that create Smart Objects (edje, etk, ewl, python-efl, ...).

-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: [EMAIL PROTECTED]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202

-------------------------------------------------------------------------
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=/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to