Enlightenment CVS committal Author : raster Project : e17 Module : apps/e
Dir : e17/apps/e/data/themes Modified Files: default_check.edc default_frame.edc default_radio.edc Log Message: and now i have a simple check and radio liust infrastructure to use to build config dialogs... thats next phase... =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/data/themes/default_check.edc,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- default_check.edc 10 Oct 2005 12:16:18 -0000 1.1 +++ default_check.edc 10 Oct 2005 15:27:51 -0000 1.2 @@ -60,10 +60,11 @@ mouse_events: 0; description { state: "default" 0.0; + min: 16 16; rel1 { to_x: "outline"; relative: 1.0 0.0; - offset: 2 4; + offset: 4 4; } rel2 { relative: 1.0 1.0; =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/data/themes/default_frame.edc,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- default_frame.edc 10 Oct 2005 12:16:18 -0000 1.1 +++ default_frame.edc 10 Oct 2005 15:27:51 -0000 1.2 @@ -81,6 +81,7 @@ description { state: "default" 0.0; align: 0.0 0.0; + fixed: 1 1; rel1 { relative: 0.0 0.0; offset: 16 6; =================================================================== RCS file: /cvsroot/enlightenment/e17/apps/e/data/themes/default_radio.edc,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- default_radio.edc 10 Oct 2005 12:16:18 -0000 1.1 +++ default_radio.edc 10 Oct 2005 15:27:51 -0000 1.2 @@ -16,11 +16,11 @@ fixed: 1 1; rel1 { relative: 0.0 0.0; - offset: 1 1; + offset: 4 4; } rel2 { - relative: 1.0 1.0; - offset: -2 -2; + relative: 0.0 1.0; + offset: 4 -5; } image { normal: "e17_menu_radio1.png"; @@ -60,14 +60,15 @@ mouse_events: 0; description { state: "default" 0.0; + min: 16 16; rel1 { to_x: "outline"; relative: 1.0 0.0; - offset: 1 1; + offset: 4 4; } rel2 { relative: 1.0 1.0; - offset: -1 -2; + offset: -5 -5; } color: 0 0 0 255; color3: 255 255 255 128; @@ -108,20 +109,13 @@ name: "click"; signal: "mouse,down,1"; source: "event"; - script { - new buf[100]; - new Float:val; - - get_state(PART:"item1", buf, sizeof(buf), val); - if (!strcmp(buf, "default")) { - set_state(PART:"item1", "active", 0.0); - emit("toggled", "on"); - } - else { - set_state(PART:"item1", "default", 0.0); - emit("toggled", "off"); - } - } + action: STATE_SET "active" 0.0; + target: "item1"; + after: "click2"; + } + program { + name: "click2"; + action: SIGNAL_EMIT "toggled" "on"; } } } ------------------------------------------------------- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs