Ok, I realized just now that this will break apps that provide a custom pager theme :/ The problem is that the new styles need 4 different signals for push,pop,hide,show. While the current implementation only accept show & hide
Three way that pop to my mind to solve this: 1. Just write a big commit label that say to update your themes. In this case I can fix all the uses in svn. The change to make to existing themes is really simple, just add 2 new programs "elm,action,push" and "elm,action,pop" that do same as the "elm,action,show" and "...,hide" 2. Put in the new styles edc a new data entry (something like data.item: "different_anims" "true") So that I can test the data from the c code and call the push/pop signal only when that data is set, otherwise just use the old show/hide signals 3. Instead of reuse the pager widget I can make a new widget that do the same... What do you prefer? other ideas? I prefer the solution 1, but also the 2 can be good. The 3 seems an overloading to me... DaveMDS 2010/7/10 Dave Andreoli <d...@gurumeditation.it>: > Hi everyone, > I have done 2 new style for the pager widget: > > "slide" and "slide_invisible" > > They work different from the other styles: new (pushed) pages > comes from right and the old go out left, while popped pages > goes out from right. It works like the enna browser, or like all the > "browser lists" on iphone. > > The patch include the 2 new styles, a new elementary_test > page called "Pager Slide", a little code for elm_pager.c that was needed > for the new style to work and simple update for the other existing styles. > > The patch is located at: > http://pastebin.com/jSbg0wb9 > > I can commit this myself, just give me the go ;) > > Thanks > DaveMDS > ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel