summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-03-19 17:18:38 +0000
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2021-03-19 17:18:38 +0000
commit4ed5ad6e35e2714739e8b0f941bb3998e6b07d45 (patch)
tree4946c2b86bd322c854830f8cb0dfe4dafef370d0 /data
parent17af05ba8805d00bacbd3910cfa444e8a1ea6e5b (diff)
TH - efl ui progress
Diffstat (limited to 'data')
-rw-r--r--data/elementary/themes/edc/efl/button.edc2
-rw-r--r--data/elementary/themes/edc/efl/progress.edc1468
2 files changed, 838 insertions, 632 deletions
diff --git a/data/elementary/themes/edc/efl/button.edc b/data/elementary/themes/edc/efl/button.edc
index eb28be4135..52193a8c16 100644
--- a/data/elementary/themes/edc/efl/button.edc
+++ b/data/elementary/themes/edc/efl/button.edc
@@ -154,7 +154,7 @@ group { name: "efl/button";
154 text { "efl.text"; nomouse; required; 154 text { "efl.text"; nomouse; required;
155 scale: 1; 155 scale: 1;
156 desc { "default"; 156 desc { "default";
157 fixed: 1 1; 157// fixed: 1 1;
158 color: 192 192 192 255; 158 color: 192 192 192 255;
159 rel1.offset: 0 6; 159 rel1.offset: 0 6;
160 rel1.relative: 1.0 0.0; 160 rel1.relative: 1.0 0.0;
diff --git a/data/elementary/themes/edc/efl/progress.edc b/data/elementary/themes/edc/efl/progress.edc
index d319097727..fcd333622f 100644
--- a/data/elementary/themes/edc/efl/progress.edc
+++ b/data/elementary/themes/edc/efl/progress.edc
@@ -1,18 +1,8 @@
1group { "efl/progressbar/horizontal"; 1group { name: "efl/progressbar/horizontal";
2 data.item: "version" "123";
3 images.image: "inset_bar_horiz_base.png" COMP;
4 images.image: "inset_bar_horiz_light.png" COMP;
5 images.image: "inset_bar_horiz_inside_base.png" COMP;
6 images.image: "inset_bar_horiz_inside_light.png" COMP;
7 images.image: "inset_bar_horiz_glow_base.png" COMP;
8 images.image: "inset_bar_horiz_glow_light.png" COMP;
9 images.image: "inset_bar_horiz_glow_inv_base.png" COMP;
10 images.image: "inset_bar_horiz_glow_inv_light.png" COMP;
11 images.image: "inset_bar_horiz_glow_mid_base.png" COMP;
12 images.image: "inset_bar_horiz_glow_mid_light.png" COMP;
13#define ICON 1 2#define ICON 1
14#define LABEL 2 3#define LABEL 2
15#define DISABLE 4 4#define DISABLE 4
5 data.item: "version" "123";
16 script { 6 script {
17 public slmode; 7 public slmode;
18 public eval_mode(m) { 8 public eval_mode(m) {
@@ -31,9 +21,16 @@ group { "efl/progressbar/horizontal";
31 if (ic) { 21 if (ic) {
32 set_state(PART:"efl.content", "visible", 0.0); 22 set_state(PART:"efl.content", "visible", 0.0);
33 set_state(PART:"sizer_content", "visible", 0.0); 23 set_state(PART:"sizer_content", "visible", 0.0);
24 set_state(PART:"bg", "iclabel", 0.0);
34 } else { 25 } else {
35 set_state(PART:"efl.content", "default", 0.0); 26 set_state(PART:"efl.content", "default", 0.0);
36 set_state(PART:"sizer_content", "default", 0.0); 27 set_state(PART:"sizer_content", "default", 0.0);
28 if (l) {
29 set_state(PART:"bg", "iclabel", 0.0);
30 }
31 else {
32 set_state(PART:"bg", "default", 0.0);
33 }
37 } 34 }
38 if (!d) { 35 if (!d) {
39 set_state(PART:"dis_clip", "default", 0.0); 36 set_state(PART:"dis_clip", "default", 0.0);
@@ -45,8 +42,7 @@ group { "efl/progressbar/horizontal";
45 parts { 42 parts {
46 part { name: "dis_clip"; type: RECT; 43 part { name: "dis_clip"; type: RECT;
47 description { state: "default" 0.0; 44 description { state: "default" 0.0;
48 rel1.to: "efl.content"; 45 rel.to: "efl.content";
49 rel2.to: "efl.content";
50 } 46 }
51 description { state: "disabled" 0.0; 47 description { state: "disabled" 0.0;
52 inherit: "default" 0.0; 48 inherit: "default" 0.0;
@@ -75,22 +71,23 @@ group { "efl/progressbar/horizontal";
75 } 71 }
76 } 72 }
77 part { name: "efl.content"; type: SWALLOW; 73 part { name: "efl.content"; type: SWALLOW;
74 scale: 1;
78 clip_to: "dis_clip"; 75 clip_to: "dis_clip";
79 required;
80 description { state: "default" 0.0; 76 description { state: "default" 0.0;
81 visible: 0; 77 visible: 0;
82 align: 0.0 0.5; 78 align: 0.0 0.5;
83 fixed: 1 0; 79 fixed: 1 0;
84 rel1.offset: 0 2; 80 rel1.offset: -1 4;
85 rel2.offset: -1 -3; 81 rel2.offset: -1 -5;
86 rel2.relative: 0.0 1.0; 82 rel2.relative: 0.0 1.0;
83 offscale;
87 } 84 }
88 description { state: "visible" 0.0; 85 description { state: "visible" 0.0;
89 inherit: "default" 0.0; 86 inherit: "default" 0.0;
90 visible: 1; 87 visible: 1;
91 aspect: 1.0 1.0; aspect_preference: VERTICAL; 88// aspect: 1.0 1.0; aspect_preference: VERTICAL;
92 rel1.offset: 2 2; 89 rel1.offset: 4 4;
93 rel2.offset: 2 -3; 90 rel2.offset: 4 -5;
94 } 91 }
95 } 92 }
96 part { name: "sizer_content"; type: TEXT; mouse_events: 0; 93 part { name: "sizer_content"; type: TEXT; mouse_events: 0;
@@ -105,224 +102,119 @@ group { "efl/progressbar/horizontal";
105 } 102 }
106 description { state: "visible" 0.0; 103 description { state: "visible" 0.0;
107 inherit: "default" 0.0; 104 inherit: "default" 0.0;
108 rel1.to: "efl.content"; 105 rel.to: "efl.content";
109 rel2.to: "efl.content";
110 text { 106 text {
111 min: 1 1; 107 min: 1 1;
112 ellipsis: -1; 108 ellipsis: -1;
113 text: "M"; 109 text: SPACER_TEXT;
114 } 110 }
115 } 111 }
116 } 112 }
117 part { name: "efl.text"; type: TEXT; mouse_events: 0; 113 part { name: "efl.text"; type: TEXT; mouse_events: 0;
118 effect: SHADOW BOTTOM;
119 scale: 1; 114 scale: 1;
120 required;
121 description { state: "default" 0.0; 115 description { state: "default" 0.0;
122 fixed: 1 1; 116 fixed: 1 1;
123 align: 0.0 0.5; 117 align: 0.0 0.5;
124 rel1.to_x: "efl.content"; 118 rel1.to_x: "efl.content";
125 rel1.relative: 1.0 0.0; 119 rel1.relative: 1.0 0.0;
126 rel1.offset: -1 2; 120 rel1.offset: -1 4;
127 rel2.to_x: "efl.content"; 121 rel2.to_x: "efl.content";
128 rel2.relative: 1.0 1.0; 122 rel2.relative: 1.0 1.0;
129 rel2.offset: -1 -3; 123 rel2.offset: -1 -5;
130 color: FN_COL_DEFAULT; 124 color: 160 160 160 255;
131 color_class: "progressbar_text";
132 text { font: FN; size: 10; 125 text { font: FN; size: 10;
133 text_class: "progressbar"; 126 text_class: "progressbar";
134 min: 0 0; 127 min: 0 0;
135 align: 0.0 0.5; 128 align: 0.0 0.5;
136 } 129 }
137 visible: 0; 130 visible: 0;
131 offscale;
138 } 132 }
139 description { state: "visible" 0.0; 133 description { state: "visible" 0.0;
140 inherit: "default" 0.0; 134 inherit: "default" 0.0;
141 fixed: 1 0; 135 fixed: 1 0;
142 visible: 1; 136 visible: 1;
143 rel1.offset: 2 2; 137 rel1.offset: 4 4;
144 rel2.offset: 2 -3; 138 rel2.offset: 4 -5;
145 text.min: 1 1; 139 text.min: 1 1;
146 text.ellipsis: -1; 140 text.ellipsis: -1;
147 } 141 }
148 description { state: "disabled_visible" 0.0; 142 description { state: "disabled_visible" 0.0;
149 inherit: "visible" 0.0; 143 inherit: "visible" 0.0;
150 color_class: "progressbar_text_disabled"; 144 color: 80 80 80 255;
151 color: FN_COL_DISABLE_LIGHTER_SHADOW;
152 }
153 }
154 part { name: "bg-hi";
155 description { state: "default" 0.0;
156 rel1.to: "bg";
157 rel1.offset: 0 1;
158 rel2.to: "bg";
159 rel2.offset: -1 0;
160 image.normal: "inset_bar_horiz_light.png";
161 image.border: 32 32 0 0;
162 image.border_scale_by: 0.25; image.border_scale: 1;
163 } 145 }
164 } 146 }
165 part { name: "bg"; 147 part { name: "bg"; type: RECT;
166 scale: 1; 148 scale: 1;
167 description { state: "default" 0.0; 149 description { state: "default" 0.0;
168 min: 16 16; 150 min: 16 16;
169 max: -1 16; 151 max: -1 16;
170 rel1.to_x: "efl.text"; 152 rel1.offset: 4 4;
171 rel1.relative: 1.0 0.0; 153 rel2.offset: -5 -5;
172 rel1.offset: 3 3; 154 color: DARK_GREY_BG_COLOR;
173 rel2.offset: -4 -4; 155 offscale;
174 image.normal: "inset_bar_horiz_base.png";
175 image.border: 32 32 0 0;
176 image.border_scale_by: 0.25; image.border_scale: 1;
177 } 156 }
178 } 157 description { state: "iclabel" 0.0;
179 part { name: "ins0"; type: SPACER; 158 inherit: "default" 0.0;
180 scale: 1; 159 rel1.to_x: "efl.text";
181 description { state: "default" 0.0;
182 fixed: 1 0;
183 rel1.to: "bg";
184 rel2.to: "bg";
185 rel2.relative: 0.0 1.0;
186 min: 5 16;
187 align: 0.0 0.5;
188 }
189 }
190 part { name: "ins1"; type: SPACER;
191 scale: 1;
192 description { state: "default" 0.0;
193 fixed: 1 0;
194 rel1.to: "bg";
195 rel1.relative: 1.0 0.0; 160 rel1.relative: 1.0 0.0;
196 rel2.to: "bg";
197 min: 5 16;
198 align: 1.0 0.5;
199 }
200 }
201 part { name: "inside-hi";
202 scale: 1;
203 description { state: "default" 0.0;
204 rel1.to: "inside";
205 rel1.offset: 0 1;
206 rel2.to: "inside";
207 rel2.offset: -1 0;
208 image.normal: "inset_bar_horiz_inside_light.png";
209 image.border: 8 8 0 0;
210 image.border_scale_by: 0.25; image.border_scale: 1;
211 }
212 }
213 part { name: "inside";
214 scale: 1;
215 description { state: "default" 0.0;
216 min: 4 4;
217 rel1.to: "ins0";
218 rel1.relative: 1.0 (6/16);
219 rel2.to: "ins1";
220 rel2.relative: 0.0 (10/16);
221 image.normal: "inset_bar_horiz_inside_base.png";
222 image.border: 8 8 0 0;
223 image.border_scale_by: 0.25; image.border_scale: 1;
224 } 161 }
225 } 162 }
226 part { name: "efl.bar"; type: SWALLOW; mouse_events: 0; 163 part { name: "efl.bar"; type: SWALLOW; mouse_events: 0;
227 description { state: "default" 0.0; 164 description { state: "default" 0.0;
228 rel1.to: "inside"; 165 rel.to: "bg";
229 rel2.to: "inside";
230 } 166 }
231 } 167 }
232 part { name: "efl.cur.progressbar"; mouse_events: 0; type: SPACER; 168 part { name: "efl.cur.progressbar"; mouse_events: 0; type: SPACER;
233 scale: 1; 169 dragable.confine: "efl.bar";
234 dragable.confine: "inside";
235 dragable.x: 1 1 1; 170 dragable.x: 1 1 1;
236 dragable.y: 0 0 0; 171 dragable.y: 0 0 0;
237 description { state: "default" 0.0; 172 description { state: "default" 0.0;
238 fixed: 1 1; 173 fixed: 1 1;
239 min: 8 4; 174 min: 1 1;
240 max: 8 4; 175 max: 1 9999;
241 rel1.to: "inside"; 176 rel.to: "efl.bar";
242 rel2.to: "inside";
243 } 177 }
244 } 178 }
245 part { name: "barend"; type: SPACER; 179 part { name: "barend"; type: SPACER;
246 scale: 1;
247 description { state: "default" 0.0; 180 description { state: "default" 0.0;
248 fixed: 1 0; 181 fixed: 1 0;
249 min: 14 16; 182 max: 1 9999;
250 rel1.to_x: "efl.cur.progressbar"; 183 rel1.to_x: "efl.cur.progressbar";
251 rel1.relative: 1.0 0.0;
252 rel2.to_x: "efl.cur.progressbar"; 184 rel2.to_x: "efl.cur.progressbar";
253 rel2.relative: 1.0 1.0; 185 align: 1.0 0.5;
254 align: 0.0 0.5;
255 } 186 }
256 description { state: "inv" 0.0; 187 description { state: "inv" 0.0;
257 inherit: "default" 0.0; 188 inherit: "default" 0.0;
258 rel1.relative: 0.0 0.0; 189 align: 0.0 0.5;
259 rel2.relative: 0.0 1.0;
260 align: 1.0 0.5;
261 } 190 }
262 } 191 }
263 part { name: "bar"; 192 part { name: "bar"; type: RECT;
264 clip_to: "fract_clip";
265 scale: 1; 193 scale: 1;
194 clip_to: "fract_clip";
266 description { state: "default" 0.0; 195 description { state: "default" 0.0;
267 rel1.to_x: "ins0"; 196 rel1.to: "bg";
268 rel1.to_y: "bg";
269 rel1.relative: (12/16) -0.25;
270 rel2.to_x: "barend"; 197 rel2.to_x: "barend";
271 rel2.to_y: "bg"; 198 rel2.to_y: "bg";
272 rel2.relative: 1.0 1.25; 199 color: 51 153 255 255;
273 image.normal: "inset_bar_horiz_glow_base.png"; 200 offscale;
274 image.border: 0 72 0 0;
275 image.border_scale_by: 0.25; image.border_scale: 1;
276 } 201 }
277 description { state: "inv" 0.0; 202 description { state: "inv" 0.0;
278 inherit: "default" 0.0; 203 inherit: "default" 0.0;
279 rel1.to_x: "barend"; 204 rel1.to_x: "barend";
280 rel1.relative: 0.0 -0.25; 205 rel2.to_x: "bg";
281 rel2.to_x: "ins1";
282 rel2.relative: (4/16) 1.25;
283 image.normal: "inset_bar_horiz_glow_inv_base.png";
284 image.border: 72 0 0 0;
285 }
286 }
287 part { name: "insidep0"; type: SPACER;
288 scale: 1;
289 description { state: "default" 0.0;
290 fixed: 1 0;
291 min: 20 16;
292 rel1.to_x: "inside";
293 rel1.relative: 0.0 0.0;
294 rel2.to_x: "inside";
295 rel2.relative: 0.0 1.0;
296 align: 1.0 0.5;
297 }
298 }
299 part { name: "insidep1"; type: SPACER;
300 scale: 1;
301 description { state: "default" 0.0;
302 fixed: 1 0;
303 min: 20 16;
304 rel1.to_x: "inside";
305 rel1.relative: 1.0 0.0;
306 rel2.to_x: "inside";
307 rel2.relative: 1.0 1.0;
308 align: 0.0 0.5;
309 } 206 }
310 } 207 }
311 part { name: "pulse"; 208 part { name: "pulse"; type: RECT;
312 clip_to: "pulse_clip"; 209 clip_to: "pulse_clip";
313 scale: 1; 210 scale: 1;
314 description { state: "default" 0.0; 211 description { state: "default" 0.0;
315 fixed: 1 1; 212 fixed: 1 1;
316 min: 64 24; 213 min: 16 8;
317 max: 64 24; 214 max: 16 9999;
318 rel1.to_x: "insidep0"; 215 rel.to: "efl.bar";
319 rel1.to_y: "bar";
320 rel1.relative: 0.0 0.0;
321 rel2.to_x: "insidep1";
322 rel2.to_y: "bar";
323 rel2.relative: 1.0 1.0;
324 image.normal: "inset_bar_horiz_glow_mid_base.png";
325 align: 0.0 0.5; 216 align: 0.0 0.5;
217 color: 51 153 255 255;
326 } 218 }
327 description { state: "end" 0.0; 219 description { state: "end" 0.0;
328 inherit: "default" 0.0; 220 inherit: "default" 0.0;
@@ -331,73 +223,25 @@ group { "efl/progressbar/horizontal";
331 } 223 }
332 part { name: "efl.text.status"; type: TEXT; mouse_events: 0; 224 part { name: "efl.text.status"; type: TEXT; mouse_events: 0;
333 scale: 1; 225 scale: 1;
334 effect: GLOW;
335 description { state: "default" 0.0; 226 description { state: "default" 0.0;
336 fixed: 1 1; 227 fixed: 1 1;
337 rel1.to: "inside"; 228 rel.to: "efl.bar";
338 rel2.to: "inside"; 229 rel1.offset: 4 0;
339 color_class: "progress_status"; 230 rel2.offset: -5 -1;
340 align: 1.0 0.5; 231 align: 1.0 0.5;
341 text { font: FN; size: 10; 232 text { font: FN; size: 10;
342 min: 0 1; 233 min: 0 1;
343 text_class: "progress_status"; 234 text_class: "progress_status";
344 align: 1.0 0.5; 235 align: 1.0 0.5;
345 } 236 }
346 color: FN_COL_HIGHLIGHT_CLICKED; 237 color: 255 255 255 255;
347 visible: 1; 238 offscale;
348 } 239 }
349 description { state: "hidden" 0.0; 240 description { state: "hidden" 0.0;
350 inherit: "default" 0.0; 241 inherit: "default" 0.0;
351 visible: 0; 242 visible: 0;
352 } 243 }
353 } 244 }
354 part { name: "pulse2";
355 clip_to: "pulse_clip";
356 scale: 1;
357 description { state: "default" 0.0;
358 fixed: 1 1;
359 min: 36 14;
360 max: 36 14;
361 rel1.to: "pulse";
362 rel2.to: "pulse";
363 image.normal: "inset_bar_horiz_glow_mid_light.png";
364 color: 255 255 255 0;
365 }
366 description { state: "glow" 0.0;
367 inherit: "default" 0.0;
368 color: 255 255 255 255;
369 }
370 }
371 part { name: "light";
372 clip_to: "fract_clip";
373 scale: 1;
374 description { state: "default" 0.0;
375 max: 36 11;
376 rel1.to_x: "bar";
377 rel1.to_y: "bar";
378 rel1.relative: 0.0 (26/96);
379 rel2.to_x: "barend";
380 rel2.to_y: "bar";
381 rel2.relative: 0.2 ((26+44)/96);
382 align: 1.0 0.0;
383 image.normal: "inset_bar_horiz_glow_light.png";
384 image.border: 0 20 0 0;
385 image.border_scale_by: 0.25; image.border_scale: 1;
386 color: 255 255 255 0;
387 }
388 description { state: "inv" 0.0;
389 inherit: "default" 0.0;
390 rel1.to_x: "barend";
391 rel1.to_y: "bar";
392 rel1.relative: 0.8 (26/96);
393 rel2.to_x: "bar";
394 rel2.to_y: "bar";
395 rel2.relative: 1.0 ((26+44)/96);
396 align: 0.0 0.0;
397 image.normal: "inset_bar_horiz_glow_inv_light.png";
398 image.border: 20 0 0 0;
399 }
400 }
401 } 245 }
402 programs { 246 programs {
403 program { name: "inverted-on"; 247 program { name: "inverted-on";
@@ -405,33 +249,12 @@ group { "efl/progressbar/horizontal";
405 action: STATE_SET "inv" 0.0; 249 action: STATE_SET "inv" 0.0;
406 target: "bar"; 250 target: "bar";
407 target: "barend"; 251 target: "barend";
408 target: "light";
409 } 252 }
410 program { name: "inverted-off"; 253 program { name: "inverted-off";
411 signal: "efl,state,inverted,off"; source: "efl"; 254 signal: "efl,state,inverted,off"; source: "efl";
412 action: STATE_SET "default" 0.0; 255 action: STATE_SET "default" 0.0;
413 target: "bar"; 256 target: "bar";
414 target: "barend"; 257 target: "barend";
415 target: "light";
416 }
417 program { name: "drag-set";
418 signal: "drag,set"; source: "efl.cur.progressbar";
419 script {
420 new a, Float:dx, Float:dy, Float:vl, st[20];
421
422 get_drag(PART:"efl.cur.progressbar", dx, dy);
423 get_state(PART:"bar", st, 19, vl);
424 if (!strcmp(st, "inv")) {
425 a = round(((1.0 - dx) * 255) / 0.2);
426 custom_state(PART:"light", "inv", 0.0);
427 } else {
428 a = round((dx * 255) / 0.2);
429 custom_state(PART:"light", "default", 0.0);
430 }
431 if (a > 255) { a = 255; }
432 set_state_val(PART:"light", STATE_COLOR, 255, 255, 255, a);
433 set_state(PART:"light", "custom", 0.0);
434 }
435 } 258 }
436 program { name: "pulse-mode0"; 259 program { name: "pulse-mode0";
437 signal: "efl,state,pulse"; source: "efl"; 260 signal: "efl,state,pulse"; source: "efl";
@@ -450,32 +273,18 @@ group { "efl/progressbar/horizontal";
450 target: "pulse_clip"; 273 target: "pulse_clip";
451 target: "fract_clip"; 274 target: "fract_clip";
452 after: "pulse0"; 275 after: "pulse0";
453 after: "pulse0.1";
454 }
455 program { name: "pulse0.1";
456 action: STATE_SET "glow" 0.0;
457 transition: ACCELERATE 0.4;
458 target: "pulse2";
459 after: "pulse0.2";
460 }
461 program { name: "pulse0.2";
462 action: STATE_SET "default" 0.0;
463 transition: DECELERATE 0.4;
464 target: "pulse2";
465 } 276 }
466 program { name: "pulse0"; 277 program { name: "pulse0";
467 action: STATE_SET "end" 0.0; 278 action: STATE_SET "end" 0.0;
468 transition: SINUSOIDAL 0.8; 279 transition: SINUSOIDAL 0.8;
469 target: "pulse"; 280 target: "pulse";
470 after: "pulse1"; 281 after: "pulse1";
471 after: "pulse0.1";
472 } 282 }
473 program { name: "pulse1"; 283 program { name: "pulse1";
474 action: STATE_SET "default" 0.0; 284 action: STATE_SET "default" 0.0;
475 transition: SINUSOIDAL 0.8; 285 transition: SINUSOIDAL 0.8;
476 target: "pulse"; 286 target: "pulse";
477 after: "pulse0"; 287 after: "pulse0";
478 after: "pulse0.1";
479 } 288 }
480 program { name: "fraction"; 289 program { name: "fraction";
481 signal: "efl,state,fraction"; source: "efl"; 290 signal: "efl,state,fraction"; source: "efl";
@@ -483,7 +292,7 @@ group { "efl/progressbar/horizontal";
483 target: "efl.text.status"; 292 target: "efl.text.status";
484 after: "pulse-stop"; 293 after: "pulse-stop";
485 } 294 }
486 program { name: "elmpulse-stop"; 295 program { name: "eflpulse-stop";
487 signal: "efl,state,pulse,stop"; source: "efl"; 296 signal: "efl,state,pulse,stop"; source: "efl";
488 action: ACTION_STOP; 297 action: ACTION_STOP;
489 target: "pulse0"; 298 target: "pulse0";
@@ -505,7 +314,7 @@ group { "efl/progressbar/horizontal";
505 target: "efl.text.status"; 314 target: "efl.text.status";
506 } 315 }
507 program { name: "text-visible"; 316 program { name: "text-visible";
508 signal: "efl,text,set"; source: "efl"; 317 signal: "efl,state,text,visible"; source: "efl";
509 script { 318 script {
510 new m = get_int(slmode); 319 new m = get_int(slmode);
511 m |= LABEL; set_int(slmode, m); 320 m |= LABEL; set_int(slmode, m);
@@ -513,7 +322,7 @@ group { "efl/progressbar/horizontal";
513 } 322 }
514 } 323 }
515 program { name: "text-hidden"; 324 program { name: "text-hidden";
516 signal: "efl,text,unset"; source: "efl"; 325 signal: "efl,state,text,hidden"; source: "efl";
517 script { 326 script {
518 new m = get_int(slmode); 327 new m = get_int(slmode);
519 m &= ~LABEL; set_int(slmode, m); 328 m &= ~LABEL; set_int(slmode, m);
@@ -521,7 +330,7 @@ group { "efl/progressbar/horizontal";
521 } 330 }
522 } 331 }
523 program { name: "icon-visible"; 332 program { name: "icon-visible";
524 signal: "efl,content,set"; source: "efl"; 333 signal: "efl,state,icon,visible"; source: "efl";
525 script { 334 script {
526 new m = get_int(slmode); 335 new m = get_int(slmode);
527 m |= ICON; set_int(slmode, m); 336 m |= ICON; set_int(slmode, m);
@@ -529,7 +338,7 @@ group { "efl/progressbar/horizontal";
529 } 338 }
530 } 339 }
531 program { name: "icon-hidden"; 340 program { name: "icon-hidden";
532 signal: "efl,content,unset"; source: "efl"; 341 signal: "efl,state,icon,hidden"; source: "efl";
533 script { 342 script {
534 new m = get_int(slmode); 343 new m = get_int(slmode);
535 m &= ~ICON; set_int(slmode, m); 344 m &= ~ICON; set_int(slmode, m);
@@ -555,25 +364,14 @@ group { "efl/progressbar/horizontal";
555 } 364 }
556#undef ICON 365#undef ICON
557#undef LABEL 366#undef LABEL
558#undef UNITS
559#undef DISABLE 367#undef DISABLE
560} 368}
561 369
562group { "efl/progressbar/vertical"; 370group { name: "efl/progressbar/vertical";
563 data.item: "version" "123";
564 images.image: "inset_bar_vert_base.png" COMP;
565 images.image: "inset_bar_vert_light.png" COMP;
566 images.image: "inset_bar_vert_inside_base.png" COMP;
567 images.image: "inset_bar_vert_inside_light.png" COMP;
568 images.image: "inset_bar_vert_glow_base.png" COMP;
569 images.image: "inset_bar_vert_glow_light.png" COMP;
570 images.image: "inset_bar_vert_glow_inv_base.png" COMP;
571 images.image: "inset_bar_vert_glow_inv_light.png" COMP;
572 images.image: "inset_bar_vert_glow_mid_base.png" COMP;
573 images.image: "inset_bar_vert_glow_mid_light.png" COMP;
574#define ICON 1 371#define ICON 1
575#define LABEL 2 372#define LABEL 2
576#define DISABLE 4 373#define DISABLE 4
374 data.item: "version" "123";
577 script { 375 script {
578 public slmode; 376 public slmode;
579 public eval_mode(m) { 377 public eval_mode(m) {
@@ -592,9 +390,16 @@ group { "efl/progressbar/vertical";
592 if (ic) { 390 if (ic) {
593 set_state(PART:"efl.content", "visible", 0.0); 391 set_state(PART:"efl.content", "visible", 0.0);
594 set_state(PART:"sizer_content", "visible", 0.0); 392 set_state(PART:"sizer_content", "visible", 0.0);
393 set_state(PART:"bg", "iclabel", 0.0);
595 } else { 394 } else {
596 set_state(PART:"efl.content", "default", 0.0); 395 set_state(PART:"efl.content", "default", 0.0);
597 set_state(PART:"sizer_content", "default", 0.0); 396 set_state(PART:"sizer_content", "default", 0.0);
397 if (l) {
398 set_state(PART:"bg", "iclabel", 0.0);
399 }
400 else {
401 set_state(PART:"bg", "default", 0.0);
402 }
598 } 403 }
599 if (!d) { 404 if (!d) {
600 set_state(PART:"dis_clip", "default", 0.0); 405 set_state(PART:"dis_clip", "default", 0.0);
@@ -636,28 +441,29 @@ group { "efl/progressbar/vertical";
636 } 441 }
637 } 442 }
638 part { name: "efl.content"; type: SWALLOW; 443 part { name: "efl.content"; type: SWALLOW;
444 scale: 1;
639 clip_to: "dis_clip"; 445 clip_to: "dis_clip";
640 required;
641 description { state: "default" 0.0; 446 description { state: "default" 0.0;
642 visible: 0; 447 visible: 0;
643 align: 0.5 0.0; 448 align: 0.5 0.0;
644 fixed: 0 1; 449 fixed: 1 1;
645 rel1.offset: 2 0; 450 rel1.offset: 4 0;
646 rel2.offset: -3 -1; 451 rel2.offset: -5 -1;
647 rel2.relative: 1.0 0.0; 452 rel2.relative: 1.0 0.0;
453 offscale;
648 } 454 }
649 description { state: "visible" 0.0; 455 description { state: "visible" 0.0;
650 inherit: "default" 0.0; 456 inherit: "default" 0.0;
651 visible: 1; 457 visible: 1;
652 aspect: 1.0 1.0; aspect_preference: HORIZONTAL; 458// aspect: 1.0 1.0; aspect_preference: HORIZONTAL;
653 rel1.offset: 2 2; 459 rel1.offset: 4 4;
654 rel2.offset: -3 2; 460 rel2.offset: -5 4;
655 } 461 }
656 } 462 }
657 part { name: "sizer_content"; type: TEXT; mouse_events: 0; 463 part { name: "sizer_content"; type: TEXT; mouse_events: 0;
658 scale: 1; 464 scale: 1;
659 description { state: "default" 0.0; 465 description { state: "default" 0.0;
660 fixed: 1 1; 466 fixed: 0 0;
661 visible: 0; 467 visible: 0;
662 text { font: FN; size: 10; 468 text { font: FN; size: 10;
663 min: 0 0; 469 min: 0 0;
@@ -666,224 +472,123 @@ group { "efl/progressbar/vertical";
666 } 472 }
667 description { state: "visible" 0.0; 473 description { state: "visible" 0.0;
668 inherit: "default" 0.0; 474 inherit: "default" 0.0;
475 fixed: 1 1;
669 rel1.to: "efl.content"; 476 rel1.to: "efl.content";
670 rel2.to: "efl.content"; 477 rel2.to: "efl.content";
671 text { 478 text {
672 min: 1 1; 479 min: 1 1;
673 ellipsis: -1; 480 ellipsis: -1;
674 text: "M"; 481 text: SPACER_TEXT;
675 } 482 }
676 } 483 }
677 } 484 }
678 part { name: "efl.text"; type: TEXT; mouse_events: 0; 485 part { name: "efl.text"; type: TEXT; mouse_events: 0;
679 effect: SHADOW BOTTOM;
680 scale: 1; 486 scale: 1;
681 required;
682 description { state: "default" 0.0; 487 description { state: "default" 0.0;
683 fixed: 1 1; 488 fixed: 1 1;
684 align: 0.5 0.0; 489 align: 0.5 0.0;
685 rel1.to_y: "efl.content"; 490 rel1.to_y: "efl.content";
686 rel1.relative: 0.0 1.0; 491 rel1.relative: 0.0 1.0;
687 rel1.offset: 2 -1; 492 rel1.offset: 4 -1;
688 rel2.to_y: "efl.content"; 493 rel2.to_y: "efl.content";
689 rel2.relative: 1.0 1.0; 494 rel2.relative: 1.0 1.0;
690 rel2.offset: -3 -1; 495 rel2.offset: -5 -1;
691 color: FN_COL_DEFAULT; 496 color: 160 160 160 255;
692 color_class: "progressbar_text";
693 text { font: FN; size: 10; 497 text { font: FN; size: 10;
694 text_class: "progressbar"; 498 text_class: "progressbar";
695 min: 0 0; 499 min: 0 0;
696 align: 0.5 0.0; 500 align: 0.5 0.0;
697 } 501 }
698 visible: 0; 502 visible: 0;
503 offscale;
699 } 504 }
700 description { state: "visible" 0.0; 505 description { state: "visible" 0.0;
701 inherit: "default" 0.0; 506 inherit: "default" 0.0;
702 fixed: 0 1;
703 visible: 1; 507 visible: 1;
704 rel1.offset: 2 2; 508 rel1.offset: 4 4;
705 rel2.offset: -3 2; 509 rel2.offset: -5 4;
706 text.min: 1 1; 510 text.min: 1 1;
707 text.ellipsis: -1; 511 text.ellipsis: -1;
708 } 512 }
709 description { state: "disabled_visible" 0.0; 513 description { state: "disabled_visible" 0.0;
710 inherit: "visible" 0.0; 514 inherit: "visible" 0.0;
711 color_class: "progressbar_text_disabled"; 515 color: 80 80 80 255;
712 color: FN_COL_DISABLE_LIGHTER_SHADOW;
713 }
714 }
715 part { name: "bg-hi";
716 description { state: "default" 0.0;
717 rel1.to: "bg";
718 rel1.offset: 0 1;
719 rel2.to: "bg";
720 rel2.offset: -1 0;
721 image.normal: "inset_bar_vert_light.png";
722 image.border: 0 0 32 32;
723 image.border_scale_by: 0.25; image.border_scale: 1;
724 } 516 }
725 } 517 }
726 part { name: "bg"; 518 part { name: "bg"; type: RECT;
727 scale: 1; 519 scale: 1;
728 description { state: "default" 0.0; 520 description { state: "default" 0.0;
729 min: 16 16; 521 min: 16 16;
730 max: 16 -1; 522 max: 16 -1;
523 rel1.offset: 4 4;
524 rel2.offset: -5 -5;
525 color: DARK_GREY_BG_COLOR;
526 offscale;
527 }
528 description { state: "iclabel" 0.0;
529 inherit: "default" 0.0;
731 rel1.to_y: "efl.text"; 530 rel1.to_y: "efl.text";
732 rel1.relative: 0.0 1.0; 531 rel1.relative: 0.0 1.0;
733 rel1.offset: 3 3;
734 rel2.offset: -4 -4;
735 image.normal: "inset_bar_vert_base.png";
736 image.border: 0 0 32 32;
737 image.border_scale_by: 0.25; image.border_scale: 1;
738 }
739 }
740 part { name: "ins0"; type: SPACER;
741 scale: 1;
742 description { state: "default" 0.0;
743 fixed: 0 1;
744 rel1.to: "bg";
745 rel2.to: "bg";
746 rel2.relative: 1.0 0.0;
747 min: 16 5;
748 align: 0.5 0.0;
749 } 532 }
750 } 533 }
751 part { name: "ins1"; type: SPACER; 534 part { name: "efl.bar"; type: SWALLOW; mouse_events: 0;
752 scale: 1;
753 description { state: "default" 0.0; 535 description { state: "default" 0.0;
754 fixed: 0 1;
755 rel1.to: "bg"; 536 rel1.to: "bg";
756 rel1.relative: 0.0 1.0;
757 rel2.to: "bg"; 537 rel2.to: "bg";
758 min: 16 5;
759 align: 0.5 1.0;
760 }
761 }
762 part { name: "inside-hi";
763 scale: 1;
764 description { state: "default" 0.0;
765 rel1.to: "inside";
766 rel1.offset: 0 1;
767 rel2.to: "inside";
768 rel2.offset: -1 0;
769 image.normal: "inset_bar_vert_inside_light.png";
770 image.border: 0 0 8 8;
771 image.border_scale_by: 0.25; image.border_scale: 1;
772 }
773 }
774 part { name: "inside";
775 scale: 1;
776 description { state: "default" 0.0;
777 min: 4 4;
778 rel1.to: "ins0";
779 rel1.relative: (6/16) 1.0;
780 rel2.to: "ins1";
781 rel2.relative: (10/16) 0.0;
782 image.normal: "inset_bar_vert_inside_base.png";
783 image.border: 0 0 8 8;
784 image.border_scale_by: 0.25; image.border_scale: 1;
785 }
786 }
787 part { name: "efl.bar"; type: SWALLOW; mouse_events: 0;
788 description { state: "default" 0.0;
789 rel1.to: "inside";
790 rel2.to: "inside";
791 } 538 }
792 } 539 }
793 part { name: "efl.cur.progressbar"; mouse_events: 0; type: SPACER; 540 part { name: "efl.cur.progressbar"; mouse_events: 0; type: SPACER;
794 scale: 1; 541 dragable.confine: "efl.bar";
795 dragable.confine: "inside";
796 dragable.x: 0 0 0; 542 dragable.x: 0 0 0;
797 dragable.y: 1 1 1; 543 dragable.y: 1 1 1;
798 description { state: "default" 0.0; 544 description { state: "default" 0.0;
799 fixed: 1 1; 545 fixed: 1 1;
800 min: 4 8; 546 min: 1 1;
801 max: 4 8; 547 max: 9999 1;
802 rel1.to: "inside"; 548 rel1.to: "efl.bar";
803 rel2.to: "inside"; 549 rel2.to: "efl.bar";
804 } 550 }
805 } 551 }
806 part { name: "barend"; type: SPACER; 552 part { name: "barend"; type: SPACER;
807 scale: 1;
808 description { state: "default" 0.0; 553 description { state: "default" 0.0;
809 fixed: 0 1; 554 fixed: 0 1;
810 min: 16 14; 555 max: 9999 1;
811 rel1.to_y: "efl.cur.progressbar"; 556 rel1.to_y: "efl.cur.progressbar";
812 rel1.relative: 0.0 1.0;
813 rel2.to_y: "efl.cur.progressbar"; 557 rel2.to_y: "efl.cur.progressbar";
814 rel2.relative: 1.0 1.0; 558 align: 0.5 1.0;
815 align: 0.5 0.0;
816 } 559 }
817 description { state: "inv" 0.0; 560 description { state: "inv" 0.0;
818 inherit: "default" 0.0; 561 inherit: "default" 0.0;
819 rel1.relative: 0.0 0.0; 562 align: 0.5 0.0;
820 rel2.relative: 1.0 0.0;
821 align: 0.5 1.0;
822 } 563 }
823 } 564 }
824 part { name: "bar"; 565 part { name: "bar"; type: RECT;
825 clip_to: "fract_clip";
826 scale: 1; 566 scale: 1;
567 clip_to: "fract_clip";
827 description { state: "default" 0.0; 568 description { state: "default" 0.0;
828 rel1.to_y: "ins0"; 569 rel1.to: "bg";
829 rel1.to_x: "bg";
830 rel1.relative: -0.25 (12/16);
831 rel2.to_y: "barend"; 570 rel2.to_y: "barend";
832 rel2.to_x: "bg"; 571 rel2.to_x: "bg";
833 rel2.relative: 1.25 1.0; 572 color: 51 153 255 255;
834 image.normal: "inset_bar_vert_glow_base.png"; 573 offscale;
835 image.border: 0 0 0 72;
836 image.border_scale_by: 0.25; image.border_scale: 1;
837 } 574 }
838 description { state: "inv" 0.0; 575 description { state: "inv" 0.0;
839 inherit: "default" 0.0; 576 inherit: "default" 0.0;
840 rel1.to_y: "barend"; 577 rel1.to_y: "barend";
841 rel1.relative: -0.25 0.0; 578 rel2.to_y: "bg";
842 rel2.to_y: "ins1";
843 rel2.relative: 1.25 (4/16);
844 image.normal: "inset_bar_vert_glow_inv_base.png";
845 image.border: 0 0 72 0;
846 }
847 }
848 part { name: "insidep0"; type: SPACER;
849 scale: 1;
850 description { state: "default" 0.0;
851 fixed: 0 1;
852 min: 16 20;
853 rel1.to_y: "inside";
854 rel1.relative: 0.0 0.0;
855 rel2.to_y: "inside";
856 rel2.relative: 1.0 0.0;
857 align: 0.5 1.0;
858 }
859 }
860 part { name: "insidep1"; type: SPACER;
861 scale: 1;
862 description { state: "default" 0.0;
863 fixed: 0 1;
864 min: 16 20;
865 rel1.to_y: "inside";
866 rel1.relative: 0.0 1.0;
867 rel2.to_y: "inside";
868 rel2.relative: 1.0 1.0;
869 align: 0.5 0.0;
870 } 579 }
871 } 580 }
872 part { name: "pulse"; 581 part { name: "pulse"; type: RECT;
873 clip_to: "pulse_clip"; 582 clip_to: "pulse_clip";
874 scale: 1; 583 scale: 1;
875 description { state: "default" 0.0; 584 description { state: "default" 0.0;
876 fixed: 1 1; 585 fixed: 1 1;
877 min: 24 64; 586 min: 8 16;
878 max: 24 64; 587 max: 9999 16;
879 rel1.to_y: "insidep0"; 588 rel1.to: "efl.bar";
880 rel1.to_x: "bar"; 589 rel2.to: "efl.bar";
881 rel1.relative: 0.0 0.0;
882 rel2.to_y: "insidep1";
883 rel2.to_x: "bar";
884 rel2.relative: 1.0 1.0;
885 image.normal: "inset_bar_vert_glow_mid_base.png";
886 align: 0.5 0.0; 590 align: 0.5 0.0;
591 color: 51 153 255 255;
887 } 592 }
888 description { state: "end" 0.0; 593 description { state: "end" 0.0;
889 inherit: "default" 0.0; 594 inherit: "default" 0.0;
@@ -894,30 +599,28 @@ group { "efl/progressbar/vertical";
894 scale: 1; 599 scale: 1;
895 description { state: "default" 0.0; 600 description { state: "default" 0.0;
896 fixed: 1 1; 601 fixed: 1 1;
897 rel1.to: "inside"; 602 rel1.to: "bg";
898 rel2.to: "inside"; 603 rel2.to: "bg";
899 aspect: 1.0 1.0; aspect_preference: NONE; 604 aspect: 1.0 1.0; aspect_preference: NONE;
900 } 605 }
901 } 606 }
902 part { name: "efl.text.status"; type: TEXT; mouse_events: 0; 607 part { name: "efl.text.status"; type: TEXT; mouse_events: 0;
903 scale: 1; 608 scale: 1;
904 effect: GLOW;
905 description { state: "default" 0.0; 609 description { state: "default" 0.0;
906 fixed: 1 1; 610 fixed: 1 1;
907 rel1.to: "statbox"; 611 rel1.to: "statbox";
908 rel2.to: "statbox"; 612 rel2.to: "statbox";
909 color_class: "progress_status"; 613 rel1.offset: 4 0;
614 rel2.offset: -5 -1;
910 align: 1.0 0.5; 615 align: 1.0 0.5;
911 text { font: FN; size: 10; 616 text { font: FN; size: 10;
912 min: 0 1; 617 min: 0 1;
913 text_class: "progress_status"; 618 text_class: "progress_status";
914 align: 1.0 0.5; 619 align: 1.0 0.5;
915 } 620 }
916 color: FN_COL_HIGHLIGHT_CLICKED;
917 visible: 1;
918 map.on: 1; 621 map.on: 1;
919 map.smooth: 0; 622 map.smooth: 0;
920 map.rotation.center: "statbox"; 623 map.rotation.center: "efl.bar";
921 map.rotation.z: 90; 624 map.rotation.z: 90;
922 } 625 }
923 description { state: "hidden" 0.0; 626 description { state: "hidden" 0.0;
@@ -925,53 +628,6 @@ group { "efl/progressbar/vertical";
925 visible: 0; 628 visible: 0;
926 } 629 }
927 } 630 }
928 part { name: "pulse2";
929 clip_to: "pulse_clip";
930 scale: 1;
931 description { state: "default" 0.0;
932 fixed: 1 1;
933 min: 14 36;
934 max: 14 36;
935 rel1.to: "pulse";
936 rel2.to: "pulse";
937 image.normal: "inset_bar_vert_glow_mid_light.png";
938 color: 255 255 255 0;
939 }
940 description { state: "glow" 0.0;
941 inherit: "default" 0.0;
942 color: 255 255 255 255;
943 }
944 }
945 part { name: "light";
946 clip_to: "fract_clip";
947 scale: 1;
948 description { state: "default" 0.0;
949 max: 11 36;
950 rel1.to_y: "bar";
951 rel1.to_x: "bar";
952 rel1.relative: (26/96) 0.0;
953 rel2.to_y: "barend";
954 rel2.to_x: "bar";
955 rel2.relative: ((26+44)/96) 0.2;
956 align: 0.0 1.0;
957 image.normal: "inset_bar_vert_glow_light.png";
958 image.border: 0 0 0 20;
959 image.border_scale_by: 0.25; image.border_scale: 1;
960 color: 255 255 255 0;
961 }
962 description { state: "inv" 0.0;
963 inherit: "default" 0.0;
964 rel1.to_y: "barend";
965 rel1.to_x: "bar";
966 rel1.relative: (26/96) 0.8;
967 rel2.to_y: "bar";
968 rel2.to_x: "bar";
969 rel2.relative: ((26+44)/96) 1.0;
970 align: 0.0 0.0;
971 image.normal: "inset_bar_vert_glow_inv_light.png";
972 image.border: 0 0 20 0;
973 }
974 }
975 } 631 }
976 programs { 632 programs {
977 program { name: "inverted-on"; 633 program { name: "inverted-on";
@@ -979,33 +635,12 @@ group { "efl/progressbar/vertical";
979 action: STATE_SET "inv" 0.0; 635 action: STATE_SET "inv" 0.0;
980 target: "bar"; 636 target: "bar";
981 target: "barend"; 637 target: "barend";
982 target: "light";
983 } 638 }
984 program { name: "inverted-off"; 639 program { name: "inverted-off";
985 signal: "efl,state,inverted,off"; source: "efl"; 640 signal: "efl,state,inverted,off"; source: "efl";
986 action: STATE_SET "default" 0.0; 641 action: STATE_SET "default" 0.0;
987 target: "bar"; 642 target: "bar";
988 target: "barend"; 643 target: "barend";
989 target: "light";
990 }
991 program { name: "drag-set";
992 signal: "drag,set"; source: "efl.cur.progressbar";
993 script {
994 new a, Float:dx, Float:dy, Float:vl, st[20];
995
996 get_drag(PART:"efl.cur.progressbar", dx, dy);
997 get_state(PART:"bar", st, 19, vl);
998 if (!strcmp(st, "inv")) {
999 a = round(((1.0 - dy) * 255) / 0.2);
1000 custom_state(PART:"light", "inv", 0.0);
1001 } else {
1002 a = round((dy * 255) / 0.2);
1003 custom_state(PART:"light", "default", 0.0);
1004 }
1005 if (a > 255) { a = 255; }
1006 set_state_val(PART:"light", STATE_COLOR, 255, 255, 255, a);
1007 set_state(PART:"light", "custom", 0.0);
1008 }
1009 } 644 }
1010 program { name: "pulse-mode0"; 645 program { name: "pulse-mode0";
1011 signal: "efl,state,pulse"; source: "efl"; 646 signal: "efl,state,pulse"; source: "efl";
@@ -1024,32 +659,18 @@ group { "efl/progressbar/vertical";
1024 target: "pulse_clip"; 659 target: "pulse_clip";
1025 target: "fract_clip"; 660 target: "fract_clip";
1026 after: "pulse0"; 661 after: "pulse0";
1027 after: "pulse0.1";
1028 }
1029 program { name: "pulse0.1";
1030 action: STATE_SET "glow" 0.0;
1031 transition: ACCELERATE 0.4;
1032 target: "pulse2";
1033 after: "pulse0.2";
1034 }
1035 program { name: "pulse0.2";
1036 action: STATE_SET "default" 0.0;
1037 transition: DECELERATE 0.4;
1038 target: "pulse2";
1039 } 662 }
1040 program { name: "pulse0"; 663 program { name: "pulse0";
1041 action: STATE_SET "end" 0.0; 664 action: STATE_SET "end" 0.0;
1042 transition: SINUSOIDAL 0.8; 665 transition: SINUSOIDAL 0.8;
1043 target: "pulse"; 666 target: "pulse";
1044 after: "pulse1"; 667 after: "pulse1";
1045 after: "pulse0.1";
1046 } 668 }
1047 program { name: "pulse1"; 669 program { name: "pulse1";
1048 action: STATE_SET "default" 0.0; 670 action: STATE_SET "default" 0.0;
1049 transition: SINUSOIDAL 0.8; 671 transition: SINUSOIDAL 0.8;
1050 target: "pulse"; 672 target: "pulse";
1051 after: "pulse0"; 673 after: "pulse0";
1052 after: "pulse0.1";
1053 } 674 }
1054 program { name: "fraction"; 675 program { name: "fraction";
1055 signal: "efl,state,fraction"; source: "efl"; 676 signal: "efl,state,fraction"; source: "efl";
@@ -1057,7 +678,7 @@ group { "efl/progressbar/vertical";
1057 target: "efl.text.status"; 678 target: "efl.text.status";
1058 after: "pulse-stop"; 679 after: "pulse-stop";
1059 } 680 }
1060 program { name: "elmpulsestop"; 681 program { name: "eflpulse-stop";
1061 signal: "efl,state,pulse,stop"; source: "efl"; 682 signal: "efl,state,pulse,stop"; source: "efl";
1062 action: ACTION_STOP; 683 action: ACTION_STOP;
1063 target: "pulse0"; 684 target: "pulse0";
@@ -1068,18 +689,18 @@ group { "efl/progressbar/vertical";
1068 action: STATE_SET "default" 0.0; 689 action: STATE_SET "default" 0.0;
1069 target: "pulse_clip"; 690 target: "pulse_clip";
1070 } 691 }
1071 program { name: "unit-visible"; 692 program { name: "units-visible";
1072 signal: "efl,state,units,visible"; source: "efl"; 693 signal: "efl,state,units,visible"; source: "efl";
1073 action: STATE_SET "default" 0.0; 694 action: STATE_SET "default" 0.0;
1074 target: "efl.text.status"; 695 target: "efl.text.status";
1075 } 696 }
1076 program { name: "unit-hidden"; 697 program { name: "units-hidden";
1077 signal: "efl,state,units,hidden"; source: "efl"; 698 signal: "efl,state,units,hidden"; source: "efl";
1078 action: STATE_SET "hidden" 0.0; 699 action: STATE_SET "hidden" 0.0;
1079 target: "efl.text.status"; 700 target: "efl.text.status";
1080 } 701 }
1081 program { name: "text-visible"; 702 program { name: "text-visible";
1082 signal: "efl,text,set"; source: "efl"; 703 signal: "efl,state,text,visible"; source: "efl";
1083 script { 704 script {
1084 new m = get_int(slmode); 705 new m = get_int(slmode);
1085 m |= LABEL; set_int(slmode, m); 706 m |= LABEL; set_int(slmode, m);
@@ -1087,7 +708,7 @@ group { "efl/progressbar/vertical";
1087 } 708 }
1088 } 709 }
1089 program { name: "text-hidden"; 710 program { name: "text-hidden";
1090 signal: "efl,text,unset"; source: "efl"; 711 signal: "efl,state,text,hidden"; source: "efl";
1091 script { 712 script {
1092 new m = get_int(slmode); 713 new m = get_int(slmode);
1093 m &= ~LABEL; set_int(slmode, m); 714 m &= ~LABEL; set_int(slmode, m);
@@ -1095,7 +716,7 @@ group { "efl/progressbar/vertical";
1095 } 716 }
1096 } 717 }
1097 program { name: "icon-visible"; 718 program { name: "icon-visible";
1098 signal: "efl,content,set"; source: "efl"; 719 signal: "efl,state,icon,visible"; source: "efl";
1099 script { 720 script {
1100 new m = get_int(slmode); 721 new m = get_int(slmode);
1101 m |= ICON; set_int(slmode, m); 722 m |= ICON; set_int(slmode, m);
@@ -1103,14 +724,14 @@ group { "efl/progressbar/vertical";
1103 } 724 }
1104 } 725 }
1105 program { name: "icon-hidden"; 726 program { name: "icon-hidden";
1106 signal: "efl,content,unset"; source: "efl"; 727 signal: "efl,state,icon,hidden"; source: "efl";
1107 script { 728 script {
1108 new m = get_int(slmode); 729 new m = get_int(slmode);
1109 m &= ~ICON; set_int(slmode, m); 730 m &= ~ICON; set_int(slmode, m);
1110 eval_mode(m); 731 eval_mode(m);
1111 } 732 }
1112 } 733 }
1113 program { name: "elmdisabled"; 734 program { name: "state-disabled";
1114 signal: "efl,state,disabled"; source: "efl"; 735 signal: "efl,state,disabled"; source: "efl";
1115 script { 736 script {
1116 new m = get_int(slmode); 737 new m = get_int(slmode);
@@ -1118,7 +739,7 @@ group { "efl/progressbar/vertical";
1118 eval_mode(m); 739 eval_mode(m);
1119 } 740 }
1120 } 741 }
1121 program { name: "elmenabled"; 742 program { name: "state-enabled";
1122 signal: "efl,state,enabled"; source: "efl"; 743 signal: "efl,state,enabled"; source: "efl";
1123 script { 744 script {
1124 new m = get_int(slmode); 745 new m = get_int(slmode);
@@ -1129,168 +750,775 @@ group { "efl/progressbar/vertical";
1129 } 750 }
1130#undef ICON 751#undef ICON
1131#undef LABEL 752#undef LABEL
1132#undef UNITS
1133#undef DISABLE 753#undef DISABLE
1134} 754}
1135 755
1136group { "efl/progressbar/horizontal:wheel"; 756group { name: "efl/progressbar/horizontal:bare";
1137 data.item: "version" "123"; 757 data.item: "version" "123";
1138 alias: "efl/progressbar/vertical:wheel";
1139 images.image: "knob_round_busy.png" COMP;
1140 images.image: "glow_round_corners.png" COMP;
1141 parts { 758 parts {
1142 part { name: "efl.bar" ; type: SWALLOW; mouse_events: 0; 759 part { name: "efl.content"; type: SWALLOW;
1143 description { state: "default" 0.0; 760 description { state: "default" 0.0;
761 fixed: 1 1;
1144 min: 0 0; 762 min: 0 0;
1145 max: 0 0; 763 max: 0 0;
1146 visible: 0; 764 visible: 0;
1147 } 765 }
1148 } 766 }
767 part { name: "pulse_clip"; type: RECT;
768 description { state: "default" 0.0;
769 rel1.relative: -2.0 -2.0;
770 rel2.relative: 3.0 3.0;
771 visible: 0;
772 }
773 description { state: "pulse" 0.0;
774 inherit: "default" 0.0;
775 visible: 1;
776 }
777 }
778 part { name: "fract_clip"; type: RECT;
779 description { state: "default" 0.0;
780 rel1.relative: -2.0 -2.0;
781 rel2.relative: 3.0 3.0;
782 }
783 description { state: "pulse" 0.0;
784 inherit: "default" 0.0;
785 visible: 0;
786 }
787 }
788 part { name: "bg"; type: RECT;
789 scale: 1;
790 description { state: "default" 0.0;
791 min: 10 5;
792 max: -1 5;
793 color: DARK_GREY_BG_COLOR;
794 }
795 }
796 part { name: "efl.bar"; type: SWALLOW; mouse_events: 0;
797 description { state: "default" 0.0;
798 rel1.to: "bg";
799 rel2.to: "bg";
800 }
801 }
802 part { name: "efl.cur.progressbar"; mouse_events: 0; type: SPACER;
803 dragable.confine: "efl.bar";
804 dragable.x: 1 1 1;
805 dragable.y: 0 0 0;
806 description { state: "default" 0.0;
807 fixed: 1 1;
808 min: 1 1;
809 max: 1 9999;
810 rel1.to: "efl.bar";
811 rel2.to: "efl.bar";
812 }
813 }
814 part { name: "barend"; type: SPACER;
815 description { state: "default" 0.0;
816 fixed: 1 0;
817 max: 1 9999;
818 rel1.to_x: "efl.cur.progressbar";
819 rel2.to_x: "efl.cur.progressbar";
820 align: 1.0 0.5;
821 }
822 description { state: "inv" 0.0;
823 inherit: "default" 0.0;
824 align: 0.0 0.5;
825 }
826 }
827 part { name: "bar"; type: RECT;
828 clip_to: "fract_clip";
829 description { state: "default" 0.0;
830 rel1.to: "bg";
831 rel2.to_x: "barend";
832 rel2.to_y: "bg";
833 color: 51 153 255 255;
834 }
835 description { state: "inv" 0.0;
836 inherit: "default" 0.0;
837 rel1.to_x: "barend";
838 rel2.to_x: "bg";
839 }
840 }
841 part { name: "pulse"; type: RECT;
842 clip_to: "pulse_clip";
843 scale: 1;
844 description { state: "default" 0.0;
845 fixed: 1 1;
846 min: 5 5;
847 max: 5 9999;
848 rel1.to: "efl.bar";
849 rel2.to: "efl.bar";
850 align: 0.0 0.5;
851 color: 51 153 255 255;
852 }
853 description { state: "end" 0.0;
854 inherit: "default" 0.0;
855 align: 1.0 0.5;
856 }
857 }
858 }
859 programs {
860 program { name: "inverted-on";
861 signal: "efl,state,inverted,on"; source: "efl";
862 action: STATE_SET "inv" 0.0;
863 target: "bar";
864 target: "barend";
865 }
866 program { name: "inverted-off";
867 signal: "efl,state,inverted,off"; source: "efl";
868 action: STATE_SET "default" 0.0;
869 target: "bar";
870 target: "barend";
871 }
872 program { name: "pulse-mode1";
873 signal: "efl,state,pulse,start"; source: "efl";
874 action: STATE_SET "pulse" 0.0;
875 target: "fract_clip";
876 }
877 program { name: "pulse-start";
878 signal: "efl,state,pulse,start"; source: "efl";
879 action: STATE_SET "pulse" 0.0;
880 target: "pulse_clip";
881 target: "fract_clip";
882 after: "pulse0";
883 }
884 program { name: "pulse0";
885 action: STATE_SET "end" 0.0;
886 transition: SINUSOIDAL 0.8;
887 target: "pulse";
888 after: "pulse1";
889 }
890 program { name: "pulse1";
891 action: STATE_SET "default" 0.0;
892 transition: SINUSOIDAL 0.8;
893 target: "pulse";
894 after: "pulse0";
895 }
896 program { name: "eflpulse-stop";
897 signal: "efl,state,pulse,stop"; source: "efl";
898 action: ACTION_STOP;
899 target: "pulse0";
900 target: "pulse1";
901 after: "pulse-stop";
902 }
903 program { name: "pulse-stop";
904 action: STATE_SET "default" 0.0;
905 target: "pulse_clip";
906 }
907 }
908}
909
910group { name: "efl/progressbar/horizontal:hidden_bare";
911 inherit: "efl/progressbar/horizontal:bare";
912 data.item: "version" "123";
913 parts {
914 part { name: "bg";
915 description { state: "default" 0.0;
916 color: 0 0 0 0;
917 }
918 }
919 }
920}
921
922group { name: "efl/progressbar/vertical:bare";
923 data.item: "version" "123";
924 parts {
1149 part { name: "efl.content"; type: SWALLOW; 925 part { name: "efl.content"; type: SWALLOW;
1150 description { state: "default" 0.0; 926 description { state: "default" 0.0;
927 fixed: 1 1;
1151 min: 0 0; 928 min: 0 0;
1152 max: 0 0; 929 max: 0 0;
1153 visible: 0; 930 visible: 0;
1154 } 931 }
1155 } 932 }
1156 part { name: "busy_clip"; type: RECT; 933 part { name: "pulse_clip"; type: RECT;
1157 description { state: "default" 0.0; 934 description { state: "default" 0.0;
935 rel1.relative: -2.0 -2.0;
936 rel2.relative: 3.0 3.0;
1158 visible: 0; 937 visible: 0;
1159 color: 255 255 255 0;
1160 } 938 }
1161 description { state: "active" 0.0; 939 description { state: "pulse" 0.0;
940 inherit: "default" 0.0;
1162 visible: 1; 941 visible: 1;
1163 color: 255 255 255 255;
1164 } 942 }
1165 } 943 }
1166 part { name: "knob"; mouse_events: 0; 944 part { name: "fract_clip"; type: RECT;
945 description { state: "default" 0.0;
946 rel1.relative: -2.0 -2.0;
947 rel2.relative: 3.0 3.0;
948 }
949 description { state: "pulse" 0.0;
950 inherit: "default" 0.0;
951 visible: 0;
952 }
953 }
954 part { name: "bg"; type: RECT;
955 scale: 1;
956 description { state: "default" 0.0;
957 min: 5 10;
958 max: 5 -1;
959 color: DARK_GREY_BG_COLOR;
960 }
961 }
962 part { name: "efl.bar"; type: SWALLOW; mouse_events: 0;
963 description { state: "default" 0.0;
964 rel1.to: "bg";
965 rel2.to: "bg";
966 }
967 }
968 part { name: "efl.cur.progressbar"; mouse_events: 0; type: SPACER;
969 dragable.confine: "efl.bar";
970 dragable.x: 0 0 0;
971 dragable.y: 1 1 1;
972 description { state: "default" 0.0;
973 fixed: 1 1;
974 min: 1 1;
975 max: 9999 1;
976 rel1.to: "efl.bar";
977 rel2.to: "efl.bar";
978 }
979 }
980 part { name: "barend"; type: SPACER;
981 description { state: "default" 0.0;
982 fixed: 0 1;
983 max: 9999 1;
984 rel1.to_y: "efl.cur.progressbar";
985 rel2.to_y: "efl.cur.progressbar";
986 align: 0.5 1.0;
987 }
988 description { state: "inv" 0.0;
989 inherit: "default" 0.0;
990 align: 0.5 0.0;
991 }
992 }
993 part { name: "bar"; type: RECT;
994 scale: 1;
995 clip_to: "fract_clip";
996 description { state: "default" 0.0;
997 rel1.to: "bg";
998 rel2.to_y: "barend";
999 rel2.to_x: "bg";
1000 color: 51 153 255 255;
1001 offscale;
1002 }
1003 description { state: "inv" 0.0;
1004 inherit: "default" 0.0;
1005 rel1.to_y: "barend";
1006 rel2.to_y: "bg";
1007 }
1008 }
1009 part { name: "pulse"; type: RECT;
1010 clip_to: "pulse_clip";
1011 scale: 1;
1012 description { state: "default" 0.0;
1013 fixed: 1 1;
1014 min: 5 10;
1015 max: 9999 10;
1016 rel1.to: "efl.bar";
1017 rel2.to: "efl.bar";
1018 align: 0.5 0.0;
1019 color: 51 153 255 255;
1020 }
1021 description { state: "end" 0.0;
1022 inherit: "default" 0.0;
1023 align: 0.5 1.0;
1024 }
1025 }
1026 }
1027 programs {
1028 program { name: "inverted-on";
1029 signal: "efl,state,inverted,on"; source: "efl";
1030 action: STATE_SET "inv" 0.0;
1031 target: "bar";
1032 target: "barend";
1033 }
1034 program { name: "inverted-off";
1035 signal: "efl,state,inverted,off"; source: "efl";
1036 action: STATE_SET "default" 0.0;
1037 target: "bar";
1038 target: "barend";
1039 }
1040 program { name: "pulse-mode1";
1041 signal: "efl,state,pulse,start"; source: "efl";
1042 action: STATE_SET "pulse" 0.0;
1043 target: "fract_clip";
1044 }
1045 program { name: "pulse-start";
1046 signal: "efl,state,pulse,start"; source: "efl";
1047 action: STATE_SET "pulse" 0.0;
1048 target: "pulse_clip";
1049 target: "fract_clip";
1050 after: "pulse0";
1051 }
1052 program { name: "pulse0";
1053 action: STATE_SET "end" 0.0;
1054 transition: SINUSOIDAL 0.8;
1055 target: "pulse";
1056 after: "pulse1";
1057 }
1058 program { name: "pulse1";
1059 action: STATE_SET "default" 0.0;
1060 transition: SINUSOIDAL 0.8;
1061 target: "pulse";
1062 after: "pulse0";
1063 }
1064 program { name: "eflpulse-stop";
1065 signal: "efl,state,pulse,stop"; source: "efl";
1066 action: ACTION_STOP;
1067 target: "pulse0";
1068 target: "pulse1";
1069 after: "pulse-stop";
1070 }
1071 program { name: "pulse-stop";
1072 action: STATE_SET "default" 0.0;
1073 target: "pulse_clip";
1074 }
1075 }
1076}
1077
1078group { name: "efl/progressbar/vertical:hidden_bare";
1079 inherit: "efl/progressbar/vertical:bare";
1080 data.item: "version" "123";
1081 parts {
1082 part { name: "bg";
1083 description { state: "default" 0.0;
1084 color: 0 0 0 0;
1085 }
1086 }
1087 }
1088}
1089
1090group { name: "efl/progressbar/horizontal:hidden_wheel";
1091 alias: "efl/progressbar/vertical:hidden_wheel";
1092 data.item: "version" "123";
1093 IMAGE_RING("ringa", 160)
1094 IMAGE_RING("ringb", 160)
1095 IMAGE_RING("ringc", 160)
1096 parts {
1097 part { name: "efl.bar" ; type: SWALLOW; mouse_events: 0;
1098 description { state: "default" 0.0;
1099 fixed: 1 1;
1100 min: 0 0;
1101 max: 0 0;
1102 visible: 0;
1103 }
1104 }
1105 part { name: "efl.content"; type: SWALLOW;
1106 description { state: "default" 0.0;
1107 fixed: 1 1;
1108 min: 0 0;
1109 max: 0 0;
1110 visible: 0;
1111 }
1112 }
1113 BUSY("base", "efl,state,pulse,start", "efl", "efl,state,pulse,stop", "efl")
1114 part { name: "base"; type: RECT;
1167 scale: 1; 1115 scale: 1;
1168 description { state: "default" 0.0; 1116 description { state: "default" 0.0;
1169 image.normal: "knob_round_busy.png"; 1117 color: 0 0 0 0;
1118 rel1.offset: 4 4;
1119 rel2.offset: -5 -5;
1170 min: 40 40; 1120 min: 40 40;
1171 max: 40 40; 1121 max: 40 40;
1122 offscale;
1172 } 1123 }
1173 } 1124 }
1174 part { name: "knob_spinner"; mouse_events: 0; 1125 }
1175 clip_to: "busy_clip"; 1126}
1127
1128group { name: "efl/progressbar/horizontal:wheel";
1129 inherit: "efl/progressbar/horizontal:hidden_wheel";
1130 alias: "efl/progressbar/vertical:wheel";
1131 data.item: "version" "123";
1132 images.image: "speaker_vol.png" COMP;
1133 parts {
1134 part { name: "bg"; nomouse;
1135 insert_before: "base";
1136 description { state: "default" 0.0;
1137 image.normal: "speaker_vol.png";
1138 rel.to:"base";
1139 color: 48 48 48 255;
1140 }
1141 description { state: "hidden" 0.0;
1142 inherit;
1143 color: 48 48 48 0;
1144 visible: 0;
1145 }
1146 }
1147 program {
1148 signal: "efl,state,pulse,start"; source: "efl";
1149 action: STATE_SET "hidden" 0.0;
1150 transition: SINUSOIDAL 1.0;
1151 target: "bg";
1152 }
1153 program {
1154 signal: "efl,state,pulse,stop"; source: "efl";
1155 action: STATE_SET "default" 0.0;
1156 transition: SINUSOIDAL 1.0;
1157 target: "bg";
1158 }
1159 }
1160}
1161
1162group { name: "efl/progressbar/horizontal:bar";
1163 alias: "efl/progressbar/horizontal:fileselector";
1164 data.item: "version" "123";
1165 set { name: "spinner";
1166 image { image: "spinner-32.png" COMP; size: 17 45 9999 9999; }
1167 image { image: "spinner-16.png" COMP; size: 9 23 16 44; }
1168 image { image: "spinner-8.png" COMP; size: 0 0 8 22; }
1169 }
1170 parts {
1171 part { name: "efl.bar" ; type: SWALLOW; mouse_events: 0;
1172 description { state: "default" 0.0;
1173 fixed: 1 1;
1174 min: 0 0;
1175 max: 0 0;
1176 visible: 0;
1177 }
1178 }
1179 part { name: "efl.content"; type: SWALLOW;
1176 description { state: "default" 0.0; 1180 description { state: "default" 0.0;
1177 fixed: 1 1; 1181 fixed: 1 1;
1178 rel1.to: "knob"; 1182 min: 0 0;
1179 rel2.to: "knob"; 1183 max: 0 0;
1180 image.normal: "glow_round_corners.png"; 1184 visible: 0;
1185 }
1186 }
1187 part { name: "spin1"; mouse_events: 0;
1188 scale: 1;
1189 description { state: "default" 0.0;
1190 image.normal: "spinner";
1191 color: 160 160 160 255;
1192 rel1.relative: 0.0 0.0;
1193 rel2.relative: 0.2 1.0;
1194 rel1.to: "base";
1195 rel2.to: "base";
1196 min: 8 22;
1197 max: 8 22;
1181 map.on: 1; 1198 map.on: 1;
1182 map.smooth: 1; 1199 map.smooth: 1;
1183 map.rotation.center: "knob"; 1200 map.rotation.center: "spin1";
1184 } 1201 }
1185 description { state: "spin" 0.0; 1202 description { state: "end" 0.0;
1186 inherit: "default" 0.0; 1203 inherit;
1204 map.rotation.z: 360;
1205 }
1206 }
1207 part { name: "spin2"; mouse_events: 0;
1208 scale: 1;
1209 description { state: "default" 0.0;
1210 image.normal: "spinner";
1211 color: 160 160 160 255;
1212 rel1.relative: 0.2 0.0;
1213 rel2.relative: 0.4 1.0;
1214 rel1.to: "base";
1215 rel2.to: "base";
1216 min: 8 22;
1217 max: 8 22;
1218 map.on: 1;
1219 map.smooth: 1;
1220 map.rotation.center: "spin2";
1221 }
1222 description { state: "end" 0.0;
1223 inherit;
1224 map.rotation.z: 360;
1225 }
1226 }
1227 part { name: "spin3"; mouse_events: 0;
1228 scale: 1;
1229 description { state: "default" 0.0;
1230 image.normal: "spinner";
1231 color: 160 160 160 255;
1232 rel1.relative: 0.4 0.0;
1233 rel2.relative: 0.6 1.0;
1234 rel1.to: "base";
1235 rel2.to: "base";
1236 min: 8 22;
1237 max: 8 22;
1238 map.on: 1;
1239 map.smooth: 1;
1240 map.rotation.center: "spin3";
1241 }
1242 description { state: "end" 0.0;
1243 inherit;
1244 map.rotation.z: 360;
1245 }
1246 }
1247 part { name: "spin4"; mouse_events: 0;
1248 scale: 1;
1249 description { state: "default" 0.0;
1250 image.normal: "spinner";
1251 color: 160 160 160 255;
1252 rel1.relative: 0.6 0.0;
1253 rel2.relative: 0.8 1.0;
1254 rel1.to: "base";
1255 rel2.to: "base";
1256 min: 8 22;
1257 max: 8 22;
1258 map.on: 1;
1259 map.smooth: 1;
1260 map.rotation.center: "spin4";
1261 }
1262 description { state: "end" 0.0;
1263 inherit;
1187 map.rotation.z: 360; 1264 map.rotation.z: 360;
1188 } 1265 }
1189 } 1266 }
1267 part { name: "spin5"; mouse_events: 0;
1268 scale: 1;
1269 description { state: "default" 0.0;
1270 image.normal: "spinner";
1271 color: 160 160 160 255;
1272 rel1.relative: 0.8 0.0;
1273 rel2.relative: 1.0 1.0;
1274 rel1.to: "base";
1275 rel2.to: "base";
1276 min: 8 22;
1277 max: 8 22;
1278 map.on: 1;
1279 map.smooth: 1;
1280 map.rotation.center: "spin5";
1281 }
1282 description { state: "end" 0.0;
1283 inherit;
1284 map.rotation.z: 360;
1285 }
1286 }
1287 part { name: "base"; type: RECT;
1288 scale: 1;
1289 description { state: "default" 0.0;
1290 color: 0 0 0 0;
1291 rel1.offset: 4 4;
1292 rel2.offset: -5 -5;
1293 min: 100 20;
1294 max: 100 20;
1295 offscale;
1296 }
1297 }
1190 } 1298 }
1191 programs { 1299 programs {
1192 program { name: "spin"; 1300 program { name: "spin-1";
1301 in: 0.0 0.0;
1193 signal: "efl,state,pulse,start"; source: "efl"; 1302 signal: "efl,state,pulse,start"; source: "efl";
1194 action: STATE_SET "spin" 0.0; 1303 action: SIGNAL_EMIT "spin1" "";
1195 transition: LINEAR 1.0; 1304 after: "spin-2";
1196 target: "knob_spinner"; 1305 }
1197 after: "spin2"; 1306 program { name: "spin-2";
1307 in: 0.2 0.0;
1308 action: SIGNAL_EMIT "spin2" "";
1309 after: "spin-3";
1310 }
1311 program { name: "spin-3";
1312 in: 0.2 0.0;
1313 action: SIGNAL_EMIT "spin3" "";
1314 after: "spin-4";
1315 }
1316 program { name: "spin-4";
1317 in: 0.2 0.0;
1318 action: SIGNAL_EMIT "spin4" "";
1319 after: "spin-5";
1320 }
1321 program { name: "spin-5";
1322 in: 0.2 0.0;
1323 action: SIGNAL_EMIT "spin5" "";
1324 }
1325 program { name: "spin1.1";
1326 signal: "spin1"; source: "";
1327 action: STATE_SET "end" 0.0;
1328 transition: SINUSOIDAL 1.0;
1329 target: "spin1";
1330 after: "spin1.2";
1198 } 1331 }
1199 program { name: "spin2"; 1332 program { name: "spin1.2";
1200 action: STATE_SET "default" 0.0; 1333 action: STATE_SET "default" 0.0;
1201 target: "knob_spinner"; 1334 target: "spin1";
1202 after: "spin"; 1335 after: "spin1.1";
1203 } 1336 }
1204 program { 1337 program { name: "spin2.1";
1205 signal: "efl,state,pulse,start"; source: "efl"; 1338 signal: "spin2"; source: "";
1206 action: STATE_SET "active" 0.0; 1339 action: STATE_SET "end" 0.0;
1207 transition: SINUSOIDAL 0.25; 1340 transition: SINUSOIDAL 1.0;
1208 target: "busy_clip"; 1341 target: "spin2";
1342 after: "spin2.2";
1209 } 1343 }
1210 program { 1344 program { name: "spin2.2";
1211 signal: "efl,state,pulse,stop"; source: "efl"; 1345 action: STATE_SET "default" 0.0;
1346 target: "spin2";
1347 after: "spin2.1";
1348 }
1349 program { name: "spin3.1";
1350 signal: "spin3"; source: "";
1351 action: STATE_SET "end" 0.0;
1352 transition: SINUSOIDAL 1.0;
1353 target: "spin3";
1354 after: "spin3.2";
1355 }
1356 program { name: "spin3.2";
1212 action: STATE_SET "default" 0.0; 1357 action: STATE_SET "default" 0.0;
1358 target: "spin3";
1359 after: "spin3.1";
1360 }
1361 program { name: "spin4.1";
1362 signal: "spin4"; source: "";
1363 action: STATE_SET "end" 0.0;
1213 transition: SINUSOIDAL 1.0; 1364 transition: SINUSOIDAL 1.0;
1214 target: "busy_clip"; 1365 target: "spin4";
1215 after: "spin3"; 1366 after: "spin4.2";
1216 } 1367 }
1217 program { name: "spin3"; 1368 program { name: "spin4.2";
1369 action: STATE_SET "default" 0.0;
1370 target: "spin4";
1371 after: "spin4.1";
1372 }
1373 program { name: "spin5.1";
1374 signal: "spin5"; source: "";
1375 action: STATE_SET "end" 0.0;
1376 transition: SINUSOIDAL 1.0;
1377 target: "spin5";
1378 after: "spin5.2";
1379 }
1380 program { name: "spin5.2";
1381 action: STATE_SET "default" 0.0;
1382 target: "spin5";
1383 after: "spin5.1";
1384 }
1385 program {
1386 signal: "efl,state,pulse,stop"; source: "efl";
1218 action: ACTION_STOP; 1387 action: ACTION_STOP;
1219 target: "spin"; 1388 target: "spin-1";
1389 target: "spin-2";
1390 target: "spin-3";
1391 target: "spin-4";
1392 target: "spin-5";
1393 after: "stop2";
1394 }
1395 program { name: "stop2";
1396 action: STATE_SET "default" 0.0;
1397 transition: SINUSOIDAL 1.0 CURRENT;
1398 target: "spin1";
1220 target: "spin2"; 1399 target: "spin2";
1221 after: "spin4"; 1400 target: "spin3";
1401 target: "spin4";
1402 target: "spin5";
1222 } 1403 }
1223 program { name: "spin4"; 1404 }
1224 action: STATE_SET "default" 0.0; 1405}
1225 target: "knob_spinner"; 1406
1407group { name: "efl/progressbar/vertical:bar";
1408 inherit: "efl/progressbar/horizontal:bar";
1409 data.item: "version" "123";
1410 parts {
1411 part { name: "spin1";
1412 description { state: "default" 0.0;
1413 rel1.relative: 0.0 0.0;
1414 rel2.relative: 1.0 0.2;
1415 map.rotation.z: 90;
1416 }
1417 description { state: "end" 0.0;
1418 inherit;
1419 map.rotation.z: 450;
1420 }
1421 }
1422 part { name: "spin2";
1423 description { state: "default" 0.0;
1424 rel1.relative: 0.0 0.2;
1425 rel2.relative: 1.0 0.4;
1426 map.rotation.z: 90;
1427 }
1428 description { state: "end" 0.0;
1429 inherit;
1430 map.rotation.z: 450;
1431 }
1432 }
1433 part { name: "spin3";
1434 description { state: "default" 0.0;
1435 rel1.relative: 0.0 0.4;
1436 rel2.relative: 1.0 0.6;
1437 map.rotation.z: 90;
1438 }
1439 description { state: "end" 0.0;
1440 inherit;
1441 map.rotation.z: 450;
1442 }
1443 }
1444 part { name: "spin4";
1445 description { state: "default" 0.0;
1446 rel1.relative: 0.0 0.6;
1447 rel2.relative: 1.0 0.8;
1448 map.rotation.z: 90;
1449 }
1450 description { state: "end" 0.0;
1451 inherit;
1452 map.rotation.z: 450;
1453 }
1454 }
1455 part { name: "spin5";
1456 description { state: "default" 0.0;
1457 rel1.relative: 0.0 0.8;
1458 rel2.relative: 1.0 1.0;
1459 map.rotation.z: 90;
1460 }
1461 description { state: "end" 0.0;
1462 inherit;
1463 map.rotation.z: 450;
1464 }
1465 }
1466 part { name: "base";
1467 description { state: "default" 0.0;
1468 min: 20 100;
1469 max: 20 100;
1470 }
1226 } 1471 }
1227 } 1472 }
1228} 1473}
1229 1474
1230group { "efl/progressbar/horizontal:double"; 1475group { name: "efl/progressbar/horizontal:double";
1231 inherit: "efl/progressbar/horizontal"; 1476 inherit: "efl/progressbar/horizontal";
1232 data.item: "version" "123"; 1477 data.item: "version" "123";
1233 images {
1234 image: "inset_bar_horiz_glow_base_double.png" COMP;
1235 image: "inset_bar_horiz_glow_inv_base_double.png" COMP;
1236 }
1237 parts { 1478 parts {
1238 part { name: "efl.cur.progressbar1"; mouse_events: 0; type: SPACER; 1479 part { name: "efl.cur.progressbar1"; mouse_events: 0; type: SPACER;
1239 insert_after: "inside"; 1480 insert_after: "bg";
1240 scale: 1; 1481 scale: 1;
1241 dragable.confine: "inside"; 1482 dragable.confine: "efl.bar";
1242 dragable.x: 1 1 1; 1483 dragable.x: 1 1 1;
1243 dragable.y: 0 0 0; 1484 dragable.y: 0 0 0;
1244 description { state: "default" 0.0; 1485 description { state: "default" 0.0;
1245 fixed: 1 1; 1486 fixed: 1 0;
1246 min: 8 4; 1487 min: 1 1;
1247 max: 8 4; 1488 max: 1 9999;
1248 rel1.to: "inside"; 1489 rel1.to: "efl.bar";
1249 rel2.to: "inside"; 1490 rel2.to: "efl.bar";
1250 } 1491 }
1251 } 1492 }
1252 part { name: "barend1"; type: SPACER; 1493 part { name: "barend1"; type: SPACER;
1253 scale: 1; 1494 scale: 1;
1254 description { state: "default" 0.0; 1495 description { state: "default" 0.0;
1255 fixed: 1 0; 1496 fixed: 1 0;
1256 min: 14 16; 1497 max: 1 9999;
1257 rel1.to_x: "efl.cur.progressbar1"; 1498 rel1.to_x: "efl.cur.progressbar1";
1258 rel1.relative: 1.0 0.0;
1259 rel2.to_x: "efl.cur.progressbar1"; 1499 rel2.to_x: "efl.cur.progressbar1";
1260 rel2.relative: 1.0 1.0; 1500 align: 1.0 0.5;
1261 align: 0.0 0.5;
1262 } 1501 }
1263 description { state: "inv" 0.0; 1502 description { state: "inv" 0.0;
1264 inherit: "default" 0.0; 1503 inherit: "default" 0.0;
1265 rel1.relative: 0.0 0.0; 1504 align: 0.0 0.5;
1266 rel2.relative: 0.0 1.0;
1267 align: 1.0 0.5;
1268 } 1505 }
1269 } 1506 }
1270 part { name: "bar1"; 1507 part { name: "bar1"; type: RECT;
1271 insert_after: "barend";
1272 clip_to: "fract_clip";
1273 scale: 1; 1508 scale: 1;
1509 insert_before: "bar";
1510 clip_to: "fract_clip";
1274 description { state: "default" 0.0; 1511 description { state: "default" 0.0;
1275 rel1.to_x: "ins0"; 1512 rel1.to: "bg";
1276 rel1.to_y: "bg";
1277 rel1.relative: (12/16) -0.25;
1278 rel2.to_x: "barend1"; 1513 rel2.to_x: "barend1";
1279 rel2.to_y: "bg"; 1514 rel2.to_y: "bg";
1280 rel2.relative: 1.0 1.25; 1515 color: 80 80 80 255;
1281 image.normal: "inset_bar_horiz_glow_base_double.png"; 1516 offscale;
1282 image.border: 0 72 0 0;
1283 image.border_scale_by: 0.25; image.border_scale: 1;
1284 color: 51 153 255 128;
1285 } 1517 }
1286 description { state: "inv" 0.0; 1518 description { state: "inv" 0.0;
1287 inherit: "default" 0.0; 1519 inherit: "default" 0.0;
1288 rel1.to_x: "barend"; 1520 rel1.to_x: "barend1";
1289 rel1.relative: 0.0 -0.25; 1521 rel2.to_x: "bg";
1290 rel2.to_x: "ins1";
1291 rel2.relative: (4/16) 1.25;
1292 image.normal: "inset_bar_horiz_glow_inv_base_double.png";
1293 image.border: 72 0 0 0;
1294 } 1522 }
1295 } 1523 }
1296 } 1524 }
@@ -1302,7 +1530,6 @@ group { "efl/progressbar/horizontal:double";
1302 target: "bar1"; 1530 target: "bar1";
1303 target: "barend"; 1531 target: "barend";
1304 target: "barend1"; 1532 target: "barend1";
1305 target: "light";
1306 } 1533 }
1307 program 1534 program
1308 { name: "inverted-off"; 1535 { name: "inverted-off";
@@ -1312,75 +1539,56 @@ group { "efl/progressbar/horizontal:double";
1312 target: "bar1"; 1539 target: "bar1";
1313 target: "barend"; 1540 target: "barend";
1314 target: "barend1"; 1541 target: "barend1";
1315 target: "light";
1316 } 1542 }
1317 } 1543 }
1318} 1544}
1319 1545
1320group { "efl/progressbar/vertical:double"; 1546group { name: "efl/progressbar/vertical:double";
1321 inherit: "efl/progressbar/vertical"; 1547 inherit: "efl/progressbar/vertical";
1322 data.item: "version" "123"; 1548 data.item: "version" "123";
1323 images {
1324 image: "inset_bar_vert_glow_base_double.png" COMP;
1325 image: "inset_bar_vert_glow_inv_base_double.png" COMP;
1326 }
1327 parts { 1549 parts {
1328 part { name: "efl.cur.progressbar1"; mouse_events: 0; type: SPACER; 1550 part { name: "efl.cur.progressbar1"; mouse_events: 0; type: SPACER;
1329 insert_after: "inside"; 1551 insert_after: "bg";
1330 scale: 1; 1552 scale: 1;
1331 dragable.confine: "inside"; 1553 dragable.confine: "efl.bar";
1332 dragable.x: 0 0 0; 1554 dragable.x: 0 0 0;
1333 dragable.y: 1 1 1; 1555 dragable.y: 1 1 1;
1334 description { state: "default" 0.0; 1556 description { state: "default" 0.0;
1335 fixed: 1 1; 1557 fixed: 0 1;
1336 min: 4 8; 1558 max: 1 9999;
1337 max: 4 8; 1559 rel1.to: "efl.bar";
1338 rel1.to: "inside"; 1560 rel2.to: "efl.bar";
1339 rel2.to: "inside";
1340 } 1561 }
1341 } 1562 }
1342 part { name: "barend1"; type: SPACER; 1563 part { name: "barend1"; type: SPACER;
1343 scale: 1; 1564 scale: 1;
1344 description { state: "default" 0.0; 1565 description { state: "default" 0.0;
1345 fixed: 0 1; 1566 fixed: 0 1;
1346 min: 16 14; 1567 max: 1 9999;
1347 rel1.to_y: "efl.cur.progressbar1"; 1568 rel1.to_y: "efl.cur.progressbar1";
1348 rel1.relative: 0.0 1.0;
1349 rel2.to_y: "efl.cur.progressbar1"; 1569 rel2.to_y: "efl.cur.progressbar1";
1350 rel2.relative: 1.0 1.0; 1570 align: 0.5 1.0;
1351 align: 0.5 0.0;
1352 } 1571 }
1353 description { state: "inv" 0.0; 1572 description { state: "inv" 0.0;
1354 inherit: "default" 0.0; 1573 inherit: "default" 0.0;
1355 rel1.relative: 0.0 0.0; 1574 align: 0.5 0.0;
1356 rel2.relative: 1.0 0.0;
1357 align: 0.5 1.0;
1358 } 1575 }
1359 } 1576 }
1360 part { name: "bar1"; 1577 part { name: "bar1"; type: RECT;
1578 scale: 1;
1361 insert_after: "barend"; 1579 insert_after: "barend";
1362 clip_to: "fract_clip"; 1580 clip_to: "fract_clip";
1363 scale: 1;
1364 description { state: "default" 0.0; 1581 description { state: "default" 0.0;
1365 rel1.to_y: "ins0"; 1582 rel1.to: "bg";
1366 rel1.to_x: "bg";
1367 rel1.relative: -0.25 (12/16);
1368 rel2.to_y: "barend1"; 1583 rel2.to_y: "barend1";
1369 rel2.to_x: "bg"; 1584 rel2.to_x: "bg";
1370 rel2.relative: 1.25 1.0; 1585 color: 80 80 80 255;
1371 image.normal: "inset_bar_vert_glow_base_double.png"; 1586 offscale;
1372 image.border: 0 0 0 72;
1373 image.border_scale_by: 0.25; image.border_scale: 1;
1374 color: 51 153 255 128;
1375 } 1587 }
1376 description { state: "inv" 0.0; 1588 description { state: "inv" 0.0;
1377 inherit: "default" 0.0; 1589 inherit: "default" 0.0;
1378 rel1.to_y: "barend1"; 1590 rel1.to_y: "barend1";
1379 rel1.relative: -0.25 0.0; 1591 rel2.to_y: "bg";
1380 rel2.to_y: "ins1";
1381 rel2.relative: 1.25 (4/16);
1382 image.normal: "inset_bar_vert_glow_inv_base_double.png";
1383 image.border: 0 0 72 0;
1384 } 1592 }
1385 } 1593 }
1386 } 1594 }
@@ -1389,18 +1597,16 @@ group { "efl/progressbar/vertical:double";
1389 signal: "efl,state,inverted,on"; source: "efl"; 1597 signal: "efl,state,inverted,on"; source: "efl";
1390 action: STATE_SET "inv" 0.0; 1598 action: STATE_SET "inv" 0.0;
1391 target: "bar"; 1599 target: "bar";
1392 target: "barend";
1393 target: "light";
1394 target: "bar1"; 1600 target: "bar1";
1601 target: "barend";
1395 target: "barend1"; 1602 target: "barend1";
1396 } 1603 }
1397 program { name: "inverted-off"; 1604 program { name: "inverted-off";
1398 signal: "efl,state,inverted,off"; source: "efl"; 1605 signal: "efl,state,inverted,off"; source: "efl";
1399 action: STATE_SET "default" 0.0; 1606 action: STATE_SET "default" 0.0;
1400 target: "bar"; 1607 target: "bar";
1401 target: "barend";
1402 target: "light";
1403 target: "bar1"; 1608 target: "bar1";
1609 target: "barend";
1404 target: "barend1"; 1610 target: "barend1";
1405 } 1611 }
1406 } 1612 }