Enlightenment CVS committal Author : codewarrior Project : e17 Module : apps/e
Dir : e17/apps/e/data/themes Modified Files: default_fileman.edc Log Message: - work on icon thumbs, give them their own theme part. =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/data/themes/default_fileman.edc,v retrieving revision 1.18 retrieving revision 1.19 diff -u -3 -r1.18 -r1.19 --- default_fileman.edc 2 Nov 2005 11:10:37 -0000 1.18 +++ default_fileman.edc 3 Nov 2005 15:26:46 -0000 1.19 @@ -152,6 +152,8 @@ image: "e17_logo.png" COMP; image: "e17_button.png" COMP; + image: "e17_fileman_thumb_bg.png" COMP; + image: "e17_mini_button_shadow2.png" COMP; } styles @@ -1065,6 +1067,336 @@ } } + +group { + name: "fileman/icon_thumb"; + parts { + part { + name: "icon_box_shadow"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + to: "icon_box"; + relative: 0.0 0.0; + offset: 3 3; + } + rel2 { + to: "icon_box"; + relative: 1.0 1.0; + offset: 3 3; + } + image { + normal: "e17_mini_button_shadow2.png"; + border: 6 6 6 6; + } + } + } + part { + name: "icon_box"; + type: RECT; + mouse_events: 0; + description { + state: "default" 0.0; + align: 0.5 0.5; + rel1 { + relative: 0.0 0.0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -6 -6; + } + color: 0 0 0 255; + } + } + part { + name: "icon_box_bg"; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + to: "icon_box"; + relative: 0.0 0.0; + offset: 1 1; + } + rel2 { + to: "icon_box"; + relative: 1.0 1.0; + offset: -2 -2; + } + image { + normal: "e17_fileman_thumb_bg.png"; + } + fill { + smooth: 0; + size { + relative: 0 0; + offset: 32 32; + } + } + } + } + part { + name: "icon_swallow"; + type: SWALLOW; + mouse_events: 0; + description { + state: "default" 0.0; + rel1 { + to: "icon_box_bg"; + } + rel2 { + to: "icon_box_bg"; + } + } + } + } +} + +group { + name: "fileman/icon_thumb_normal2"; + min: 48 48; + max: 128 9999; + parts { + part { + /* this is used for debugging */ + name: "ghost"; + type: RECT; + description { + state: "default" 0.0; + visible: 0; + color: 128 128 128 128; + } + } +/* + part { + name: "icon_bg"; + mouse_events: 0; + description { + min: 48 48; + max: 48 48; + align: 0.5 0.0; + state: "default" 0.0; + rel1 { + to: "icon_swallow"; + offset: 5 5; + } + image { + normal: "e17_fileman_thumb_bg.png"; + } + } + } +*/ + part { + name: "icon_box_shadow"; + mouse_events: 0; + description { + min: 56 56; + max: 56 56; + state: "default" 0.0; + rel1 { + to: "icon_box"; + relative: 0.0 0.0; + offset: 2 2; + } + rel2 { + to: "icon_box"; + relative: 1.0 1.0; + offset: 3 3; + } + image { + normal: "e17_mini_button_shadow2.png"; + border: 6 6 6 6; + } + } + } + part { + name: "icon_box"; + type: RECT; + mouse_events: 0; + description { + min: 52 52; + max: 52 52; + state: "default" 0.0; + rel1 { + to: "icon_swallow"; + relative: 0.0 0.0; + offset: -2 -2; + } + rel2 { + to: "icon_swallow"; + relative: 1.0 1.0; + offset: 2 2; + } + color: 0 0 0 255; + } + } + part { + name: "icon_box_bg"; + mouse_events: 0; + description { + min: 50 50; + max: 50 50; + state: "default" 0.0; + rel1 { + to: "icon_swallow"; + relative: 0.0 0.0; + offset: -1 -1; + } + rel2 { + to: "icon_swallow"; + relative: 1.0 1.0; + offset: 1 1; + } + image { + normal: "e17_fileman_thumb_bg.png"; + } + fill { + smooth: 0; + size { + relative: 0 0; + offset: 32 32; + } + } + } + } + part { + name: "icon_swallow"; + type: SWALLOW; + mouse_events: 0; + description { + min: 48 48; + max: 48 48; + align: 0.5 0.0; + state: "default" 0.0; + } + } + part { + name: "icon_overlay"; + mouse_events: 1; + description { + state: "default" 0.0; + visible: 0; + rel1 { + relative: 0.0 0.0; + offset: -3 -4; + } + rel2 { + relative: 1.0 1.0; + offset: 3 6; + } + image { + normal: "e17_button.png"; + } + color: 255 255 255 128; + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + visible: 1; + } + } + part { + name: "icon_title"; + type: SWALLOW; + description { + fixed: 1 1; + align: 0.5 0.0; + state: "default" 0.0; + rel1 { + to: "icon_box"; + relative: 0.0 1.0; + offset: 1 2; + } + rel2 { + to: "icon_box"; + relative: 1.0 1.0; + offset: -1 2; + } + } + description { + state: "clicked" 0.0; + inherit: "default" 0.0; + } + } + part { + name: "icon_event"; + type: RECT; + mouse_events: 1; + description { + state: "default" 0.0; + rel1 { + relative: 0.0 0.0; + offset: -3 -4; + } + rel2 { + relative: 1.0 1.0; + offset: 3 6; + } + color: 0 0 0 0; + } + } +/* + part { + name: "icon_title"; + type: TEXTBLOCK; + effect: NONE; + description { + rel1 { + relative: 0.0 1.0; + offset: 5 -20; + } + rel2 { + relative: 1.0 1.0; + offset: -6 1000; + } + color: 0 0 0 255; + //color3: 0 0 0 32; + text { + text: "No Title"; + style: "fileman_icon_style"; + min: 1 1; + } + } + } +*/ + part { + name: "icon_title_edit_swallow"; + type: SWALLOW; + effect: NONE; + description { + rel1 { + relative: 0.0 1.0; + offset: 5 -20; + } + rel2 { + relative: 1.0 1.0; + offset: -6 -6; + } + } + } + } + programs { + program { + name: "clicked"; + signal: "clicked"; + source: ""; + action: STATE_SET "clicked" 0.0; + target: "icon_title"; + target: "icon_overlay"; + } + program { + name: "unclicked"; + signal: "unclicked"; + source: ""; + action: STATE_SET "default" 0.0; + target: "icon_title"; + target: "icon_overlay"; + } + } +} + group { name: "fileman/icon_list"; // min: 12 12; ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs