Enlightenment CVS committal Author : codewarrior Project : e17 Module : proto
Dir : e17/proto/estickies/data/themes/default Modified Files: default.edc Log Message: new theme and theme chooser code =================================================================== RCS file: /cvs/e/e17/proto/estickies/data/themes/default/default.edc,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- default.edc 30 Jul 2006 04:46:29 -0000 1.1 +++ default.edc 31 Jul 2006 00:31:45 -0000 1.2 @@ -36,7 +36,8 @@ image: "button_up.png" COMP; image: "button_over.png" COMP; image: "button_down.png" COMP; - image: "button_toggled.png" COMP; + image: "button_toggled.png" COMP; + image: "preview.png" COMP; } collections { @@ -75,7 +76,7 @@ name: "button"; min: 0 16; data { - item: "inset" "8 8 8 8"; + item: "inset" "1 1 1 1"; } parts { part { @@ -113,22 +114,6 @@ } } } - part { - name: "swallow_area"; - type: SWALLOW; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 1 1; - } - rel2 { - relative: 1.0 1.0; - offset: -2 -2; - } - } - } } programs { program { @@ -211,33 +196,6 @@ } } } - part { - name: "swallow_area"; - type: SWALLOW; - mouse_events: 0; - description { - state: "default" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 1 1; - } - rel2 { - relative: 1.0 1.0; - offset: -2 -2; - } - } - description { - state: "down" 0.0; - rel1 { - relative: 0.0 0.0; - offset: 2 2; - } - rel2 { - relative: 1.0 1.0; - offset: -1 -1; - } - } - } } programs { program { @@ -307,13 +265,11 @@ { activated = 1; set_state(PART:"toggle_button", "on", 0.0); - set_state(PART:"swallow_area", "down", 0.0); } public deactivate() { activated = 0; set_state(PART:"toggle_button", "default", 0.0); - set_state(PART:"swallow_area", "default", 0.0); } public up() { @@ -332,4 +288,29 @@ item: "inset" "2 2 2 2"; } } + + group { + name: "preview"; + parts { + part { + name: "image"; + mouse_events: 1; + description { + state: "default" 0.0; + max: 208 206; + rel1 { + relative: 0 0; + offset: 0 0; + } + rel2 { + relative: 1.0 1.0; + offset: -1 -1; + } + image { + normal: "preview.png"; + } + } + } + } + } } ------------------------------------------------------------------------- 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-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs