summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-02-23 12:02:27 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-02-23 12:02:27 +0000
commit6bd8b3a8689d97080d2790616f1b9d7d3b9ba1a4 (patch)
treecf06431ec9f2ffe5e6e386b157297b7df2b17ad9 /data
parent7d0846808471804aa73b1403ab49409348ec6ec7 (diff)
TH - efl datepicker
Diffstat (limited to 'data')
-rw-r--r--data/elementary/themes/edc/efl/cursor.edc6
-rw-r--r--data/elementary/themes/edc/efl/datepicker.edc171
2 files changed, 58 insertions, 119 deletions
diff --git a/data/elementary/themes/edc/efl/cursor.edc b/data/elementary/themes/edc/efl/cursor.edc
index d59d4b8030..fbadbc852f 100644
--- a/data/elementary/themes/edc/efl/cursor.edc
+++ b/data/elementary/themes/edc/efl/cursor.edc
@@ -78,7 +78,8 @@
78// "watch" 78// "watch"
79// "xterm" 79// "xterm"
80 80
81group { name: "efl/cursor/hand1"; data.item: "version" "123"; 81group { name: "efl/cursor/hand1";
82 data.item: "version" "123";
82 images.image: "pointer_hand1.png" COMP; 83 images.image: "pointer_hand1.png" COMP;
83 parts { 84 parts {
84 part { name: "base"; mouse_events: 0; scale: 1; 85 part { name: "base"; mouse_events: 0; scale: 1;
@@ -104,7 +105,8 @@ group { name: "efl/cursor/hand1"; data.item: "version" "123";
104 } 105 }
105} 106}
106 107
107group { name: "efl/cursor/blank"; data.item: "version" "123"; 108group { name: "efl/cursor/blank";
109 data.item: "version" "123";
108 parts { 110 parts {
109 part { name: "efl.hotspot"; type: SWALLOW; 111 part { name: "efl.hotspot"; type: SWALLOW;
110 description { state: "default" 0.0; 112 description { state: "default" 0.0;
diff --git a/data/elementary/themes/edc/efl/datepicker.edc b/data/elementary/themes/edc/efl/datepicker.edc
index c84de86980..ce8986d6e0 100644
--- a/data/elementary/themes/edc/efl/datepicker.edc
+++ b/data/elementary/themes/edc/efl/datepicker.edc
@@ -17,60 +17,44 @@ Group: efl/datepicker/spin_button (@since 1.23)
17 Signal: efl,state,disabled 17 Signal: efl,state,disabled
18 Signal: efl,state,enabled 18 Signal: efl,state,enabled
19*/ 19*/
20group { "efl/datepicker"; data.item: "version" "123"; 20group { "efl/datepicker";
21 data.item: "version" "123";
21 parts { 22 parts {
22 spacer { "base"; 23 spacer { "base";
23 scale; 24 scale;
24 desc { "default"; 25 desc { "default";
25 min: 150 170; 26 min: 160 40;
26 }
27 }
28 rect { "base_bg";
29 scale;
30 desc { "default";
31 rel.to: "base";
32 color_class: "datepicker_bg";
33 } 27 }
34 } 28 }
35 spacer { "padding_bg_top"; 29 spacer { "padding_bg_top";
36 scale; 30 scale;
37 desc { "default"; 31 desc { "default";
38 min: 0 10; 32 min: 0 5;
39 max: -1 10; 33 max: -1 5;
40 fixed: 0 1; 34 fixed: 0 1;
41 rel1 { 35 rel.to: "base";
42 relative: 0.0 0.0; 36 rel1.relative: 0.0 0.0;
43 to: "base_bg"; 37 rel2.relative: 1.0 0.0;
44 }
45 rel2 {
46 relative: 1.0 0.0;
47 to: "base_bg";
48 }
49 align: 0.5 0.0; 38 align: 0.5 0.0;
50 } 39 }
51 } 40 }
52 spacer { "padding_bg_bottom"; 41 spacer { "padding_bg_bottom";
53 scale; 42 scale;
54 desc { "default"; 43 desc { "default";
55 min: 0 10; 44 min: 0 5;
56 max: -1 10; 45 max: -1 5;
57 fixed: 0 1; 46 fixed: 0 1;
58 rel1 { 47 rel.to: "base";
59 relative: 0.0 1.0; 48 rel1.relative: 0.0 1.0;
60 to: "base_bg"; 49 rel2.relative: 1.0 1.0;
61 }
62 rel2 {
63 relative: 1.0 1.0;
64 to: "base_bg";
65 }
66 align: 0.5 1.0; 50 align: 0.5 1.0;
67 } 51 }
68 } 52 }
69 spacer { "bg"; 53 spacer { "bg";
70 scale; 54 scale;
71 desc { "default"; 55 desc { "default";
72 min: 150 150; 56 min: 160 40;
73 max: 150 150; 57 max: 160 40;
74 rel1 { 58 rel1 {
75 relative: 0.0 1.0; 59 relative: 0.0 1.0;
76 to: "padding_bg_top"; 60 to: "padding_bg_top";
@@ -87,14 +71,9 @@ group { "efl/datepicker"; data.item: "version" "123";
87 min: 5 0; 71 min: 5 0;
88 max: 5 -1; 72 max: 5 -1;
89 fixed: 1 0; 73 fixed: 1 0;
90 rel1 { 74 rel.to: "bg";
91 relative: 0.0 0.0; 75 rel1.relative: 0.0 0.0;
92 to: "bg"; 76 rel2.relative: 0.0 1.0;
93 }
94 rel2 {
95 relative: 0.0 1.0;
96 to: "bg";
97 }
98 align: 0.0 0.0; 77 align: 0.0 0.0;
99 } 78 }
100 } 79 }
@@ -104,15 +83,9 @@ group { "efl/datepicker"; data.item: "version" "123";
104 min: 5 0; 83 min: 5 0;
105 max: 5 -1; 84 max: 5 -1;
106 fixed: 1 0; 85 fixed: 1 0;
107 rel2.to: "bg"; 86 rel.to: "bg";
108 rel1 { 87 rel1.relative: 1.0 0.0;
109 relative: 1.0 0.0; 88 rel2.relative: 1.0 1.0;
110 to: "bg";
111 }
112 rel2 {
113 relative: 1.0 1.0;
114 to: "bg";
115 }
116 align: 1.0 1.0; 89 align: 1.0 1.0;
117 } 90 }
118 } 91 }
@@ -120,13 +93,10 @@ group { "efl/datepicker"; data.item: "version" "123";
120 mouse; 93 mouse;
121 scale; 94 scale;
122 desc { "default"; 95 desc { "default";
123 fixed: 1 0; 96 fixed: 1 1;
124 min: 40 0; 97 min: 40 0;
125 rel1 { 98 rel.to: "padding_left";
126 relative: 1.0 0.0; 99 rel1.relative: 1.0 0.0;
127 to: "padding_left";
128 }
129 rel2.to: "padding_left";
130 align: 0.0 0.5; 100 align: 0.0 0.5;
131 } 101 }
132 } 102 }
@@ -134,13 +104,10 @@ group { "efl/datepicker"; data.item: "version" "123";
134 scale; 104 scale;
135 desc { "default"; 105 desc { "default";
136 fixed: 1 0; 106 fixed: 1 0;
137 min: 10 0; 107 min: 5 0;
138 max: 10 -1; 108 max: 5 -1;
139 rel1 { 109 rel.to: "efl.field0";
140 relative: 1.0 0.0; 110 rel1.relative: 1.0 0.0;
141 to: "efl.field0";
142 }
143 rel2.to: "efl.field0";
144 align: 0.0 0.5; 111 align: 0.0 0.5;
145 } 112 }
146 } 113 }
@@ -148,7 +115,7 @@ group { "efl/datepicker"; data.item: "version" "123";
148 mouse; 115 mouse;
149 scale; 116 scale;
150 desc { "default"; 117 desc { "default";
151 fixed: 1 0; 118 fixed: 1 1;
152 min: 40 0; 119 min: 40 0;
153 rel1 { 120 rel1 {
154 relative: 1.0 0.0; 121 relative: 1.0 0.0;
@@ -167,11 +134,8 @@ group { "efl/datepicker"; data.item: "version" "123";
167 fixed: 1 0; 134 fixed: 1 0;
168 min: 10 0; 135 min: 10 0;
169 max: 10 -1; 136 max: 10 -1;
170 rel1.to: "efl.field2"; 137 rel.to: "efl.field2";
171 rel2 { 138 rel2.relative: 0.0 1.0;
172 relative: 0.0 1.0;
173 to: "efl.field2";
174 }
175 align: 1.0 0.5; 139 align: 1.0 0.5;
176 } 140 }
177 } 141 }
@@ -179,13 +143,10 @@ group { "efl/datepicker"; data.item: "version" "123";
179 mouse; 143 mouse;
180 scale; 144 scale;
181 desc { "default"; 145 desc { "default";
182 fixed: 1 0; 146 fixed: 1 1;
183 min: 40 0; 147 min: 40 0;
184 rel1.to: "padding_right"; 148 rel.to: "padding_right";
185 rel2 { 149 rel2.relative: 0.0 1.0;
186 relative: 0.0 1.0;
187 to: "padding_right";
188 }
189 align: 1.0 0.5; 150 align: 1.0 0.5;
190 } 151 }
191 } 152 }
@@ -193,15 +154,15 @@ group { "efl/datepicker"; data.item: "version" "123";
193 repeat; 154 repeat;
194 desc { "default"; 155 desc { "default";
195 fixed: 1 1; 156 fixed: 1 1;
196 rel1.to: "bg"; 157 rel.to: "bg";
197 rel2.to: "bg";
198 color: 0 0 0 0; 158 color: 0 0 0 0;
199 } 159 }
200 } 160 }
201 } 161 }
202} 162}
203 163
204group { "efl/datepicker/spin_button"; data.item: "version" "123"; 164group { "efl/datepicker/spin_button";
165 data.item: "version" "123";
205 parts { 166 parts {
206 rect { "clip"; 167 rect { "clip";
207 desc { "default"; 168 desc { "default";
@@ -211,13 +172,7 @@ group { "efl/datepicker/spin_button"; data.item: "version" "123";
211 spacer { "base"; 172 spacer { "base";
212 scale; 173 scale;
213 desc { "default"; 174 desc { "default";
214 min: 40 150; 175 min: 20 60;
215 }
216 }
217 rect { "bg";
218 scale;
219 desc { "default";
220 color_class: "spinner_bg";
221 } 176 }
222 } 177 }
223 rect { "access"; 178 rect { "access";
@@ -225,8 +180,7 @@ group { "efl/datepicker/spin_button"; data.item: "version" "123";
225 desc { "default"; 180 desc { "default";
226 fixed: 1 1; 181 fixed: 1 1;
227 color: 0 0 0 0; 182 color: 0 0 0 0;
228 rel1.to: "base"; 183 rel.to: "base";
229 rel2.to: "base";
230 hid; 184 hid;
231 } 185 }
232 desc { "active"; 186 desc { "active";
@@ -238,8 +192,8 @@ group { "efl/datepicker/spin_button"; data.item: "version" "123";
238 scale; 192 scale;
239 desc { "default"; 193 desc { "default";
240 align: 0.5 0.0; 194 align: 0.5 0.0;
241 min: 40 40; 195 min: 20 20;
242 max: 40 40; 196 max: 20 20;
243 fixed: 1 1; 197 fixed: 1 1;
244 } 198 }
245 } 199 }
@@ -247,8 +201,8 @@ group { "efl/datepicker/spin_button"; data.item: "version" "123";
247 scale; 201 scale;
248 desc { "default"; 202 desc { "default";
249 align: 0.5 1.0; 203 align: 0.5 1.0;
250 min: 40 40; 204 min: 20 20;
251 max: 40 40; 205 max: 20 20;
252 fixed: 1 1; 206 fixed: 1 1;
253 } 207 }
254 } 208 }
@@ -256,8 +210,7 @@ group { "efl/datepicker/spin_button"; data.item: "version" "123";
256 clip: "clip"; 210 clip: "clip";
257 desc { "default"; 211 desc { "default";
258 fixed: 1 1; 212 fixed: 1 1;
259 rel1.to: "efl.text_button"; 213 rel.to: "efl.text_button";
260 rel2.to: "efl.text_button";
261 hid; 214 hid;
262 } 215 }
263 desc { "active"; 216 desc { "active";
@@ -277,8 +230,8 @@ group { "efl/datepicker/spin_button"; data.item: "version" "123";
277 to_y: "efl.dec_button"; 230 to_y: "efl.dec_button";
278 relative: 1.0 0.0; 231 relative: 1.0 0.0;
279 } 232 }
280 min: 0 70; 233 min: 0 20;
281 max: -1 70; 234 max: -1 20;
282 fixed: 0 1; 235 fixed: 0 1;
283 } 236 }
284 desc { "inactive"; 237 desc { "inactive";
@@ -300,51 +253,35 @@ group { "efl/datepicker/spin_button"; data.item: "version" "123";
300 } 253 }
301 } 254 }
302 programs { 255 programs {
303 program { "entry_active"; 256 program { signal: "efl,entry,visible,on"; source: "efl";
304 signal: "efl,entry,visible,on";
305 source: "efl";
306 action: STATE_SET "active"; 257 action: STATE_SET "active";
307 target: "efl.entry"; 258 target: "efl.entry";
308 } 259 }
309 program { "entry_inactive"; 260 program { signal: "efl,entry,visible,off"; source: "efl";
310 signal: "efl,entry,visible,off";
311 source: "efl";
312 action: STATE_SET "default"; 261 action: STATE_SET "default";
313 target: "efl.entry"; 262 target: "efl.entry";
314 } 263 }
315 program { "text_button_active"; 264 program { signal: "efl,button,visible,on"; source: "efl";
316 signal: "efl,button,visible,on";
317 source: "efl";
318 action: STATE_SET "default"; 265 action: STATE_SET "default";
319 target: "efl.text_button"; 266 target: "efl.text_button";
320 } 267 }
321 program { "text_button_inactive"; 268 program { signal: "efl,button,visible,off"; source: "efl";
322 signal: "efl,button,visible,off";
323 source: "efl";
324 action: STATE_SET "inactive"; 269 action: STATE_SET "inactive";
325 target: "efl.text_button"; 270 target: "efl.text_button";
326 } 271 }
327 program { "access_activate"; 272 program { signal: "efl,state,access,active"; source: "efl";
328 signal: "efl,state,access,active";
329 source: "efl";
330 action: STATE_SET "active"; 273 action: STATE_SET "active";
331 target: "access"; 274 target: "access";
332 } 275 }
333 program { "access_inactivate"; 276 program { signal: "efl,state,access,inactive"; source: "efl";
334 signal: "efl,state,access,inactive";
335 source: "efl";
336 action: STATE_SET "default"; 277 action: STATE_SET "default";
337 target: "access"; 278 target: "access";
338 } 279 }
339 program { "disable"; 280 program { signal: "efl,state,disabled"; source: "efl";
340 signal: "efl,state,disabled";
341 source: "efl";
342 action: STATE_SET "disabled"; 281 action: STATE_SET "disabled";
343 target: "disabler"; 282 target: "disabler";
344 } 283 }
345 program { "enable"; 284 program { signal: "efl,state,enabled"; source: "efl";
346 signal: "efl,state,enabled";
347 source: "efl";
348 action: STATE_SET "default"; 285 action: STATE_SET "default";
349 target: "disabler"; 286 target: "disabler";
350 } 287 }