2 * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved
4 * PROPRIETARY/CONFIDENTIAL
6 * This software is the confidential and proprietary information of SAMSUNG
7 * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
8 * software is owned by Samsung and you shall not disclose such Confidential
9 * Information and shall use it only in accordance with the terms of the license
10 * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
11 * representations or warranties about the suitability of the software, either
12 * express or implied, including but not limited to the implied warranties of
13 * merchantability, fitness for a particular purpose, or non-infringement.
14 * SAMSUNG shall not be liable for any damages suffered by licensee arising out
15 * of or releated to this software.
19 group { name: "elm/slider/horizontal/tap_to_drag";
21 image: "00_winset_list_progress_bg.png" COMP;
22 image: "00_winset_list_progress_bar.png" COMP;
23 image: "00_slider_bar_press.png" COMP;
27 public set_invert_on() {
28 set_state(PART:"level", "inverted", 0.0);
29 set_state(PART:"level2", "inverted", 0.0);
30 set_int(invert_on, 1);
32 public set_invert_off() {
33 set_state(PART:"level", "default", 0.0);
34 set_state(PART:"level2", "default", 0.0);
35 set_int(invert_on, 0);
38 if(get_int(invert_on) == 0)
39 set_state(PART:"level", "pressed", 0.0);
40 else if(get_int(invert_on) == 1)
41 set_state(PART:"level2", "pressed", 0.0);
44 if(get_int(invert_on) == 0)
45 set_state(PART:"level", "default", 0.0);
46 else if(get_int(invert_on) == 1)
47 set_state(PART:"level2", "inverted", 0.0);
54 description { state: "default" 0.0;
55 min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
56 max: 99999 SLIDER_BASE_HEIGHT_INC;
63 image.normal: "00_winset_list_progress_bg.png";
64 image.border: 0 0 4 4;
65 image.border_scale: 1;
71 description { state: "default" 0.0;
76 to_x: "elm.dragable.slider";
80 image.normal: "00_winset_list_progress_bar.png";
81 image.border: 0 0 4 4;
82 image.border_scale: 1;
84 description { state: "inverted" 0.0;
85 inherit: "default" 0.0;
88 description { state: "pressed" 0.0;
89 inherit: "default" 0.0;
90 image.normal: "00_winset_list_progress_bar.png";
93 part { name: "level2";
96 description { state: "default" 0.0;
101 to_x: "elm.dragable.slider";
106 image.normal: "00_winset_list_progress_bg.png";
107 image.border: 0 0 4 4;
108 image.border_scale: 1;
110 description { state: "inverted" 0.0;
111 inherit: "default" 0.0;
114 description { state: "pressed" 0.0;
115 inherit: "default" 0.0;
117 image.normal: "00_winset_list_progress_bg.png";
124 description { state: "default" 0.0;
126 rel1.to: "elm.swallow.bar";
127 rel2.to: "elm.swallow.bar";
132 part { name: "elm.swallow.bar";
135 description { state: "default" 0.0;
136 min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
137 max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
140 to_x: "bar_left_padding";
144 to_x: "bar_right_padding";
150 name: "bar_left_padding";
154 state: "default" 0.0;
170 name: "bar_right_padding";
174 state: "default" 0.0;
189 part { name: "elm.swallow.icon";
192 description { state: "default" 0.0;
196 to_y: "elm.swallow.bar";
200 to_y: "elm.swallow.bar";
203 description { state: "visible" 0.0;
204 inherit: "default" 0.0;
207 aspect_preference: VERTICAL;
210 part { name: "elm.text";
214 description { state: "default" 0.0;
218 rel1.to_x: "elm.swallow.icon";
219 rel1.relative: 1.0 0.0;
221 rel2.to_x: "elm.swallow.icon";
222 rel2.relative: 1.0 1.0;
224 color: SLIDER_UNITS_TEXT_COLOR_INC;
226 font: "SLP:style=Medium";
227 size: SLIDER_UNITS_TEXT_SIZE_INC;
232 description { state: "visible" 0.0;
233 inherit: "default" 0.0;
240 part { name: "elm.swallow.end";
243 description { state: "default" 0.0;
248 to_y: "elm.swallow.bar";
252 to_y: "elm.swallow.bar";
255 description { state: "visible" 0.0;
256 inherit: "default" 0.0;
259 aspect_preference: VERTICAL;
262 part { name: "units";
265 description { state: "default" 0.0;
272 // normal: "sl_units.png";
277 description { state: "visible" 0.0;
278 inherit: "default" 0.0;
282 part { name: "elm.units";
286 description { state: "default" 0.0;
290 rel1.relative: 0.0 0.0;
292 rel1.to_x: "elm.swallow.end";
293 rel2.relative: 0.0 1.0;
295 rel2.to_x: "elm.swallow.end";
296 color: SLIDER_UNITS_TEXT_COLOR_INC;
298 font: "SLP:style=Bold";
299 size: SLIDER_UNITS_TEXT_SIZE_INC;
304 description { state: "visible" 0.0;
305 inherit: "default" 0.0;
313 part { name: "elm.dragable.slider";
315 source: "elm/slider/horizontal/indicator/tap_to_drag";
323 description { state: "default" 0.0;
324 min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
337 part { name: "disabler";
342 description { state: "default" 0.0;
346 color: SLIDER_DISABLER_PART_COLOR_INC;
348 description { state: "disabled" 0.0;
349 inherit: "default" 0.0;
355 program { name: "text_show";
356 signal: "elm,state,text,visible";
358 action: STATE_SET "visible" 0.0;
361 program { name: "text_hide";
362 signal: "elm,state,text,hidden";
364 action: STATE_SET "default" 0.0;
367 program { name: "icon_show";
368 signal: "elm,state,icon,visible";
370 action: STATE_SET "visible" 0.0;
371 target: "elm.swallow.icon";
373 program { name: "icon_hide";
374 signal: "elm,state,icon,hidden";
376 action: STATE_SET "default" 0.0;
377 target: "elm.swallow.icon";
379 program { name: "end_show";
380 signal: "elm,state,end,visible";
382 action: STATE_SET "visible" 0.0;
383 target: "elm.swallow.end";
385 program { name: "end_hide";
386 signal: "elm,state,end,hidden";
388 action: STATE_SET "default" 0.0;
389 target: "elm.swallow.end";
391 program { name: "units_show";
392 signal: "elm,state,units,visible";
394 action: STATE_SET "visible" 0.0;
398 program { name: "units_hide";
399 signal: "elm,state,units,hidden";
401 action: STATE_SET "default" 0.0;
405 program { name: "invert_on";
406 signal: "elm,state,inverted,on";
412 program { name: "invert_off";
413 signal: "elm,state,inverted,off";
419 program { name: "val_show";
420 signal: "mouse,down,*";
421 source: "elm.dragable.slider";
426 program { name: "val_hide";
427 signal: "mouse,up,*";
428 source: "elm.dragable.slider";
433 program { name: "slider_disable";
434 signal: "elm,state,disabled";
436 action: STATE_SET "disabled" 0.0;
439 program { name: "slider_enable";
440 signal: "elm,state,enabled";
442 action: STATE_SET "default" 0.0;
448 group { name: "elm/slider/horizontal/indicator/default";
449 alias: "elm/slider/horizontal/indicator/disabled";
450 alias: "elm/slider/vertical/indicator/default";
451 alias: "elm/slider/vertical/indicator/disabled";
452 alias: "elm/slider/horizontal/indicator/tap_to_drag";
454 image: "00_slider_handle.png" COMP;
455 image: "00_slider_handle_dim.png" COMP;
458 part { name: "button_events";
462 description { state: "default" 0.0;
464 min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
466 aspect_preference: VERTICAL;
470 part { name: "button0";
473 description { state: "default" 0.0;
475 min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
476 max: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
478 normal: "00_slider_handle.png";
483 description { state: "disabled" 0.0;
484 inherit: "default" 0.0;
486 normal: "00_slider_handle_dim.png";
490 part { name: "elm.indicator";
494 description { state: "default" 0.0;
508 color: SLIDER_INDICATOR_TEXT_COLOR_INC;
510 font: "SLP:style=Medium";
511 size: SLIDER_INDICATOR_TEXT_SIZE_INC;
516 description { state: "hide" 0.0;
517 inherit: "default" 0.0;
523 program { name: "set_val_show";
524 signal: "elm,state,val,show";
526 action: STATE_SET "default" 0.0;
527 target: "elm.indicator";
529 program { name: "set_val_hide";
530 signal: "elm,state,val,hide";
532 action: STATE_SET "hide" 0.0;
533 target: "elm.indicator";
535 program { name: "slider_disable";
536 signal: "elm,state,disabled";
538 action: STATE_SET "disabled" 0.0;
541 program { name: "slider_enable";
542 signal: "elm,state,enabled";
544 action: STATE_SET "default" 0.0;
551 group { name: "elm/slider/horizontal/volume";
553 image: "00_volume_bg.png" COMP;
554 image: "00_volume_01.png" COMP;
555 image: "00_volume_02.png" COMP;
556 image: "00_volume_03.png" COMP;
557 image: "00_volume_04.png" COMP;
558 image: "00_volume_05.png" COMP;
559 image: "00_volume_06.png" COMP;
560 image: "00_volume_07.png" COMP;
561 image: "00_volume_08.png" COMP;
562 image: "00_volume_09.png" COMP;
563 image: "00_volume_10.png" COMP;
564 image: "00_volume_11.png" COMP;
565 image: "00_volume_12.png" COMP;
566 image: "00_volume_13.png" COMP;
567 image: "00_volume_14.png" COMP;
570 public volume_state_change(){
571 new Float:x, Float:y;
572 get_drag(PART:"elm.dragable.slider", x, y);
574 set_state(PART:"base", "default", 0.0);
576 set_state(PART:"base", "volume_01", 0.0);
577 else if(x < 0.1666666)
578 set_state(PART:"base", "volume_02", 0.0);
579 else if(x < 0.2333333)
580 set_state(PART:"base", "volume_03", 0.0);
582 set_state(PART:"base", "volume_04", 0.0);
583 else if(x < 0.3666666)
584 set_state(PART:"base", "volume_05", 0.0);
585 else if(x < 0.4333333)
586 set_state(PART:"base", "volume_06", 0.0);
588 set_state(PART:"base", "volume_07", 0.0);
589 else if(x < 0.5666666)
590 set_state(PART:"base", "volume_08", 0.0);
591 else if(x < 0.6333333)
592 set_state(PART:"base", "volume_09", 0.0);
594 set_state(PART:"base", "volume_10", 0.0);
595 else if(x < 0.7666666)
596 set_state(PART:"base", "volume_11", 0.0);
597 else if(x < 0.8333333)
598 set_state(PART:"base", "volume_12", 0.0);
600 set_state(PART:"base", "volume_13", 0.0);
602 set_state(PART:"base", "volume_14", 0.0);
609 description { state: "default" 0.0;
618 image.normal: "00_volume_bg.png";
620 #define SLIDER_BG_PART(part_number)\
622 state: "volume_"part_number 0.0; \
623 inherit: "default" 0.0; \
624 image.normal: "00_volume_"part_number".png"; \
645 description { state: "default" 0.0;
647 rel1.to: "elm.swallow.bar";
648 rel2.to: "elm.swallow.bar";
652 part { name: "elm.swallow.bar";
655 description { state: "default" 0.0;
660 to_x: "bar_left_padding";
664 to_x: "bar_right_padding";
670 name: "bar_left_padding";
674 state: "default" 0.0;
690 name: "bar_right_padding";
694 state: "default" 0.0;
709 part { name: "elm.swallow.icon";
712 description { state: "default" 0.0;
716 to_y: "elm.swallow.bar";
720 to_y: "elm.swallow.bar";
723 description { state: "visible" 0.0;
724 inherit: "default" 0.0;
727 aspect_preference: VERTICAL;
730 part { name: "elm.text";
734 description { state: "default" 0.0;
738 rel1.to_x: "elm.swallow.icon";
739 rel1.relative: 1.0 0.0;
741 rel2.to_x: "elm.swallow.icon";
742 rel2.relative: 1.0 1.0;
744 color: 164 160 149 255;
746 font: "SLP:style=Bold";
752 description { state: "visible" 0.0;
753 inherit: "default" 0.0;
760 part { name: "elm.swallow.end";
763 description { state: "default" 0.0;
768 to_y: "elm.swallow.bar";
772 to_y: "elm.swallow.bar";
775 description { state: "visible" 0.0;
776 inherit: "default" 0.0;
779 aspect_preference: VERTICAL;
782 part { name: "units";
785 description { state: "default" 0.0;
792 // normal: "sl_units.png";
797 description { state: "visible" 0.0;
798 inherit: "default" 0.0;
802 part { name: "elm.units";
806 description { state: "default" 0.0;
810 rel1.relative: 0.0 0.0;
812 rel1.to_x: "elm.swallow.end";
813 rel2.relative: 0.0 1.0;
815 rel2.to_x: "elm.swallow.end";
816 color: 164 160 149 255;
818 font: "SLP:style=Bold";
824 description { state: "visible" 0.0;
825 inherit: "default" 0.0;
833 part { name: "elm.dragable.slider";
842 description { state: "default" 0.0;
858 program { name: "text_show";
859 signal: "elm,state,text,visible";
861 action: STATE_SET "visible" 0.0;
864 program { name: "text_hide";
865 signal: "elm,state,text,hidden";
867 action: STATE_SET "default" 0.0;
870 program { name: "icon_show";
871 signal: "elm,state,icon,visible";
873 action: STATE_SET "visible" 0.0;
874 target: "elm.swallow.icon";
876 program { name: "icon_hide";
877 signal: "elm,state,icon,hidden";
879 action: STATE_SET "default" 0.0;
880 target: "elm.swallow.icon";
882 program { name: "end_show";
883 signal: "elm,state,end,visible";
885 action: STATE_SET "visible" 0.0;
886 target: "elm.swallow.end";
888 program { name: "end_hide";
889 signal: "elm,state,end,hidden";
891 action: STATE_SET "default" 0.0;
892 target: "elm.swallow.end";
894 program { name: "units_show";
895 signal: "elm,state,units,visible";
897 action: STATE_SET "visible" 0.0;
901 program { name: "units_hide";
902 signal: "elm,state,units,hidden";
904 action: STATE_SET "default" 0.0;
908 program { name: "volume_state_change";
909 signal: "elm,state,drag";
912 volume_state_change()
918 group { name: "elm/slider/vertical/volume";
920 image: "00_volume_00_ver.png" COMP;
921 image: "00_volume_01_ver.png" COMP;
922 image: "00_volume_02_ver.png" COMP;
923 image: "00_volume_03_ver.png" COMP;
924 image: "00_volume_04_ver.png" COMP;
925 image: "00_volume_05_ver.png" COMP;
926 image: "00_volume_06_ver.png" COMP;
927 image: "00_volume_07_ver.png" COMP;
928 image: "00_volume_08_ver.png" COMP;
929 image: "00_volume_09_ver.png" COMP;
930 image: "00_volume_10_ver.png" COMP;
931 image: "00_volume_11_ver.png" COMP;
932 image: "00_volume_12_ver.png" COMP;
933 image: "00_volume_13_ver.png" COMP;
934 image: "00_volume_14_ver.png" COMP;
937 public volume_state_change(){
938 new Float:x, Float:y;
939 get_drag(PART:"elm.dragable.slider", x, y);
941 set_state(PART:"base", "volume_14", 0.0);
942 else if(y <= 0.1666666)
943 set_state(PART:"base", "volume_13", 0.0);
944 else if(y <= 0.2333333)
945 set_state(PART:"base", "volume_12", 0.0);
947 set_state(PART:"base", "volume_11", 0.0);
948 else if(y <= 0.3666666)
949 set_state(PART:"base", "volume_10", 0.0);
950 else if(y <= 0.4333333)
951 set_state(PART:"base", "volume_09", 0.0);
953 set_state(PART:"base", "volume_08", 0.0);
954 else if(y <= 0.5666666)
955 set_state(PART:"base", "volume_07", 0.0);
956 else if(y <= 0.6333333)
957 set_state(PART:"base", "volume_06", 0.0);
959 set_state(PART:"base", "volume_05", 0.0);
960 else if(y <= 0.7666666)
961 set_state(PART:"base", "volume_04", 0.0);
962 else if(y <= 0.8333333)
963 set_state(PART:"base", "volume_03", 0.0);
965 set_state(PART:"base", "volume_02", 0.0);
966 else if(y <= 0.9666666)
967 set_state(PART:"base", "volume_01", 0.0);
969 set_state(PART:"base", "default", 0.0);
975 description { state: "default" 0.0;
985 image.normal: "00_volume_00_ver.png";
987 #define SLIDER_VER_BG_PART(part_number)\
989 state: "volume_"part_number 0.0; \
990 inherit: "default" 0.0; \
991 image.normal: "00_volume_"part_number"_ver.png"; \
993 SLIDER_VER_BG_PART(01)
994 SLIDER_VER_BG_PART(02)
995 SLIDER_VER_BG_PART(03)
996 SLIDER_VER_BG_PART(04)
997 SLIDER_VER_BG_PART(05)
998 SLIDER_VER_BG_PART(06)
999 SLIDER_VER_BG_PART(07)
1000 SLIDER_VER_BG_PART(08)
1001 SLIDER_VER_BG_PART(09)
1002 SLIDER_VER_BG_PART(10)
1003 SLIDER_VER_BG_PART(11)
1004 SLIDER_VER_BG_PART(12)
1005 SLIDER_VER_BG_PART(13)
1006 SLIDER_VER_BG_PART(14)
1012 description { state: "default" 0.0;
1014 rel1.to: "elm.swallow.bar";
1015 rel2.to: "elm.swallow.bar";
1019 part { name: "elm.swallow.bar";
1022 description { state: "default" 0.0;
1027 to_y: "bar_top_padding";
1031 to_y: "bar_bottom_padding";
1037 name: "bar_top_padding";
1041 state: "default" 0.0;
1057 name: "bar_bottom_padding";
1060 state: "default" 0.0;
1075 part { name: "elm.swallow.icon";
1078 description { state: "default" 0.0;
1082 to_x: "elm.swallow.bar";
1086 to_x: "elm.swallow.bar";
1089 description { state: "visible" 0.0;
1090 inherit: "default" 0.0;
1093 aspect_preference: HORIZONTAL;
1096 part { name: "elm.text";
1100 description { state: "default" 0.0;
1104 rel1.to_y: "elm.swallow.icon";
1105 rel1.relative: 0.0 1.0;
1106 rel2.to_y: "elm.swallow.icon";
1107 rel2.relative: 1.0 1.0;
1108 color: 164 160 149 255;
1110 font: "SLP:style=Bold";
1116 description { state: "visible" 0.0;
1117 inherit: "default" 0.0;
1122 part { name: "elm.swallow.end";
1125 description { state: "default" 0.0;
1130 to_x: "elm.swallow.bar";
1134 to_x: "elm.swallow.bar";
1137 description { state: "visible" 0.0;
1138 inherit: "default" 0.0;
1141 aspect_preference: HORIZONTAL;
1144 part { name: "units";
1147 description { state: "default" 0.0;
1153 description { state: "visible" 0.0;
1154 inherit: "default" 0.0;
1158 part { name: "elm.units";
1162 description { state: "default" 0.0;
1166 rel1.relative: 0.0 0.0;
1167 rel1.to_y: "elm.swallow.end";
1168 rel2.relative: 1.0 0.0;
1169 rel2.to_y: "elm.swallow.end";
1170 color: 164 160 149 255;
1172 font: "SLP:style=Bold";
1178 description { state: "visible" 0.0;
1179 inherit: "default" 0.0;
1187 part { name: "elm.dragable.slider";
1196 description { state: "default" 0.0;
1212 program { name: "text_show";
1213 signal: "elm,state,text,visible";
1215 action: STATE_SET "visible" 0.0;
1218 program { name: "text_hide";
1219 signal: "elm,state,text,hidden";
1221 action: STATE_SET "default" 0.0;
1224 program { name: "icon_show";
1225 signal: "elm,state,icon,visible";
1227 action: STATE_SET "visible" 0.0;
1228 target: "elm.swallow.icon";
1230 program { name: "icon_hide";
1231 signal: "elm,state,icon,hidden";
1233 action: STATE_SET "default" 0.0;
1234 target: "elm.swallow.icon";
1236 program { name: "end_show";
1237 signal: "elm,state,end,visible";
1239 action: STATE_SET "visible" 0.0;
1240 target: "elm.swallow.end";
1242 program { name: "end_hide";
1243 signal: "elm,state,end,hidden";
1245 action: STATE_SET "default" 0.0;
1246 target: "elm.swallow.end";
1248 program { name: "units_show";
1249 signal: "elm,state,units,visible";
1251 action: STATE_SET "visible" 0.0;
1252 target: "elm.units";
1255 program { name: "units_hide";
1256 signal: "elm,state,units,hidden";
1258 action: STATE_SET "default" 0.0;
1259 target: "elm.units";
1262 program { name: "volume_state_change";
1263 signal: "elm,state,drag";
1266 volume_state_change()
1272 group { name: "elm/slider/horizontal/ebook";
1274 image: "00_winset_list_progress_bg.png" COMP;
1275 image: "00_winset_list_progress_bar.png" COMP;
1276 image: "00_winset_list_progress_bar_pressed.png" COMP;
1277 image: "00_ebook_slider_handle.png" COMP;
1278 image: "00_ebook_slider_handle_press.png" COMP;
1281 public value_hide = 0;
1282 public invert_on = 0;
1283 public set_value_show() {
1284 set_int(value_hide, 0);
1285 set_state(PART:"elm.indicator", "default", 0.0);
1287 public set_value_hide() {
1288 set_int(value_hide, 1);
1289 set_state(PART:"elm.indicator", "hide", 0.0);
1291 public set_invert_on() {
1292 set_state(PART:"level", "inverted", 0.0);
1293 set_state(PART:"level2", "inverted", 0.0);
1294 set_int(invert_on, 1);
1296 public set_invert_off() {
1297 set_state(PART:"level", "default", 0.0);
1298 set_state(PART:"level2", "default", 0.0);
1299 set_int(invert_on, 0);
1301 public thumb_down() {
1302 if(get_int(value_hide) == 1) {
1303 set_state(PART:"elm.indicator", "hide", 0.0);
1304 set_state(PART:"button0", "visible", 0.0);
1306 set_state(PART:"elm.indicator", "visible", 0.0);
1307 set_state(PART:"button0", "visible", 0.0);
1309 if(get_int(invert_on) == 0)
1310 set_state(PART:"level", "pressed", 0.0);
1311 else if(get_int(invert_on) == 1)
1312 set_state(PART:"level2", "pressed", 0.0);
1315 if(get_int(value_hide) == 1)
1316 set_state(PART:"elm.indicator", "hide", 0.0);
1318 set_state(PART:"elm.indicator", "default", 0.0);
1319 if(get_int(invert_on) == 0)
1320 set_state(PART:"level", "default", 0.0);
1321 else if(get_int(invert_on) == 1)
1322 set_state(PART:"level2", "inverted", 0.0);
1323 set_state(PART:"button0", "default", 0.0);
1327 part { name: "base";
1330 description { state: "default" 0.0;
1331 max: 99999 SLIDER_EBOOK_HEIGHT_INC;
1332 min: 0 SLIDER_EBOOK_HEIGHT_INC;
1339 image.normal: "00_winset_list_progress_bg.png";
1340 image.border: 0 0 4 4;
1341 image.border_scale: 1;
1344 part { name: "level";
1347 description { state: "default" 0.0;
1352 to_x: "elm.dragable.slider";
1356 image.normal: "00_winset_list_progress_bar.png";
1357 image.border: 0 0 4 4;
1358 image.border_scale: 1;
1360 description { state: "inverted" 0.0;
1361 inherit: "default" 0.0;
1364 description { state: "pressed" 0.0;
1365 inherit: "default" 0.0;
1366 image.normal: "00_winset_list_progress_bar_pressed.png";
1367 image.border: 0 0 4 4;
1368 image.border_scale: 1;
1371 part { name: "level2";
1374 description { state: "default" 0.0;
1379 to_x: "elm.dragable.slider";
1384 image.normal: "00_winset_list_progress_bar.png";
1385 image.border: 0 0 4 4;
1386 image.border_scale: 1;
1388 description { state: "inverted" 0.0;
1389 inherit: "default" 0.0;
1392 description { state: "pressed" 0.0;
1393 inherit: "default" 0.0;
1395 image.normal: "00_winset_list_progress_bar_pressed.png";
1396 image.border: 0 0 4 4;
1397 image.border_scale: 1;
1404 description { state: "default" 0.0;
1406 rel1.to: "elm.swallow.bar";
1407 rel2.to: "elm.swallow.bar";
1412 part { name: "elm.swallow.bar";
1415 description { state: "default" 0.0;
1420 to_x: "bar_left_padding";
1425 to_x: "bar_right_padding";
1432 name: "bar_left_padding";
1436 state: "default" 0.0;
1452 name: "bar_right_padding";
1456 state: "default" 0.0;
1471 part { name: "elm.swallow.icon";
1474 description { state: "default" 0.0;
1478 to_y: "elm.swallow.bar";
1482 to_y: "elm.swallow.bar";
1485 description { state: "visible" 0.0;
1486 inherit: "default" 0.0;
1489 aspect_preference: VERTICAL;
1492 part { name: "elm.text";
1496 description { state: "default" 0.0;
1500 rel1.to_x: "elm.swallow.icon";
1501 rel1.relative: 1.0 0.0;
1503 rel2.to_x: "elm.swallow.icon";
1504 rel2.relative: 1.0 1.0;
1506 color: SLIDER_EBOOK_UNITS_TEXT_COLOR_INC;
1508 font: "SLP:style=Bold";
1509 size: SLIDER_EBOOK_UNITS_TEXT_SIZE_INC;
1514 description { state: "visible" 0.0;
1515 inherit: "default" 0.0;
1522 part { name: "elm.swallow.end";
1525 description { state: "default" 0.0;
1530 to_y: "elm.swallow.bar";
1534 to_y: "elm.swallow.bar";
1537 description { state: "visible" 0.0;
1538 inherit: "default" 0.0;
1541 aspect_preference: VERTICAL;
1544 part { name: "units";
1547 description { state: "default" 0.0;
1554 // normal: "sl_units.png";
1559 description { state: "visible" 0.0;
1560 inherit: "default" 0.0;
1564 part { name: "elm.units";
1568 description { state: "default" 0.0;
1572 rel1.relative: 0.0 0.0;
1574 rel1.to_x: "elm.swallow.end";
1575 rel2.relative: 0.0 1.0;
1577 rel2.to_x: "elm.swallow.end";
1578 color: SLIDER_EBOOK_UNITS_TEXT_COLOR_INC;
1580 font: "SLP:style=Bold";
1581 size: SLIDER_EBOOK_UNITS_TEXT_SIZE_INC;
1586 description { state: "visible" 0.0;
1587 inherit: "default" 0.0;
1595 part { name: "elm.dragable.slider";
1604 description { state: "default" 0.0;
1605 min: SLIDER_EBOOK_INDICATOR_WIDTH_INC SLIDER_EBOOK_INDICATOR_HEIGHT_INC;
1618 part { name: "button0";
1621 description { state: "default" 0.0;
1623 min: SLIDER_EBOOK_INDICATOR_WIDTH_INC SLIDER_EBOOK_INDICATOR_HEIGHT_INC;
1624 max: SLIDER_EBOOK_INDICATOR_WIDTH_INC SLIDER_EBOOK_INDICATOR_HEIGHT_INC;
1625 rel1.to: "elm.dragable.slider";
1626 rel2.to: "elm.dragable.slider";
1628 normal: "00_ebook_slider_handle.png";
1629 border: 12 12 12 12;
1633 description { state: "visible" 0.0;
1634 inherit: "default" 0.0;
1636 normal: "00_ebook_slider_handle_press.png";
1640 part { name: "popup";
1643 description { state: "default" 0.0;
1655 // normal: "00_slider_popup_bg.png";
1656 border: 13 21 10 22;
1661 description { state: "visible" 0.0;
1662 inherit: "default" 0.0;
1666 part { name: "elm.indicator";
1669 // effect: SOFT_SHADOW;
1671 description { state: "default" 0.0;
1685 color: SLIDER_EBOOK_INDICATOR_TEXT_COLOR_INC;
1688 font: "SLP:style=Bold";
1689 size: SLIDER_EBOOK_INDICATOR_DEFAULT_TEXT_SIZE_INC;
1694 description { state: "visible" 0.0;
1695 inherit: "default" 0.0;
1697 color: SLIDER_EBOOK_INDICATOR_TEXT_COLOR_INC;
1698 text.size: SLIDER_EBOOK_INDICATOR_DRAG_TEXT_SIZE_INC;
1705 description { state: "hide" 0.0;
1706 inherit: "default" 0.0;
1712 program { name: "text_show";
1713 signal: "elm,state,text,visible";
1715 action: STATE_SET "visible" 0.0;
1718 program { name: "text_hide";
1719 signal: "elm,state,text,hidden";
1721 action: STATE_SET "default" 0.0;
1724 program { name: "icon_show";
1725 signal: "elm,state,icon,visible";
1727 action: STATE_SET "visible" 0.0;
1728 target: "elm.swallow.icon";
1730 program { name: "icon_hide";
1731 signal: "elm,state,icon,hidden";
1733 action: STATE_SET "default" 0.0;
1734 target: "elm.swallow.icon";
1736 program { name: "end_show";
1737 signal: "elm,state,end,visible";
1739 action: STATE_SET "visible" 0.0;
1740 target: "elm.swallow.end";
1742 program { name: "end_hide";
1743 signal: "elm,state,end,hidden";
1745 action: STATE_SET "default" 0.0;
1746 target: "elm.swallow.end";
1748 program { name: "units_show";
1749 signal: "elm,state,units,visible";
1751 action: STATE_SET "visible" 0.0;
1752 target: "elm.units";
1755 program { name: "units_hide";
1756 signal: "elm,state,units,hidden";
1758 action: STATE_SET "default" 0.0;
1759 target: "elm.units";
1762 program { name: "invert_on";
1763 signal: "elm,state,inverted,on";
1769 program { name: "invert_off";
1770 signal: "elm,state,inverted,off";
1776 program { name: "set_val_show";
1777 signal: "elm,state,val,show";
1783 program { name: "set_val_hide";
1784 signal: "elm,state,val,hide";
1790 program { name: "val_show";
1791 signal: "mouse,down,*";
1792 source: "elm.dragable.slider";
1797 program { name: "val_hide";
1798 signal: "mouse,up,*";
1799 source: "elm.dragable.slider";
1807 group { name: "elm/slider/vertical/volume7";
1809 image: "00_volume7_00_ver.png" COMP;
1810 image: "00_volume7_01_ver.png" COMP;
1811 image: "00_volume7_02_ver.png" COMP;
1812 image: "00_volume7_03_ver.png" COMP;
1813 image: "00_volume7_04_ver.png" COMP;
1814 image: "00_volume7_05_ver.png" COMP;
1815 image: "00_volume7_06_ver.png" COMP;
1816 image: "00_volume7_07_ver.png" COMP;
1819 public volume_state_change(){
1820 new Float:x, Float:y;
1821 get_drag(PART:"elm.dragable.slider", x, y);
1823 set_state(PART:"base", "volume_07", 0.0);
1824 else if(y <= 0.3125)
1825 set_state(PART:"base", "volume_06", 0.0);
1826 else if(y <= 0.4375)
1827 set_state(PART:"base", "volume_05", 0.0);
1828 else if(y <= 0.5625)
1829 set_state(PART:"base", "volume_04", 0.0);
1830 else if(y <= 0.6875)
1831 set_state(PART:"base", "volume_03", 0.0);
1832 else if(y <= 0.8125)
1833 set_state(PART:"base", "volume_02", 0.0);
1834 else if(y <= 0.9375)
1835 set_state(PART:"base", "volume_01", 0.0);
1837 set_state(PART:"base", "default", 0.0);
1841 part { name: "base";
1843 description { state: "default" 0.0;
1853 image.normal: "00_volume7_00_ver.png";
1855 #define SLIDER7_VER_BG_PART(part_number)\
1857 state: "volume_"part_number 0.0; \
1858 inherit: "default" 0.0; \
1859 image.normal: "00_volume7_"part_number"_ver.png"; \
1861 SLIDER7_VER_BG_PART(01)
1862 SLIDER7_VER_BG_PART(02)
1863 SLIDER7_VER_BG_PART(03)
1864 SLIDER7_VER_BG_PART(04)
1865 SLIDER7_VER_BG_PART(05)
1866 SLIDER7_VER_BG_PART(06)
1867 SLIDER7_VER_BG_PART(07)
1873 description { state: "default" 0.0;
1875 rel1.to: "elm.swallow.bar";
1876 rel2.to: "elm.swallow.bar";
1880 part { name: "elm.swallow.bar";
1883 description { state: "default" 0.0;
1890 name: "bar_top_padding";
1894 state: "default" 0.0;
1910 name: "bar_bottom_padding";
1913 state: "default" 0.0;
1928 part { name: "elm.swallow.icon";
1931 description { state: "default" 0.0;
1935 to_x: "elm.swallow.bar";
1939 to_x: "elm.swallow.bar";
1942 description { state: "visible" 0.0;
1943 inherit: "default" 0.0;
1946 aspect_preference: HORIZONTAL;
1949 part { name: "elm.text";
1953 description { state: "default" 0.0;
1957 rel1.to_y: "elm.swallow.icon";
1958 rel1.relative: 0.0 1.0;
1959 rel2.to_y: "elm.swallow.icon";
1960 rel2.relative: 1.0 1.0;
1961 color: 164 160 149 255;
1963 font: "SLP:style=Bold";
1969 description { state: "visible" 0.0;
1970 inherit: "default" 0.0;
1975 part { name: "elm.swallow.end";
1978 description { state: "default" 0.0;
1983 to_x: "elm.swallow.bar";
1987 to_x: "elm.swallow.bar";
1990 description { state: "visible" 0.0;
1991 inherit: "default" 0.0;
1994 aspect_preference: HORIZONTAL;
1997 part { name: "units";
2000 description { state: "default" 0.0;
2006 description { state: "visible" 0.0;
2007 inherit: "default" 0.0;
2011 part { name: "elm.units";
2015 description { state: "default" 0.0;
2019 rel1.relative: 0.0 0.0;
2020 rel1.to_y: "elm.swallow.end";
2021 rel2.relative: 1.0 0.0;
2022 rel2.to_y: "elm.swallow.end";
2023 color: 164 160 149 255;
2025 font: "SLP:style=Bold";
2031 description { state: "visible" 0.0;
2032 inherit: "default" 0.0;
2040 part { name: "elm.dragable.slider";
2049 description { state: "default" 0.0;
2065 program { name: "text_show";
2066 signal: "elm,state,text,visible";
2068 action: STATE_SET "visible" 0.0;
2071 program { name: "text_hide";
2072 signal: "elm,state,text,hidden";
2074 action: STATE_SET "default" 0.0;
2077 program { name: "icon_show";
2078 signal: "elm,state,icon,visible";
2080 action: STATE_SET "visible" 0.0;
2081 target: "elm.swallow.icon";
2083 program { name: "icon_hide";
2084 signal: "elm,state,icon,hidden";
2086 action: STATE_SET "default" 0.0;
2087 target: "elm.swallow.icon";
2089 program { name: "end_show";
2090 signal: "elm,state,end,visible";
2092 action: STATE_SET "visible" 0.0;
2093 target: "elm.swallow.end";
2095 program { name: "end_hide";
2096 signal: "elm,state,end,hidden";
2098 action: STATE_SET "default" 0.0;
2099 target: "elm.swallow.end";
2101 program { name: "units_show";
2102 signal: "elm,state,units,visible";
2104 action: STATE_SET "visible" 0.0;
2105 target: "elm.units";
2108 program { name: "units_hide";
2109 signal: "elm,state,units,hidden";
2111 action: STATE_SET "default" 0.0;
2112 target: "elm.units";
2115 program { name: "volume_state_change";
2116 signal: "elm,state,drag";
2119 volume_state_change()
2125 group { name: "elm/slider/vertical/volume15";
2127 image: "00_volume15_00_ver.png" COMP;
2128 image: "00_volume15_01_ver.png" COMP;
2129 image: "00_volume15_02_ver.png" COMP;
2130 image: "00_volume15_03_ver.png" COMP;
2131 image: "00_volume15_04_ver.png" COMP;
2132 image: "00_volume15_05_ver.png" COMP;
2133 image: "00_volume15_06_ver.png" COMP;
2134 image: "00_volume15_07_ver.png" COMP;
2135 image: "00_volume15_08_ver.png" COMP;
2136 image: "00_volume15_09_ver.png" COMP;
2137 image: "00_volume15_10_ver.png" COMP;
2138 image: "00_volume15_11_ver.png" COMP;
2139 image: "00_volume15_12_ver.png" COMP;
2140 image: "00_volume15_13_ver.png" COMP;
2141 image: "00_volume15_14_ver.png" COMP;
2142 image: "00_volume15_15_ver.png" COMP;
2145 public volume_state_change(){
2146 new Float:x, Float:y;
2147 get_drag(PART:"elm.dragable.slider", x, y);
2149 set_state(PART:"base", "volume_15", 0.0);
2150 else if(y <= 0.15625)
2151 set_state(PART:"base", "volume_14", 0.0);
2152 else if(y <= 0.21875)
2153 set_state(PART:"base", "volume_13", 0.0);
2154 else if(y <= 0.28125)
2155 set_state(PART:"base", "volume_12", 0.0);
2156 else if(y <= 0.34375)
2157 set_state(PART:"base", "volume_11", 0.0);
2158 else if(y <= 0.40625)
2159 set_state(PART:"base", "volume_10", 0.0);
2160 else if(y <= 0.46875)
2161 set_state(PART:"base", "volume_09", 0.0);
2162 else if(y <= 0.53125)
2163 set_state(PART:"base", "volume_08", 0.0);
2164 else if(y <= 0.59375)
2165 set_state(PART:"base", "volume_07", 0.0);
2166 else if(y <= 0.65625)
2167 set_state(PART:"base", "volume_06", 0.0);
2168 else if(y <= 0.71875)
2169 set_state(PART:"base", "volume_05", 0.0);
2170 else if(y <= 0.78125)
2171 set_state(PART:"base", "volume_04", 0.0);
2172 else if(y <= 0.84375)
2173 set_state(PART:"base", "volume_03", 0.0);
2174 else if(y <= 0.90625)
2175 set_state(PART:"base", "volume_02", 0.0);
2176 else if(y <= 0.96875)
2177 set_state(PART:"base", "volume_01", 0.0);
2179 set_state(PART:"base", "default", 0.0);
2183 part { name: "base";
2185 description { state: "default" 0.0;
2195 image.normal: "00_volume15_00_ver.png";
2197 #define SLIDER15_VER_BG_PART(part_number)\
2199 state: "volume_"part_number 0.0; \
2200 inherit: "default" 0.0; \
2201 image.normal: "00_volume15_"part_number"_ver.png"; \
2203 SLIDER15_VER_BG_PART(01)
2204 SLIDER15_VER_BG_PART(02)
2205 SLIDER15_VER_BG_PART(03)
2206 SLIDER15_VER_BG_PART(04)
2207 SLIDER15_VER_BG_PART(05)
2208 SLIDER15_VER_BG_PART(06)
2209 SLIDER15_VER_BG_PART(07)
2210 SLIDER15_VER_BG_PART(08)
2211 SLIDER15_VER_BG_PART(09)
2212 SLIDER15_VER_BG_PART(10)
2213 SLIDER15_VER_BG_PART(11)
2214 SLIDER15_VER_BG_PART(12)
2215 SLIDER15_VER_BG_PART(13)
2216 SLIDER15_VER_BG_PART(14)
2217 SLIDER15_VER_BG_PART(15)
2223 description { state: "default" 0.0;
2225 rel1.to: "elm.swallow.bar";
2226 rel2.to: "elm.swallow.bar";
2230 part { name: "elm.swallow.bar";
2233 description { state: "default" 0.0;
2239 part { name: "bar_top_padding";
2243 state: "default" 0.0;
2258 part { name: "bar_bottom_padding";
2261 state: "default" 0.0;
2276 part { name: "elm.swallow.icon";
2279 description { state: "default" 0.0;
2283 to_x: "elm.swallow.bar";
2287 to_x: "elm.swallow.bar";
2290 description { state: "visible" 0.0;
2291 inherit: "default" 0.0;
2294 aspect_preference: HORIZONTAL;
2297 part { name: "elm.text";
2301 description { state: "default" 0.0;
2305 rel1.to_y: "elm.swallow.icon";
2306 rel1.relative: 0.0 1.0;
2307 rel2.to_y: "elm.swallow.icon";
2308 rel2.relative: 1.0 1.0;
2309 color: 164 160 149 255;
2311 font: "SLP:style=Bold";
2317 description { state: "visible" 0.0;
2318 inherit: "default" 0.0;
2323 part { name: "elm.swallow.end";
2326 description { state: "default" 0.0;
2331 to_x: "elm.swallow.bar";
2335 to_x: "elm.swallow.bar";
2338 description { state: "visible" 0.0;
2339 inherit: "default" 0.0;
2342 aspect_preference: HORIZONTAL;
2345 part { name: "units";
2348 description { state: "default" 0.0;
2354 description { state: "visible" 0.0;
2355 inherit: "default" 0.0;
2359 part { name: "elm.units";
2363 description { state: "default" 0.0;
2367 rel1.relative: 0.0 0.0;
2368 rel1.to_y: "elm.swallow.end";
2369 rel2.relative: 1.0 0.0;
2370 rel2.to_y: "elm.swallow.end";
2371 color: 164 160 149 255;
2373 font: "SLP:style=Bold";
2379 description { state: "visible" 0.0;
2380 inherit: "default" 0.0;
2388 part { name: "elm.dragable.slider";
2397 description { state: "default" 0.0;
2413 program { name: "text_show";
2414 signal: "elm,state,text,visible";
2416 action: STATE_SET "visible" 0.0;
2419 program { name: "text_hide";
2420 signal: "elm,state,text,hidden";
2422 action: STATE_SET "default" 0.0;
2425 program { name: "icon_show";
2426 signal: "elm,state,icon,visible";
2428 action: STATE_SET "visible" 0.0;
2429 target: "elm.swallow.icon";
2431 program { name: "icon_hide";
2432 signal: "elm,state,icon,hidden";
2434 action: STATE_SET "default" 0.0;
2435 target: "elm.swallow.icon";
2437 program { name: "end_show";
2438 signal: "elm,state,end,visible";
2440 action: STATE_SET "visible" 0.0;
2441 target: "elm.swallow.end";
2443 program { name: "end_hide";
2444 signal: "elm,state,end,hidden";
2446 action: STATE_SET "default" 0.0;
2447 target: "elm.swallow.end";
2449 program { name: "units_show";
2450 signal: "elm,state,units,visible";
2452 action: STATE_SET "visible" 0.0;
2453 target: "elm.units";
2456 program { name: "units_hide";
2457 signal: "elm,state,units,hidden";
2459 action: STATE_SET "default" 0.0;
2460 target: "elm.units";
2463 program { name: "volume_state_change";
2464 signal: "elm,state,drag";
2467 volume_state_change()
2473 group { name: "elm/slider/horizontal/default";
2474 alias: "elm/slider/horizontal/disabled";
2476 image: "00_winset_list_progress_bg.png" COMP;
2477 image: "00_winset_list_progress_bar.png" COMP;
2478 image: "00_slider_bar_press.png" COMP;
2481 public invert_on = 0;
2482 public set_invert_on() {
2483 set_state(PART:"level", "inverted", 0.0);
2484 set_state(PART:"level2", "inverted", 0.0);
2485 set_int(invert_on, 1);
2487 public set_invert_off() {
2488 set_state(PART:"level", "default", 0.0);
2489 set_state(PART:"level2", "default", 0.0);
2490 set_int(invert_on, 0);
2492 public thumb_down() {
2493 if(get_int(invert_on) == 0)
2494 set_state(PART:"level", "pressed", 0.0);
2495 else if(get_int(invert_on) == 1)
2496 set_state(PART:"level2", "pressed", 0.0);
2499 if(get_int(invert_on) == 0)
2500 set_state(PART:"level", "default", 0.0);
2501 else if(get_int(invert_on) == 1)
2502 set_state(PART:"level2", "inverted", 0.0);
2506 part { name: "base";
2509 description { state: "default" 0.0;
2510 min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
2511 max: 99999 SLIDER_BASE_HEIGHT_INC;
2514 image.normal: "00_winset_list_progress_bg.png";
2515 image.border: 0 0 4 4;
2516 image.border_scale: 1;
2519 part { name: "level";
2522 description { state: "default" 0.0;
2527 to_x: "elm.dragable.slider";
2530 image.normal: "00_winset_list_progress_bar.png";
2531 image.border: 0 0 4 4;
2532 image.border_scale: 1;
2534 description { state: "inverted" 0.0;
2535 inherit: "default" 0.0;
2538 description { state: "pressed" 0.0;
2539 inherit: "default" 0.0;
2540 image.normal: "00_winset_list_progress_bar.png";
2543 part { name: "level2";
2546 description { state: "default" 0.0;
2551 to_x: "elm.dragable.slider";
2555 image.normal: "00_winset_list_progress_bg.png";
2556 image.border: 0 0 4 4;
2557 image.border_scale: 1;
2559 description { state: "inverted" 0.0;
2560 inherit: "default" 0.0;
2563 description { state: "pressed" 0.0;
2564 inherit: "default" 0.0;
2566 image.normal: "00_winset_list_progress_bg.png";
2573 description { state: "default" 0.0;
2575 rel1.to: "elm.swallow.bar";
2576 rel2.to: "elm.swallow.bar";
2579 part { name: "elm.swallow.bar";
2583 description { state: "default" 0.0;
2584 min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
2585 max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
2588 to_x: "bar_left_padding";
2592 to_x: "bar_right_padding";
2598 name: "bar_left_padding";
2602 state: "default" 0.0;
2618 name: "bar_right_padding";
2622 state: "default" 0.0;
2637 part { name: "elm.swallow.icon";
2640 description { state: "default" 0.0;
2644 to_y: "elm.swallow.bar";
2648 to_y: "elm.swallow.bar";
2651 description { state: "visible" 0.0;
2652 inherit: "default" 0.0;
2655 aspect_preference: VERTICAL;
2658 part { name: "elm.text";
2662 description { state: "default" 0.0;
2666 rel1.to_x: "elm.swallow.icon";
2667 rel1.relative: 1.0 0.0;
2668 rel2.to_x: "elm.swallow.icon";
2669 color: SLIDER_UNITS_TEXT_COLOR_INC;
2671 font: "SLP:style=Medium";
2672 size: SLIDER_UNITS_TEXT_SIZE_INC;
2677 description { state: "visible" 0.0;
2678 inherit: "default" 0.0;
2683 part { name: "elm.swallow.end";
2686 description { state: "default" 0.0;
2691 to_y: "elm.swallow.bar";
2695 to_y: "elm.swallow.bar";
2698 description { state: "visible" 0.0;
2699 inherit: "default" 0.0;
2702 aspect_preference: VERTICAL;
2705 part { name: "units";
2708 description { state: "default" 0.0;
2714 description { state: "visible" 0.0;
2715 inherit: "default" 0.0;
2719 part { name: "elm.units";
2723 description { state: "default" 0.0;
2727 rel1.to_x: "elm.swallow.end";
2728 rel2.relative: 0.0 1.0;
2729 rel2.to_x: "elm.swallow.end";
2730 color: SLIDER_UNITS_TEXT_COLOR_INC;
2732 font: "SLP:style=Bold";
2733 size: SLIDER_UNITS_TEXT_SIZE_INC;
2738 description { state: "visible" 0.0;
2739 inherit: "default" 0.0;
2745 part { name: "elm.dragable.slider";
2747 source: "elm/slider/horizontal/indicator/default";
2755 description { state: "default" 0.0;
2756 min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
2762 part { name: "disabler";
2767 description { state: "default" 0.0;
2770 color: SLIDER_DISABLER_PART_COLOR_INC;
2772 description { state: "disabled" 0.0;
2773 inherit: "default" 0.0;
2779 program { name: "text_show";
2780 signal: "elm,state,text,visible";
2782 action: STATE_SET "visible" 0.0;
2785 program { name: "text_hide";
2786 signal: "elm,state,text,hidden";
2788 action: STATE_SET "default" 0.0;
2791 program { name: "icon_show";
2792 signal: "elm,state,icon,visible";
2794 action: STATE_SET "visible" 0.0;
2795 target: "elm.swallow.icon";
2797 program { name: "icon_hide";
2798 signal: "elm,state,icon,hidden";
2800 action: STATE_SET "default" 0.0;
2801 target: "elm.swallow.icon";
2803 program { name: "end_show";
2804 signal: "elm,state,end,visible";
2806 action: STATE_SET "visible" 0.0;
2807 target: "elm.swallow.end";
2809 program { name: "end_hide";
2810 signal: "elm,state,end,hidden";
2812 action: STATE_SET "default" 0.0;
2813 target: "elm.swallow.end";
2815 program { name: "units_show";
2816 signal: "elm,state,units,visible";
2818 action: STATE_SET "visible" 0.0;
2819 target: "elm.units";
2822 program { name: "units_hide";
2823 signal: "elm,state,units,hidden";
2825 action: STATE_SET "default" 0.0;
2826 target: "elm.units";
2829 program { name: "invert_on";
2830 signal: "elm,state,inverted,on";
2836 program { name: "invert_off";
2837 signal: "elm,state,inverted,off";
2843 program { name: "val_show";
2844 signal: "mouse,down,*";
2845 source: "elm.dragable.slider";
2850 program { name: "val_hide";
2851 signal: "mouse,up,*";
2852 source: "elm.dragable.slider";
2857 program { name: "slider_disable";
2858 signal: "elm,state,disabled";
2860 action: STATE_SET "disabled" 0.0;
2863 program { name: "slider_enable";
2864 signal: "elm,state,enabled";
2866 action: STATE_SET "default" 0.0;
2872 group { name: "elm/slider/horizontal/expanded_indicator_button";
2873 inherit: "elm/slider/horizontal/default";
2875 public invert_on = 0;
2876 public set_invert_on() {
2877 set_state(PART:"level", "inverted", 0.0);
2878 set_state(PART:"level2", "inverted", 0.0);
2879 set_int(invert_on, 1);
2881 public set_invert_off() {
2882 set_state(PART:"level", "default", 0.0);
2883 set_state(PART:"level2", "default", 0.0);
2884 set_int(invert_on, 0);
2886 public thumb_down() {
2887 if(get_int(invert_on) == 0)
2888 set_state(PART:"level", "pressed", 0.0);
2889 else if(get_int(invert_on) == 1)
2890 set_state(PART:"level2", "pressed", 0.0);
2893 if(get_int(invert_on) == 0)
2894 set_state(PART:"level", "default", 0.0);
2895 else if(get_int(invert_on) == 1)
2896 set_state(PART:"level2", "inverted", 0.0);
2900 part { name: "elm.dragable.slider";
2902 source: "elm/slider/horizontal/indicator/expanded_indicator_button";
2910 description { state: "default" 0.0;
2911 min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
2927 group { name: "elm/slider/horizontal/indicator/expanded_indicator_button";
2928 inherit: "elm/slider/horizontal/indicator/default";
2930 part { name: "button_events";
2934 description { state: "default" 0.0;
2936 min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
2939 aspect_preference: VERTICAL;