summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2005-11-18 15:25:38 +0000
committerCarsten Haitzler <raster@rasterman.com>2005-11-18 15:25:38 +0000
commitb0a324b5ee6da2d6165a77ac52d9c9bb0837083a (patch)
tree356665ccc4cf6919c20071300f120a032358c8d0 /data
parentc1ea85e2b4dc5b6fdf7dc054fdb3ffd43010cdb5 (diff)
slider widget... workies (in theory). still nto that pretty.
SVN revision: 18529
Diffstat (limited to 'data')
-rw-r--r--data/themes/default_slider.edc244
1 files changed, 244 insertions, 0 deletions
diff --git a/data/themes/default_slider.edc b/data/themes/default_slider.edc
index d82864fcd..cd1f206ad 100644
--- a/data/themes/default_slider.edc
+++ b/data/themes/default_slider.edc
@@ -6,6 +6,8 @@ images {
6 image: "e17_sb_runnerh.png" COMP; 6 image: "e17_sb_runnerh.png" COMP;
7 image: "e17_sb_runnerv.png" COMP; 7 image: "e17_sb_runnerv.png" COMP;
8 image: "focus.png" COMP; 8 image: "focus.png" COMP;
9 image: "e17_frame_label_over.png" COMP;
10 image: "e17_frame_label_under.png" COMP;
9} 11}
10 12
11group { 13group {
@@ -29,6 +31,15 @@ group {
29 state: "default" 0.0; 31 state: "default" 0.0;
30 color: 0 0 0 0; 32 color: 0 0 0 0;
31 } 33 }
34 description {
35 state: "active" 0.0;
36 color: 0 0 0 0;
37 rel2 {
38 to_y: "label_over";
39 relative: 1.0 0.0;
40 offset: -1 -1;
41 }
42 }
32 } 43 }
33 part { 44 part {
34 name: "sb_vbar_runner"; 45 name: "sb_vbar_runner";
@@ -52,6 +63,97 @@ group {
52 } 63 }
53 } 64 }
54 } 65 }
66 part {
67 name: "label_under";
68 mouse_events: 0;
69 description {
70 state: "default" 0.0;
71 visible: 0;
72 image {
73 normal: "e17_frame_label_under.png";
74 }
75 }
76 description {
77 state: "active" 0.0;
78 rel1 {
79 to: "label_over";
80 relative: 0.0 0.0;
81 offset: 1 1;
82 }
83 rel2 {
84 to: "label_over";
85 relative: 1.0 1.0;
86 offset: -2 -2;
87 }
88 image {
89 normal: "e17_frame_label_under.png";
90 border: 3 3 3 3;
91 }
92 fill {
93 smooth: 0;
94 }
95 }
96 }
97 part {
98 name: "label";
99 type: TEXT;
100 mouse_events: 0;
101 description {
102 state: "default" 0.0;
103 visible: 0;
104 }
105 description {
106 state: "active" 0.0;
107 align: 0.5 1.0;
108 rel1 {
109 relative: 0.0 1.0;
110 offset: 4 -5;
111 }
112 rel2 {
113 relative: 1.0 1.0;
114 offset: -5 -5;
115 }
116 color: 0 0 0 255;
117 text {
118 text: "00.00";
119 font: "Edje-Vera";
120 size: 10;
121 min: 1 1;
122 align: 0.5 0.5;
123 }
124 }
125 }
126 part {
127 name: "label_over";
128 mouse_events: 0;
129 description {
130 state: "default" 0.0;
131 visible: 0;
132 image {
133 normal: "e17_frame_label_over.png";
134 }
135 }
136 description {
137 state: "active" 0.0;
138 rel1 {
139 to: "label";
140 relative: 0.0 0.0;
141 offset: -5 -4;
142 }
143 rel2 {
144 to: "label";
145 relative: 1.0 1.0;
146 offset: 2 2;
147 }
148 image {
149 normal: "e17_frame_label_over.png";
150 border: 7 7 7 7;
151 }
152 fill {
153 smooth: 0;
154 }
155 }
156 }
55 part { 157 part {
56 name: "sb_vbar_p1"; 158 name: "sb_vbar_p1";
57 type: RECT; 159 type: RECT;
@@ -94,6 +196,7 @@ group {
94 description { 196 description {
95 state: "default" 0.0; 197 state: "default" 0.0;
96 min: 16 16; 198 min: 16 16;
199 fixed: 1 1;
97 rel1 { 200 rel1 {
98 relative: 0.5 0.5; 201 relative: 0.5 0.5;
99 offset: 0 0; 202 offset: 0 0;
@@ -186,6 +289,26 @@ group {
186 transition: ACCELERATE 0.5; 289 transition: ACCELERATE 0.5;
187 target: "focus"; 290 target: "focus";
188 } 291 }
292 program {
293 name: "show_label";
294 signal: "show_label";
295 source: "";
296 action: STATE_SET "active" 0.0;
297 target: "sb_vbar_base";
298 target: "label_under";
299 target: "label";
300 target: "label_over";
301 }
302 program {
303 name: "hide_label";
304 signal: "hide_label";
305 source: "";
306 action: STATE_SET "default" 0.0;
307 target: "sb_vbar_base";
308 target: "label_under";
309 target: "label";
310 target: "label_over";
311 }
189 } 312 }
190} 313}
191group { 314group {
@@ -209,6 +332,15 @@ group {
209 state: "default" 0.0; 332 state: "default" 0.0;
210 color: 0 0 0 0; 333 color: 0 0 0 0;
211 } 334 }
335 description {
336 state: "active" 0.0;
337 color: 0 0 0 0;
338 rel2 {
339 to_x: "label_over";
340 relative: 0.0 1.0;
341 offset: -1 -1;
342 }
343 }
212 } 344 }
213 part { 345 part {
214 name: "sb_hbar_runner"; 346 name: "sb_hbar_runner";
@@ -232,6 +364,97 @@ group {
232 } 364 }
233 } 365 }
234 } 366 }
367 part {
368 name: "label_under";
369 mouse_events: 0;
370 description {
371 state: "default" 0.0;
372 visible: 0;
373 image {
374 normal: "e17_frame_label_under.png";
375 }
376 }
377 description {
378 state: "active" 0.0;
379 rel1 {
380 to: "label_over";
381 relative: 0.0 0.0;
382 offset: 1 1;
383 }
384 rel2 {
385 to: "label_over";
386 relative: 1.0 1.0;
387 offset: -2 -2;
388 }
389 image {
390 normal: "e17_frame_label_under.png";
391 border: 3 3 3 3;
392 }
393 fill {
394 smooth: 0;
395 }
396 }
397 }
398 part {
399 name: "label";
400 type: TEXT;
401 mouse_events: 0;
402 description {
403 state: "default" 0.0;
404 visible: 0;
405 }
406 description {
407 state: "active" 0.0;
408 align: 1.0 0.5;
409 rel1 {
410 relative: 1.0 0.0;
411 offset: -1 4;
412 }
413 rel2 {
414 relative: 1.0 1.0;
415 offset: -5 -5;
416 }
417 color: 0 0 0 255;
418 text {
419 text: "00.00";
420 font: "Edje-Vera";
421 size: 10;
422 min: 1 1;
423 align: 0.5 0.5;
424 }
425 }
426 }
427 part {
428 name: "label_over";
429 mouse_events: 0;
430 description {
431 state: "default" 0.0;
432 visible: 0;
433 image {
434 normal: "e17_frame_label_over.png";
435 }
436 }
437 description {
438 state: "active" 0.0;
439 rel1 {
440 to: "label";
441 relative: 0.0 0.0;
442 offset: -5 -4;
443 }
444 rel2 {
445 to: "label";
446 relative: 1.0 1.0;
447 offset: 2 2;
448 }
449 image {
450 normal: "e17_frame_label_over.png";
451 border: 7 7 7 7;
452 }
453 fill {
454 smooth: 0;
455 }
456 }
457 }
235 part { 458 part {
236 name: "sb_hbar_p1"; 459 name: "sb_hbar_p1";
237 type: RECT; 460 type: RECT;
@@ -274,6 +497,7 @@ group {
274 description { 497 description {
275 state: "default" 0.0; 498 state: "default" 0.0;
276 min: 16 16; 499 min: 16 16;
500 fixed: 1 1;
277 rel1 { 501 rel1 {
278 relative: 0.5 0.5; 502 relative: 0.5 0.5;
279 offset: 0 0; 503 offset: 0 0;
@@ -366,5 +590,25 @@ group {
366 transition: ACCELERATE 0.5; 590 transition: ACCELERATE 0.5;
367 target: "focus"; 591 target: "focus";
368 } 592 }
593 program {
594 name: "show_label";
595 signal: "show_label";
596 source: "";
597 action: STATE_SET "active" 0.0;
598 target: "sb_hbar_base";
599 target: "label_under";
600 target: "label";
601 target: "label_over";
602 }
603 program {
604 name: "hide_label";
605 signal: "hide_label";
606 source: "";
607 action: STATE_SET "default" 0.0;
608 target: "sb_hbar_base";
609 target: "label_under";
610 target: "label";
611 target: "label_over";
612 }
369 } 613 }
370} 614}