Enlightenment CVS committal Author : kiwi Project : e_modules Module : news
Dir : e_modules/news/data/theme Modified Files: module_feed_parts.edc module_feed_programs.edc Log Message: better ui * [viewer] add different styles in the content view * [gadget] add fading effects to the icons =================================================================== RCS file: /cvs/e/e_modules/news/data/theme/module_feed_parts.edc,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- module_feed_parts.edc 29 May 2007 05:57:48 -0000 1.2 +++ module_feed_parts.edc 2 Jun 2007 21:33:12 -0000 1.3 @@ -1,69 +1,97 @@ part { - name: "border"; - type: IMAGE; + name: "icon"; + type: SWALLOW; mouse_events: 0; description { state: "default" 0.0; - visible: 0; - color: 255 255 255 0; + visible: 1; + align: 0.0 0.5; + aspect: 1.0 1.0; + aspect_preference: VERTICAL; rel1 { relative: 0.0 0.0; + offset: 3 3; } rel2 { relative: 1.0 1.0; + offset: -3 -3; } - image - { - normal: "feed_border.png"; - } - } + } +} + +part +{ + name: "unread_clip"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + color: 255 255 255 0; + } description { - state: "selected" 0.0; + state: "active" 0.0; inherit: "default" 0.0; - visible: 1; color: 255 255 255 255; } } part { - name: "icon"; - type: SWALLOW; + name: "unread"; + type: IMAGE; mouse_events: 0; + clip_to: "unread_clip"; description { state: "default" 0.0; - visible: 1; - align: 0.0 0.5; - aspect: 1.0 1.0; - aspect_preference: VERTICAL; rel1 { relative: 0.0 0.0; - offset: 3 3; } rel2 { relative: 1.0 1.0; - offset: -3 -3; } + image + { + normal: "feed_background_new.png"; + } + } +} + +part +{ + name: "border_clip"; + type: RECT; + mouse_events: 0; + description + { + state: "default" 0.0; + color: 255 255 255 0; } + description + { + state: "active" 0.0; + inherit: "default" 0.0; + color: 255 255 255 255; + } } part { - name: "unread"; + name: "border"; type: IMAGE; mouse_events: 0; + clip_to: "border_clip"; description { state: "default" 0.0; - color: 255 255 255 0; rel1 { relative: 0.0 0.0; @@ -74,14 +102,8 @@ } image { - normal: "feed_background_new.png"; + normal: "feed_border.png"; } - } - description - { - state: "active" 0.0; - inherit: "default" 0.0; - color: 255 255 255 255; } } =================================================================== RCS file: /cvs/e/e_modules/news/data/theme/module_feed_programs.edc,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- module_feed_programs.edc 29 May 2007 05:57:48 -0000 1.2 +++ module_feed_programs.edc 2 Jun 2007 21:33:12 -0000 1.3 @@ -19,8 +19,8 @@ signal: "e,state,new,set"; source: "e"; action: STATE_SET "active" 0.0; - transition: SINUSOIDAL 0.5; - target: "unread"; + transition: SINUSOIDAL 0.7; + target: "unread_clip"; } program { @@ -29,7 +29,7 @@ source: "e"; action: STATE_SET "default" 0.0; transition: SINUSOIDAL 0.5; - target: "unread"; + target: "unread_clip"; } /* Mouse in/out */ @@ -39,8 +39,9 @@ name: "mouse_in"; signal: "mouse,in"; source: "inout"; - action: STATE_SET "selected" 0.0; - target: "border"; + action: STATE_SET "active" 0.0; + transition: SINUSOIDAL 0.1; + target: "border_clip"; } program @@ -49,7 +50,8 @@ signal: "mouse,out"; source: "inout"; action: STATE_SET "default" 0.0; - target: "border"; + transition: SINUSOIDAL 0.5; + target: "border_clip"; } program ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs