summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2005-10-10 15:27:51 +0000
committerCarsten Haitzler <raster@rasterman.com>2005-10-10 15:27:51 +0000
commitaa1529d411fe1e1172bbf122f1952d29d77bfa68 (patch)
tree680decba53716b62a338e0ec760008a922f502a2 /data
parent9a6d41e4bdb171a844817ea051cda9599b2fc255 (diff)
and now i have a simple check and radio liust infrastructure to use to build
config dialogs... thats next phase... SVN revision: 17387
Diffstat (limited to 'data')
-rw-r--r--data/themes/default_check.edc3
-rw-r--r--data/themes/default_frame.edc1
-rw-r--r--data/themes/default_radio.edc32
3 files changed, 16 insertions, 20 deletions
diff --git a/data/themes/default_check.edc b/data/themes/default_check.edc
index 08aa369dd..424c12160 100644
--- a/data/themes/default_check.edc
+++ b/data/themes/default_check.edc
@@ -60,10 +60,11 @@ group {
60 mouse_events: 0; 60 mouse_events: 0;
61 description { 61 description {
62 state: "default" 0.0; 62 state: "default" 0.0;
63 min: 16 16;
63 rel1 { 64 rel1 {
64 to_x: "outline"; 65 to_x: "outline";
65 relative: 1.0 0.0; 66 relative: 1.0 0.0;
66 offset: 2 4; 67 offset: 4 4;
67 } 68 }
68 rel2 { 69 rel2 {
69 relative: 1.0 1.0; 70 relative: 1.0 1.0;
diff --git a/data/themes/default_frame.edc b/data/themes/default_frame.edc
index f88ff6dba..b0a3c8101 100644
--- a/data/themes/default_frame.edc
+++ b/data/themes/default_frame.edc
@@ -81,6 +81,7 @@ group {
81 description { 81 description {
82 state: "default" 0.0; 82 state: "default" 0.0;
83 align: 0.0 0.0; 83 align: 0.0 0.0;
84 fixed: 1 1;
84 rel1 { 85 rel1 {
85 relative: 0.0 0.0; 86 relative: 0.0 0.0;
86 offset: 16 6; 87 offset: 16 6;
diff --git a/data/themes/default_radio.edc b/data/themes/default_radio.edc
index 3b224de76..10959d11a 100644
--- a/data/themes/default_radio.edc
+++ b/data/themes/default_radio.edc
@@ -16,11 +16,11 @@ group {
16 fixed: 1 1; 16 fixed: 1 1;
17 rel1 { 17 rel1 {
18 relative: 0.0 0.0; 18 relative: 0.0 0.0;
19 offset: 1 1; 19 offset: 4 4;
20 } 20 }
21 rel2 { 21 rel2 {
22 relative: 1.0 1.0; 22 relative: 0.0 1.0;
23 offset: -2 -2; 23 offset: 4 -5;
24 } 24 }
25 image { 25 image {
26 normal: "e17_menu_radio1.png"; 26 normal: "e17_menu_radio1.png";
@@ -60,14 +60,15 @@ group {
60 mouse_events: 0; 60 mouse_events: 0;
61 description { 61 description {
62 state: "default" 0.0; 62 state: "default" 0.0;
63 min: 16 16;
63 rel1 { 64 rel1 {
64 to_x: "outline"; 65 to_x: "outline";
65 relative: 1.0 0.0; 66 relative: 1.0 0.0;
66 offset: 1 1; 67 offset: 4 4;
67 } 68 }
68 rel2 { 69 rel2 {
69 relative: 1.0 1.0; 70 relative: 1.0 1.0;
70 offset: -1 -2; 71 offset: -5 -5;
71 } 72 }
72 color: 0 0 0 255; 73 color: 0 0 0 255;
73 color3: 255 255 255 128; 74 color3: 255 255 255 128;
@@ -108,20 +109,13 @@ group {
108 name: "click"; 109 name: "click";
109 signal: "mouse,down,1"; 110 signal: "mouse,down,1";
110 source: "event"; 111 source: "event";
111 script { 112 action: STATE_SET "active" 0.0;
112 new buf[100]; 113 target: "item1";
113 new Float:val; 114 after: "click2";
114 115 }
115 get_state(PART:"item1", buf, sizeof(buf), val); 116 program {
116 if (!strcmp(buf, "default")) { 117 name: "click2";
117 set_state(PART:"item1", "active", 0.0); 118 action: SIGNAL_EMIT "toggled" "on";
118 emit("toggled", "on");
119 }
120 else {
121 set_state(PART:"item1", "default", 0.0);
122 emit("toggled", "off");
123 }
124 }
125 } 119 }
126 } 120 }
127} 121}