Gustavo 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, ...
>
>
Another possibility for the name might be "update". That's sometimes
used as indicating calculations to be done related to render time somehow.
> 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.
>
>
____________________________________________________________
Click to lower your debt and consolidate your monthly expenses.
http://thirdpartyoffers.juno.com/TGL2141/fc/Ioyw6i3m2bkdW2vXfH56ZO9I0Z8C4dap3cWqYswiR0ICgOgrosXQYk/
-------------------------------------------------------------------------
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