Original title: refactor elm_transit
elm_transit is a necessary feature that should become easier to use in efl eo API. The idea is that all elm widget should be able to be animated on most eo event (We will need some custom logic for HIDE and DEL). The API would maybe look like :
bool Efl.Ui.Widget.animation_register(EFL_EVENT, AnimationFactory); Efl.Ui.Animation *Efl.Ui.Widget.animation_exec(EFL_EVENT, Object2Animate); // Will trigger EFL_EVENT_UI_ANIMATION_DONE on the widget when the Efl.Ui.Animation object is deleted at the end of the animation Efl.Ui.Animation *AnimationFactory.create(Object2Animate);
Efl.Ui.Animation must have at least an efl_del function and that may be pretty much it. All parameter of the animation should be set on the factory. A few default factory should be provided around Evas Map and Evas Filter.