Hi guys, I'm writing some test applications to understand EFL better and check performance on Nokia 770 and N800.
My current app is to simulate a vertical list of text items that move on keydown "Up" or "Down". I'm using e_box as base for list and allocating one object per item, as you recommended on a previous thread. Problems/Questions: - How should I proceed to scroll it? Get the height of item, the height of visible box and calculate e_box_align_set() vertical value, or is there another way? - How to make this scroll animated? I see rage-0.1 does add an Ecore_Timer and use e_box_align_set() to move 1 row. - Trying to be fancy I tried to add horizontal animation for items on mouse in/out events. On mouse in I set to "selected" state, on mouse out I set it to "default". "selected" has x=0.1, while "default" is 0.0, transition is sinusoidal. Problems are: * I can lock up evas moving in and out fast. GDB tells me that it's stuck in _ecore_list2_append_relative(), called from _ecore_timer_set()... Why? Shouldn't it just work, since it's entirely in Edje? * When I move in (default->selected, x=0), and before transition ends, I move out(selected->default, x=0.1), then instead of moving back from the current point, it goes to "selected" (x=0.1) and then start the new transition. How to avoid this behaviour and make it smooth? Source code is available at: http://barbieri-playground.googlecode.com/svn/efl-tests/text-list/ -- Gustavo Sverzut Barbieri -------------------------------------- Jabber: [EMAIL PROTECTED] MSN: [EMAIL PROTECTED] ICQ#: 17249123 Skype: gsbarbieri Mobile: +55 (81) 9927 0010 Phone: +1 (347) 624 6296; [EMAIL PROTECTED] GPG: 0xB640E1A2 @ wwwkeys.pgp.net ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel