summaryrefslogtreecommitdiff
path: root/legacy/elementary/data
diff options
context:
space:
mode:
authorMichael BOUCHAUD <michael.bouchaud@gmail.com>2012-03-13 00:24:08 +0000
committerMichael BOUCHAUD <michael.bouchaud@gmail.com>2012-03-13 00:24:08 +0000
commit0bba0aa664354a9e600634665705fbd927475a4f (patch)
tree06d5d22bdcae83f70e26aa122c468ac898fa7eb3 /legacy/elementary/data
parent9bec381f51d2bbffff458d83fc5ff55b13e36808 (diff)
elementary: fix slider theme
SVN revision: 69271
Diffstat (limited to 'legacy/elementary/data')
-rw-r--r--legacy/elementary/data/themes/widgets/slider.edc158
1 files changed, 135 insertions, 23 deletions
diff --git a/legacy/elementary/data/themes/widgets/slider.edc b/legacy/elementary/data/themes/widgets/slider.edc
index 8a64076..ab60f5b 100644
--- a/legacy/elementary/data/themes/widgets/slider.edc
+++ b/legacy/elementary/data/themes/widgets/slider.edc
@@ -1,3 +1,64 @@
1group { name: "elm/slider/hidden/limit";
2 parts {
3 part { name: "elm.units.min";
4 type: TEXT;
5 mouse_events: 0;
6 scale: 1;
7 description { state: "default" 0.0;
8 visible: 0;
9 align: 1.0 0.5;
10 color: 0 0 0 255;
11 text {
12 font: "Sans,Edje-Vera";
13 size: 10;
14 min: 0 0;
15 align: 0.0 0.5;
16 }
17 }
18 description { state: "visible" 0.0;
19 inherit: "default" 0.0;
20 text.min: 1 1;
21 }
22 }
23 part { name: "elm.units.max";
24 type: TEXT;
25 mouse_events: 0;
26 scale: 1;
27 description { state: "default" 0.0;
28 visible: 0;
29 align: 1.0 0.5;
30 color: 0 0 0 255;
31 text {
32 font: "Sans,Edje-Vera";
33 size: 10;
34 min: 0 0;
35 align: 0.0 0.5;
36 }
37 }
38 description { state: "visible" 0.0;
39 inherit: "default" 0.0;
40 text.min: 1 1;
41 }
42 }
43 }
44 programs {
45 program { name: "visisble";
46 signal: "limits,visible";
47 source: "elm";
48 action: STATE_SET "visible" 0.0;
49 target: "elm.units.min";
50 target: "elm.units.max";
51 }
52 program { name: "hide";
53 signal: "limits,hide";
54 source: "elm";
55 action: STATE_SET "default" 0.0;
56 target: "elm.units.min";
57 target: "elm.units.max";
58 }
59 }
60}
61
1group { name: "elm/slider/horizontal/default"; 62group { name: "elm/slider/horizontal/default";
2 alias: "elm/slider/horizontal/disabled"; 63 alias: "elm/slider/horizontal/disabled";
3 images { 64 images {
@@ -115,7 +176,7 @@ group { name: "elm/slider/horizontal/default";
115 offset: 8 0; 176 offset: 8 0;
116 } 177 }
117 rel2 { 178 rel2 {
118 to_x: "elm.units"; 179 to_x: "limits";
119 relative: 0.0 1.0; 180 relative: 0.0 1.0;
120 offset: -10 -1; 181 offset: -10 -1;
121 } 182 }
@@ -216,11 +277,11 @@ group { name: "elm/slider/horizontal/default";
216 description { state: "default" 0.0; 277 description { state: "default" 0.0;
217 visible: 0; 278 visible: 0;
218 rel1 { 279 rel1 {
219 to_x: "elm.units"; 280 to_x: "limits";
220 offset: 0 5; 281 offset: 0 5;
221 } 282 }
222 rel2 { 283 rel2 {
223 to_x: "elm.units"; 284 to_x: "limits";
224 offset: 5 -3; 285 offset: 5 -3;
225 } 286 }
226 image { 287 image {
@@ -234,35 +295,53 @@ group { name: "elm/slider/horizontal/default";
234 visible: 1; 295 visible: 1;
235 } 296 }
236 } 297 }
237 part { name: "elm.units"; 298 alias: "elm.units.min" "limits:elm.units.min";
238 type: TEXT; 299 alias: "elm.units.max" "limits:elm.units.max";
300 part { name: "limits";
301 type: GROUP;
302 source: "elm/slider/hidden/limit";
239 mouse_events: 0; 303 mouse_events: 0;
240 scale: 1; 304 scale: 1;
241 description { state: "default" 0.0; 305 description { state: "default" 0.0;
242 visible: 0; 306 visible: 0;
243 fixed: 1 1;
244 align: 1.0 0.5; 307 align: 1.0 0.5;
308 min: SOURCE;
309 fixed: 1 1;
245 rel1.to_x: "elm.swallow.end"; 310 rel1.to_x: "elm.swallow.end";
246 rel1.relative: 0.0 0.0; 311 rel1.relative: 0.0 0.0;
247 rel1.offset: 0 8; 312 rel1.offset: 0 8;
248 rel2.to_x: "elm.swallow.end"; 313 rel2.to_x: "elm.swallow.end";
249 rel2.relative: 0.0 1.0; 314 rel2.relative: 0.0 1.0;
250 rel2.offset: 0 -9; 315 rel2.offset: 0 -9;
316 }
317 description { state: "visible" 0.0;
318 inherit: "default" 0.0;
319 visible: 1;
320 rel1.offset: -5 0;
321 rel2.offset: -5 -1;
322 }
323 }
324 part { name: "elm.units";
325 type: TEXT;
326 mouse_events: 0;
327 scale: 1;
328 description { state: "default" 0.0;
329 visible: 0;
330 fixed: 1 1;
331 rel1.to_x: "limits";
332 rel2.to_x: "limits";
251 color: 0 0 0 255; 333 color: 0 0 0 255;
252 text { 334 text {
253 font: "Sans,Edje-Vera"; 335 font: "Sans,Edje-Vera";
254 size: 10; 336 size: 10;
255 min: 0 0; 337 min: 0 0;
256 align: 0.0 0.5; 338 align: 1.0 0.5;
257 } 339 }
258 } 340 }
259 description { state: "visible" 0.0; 341 description { state: "visible" 0.0;
260 inherit: "default" 0.0; 342 inherit: "default" 0.0;
261 fixed: 1 1;
262 visible: 1; 343 visible: 1;
263 text.min: 1 1; 344 text.min: 1 1;
264 rel1.offset: -5 0;
265 rel2.offset: -5 -1;
266 } 345 }
267 description { state: "disabled" 0.0; 346 description { state: "disabled" 0.0;
268 inherit: "default" 0.0; 347 inherit: "default" 0.0;
@@ -357,14 +436,24 @@ group { name: "elm/slider/horizontal/default";
357 source: "elm"; 436 source: "elm";
358 action: STATE_SET "visible" 0.0; 437 action: STATE_SET "visible" 0.0;
359 target: "elm.units"; 438 target: "elm.units";
439 target: "limits";
360 target: "units"; 440 target: "units";
441 after: "limits,children,visible";
442 }
443 program { name: "limits,children,visible";
444 action: SIGNAL_EMIT "limits:limits,visible" "elm";
361 } 445 }
362 program { name: "units_hide"; 446 program { name: "units_hide";
363 signal: "elm,state,units,hidden"; 447 signal: "elm,state,units,hidden";
364 source: "elm"; 448 source: "elm";
365 action: STATE_SET "default" 0.0; 449 action: STATE_SET "default" 0.0;
366 target: "elm.units"; 450 target: "elm.units";
451 target: "limits";
367 target: "units"; 452 target: "units";
453 after: "limits,children,hide";
454 }
455 program { name: "limits,children,hide";
456 action: SIGNAL_EMIT "limits:limits,hide" "elm";
368 } 457 }
369 program { name: "invert_on"; 458 program { name: "invert_on";
370 signal: "elm,state,inverted,on"; 459 signal: "elm,state,inverted,on";
@@ -586,7 +675,7 @@ group { name: "elm/slider/vertical/default";
586 offset: 0 10; 675 offset: 0 10;
587 } 676 }
588 rel2 { 677 rel2 {
589 to_y: "elm.units"; 678 to_y: "limits";
590 relative: 1.0 0.0; 679 relative: 1.0 0.0;
591 offset: -1 -8; 680 offset: -1 -8;
592 } 681 }
@@ -687,11 +776,11 @@ group { name: "elm/slider/vertical/default";
687 description { state: "default" 0.0; 776 description { state: "default" 0.0;
688 visible: 0; 777 visible: 0;
689 rel1 { 778 rel1 {
690 to: "elm.units"; 779 to: "limits";
691 offset: -8 0; 780 offset: -8 0;
692 } 781 }
693 rel2 { 782 rel2 {
694 to: "elm.units"; 783 to: "limits";
695 offset: 7 8; 784 offset: 7 8;
696 } 785 }
697 image { 786 image {
@@ -705,20 +794,39 @@ group { name: "elm/slider/vertical/default";
705 visible: 1; 794 visible: 1;
706 } 795 }
707 } 796 }
708 part { name: "elm.units"; 797 part { name: "limits";
709 type: TEXT; 798 type: GROUP;
799 source: "elm/slider/hidden/limit";
710 mouse_events: 0; 800 mouse_events: 0;
711 scale: 1; 801 scale: 1;
712 description { state: "default" 0.0; 802 description { state: "default" 0.0;
713 visible: 0; 803 visible: 0;
714 fixed: 1 1; 804 fixed: 1 1;
805 min: SOURCE;
715 align: 0.5 1.0; 806 align: 0.5 1.0;
716 rel1.relative: 0.0 0.0;
717 rel1.to_y: "elm.swallow.end"; 807 rel1.to_y: "elm.swallow.end";
808 rel1.relative: 0.0 0.0;
718 rel1.offset: 8 0; 809 rel1.offset: 8 0;
719 rel2.relative: 1.0 0.0;
720 rel2.to_y: "elm.swallow.end"; 810 rel2.to_y: "elm.swallow.end";
811 rel2.relative: 1.0 0.0;
721 rel2.offset: -9 0; 812 rel2.offset: -9 0;
813 }
814 description { state: "visible" 0.0;
815 inherit: "default" 0.0;
816 visible: 1;
817 rel1.offset: 8 -9;
818 rel2.offset: -9 -9;
819 }
820 }
821 part { name: "elm.units";
822 type: TEXT;
823 mouse_events: 0;
824 scale: 1;
825 description { state: "default" 0.0;
826 visible: 0;
827 fixed: 1 1;
828 rel1.to: "limits";
829 rel2.to: "limits";
722 color: 0 0 0 255; 830 color: 0 0 0 255;
723 text { 831 text {
724 font: "Sans,Edje-Vera"; 832 font: "Sans,Edje-Vera";
@@ -729,11 +837,8 @@ group { name: "elm/slider/vertical/default";
729 } 837 }
730 description { state: "visible" 0.0; 838 description { state: "visible" 0.0;
731 inherit: "default" 0.0; 839 inherit: "default" 0.0;
732 fixed: 1 1;
733 visible: 1; 840 visible: 1;
734 text.min: 1 1; 841 text.min: 1 1;
735 rel1.offset: 8 -9;
736 rel2.offset: -9 -9;
737 } 842 }
738 description { state: "disabled" 0.0; 843 description { state: "disabled" 0.0;
739 inherit: "default" 0.0; 844 inherit: "default" 0.0;
@@ -743,11 +848,8 @@ group { name: "elm/slider/vertical/default";
743 } 848 }
744 description { state: "disabled_visible" 0.0; 849 description { state: "disabled_visible" 0.0;
745 inherit: "default" 0.0; 850 inherit: "default" 0.0;
746 fixed: 1 1;
747 visible: 1; 851 visible: 1;
748 text.min: 1 1; 852 text.min: 1 1;
749 rel1.offset: 8 -9;
750 rel2.offset: -9 -9;
751 color: 0 0 0 128; 853 color: 0 0 0 128;
752 color3: 0 0 0 0; 854 color3: 0 0 0 0;
753 } 855 }
@@ -833,14 +935,24 @@ group { name: "elm/slider/vertical/default";
833 source: "elm"; 935 source: "elm";
834 action: STATE_SET "visible" 0.0; 936 action: STATE_SET "visible" 0.0;
835 target: "elm.units"; 937 target: "elm.units";
938 target: "limits";
836 target: "units"; 939 target: "units";
940 after: "limits,children,visible";
941 }
942 program { name: "limits,children,visible";
943 action: SIGNAL_EMIT "limits:limits,visible" "elm";
837 } 944 }
838 program { name: "units_hide"; 945 program { name: "units_hide";
839 signal: "elm,state,units,hidden"; 946 signal: "elm,state,units,hidden";
840 source: "elm"; 947 source: "elm";
841 action: STATE_SET "default" 0.0; 948 action: STATE_SET "default" 0.0;
842 target: "elm.units"; 949 target: "elm.units";
950 target: "limits";
843 target: "units"; 951 target: "units";
952 after: "limits,children,hide";
953 }
954 program { name: "limits,children,hide";
955 action: SIGNAL_EMIT "limits:limits,hide" "elm";
844 } 956 }
845 program { name: "invert_on"; 957 program { name: "invert_on";
846 signal: "elm,state,inverted,on"; 958 signal: "elm,state,inverted,on";