As we're close to release, I'd like to discuss a bug in elm_flip that
annoys me:

elm_flip_go() does NOT take the front/back parameter, then if the app wants
to control it properly (ie: toggle button, toolbar, edje) it can get out of
sync. The app would need a control variable on its own that syncs with
elm_flip_*_visible_get()

The situation is worse if you quickly "go" before it's finished the
animation. Then elm_flip_*_visible_get() reports something but visually its
something else! Then your app must keep a state, listen for animation ended
signal and then request a flip again.

Of course none of these are app duty. If someone could fix it, I'd be happy
as the flip code is not that nice. Otherwise I'll fix it myself by adding
another call that takes the side you want to flip to and will keep the
state correct by flipping back automatically after the animation is done.


-- 
Gustavo Sverzut Barbieri
http://profusion.mobi embedded systems
--------------------------------------
MSN: [email protected]
Skype: gsbarbieri
Mobile: +55 (19) 9225-2202
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to