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;
469 description { state: "disabled" 0.0;
470 inherit: "default" 0.0;
474 part { name: "button0";
477 description { state: "default" 0.0;
479 min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
480 max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
490 normal: "00_slider_handle.png";
495 description { state: "disabled" 0.0;
496 inherit: "default" 0.0;
498 normal: "00_slider_handle_dim.png";
502 part { name: "elm.indicator";
506 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;
540 target: "button_events";
542 program { name: "slider_enable";
543 signal: "elm,state,enabled";
545 action: STATE_SET "default" 0.0;
547 target: "button_events";
553 group { name: "elm/slider/horizontal/volume";
555 image: "00_volume_bg.png" COMP;
556 image: "00_volume_01.png" COMP;
557 image: "00_volume_02.png" COMP;
558 image: "00_volume_03.png" COMP;
559 image: "00_volume_04.png" COMP;
560 image: "00_volume_05.png" COMP;
561 image: "00_volume_06.png" COMP;
562 image: "00_volume_07.png" COMP;
563 image: "00_volume_08.png" COMP;
564 image: "00_volume_09.png" COMP;
565 image: "00_volume_10.png" COMP;
566 image: "00_volume_11.png" COMP;
567 image: "00_volume_12.png" COMP;
568 image: "00_volume_13.png" COMP;
569 image: "00_volume_14.png" COMP;
572 public volume_state_change(){
573 new Float:x, Float:y;
574 get_drag(PART:"elm.dragable.slider", x, y);
576 set_state(PART:"base", "default", 0.0);
578 set_state(PART:"base", "volume_01", 0.0);
579 else if(x < 0.1666666)
580 set_state(PART:"base", "volume_02", 0.0);
581 else if(x < 0.2333333)
582 set_state(PART:"base", "volume_03", 0.0);
584 set_state(PART:"base", "volume_04", 0.0);
585 else if(x < 0.3666666)
586 set_state(PART:"base", "volume_05", 0.0);
587 else if(x < 0.4333333)
588 set_state(PART:"base", "volume_06", 0.0);
590 set_state(PART:"base", "volume_07", 0.0);
591 else if(x < 0.5666666)
592 set_state(PART:"base", "volume_08", 0.0);
593 else if(x < 0.6333333)
594 set_state(PART:"base", "volume_09", 0.0);
596 set_state(PART:"base", "volume_10", 0.0);
597 else if(x < 0.7666666)
598 set_state(PART:"base", "volume_11", 0.0);
599 else if(x < 0.8333333)
600 set_state(PART:"base", "volume_12", 0.0);
602 set_state(PART:"base", "volume_13", 0.0);
604 set_state(PART:"base", "volume_14", 0.0);
611 description { state: "default" 0.0;
620 image.normal: "00_volume_bg.png";
622 #define SLIDER_BG_PART(part_number)\
624 state: "volume_"part_number 0.0; \
625 inherit: "default" 0.0; \
626 image.normal: "00_volume_"part_number".png"; \
647 description { state: "default" 0.0;
649 rel1.to: "elm.swallow.bar";
650 rel2.to: "elm.swallow.bar";
654 part { name: "elm.swallow.bar";
657 description { state: "default" 0.0;
662 to_x: "bar_left_padding";
666 to_x: "bar_right_padding";
672 name: "bar_left_padding";
676 state: "default" 0.0;
692 name: "bar_right_padding";
696 state: "default" 0.0;
711 part { name: "elm.swallow.icon";
714 description { state: "default" 0.0;
718 to_y: "elm.swallow.bar";
722 to_y: "elm.swallow.bar";
725 description { state: "visible" 0.0;
726 inherit: "default" 0.0;
729 aspect_preference: VERTICAL;
732 part { name: "elm.text";
736 description { state: "default" 0.0;
740 rel1.to_x: "elm.swallow.icon";
741 rel1.relative: 1.0 0.0;
743 rel2.to_x: "elm.swallow.icon";
744 rel2.relative: 1.0 1.0;
746 color: 164 160 149 255;
748 font: "SLP:style=Bold";
754 description { state: "visible" 0.0;
755 inherit: "default" 0.0;
762 part { name: "elm.swallow.end";
765 description { state: "default" 0.0;
770 to_y: "elm.swallow.bar";
774 to_y: "elm.swallow.bar";
777 description { state: "visible" 0.0;
778 inherit: "default" 0.0;
781 aspect_preference: VERTICAL;
784 part { name: "units";
787 description { state: "default" 0.0;
794 // normal: "sl_units.png";
799 description { state: "visible" 0.0;
800 inherit: "default" 0.0;
804 part { name: "elm.units";
808 description { state: "default" 0.0;
812 rel1.relative: 0.0 0.0;
814 rel1.to_x: "elm.swallow.end";
815 rel2.relative: 0.0 1.0;
817 rel2.to_x: "elm.swallow.end";
818 color: 164 160 149 255;
820 font: "SLP:style=Bold";
826 description { state: "visible" 0.0;
827 inherit: "default" 0.0;
835 part { name: "elm.dragable.slider";
844 description { state: "default" 0.0;
860 program { name: "text_show";
861 signal: "elm,state,text,visible";
863 action: STATE_SET "visible" 0.0;
866 program { name: "text_hide";
867 signal: "elm,state,text,hidden";
869 action: STATE_SET "default" 0.0;
872 program { name: "icon_show";
873 signal: "elm,state,icon,visible";
875 action: STATE_SET "visible" 0.0;
876 target: "elm.swallow.icon";
878 program { name: "icon_hide";
879 signal: "elm,state,icon,hidden";
881 action: STATE_SET "default" 0.0;
882 target: "elm.swallow.icon";
884 program { name: "end_show";
885 signal: "elm,state,end,visible";
887 action: STATE_SET "visible" 0.0;
888 target: "elm.swallow.end";
890 program { name: "end_hide";
891 signal: "elm,state,end,hidden";
893 action: STATE_SET "default" 0.0;
894 target: "elm.swallow.end";
896 program { name: "units_show";
897 signal: "elm,state,units,visible";
899 action: STATE_SET "visible" 0.0;
903 program { name: "units_hide";
904 signal: "elm,state,units,hidden";
906 action: STATE_SET "default" 0.0;
910 program { name: "volume_state_change";
911 signal: "elm,state,drag";
914 volume_state_change()
920 group { name: "elm/slider/vertical/volume";
922 image: "00_volume_00_ver.png" COMP;
923 image: "00_volume_01_ver.png" COMP;
924 image: "00_volume_02_ver.png" COMP;
925 image: "00_volume_03_ver.png" COMP;
926 image: "00_volume_04_ver.png" COMP;
927 image: "00_volume_05_ver.png" COMP;
928 image: "00_volume_06_ver.png" COMP;
929 image: "00_volume_07_ver.png" COMP;
930 image: "00_volume_08_ver.png" COMP;
931 image: "00_volume_09_ver.png" COMP;
932 image: "00_volume_10_ver.png" COMP;
933 image: "00_volume_11_ver.png" COMP;
934 image: "00_volume_12_ver.png" COMP;
935 image: "00_volume_13_ver.png" COMP;
936 image: "00_volume_14_ver.png" COMP;
939 public volume_state_change(){
940 new Float:x, Float:y;
941 get_drag(PART:"elm.dragable.slider", x, y);
943 set_state(PART:"base", "volume_14", 0.0);
944 else if(y <= 0.1666666)
945 set_state(PART:"base", "volume_13", 0.0);
946 else if(y <= 0.2333333)
947 set_state(PART:"base", "volume_12", 0.0);
949 set_state(PART:"base", "volume_11", 0.0);
950 else if(y <= 0.3666666)
951 set_state(PART:"base", "volume_10", 0.0);
952 else if(y <= 0.4333333)
953 set_state(PART:"base", "volume_09", 0.0);
955 set_state(PART:"base", "volume_08", 0.0);
956 else if(y <= 0.5666666)
957 set_state(PART:"base", "volume_07", 0.0);
958 else if(y <= 0.6333333)
959 set_state(PART:"base", "volume_06", 0.0);
961 set_state(PART:"base", "volume_05", 0.0);
962 else if(y <= 0.7666666)
963 set_state(PART:"base", "volume_04", 0.0);
964 else if(y <= 0.8333333)
965 set_state(PART:"base", "volume_03", 0.0);
967 set_state(PART:"base", "volume_02", 0.0);
968 else if(y <= 0.9666666)
969 set_state(PART:"base", "volume_01", 0.0);
971 set_state(PART:"base", "default", 0.0);
977 description { state: "default" 0.0;
987 image.normal: "00_volume_00_ver.png";
989 #define SLIDER_VER_BG_PART(part_number)\
991 state: "volume_"part_number 0.0; \
992 inherit: "default" 0.0; \
993 image.normal: "00_volume_"part_number"_ver.png"; \
995 SLIDER_VER_BG_PART(01)
996 SLIDER_VER_BG_PART(02)
997 SLIDER_VER_BG_PART(03)
998 SLIDER_VER_BG_PART(04)
999 SLIDER_VER_BG_PART(05)
1000 SLIDER_VER_BG_PART(06)
1001 SLIDER_VER_BG_PART(07)
1002 SLIDER_VER_BG_PART(08)
1003 SLIDER_VER_BG_PART(09)
1004 SLIDER_VER_BG_PART(10)
1005 SLIDER_VER_BG_PART(11)
1006 SLIDER_VER_BG_PART(12)
1007 SLIDER_VER_BG_PART(13)
1008 SLIDER_VER_BG_PART(14)
1014 description { state: "default" 0.0;
1016 rel1.to: "elm.swallow.bar";
1017 rel2.to: "elm.swallow.bar";
1021 part { name: "elm.swallow.bar";
1024 description { state: "default" 0.0;
1029 to_y: "bar_top_padding";
1033 to_y: "bar_bottom_padding";
1039 name: "bar_top_padding";
1043 state: "default" 0.0;
1059 name: "bar_bottom_padding";
1062 state: "default" 0.0;
1077 part { name: "elm.swallow.icon";
1080 description { state: "default" 0.0;
1084 to_x: "elm.swallow.bar";
1088 to_x: "elm.swallow.bar";
1091 description { state: "visible" 0.0;
1092 inherit: "default" 0.0;
1095 aspect_preference: HORIZONTAL;
1098 part { name: "elm.text";
1102 description { state: "default" 0.0;
1106 rel1.to_y: "elm.swallow.icon";
1107 rel1.relative: 0.0 1.0;
1108 rel2.to_y: "elm.swallow.icon";
1109 rel2.relative: 1.0 1.0;
1110 color: 164 160 149 255;
1112 font: "SLP:style=Bold";
1118 description { state: "visible" 0.0;
1119 inherit: "default" 0.0;
1124 part { name: "elm.swallow.end";
1127 description { state: "default" 0.0;
1132 to_x: "elm.swallow.bar";
1136 to_x: "elm.swallow.bar";
1139 description { state: "visible" 0.0;
1140 inherit: "default" 0.0;
1143 aspect_preference: HORIZONTAL;
1146 part { name: "units";
1149 description { state: "default" 0.0;
1155 description { state: "visible" 0.0;
1156 inherit: "default" 0.0;
1160 part { name: "elm.units";
1164 description { state: "default" 0.0;
1168 rel1.relative: 0.0 0.0;
1169 rel1.to_y: "elm.swallow.end";
1170 rel2.relative: 1.0 0.0;
1171 rel2.to_y: "elm.swallow.end";
1172 color: 164 160 149 255;
1174 font: "SLP:style=Bold";
1180 description { state: "visible" 0.0;
1181 inherit: "default" 0.0;
1189 part { name: "elm.dragable.slider";
1198 description { state: "default" 0.0;
1214 program { name: "text_show";
1215 signal: "elm,state,text,visible";
1217 action: STATE_SET "visible" 0.0;
1220 program { name: "text_hide";
1221 signal: "elm,state,text,hidden";
1223 action: STATE_SET "default" 0.0;
1226 program { name: "icon_show";
1227 signal: "elm,state,icon,visible";
1229 action: STATE_SET "visible" 0.0;
1230 target: "elm.swallow.icon";
1232 program { name: "icon_hide";
1233 signal: "elm,state,icon,hidden";
1235 action: STATE_SET "default" 0.0;
1236 target: "elm.swallow.icon";
1238 program { name: "end_show";
1239 signal: "elm,state,end,visible";
1241 action: STATE_SET "visible" 0.0;
1242 target: "elm.swallow.end";
1244 program { name: "end_hide";
1245 signal: "elm,state,end,hidden";
1247 action: STATE_SET "default" 0.0;
1248 target: "elm.swallow.end";
1250 program { name: "units_show";
1251 signal: "elm,state,units,visible";
1253 action: STATE_SET "visible" 0.0;
1254 target: "elm.units";
1257 program { name: "units_hide";
1258 signal: "elm,state,units,hidden";
1260 action: STATE_SET "default" 0.0;
1261 target: "elm.units";
1264 program { name: "volume_state_change";
1265 signal: "elm,state,drag";
1268 volume_state_change()
1274 group { name: "elm/slider/horizontal/ebook";
1276 image: "00_winset_list_progress_bg.png" COMP;
1277 image: "00_winset_list_progress_bar.png" COMP;
1278 image: "00_winset_list_progress_bar_pressed.png" COMP;
1279 image: "00_ebook_slider_handle.png" COMP;
1280 image: "00_ebook_slider_handle_press.png" COMP;
1283 public value_hide = 0;
1284 public invert_on = 0;
1285 public set_value_show() {
1286 set_int(value_hide, 0);
1287 set_state(PART:"elm.indicator", "default", 0.0);
1289 public set_value_hide() {
1290 set_int(value_hide, 1);
1291 set_state(PART:"elm.indicator", "hide", 0.0);
1293 public set_invert_on() {
1294 set_state(PART:"level", "inverted", 0.0);
1295 set_state(PART:"level2", "inverted", 0.0);
1296 set_int(invert_on, 1);
1298 public set_invert_off() {
1299 set_state(PART:"level", "default", 0.0);
1300 set_state(PART:"level2", "default", 0.0);
1301 set_int(invert_on, 0);
1303 public thumb_down() {
1304 if(get_int(value_hide) == 1) {
1305 set_state(PART:"elm.indicator", "hide", 0.0);
1306 set_state(PART:"button0", "visible", 0.0);
1308 set_state(PART:"elm.indicator", "visible", 0.0);
1309 set_state(PART:"button0", "visible", 0.0);
1311 if(get_int(invert_on) == 0)
1312 set_state(PART:"level", "pressed", 0.0);
1313 else if(get_int(invert_on) == 1)
1314 set_state(PART:"level2", "pressed", 0.0);
1317 if(get_int(value_hide) == 1)
1318 set_state(PART:"elm.indicator", "hide", 0.0);
1320 set_state(PART:"elm.indicator", "default", 0.0);
1321 if(get_int(invert_on) == 0)
1322 set_state(PART:"level", "default", 0.0);
1323 else if(get_int(invert_on) == 1)
1324 set_state(PART:"level2", "inverted", 0.0);
1325 set_state(PART:"button0", "default", 0.0);
1329 part { name: "base";
1332 description { state: "default" 0.0;
1333 max: 99999 SLIDER_EBOOK_HEIGHT_INC;
1334 min: 0 SLIDER_EBOOK_HEIGHT_INC;
1341 image.normal: "00_winset_list_progress_bg.png";
1342 image.border: 0 0 4 4;
1343 image.border_scale: 1;
1346 part { name: "level";
1349 description { state: "default" 0.0;
1354 to_x: "elm.dragable.slider";
1358 image.normal: "00_winset_list_progress_bar.png";
1359 image.border: 0 0 4 4;
1360 image.border_scale: 1;
1362 description { state: "inverted" 0.0;
1363 inherit: "default" 0.0;
1366 description { state: "pressed" 0.0;
1367 inherit: "default" 0.0;
1368 image.normal: "00_winset_list_progress_bar_pressed.png";
1369 image.border: 0 0 4 4;
1370 image.border_scale: 1;
1373 part { name: "level2";
1376 description { state: "default" 0.0;
1381 to_x: "elm.dragable.slider";
1386 image.normal: "00_winset_list_progress_bar.png";
1387 image.border: 0 0 4 4;
1388 image.border_scale: 1;
1390 description { state: "inverted" 0.0;
1391 inherit: "default" 0.0;
1394 description { state: "pressed" 0.0;
1395 inherit: "default" 0.0;
1397 image.normal: "00_winset_list_progress_bar_pressed.png";
1398 image.border: 0 0 4 4;
1399 image.border_scale: 1;
1406 description { state: "default" 0.0;
1408 rel1.to: "elm.swallow.bar";
1409 rel2.to: "elm.swallow.bar";
1414 part { name: "elm.swallow.bar";
1417 description { state: "default" 0.0;
1422 to_x: "bar_left_padding";
1427 to_x: "bar_right_padding";
1434 name: "bar_left_padding";
1438 state: "default" 0.0;
1454 name: "bar_right_padding";
1458 state: "default" 0.0;
1473 part { name: "elm.swallow.icon";
1476 description { state: "default" 0.0;
1480 to_y: "elm.swallow.bar";
1484 to_y: "elm.swallow.bar";
1487 description { state: "visible" 0.0;
1488 inherit: "default" 0.0;
1491 aspect_preference: VERTICAL;
1494 part { name: "elm.text";
1498 description { state: "default" 0.0;
1502 rel1.to_x: "elm.swallow.icon";
1503 rel1.relative: 1.0 0.0;
1505 rel2.to_x: "elm.swallow.icon";
1506 rel2.relative: 1.0 1.0;
1508 color: SLIDER_EBOOK_UNITS_TEXT_COLOR_INC;
1510 font: "SLP:style=Bold";
1511 size: SLIDER_EBOOK_UNITS_TEXT_SIZE_INC;
1516 description { state: "visible" 0.0;
1517 inherit: "default" 0.0;
1524 part { name: "elm.swallow.end";
1527 description { state: "default" 0.0;
1532 to_y: "elm.swallow.bar";
1536 to_y: "elm.swallow.bar";
1539 description { state: "visible" 0.0;
1540 inherit: "default" 0.0;
1543 aspect_preference: VERTICAL;
1546 part { name: "units";
1549 description { state: "default" 0.0;
1556 // normal: "sl_units.png";
1561 description { state: "visible" 0.0;
1562 inherit: "default" 0.0;
1566 part { name: "elm.units";
1570 description { state: "default" 0.0;
1574 rel1.relative: 0.0 0.0;
1576 rel1.to_x: "elm.swallow.end";
1577 rel2.relative: 0.0 1.0;
1579 rel2.to_x: "elm.swallow.end";
1580 color: SLIDER_EBOOK_UNITS_TEXT_COLOR_INC;
1582 font: "SLP:style=Bold";
1583 size: SLIDER_EBOOK_UNITS_TEXT_SIZE_INC;
1588 description { state: "visible" 0.0;
1589 inherit: "default" 0.0;
1597 part { name: "elm.dragable.slider";
1606 description { state: "default" 0.0;
1607 min: SLIDER_EBOOK_INDICATOR_WIDTH_INC SLIDER_EBOOK_INDICATOR_HEIGHT_INC;
1620 part { name: "button0";
1623 description { state: "default" 0.0;
1625 min: SLIDER_EBOOK_INDICATOR_WIDTH_INC SLIDER_EBOOK_INDICATOR_HEIGHT_INC;
1626 max: SLIDER_EBOOK_INDICATOR_WIDTH_INC SLIDER_EBOOK_INDICATOR_HEIGHT_INC;
1627 rel1.to: "elm.dragable.slider";
1628 rel2.to: "elm.dragable.slider";
1630 normal: "00_ebook_slider_handle.png";
1631 border: 12 12 12 12;
1635 description { state: "visible" 0.0;
1636 inherit: "default" 0.0;
1638 normal: "00_ebook_slider_handle_press.png";
1642 part { name: "popup";
1645 description { state: "default" 0.0;
1657 // normal: "00_slider_popup_bg.png";
1658 border: 13 21 10 22;
1663 description { state: "visible" 0.0;
1664 inherit: "default" 0.0;
1668 part { name: "elm.indicator";
1671 // effect: SOFT_SHADOW;
1673 description { state: "default" 0.0;
1687 color: SLIDER_EBOOK_INDICATOR_TEXT_COLOR_INC;
1690 font: "SLP:style=Bold";
1691 size: SLIDER_EBOOK_INDICATOR_DEFAULT_TEXT_SIZE_INC;
1696 description { state: "visible" 0.0;
1697 inherit: "default" 0.0;
1699 color: SLIDER_EBOOK_INDICATOR_TEXT_COLOR_INC;
1700 text.size: SLIDER_EBOOK_INDICATOR_DRAG_TEXT_SIZE_INC;
1707 description { state: "hide" 0.0;
1708 inherit: "default" 0.0;
1714 program { name: "text_show";
1715 signal: "elm,state,text,visible";
1717 action: STATE_SET "visible" 0.0;
1720 program { name: "text_hide";
1721 signal: "elm,state,text,hidden";
1723 action: STATE_SET "default" 0.0;
1726 program { name: "icon_show";
1727 signal: "elm,state,icon,visible";
1729 action: STATE_SET "visible" 0.0;
1730 target: "elm.swallow.icon";
1732 program { name: "icon_hide";
1733 signal: "elm,state,icon,hidden";
1735 action: STATE_SET "default" 0.0;
1736 target: "elm.swallow.icon";
1738 program { name: "end_show";
1739 signal: "elm,state,end,visible";
1741 action: STATE_SET "visible" 0.0;
1742 target: "elm.swallow.end";
1744 program { name: "end_hide";
1745 signal: "elm,state,end,hidden";
1747 action: STATE_SET "default" 0.0;
1748 target: "elm.swallow.end";
1750 program { name: "units_show";
1751 signal: "elm,state,units,visible";
1753 action: STATE_SET "visible" 0.0;
1754 target: "elm.units";
1757 program { name: "units_hide";
1758 signal: "elm,state,units,hidden";
1760 action: STATE_SET "default" 0.0;
1761 target: "elm.units";
1764 program { name: "invert_on";
1765 signal: "elm,state,inverted,on";
1771 program { name: "invert_off";
1772 signal: "elm,state,inverted,off";
1778 program { name: "set_val_show";
1779 signal: "elm,state,val,show";
1785 program { name: "set_val_hide";
1786 signal: "elm,state,val,hide";
1792 program { name: "val_show";
1793 signal: "mouse,down,*";
1794 source: "elm.dragable.slider";
1799 program { name: "val_hide";
1800 signal: "mouse,up,*";
1801 source: "elm.dragable.slider";
1809 group { name: "elm/slider/vertical/volume7";
1811 image: "00_volume7_00_ver.png" COMP;
1812 image: "00_volume7_01_ver.png" COMP;
1813 image: "00_volume7_02_ver.png" COMP;
1814 image: "00_volume7_03_ver.png" COMP;
1815 image: "00_volume7_04_ver.png" COMP;
1816 image: "00_volume7_05_ver.png" COMP;
1817 image: "00_volume7_06_ver.png" COMP;
1818 image: "00_volume7_07_ver.png" COMP;
1821 public volume_state_change(){
1822 new Float:x, Float:y;
1823 get_drag(PART:"elm.dragable.slider", x, y);
1825 set_state(PART:"base", "volume_07", 0.0);
1826 else if(y <= 0.3125)
1827 set_state(PART:"base", "volume_06", 0.0);
1828 else if(y <= 0.4375)
1829 set_state(PART:"base", "volume_05", 0.0);
1830 else if(y <= 0.5625)
1831 set_state(PART:"base", "volume_04", 0.0);
1832 else if(y <= 0.6875)
1833 set_state(PART:"base", "volume_03", 0.0);
1834 else if(y <= 0.8125)
1835 set_state(PART:"base", "volume_02", 0.0);
1836 else if(y <= 0.9375)
1837 set_state(PART:"base", "volume_01", 0.0);
1839 set_state(PART:"base", "default", 0.0);
1843 part { name: "base";
1845 description { state: "default" 0.0;
1855 image.normal: "00_volume7_00_ver.png";
1857 #define SLIDER7_VER_BG_PART(part_number)\
1859 state: "volume_"part_number 0.0; \
1860 inherit: "default" 0.0; \
1861 image.normal: "00_volume7_"part_number"_ver.png"; \
1863 SLIDER7_VER_BG_PART(01)
1864 SLIDER7_VER_BG_PART(02)
1865 SLIDER7_VER_BG_PART(03)
1866 SLIDER7_VER_BG_PART(04)
1867 SLIDER7_VER_BG_PART(05)
1868 SLIDER7_VER_BG_PART(06)
1869 SLIDER7_VER_BG_PART(07)
1875 description { state: "default" 0.0;
1877 rel1.to: "elm.swallow.bar";
1878 rel2.to: "elm.swallow.bar";
1882 part { name: "elm.swallow.bar";
1885 description { state: "default" 0.0;
1892 name: "bar_top_padding";
1896 state: "default" 0.0;
1912 name: "bar_bottom_padding";
1915 state: "default" 0.0;
1930 part { name: "elm.swallow.icon";
1933 description { state: "default" 0.0;
1937 to_x: "elm.swallow.bar";
1941 to_x: "elm.swallow.bar";
1944 description { state: "visible" 0.0;
1945 inherit: "default" 0.0;
1948 aspect_preference: HORIZONTAL;
1951 part { name: "elm.text";
1955 description { state: "default" 0.0;
1959 rel1.to_y: "elm.swallow.icon";
1960 rel1.relative: 0.0 1.0;
1961 rel2.to_y: "elm.swallow.icon";
1962 rel2.relative: 1.0 1.0;
1963 color: 164 160 149 255;
1965 font: "SLP:style=Bold";
1971 description { state: "visible" 0.0;
1972 inherit: "default" 0.0;
1977 part { name: "elm.swallow.end";
1980 description { state: "default" 0.0;
1985 to_x: "elm.swallow.bar";
1989 to_x: "elm.swallow.bar";
1992 description { state: "visible" 0.0;
1993 inherit: "default" 0.0;
1996 aspect_preference: HORIZONTAL;
1999 part { name: "units";
2002 description { state: "default" 0.0;
2008 description { state: "visible" 0.0;
2009 inherit: "default" 0.0;
2013 part { name: "elm.units";
2017 description { state: "default" 0.0;
2021 rel1.relative: 0.0 0.0;
2022 rel1.to_y: "elm.swallow.end";
2023 rel2.relative: 1.0 0.0;
2024 rel2.to_y: "elm.swallow.end";
2025 color: 164 160 149 255;
2027 font: "SLP:style=Bold";
2033 description { state: "visible" 0.0;
2034 inherit: "default" 0.0;
2042 part { name: "elm.dragable.slider";
2051 description { state: "default" 0.0;
2067 program { name: "text_show";
2068 signal: "elm,state,text,visible";
2070 action: STATE_SET "visible" 0.0;
2073 program { name: "text_hide";
2074 signal: "elm,state,text,hidden";
2076 action: STATE_SET "default" 0.0;
2079 program { name: "icon_show";
2080 signal: "elm,state,icon,visible";
2082 action: STATE_SET "visible" 0.0;
2083 target: "elm.swallow.icon";
2085 program { name: "icon_hide";
2086 signal: "elm,state,icon,hidden";
2088 action: STATE_SET "default" 0.0;
2089 target: "elm.swallow.icon";
2091 program { name: "end_show";
2092 signal: "elm,state,end,visible";
2094 action: STATE_SET "visible" 0.0;
2095 target: "elm.swallow.end";
2097 program { name: "end_hide";
2098 signal: "elm,state,end,hidden";
2100 action: STATE_SET "default" 0.0;
2101 target: "elm.swallow.end";
2103 program { name: "units_show";
2104 signal: "elm,state,units,visible";
2106 action: STATE_SET "visible" 0.0;
2107 target: "elm.units";
2110 program { name: "units_hide";
2111 signal: "elm,state,units,hidden";
2113 action: STATE_SET "default" 0.0;
2114 target: "elm.units";
2117 program { name: "volume_state_change";
2118 signal: "elm,state,drag";
2121 volume_state_change()
2127 group { name: "elm/slider/vertical/volume15";
2129 image: "00_volume15_00_ver.png" COMP;
2130 image: "00_volume15_01_ver.png" COMP;
2131 image: "00_volume15_02_ver.png" COMP;
2132 image: "00_volume15_03_ver.png" COMP;
2133 image: "00_volume15_04_ver.png" COMP;
2134 image: "00_volume15_05_ver.png" COMP;
2135 image: "00_volume15_06_ver.png" COMP;
2136 image: "00_volume15_07_ver.png" COMP;
2137 image: "00_volume15_08_ver.png" COMP;
2138 image: "00_volume15_09_ver.png" COMP;
2139 image: "00_volume15_10_ver.png" COMP;
2140 image: "00_volume15_11_ver.png" COMP;
2141 image: "00_volume15_12_ver.png" COMP;
2142 image: "00_volume15_13_ver.png" COMP;
2143 image: "00_volume15_14_ver.png" COMP;
2144 image: "00_volume15_15_ver.png" COMP;
2147 public volume_state_change(){
2148 new Float:x, Float:y;
2149 get_drag(PART:"elm.dragable.slider", x, y);
2151 set_state(PART:"base", "volume_15", 0.0);
2152 else if(y <= 0.15625)
2153 set_state(PART:"base", "volume_14", 0.0);
2154 else if(y <= 0.21875)
2155 set_state(PART:"base", "volume_13", 0.0);
2156 else if(y <= 0.28125)
2157 set_state(PART:"base", "volume_12", 0.0);
2158 else if(y <= 0.34375)
2159 set_state(PART:"base", "volume_11", 0.0);
2160 else if(y <= 0.40625)
2161 set_state(PART:"base", "volume_10", 0.0);
2162 else if(y <= 0.46875)
2163 set_state(PART:"base", "volume_09", 0.0);
2164 else if(y <= 0.53125)
2165 set_state(PART:"base", "volume_08", 0.0);
2166 else if(y <= 0.59375)
2167 set_state(PART:"base", "volume_07", 0.0);
2168 else if(y <= 0.65625)
2169 set_state(PART:"base", "volume_06", 0.0);
2170 else if(y <= 0.71875)
2171 set_state(PART:"base", "volume_05", 0.0);
2172 else if(y <= 0.78125)
2173 set_state(PART:"base", "volume_04", 0.0);
2174 else if(y <= 0.84375)
2175 set_state(PART:"base", "volume_03", 0.0);
2176 else if(y <= 0.90625)
2177 set_state(PART:"base", "volume_02", 0.0);
2178 else if(y <= 0.96875)
2179 set_state(PART:"base", "volume_01", 0.0);
2181 set_state(PART:"base", "default", 0.0);
2185 part { name: "base";
2187 description { state: "default" 0.0;
2197 image.normal: "00_volume15_00_ver.png";
2199 #define SLIDER15_VER_BG_PART(part_number)\
2201 state: "volume_"part_number 0.0; \
2202 inherit: "default" 0.0; \
2203 image.normal: "00_volume15_"part_number"_ver.png"; \
2205 SLIDER15_VER_BG_PART(01)
2206 SLIDER15_VER_BG_PART(02)
2207 SLIDER15_VER_BG_PART(03)
2208 SLIDER15_VER_BG_PART(04)
2209 SLIDER15_VER_BG_PART(05)
2210 SLIDER15_VER_BG_PART(06)
2211 SLIDER15_VER_BG_PART(07)
2212 SLIDER15_VER_BG_PART(08)
2213 SLIDER15_VER_BG_PART(09)
2214 SLIDER15_VER_BG_PART(10)
2215 SLIDER15_VER_BG_PART(11)
2216 SLIDER15_VER_BG_PART(12)
2217 SLIDER15_VER_BG_PART(13)
2218 SLIDER15_VER_BG_PART(14)
2219 SLIDER15_VER_BG_PART(15)
2225 description { state: "default" 0.0;
2227 rel1.to: "elm.swallow.bar";
2228 rel2.to: "elm.swallow.bar";
2232 part { name: "elm.swallow.bar";
2235 description { state: "default" 0.0;
2241 part { name: "bar_top_padding";
2245 state: "default" 0.0;
2260 part { name: "bar_bottom_padding";
2263 state: "default" 0.0;
2278 part { name: "elm.swallow.icon";
2281 description { state: "default" 0.0;
2285 to_x: "elm.swallow.bar";
2289 to_x: "elm.swallow.bar";
2292 description { state: "visible" 0.0;
2293 inherit: "default" 0.0;
2296 aspect_preference: HORIZONTAL;
2299 part { name: "elm.text";
2303 description { state: "default" 0.0;
2307 rel1.to_y: "elm.swallow.icon";
2308 rel1.relative: 0.0 1.0;
2309 rel2.to_y: "elm.swallow.icon";
2310 rel2.relative: 1.0 1.0;
2311 color: 164 160 149 255;
2313 font: "SLP:style=Bold";
2319 description { state: "visible" 0.0;
2320 inherit: "default" 0.0;
2325 part { name: "elm.swallow.end";
2328 description { state: "default" 0.0;
2333 to_x: "elm.swallow.bar";
2337 to_x: "elm.swallow.bar";
2340 description { state: "visible" 0.0;
2341 inherit: "default" 0.0;
2344 aspect_preference: HORIZONTAL;
2347 part { name: "units";
2350 description { state: "default" 0.0;
2356 description { state: "visible" 0.0;
2357 inherit: "default" 0.0;
2361 part { name: "elm.units";
2365 description { state: "default" 0.0;
2369 rel1.relative: 0.0 0.0;
2370 rel1.to_y: "elm.swallow.end";
2371 rel2.relative: 1.0 0.0;
2372 rel2.to_y: "elm.swallow.end";
2373 color: 164 160 149 255;
2375 font: "SLP:style=Bold";
2381 description { state: "visible" 0.0;
2382 inherit: "default" 0.0;
2390 part { name: "elm.dragable.slider";
2399 description { state: "default" 0.0;
2415 program { name: "text_show";
2416 signal: "elm,state,text,visible";
2418 action: STATE_SET "visible" 0.0;
2421 program { name: "text_hide";
2422 signal: "elm,state,text,hidden";
2424 action: STATE_SET "default" 0.0;
2427 program { name: "icon_show";
2428 signal: "elm,state,icon,visible";
2430 action: STATE_SET "visible" 0.0;
2431 target: "elm.swallow.icon";
2433 program { name: "icon_hide";
2434 signal: "elm,state,icon,hidden";
2436 action: STATE_SET "default" 0.0;
2437 target: "elm.swallow.icon";
2439 program { name: "end_show";
2440 signal: "elm,state,end,visible";
2442 action: STATE_SET "visible" 0.0;
2443 target: "elm.swallow.end";
2445 program { name: "end_hide";
2446 signal: "elm,state,end,hidden";
2448 action: STATE_SET "default" 0.0;
2449 target: "elm.swallow.end";
2451 program { name: "units_show";
2452 signal: "elm,state,units,visible";
2454 action: STATE_SET "visible" 0.0;
2455 target: "elm.units";
2458 program { name: "units_hide";
2459 signal: "elm,state,units,hidden";
2461 action: STATE_SET "default" 0.0;
2462 target: "elm.units";
2465 program { name: "volume_state_change";
2466 signal: "elm,state,drag";
2469 volume_state_change()
2475 group { name: "elm/slider/horizontal/default";
2476 alias: "elm/slider/horizontal/disabled";
2478 image: "00_winset_list_progress_bg.png" COMP;
2479 image: "00_winset_list_progress_bar.png" COMP;
2480 image: "00_slider_bar_press.png" COMP;
2483 public invert_on = 0;
2484 public set_invert_on() {
2485 set_state(PART:"level", "inverted", 0.0);
2486 set_state(PART:"level2", "inverted", 0.0);
2487 set_int(invert_on, 1);
2489 public set_invert_off() {
2490 set_state(PART:"level", "default", 0.0);
2491 set_state(PART:"level2", "default", 0.0);
2492 set_int(invert_on, 0);
2494 public thumb_down() {
2495 if(get_int(invert_on) == 0)
2496 set_state(PART:"level", "pressed", 0.0);
2497 else if(get_int(invert_on) == 1)
2498 set_state(PART:"level2", "pressed", 0.0);
2501 if(get_int(invert_on) == 0)
2502 set_state(PART:"level", "default", 0.0);
2503 else if(get_int(invert_on) == 1)
2504 set_state(PART:"level2", "inverted", 0.0);
2508 part { name: "base";
2511 description { state: "default" 0.0;
2512 min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
2513 max: 99999 SLIDER_BASE_HEIGHT_INC;
2516 image.normal: "00_winset_list_progress_bg.png";
2517 image.border: 0 0 4 4;
2518 image.border_scale: 1;
2521 part { name: "level";
2524 description { state: "default" 0.0;
2529 to_x: "elm.dragable.slider";
2532 image.normal: "00_winset_list_progress_bar.png";
2533 image.border: 0 0 4 4;
2534 image.border_scale: 1;
2536 description { state: "inverted" 0.0;
2537 inherit: "default" 0.0;
2540 description { state: "pressed" 0.0;
2541 inherit: "default" 0.0;
2542 image.normal: "00_winset_list_progress_bar.png";
2545 part { name: "level2";
2548 description { state: "default" 0.0;
2553 to_x: "elm.dragable.slider";
2557 image.normal: "00_winset_list_progress_bg.png";
2558 image.border: 0 0 4 4;
2559 image.border_scale: 1;
2561 description { state: "inverted" 0.0;
2562 inherit: "default" 0.0;
2565 description { state: "pressed" 0.0;
2566 inherit: "default" 0.0;
2568 image.normal: "00_winset_list_progress_bg.png";
2575 description { state: "default" 0.0;
2577 rel1.to: "elm.swallow.bar";
2578 rel2.to: "elm.swallow.bar";
2581 part { name: "elm.swallow.bar";
2585 description { state: "default" 0.0;
2586 min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
2587 max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
2590 to_x: "bar_left_padding";
2594 to_x: "bar_right_padding";
2600 name: "bar_left_padding";
2604 state: "default" 0.0;
2620 name: "bar_right_padding";
2624 state: "default" 0.0;
2639 part { name: "elm.swallow.icon";
2642 description { state: "default" 0.0;
2646 to_y: "elm.swallow.bar";
2650 to_y: "elm.swallow.bar";
2653 description { state: "visible" 0.0;
2654 inherit: "default" 0.0;
2657 aspect_preference: VERTICAL;
2660 part { name: "elm.text";
2664 description { state: "default" 0.0;
2668 rel1.to_x: "elm.swallow.icon";
2669 rel1.relative: 1.0 0.0;
2670 rel2.to_x: "elm.swallow.icon";
2671 color: SLIDER_UNITS_TEXT_COLOR_INC;
2673 font: "SLP:style=Medium";
2674 size: SLIDER_UNITS_TEXT_SIZE_INC;
2679 description { state: "visible" 0.0;
2680 inherit: "default" 0.0;
2685 part { name: "elm.swallow.end";
2688 description { state: "default" 0.0;
2693 to_y: "elm.swallow.bar";
2697 to_y: "elm.swallow.bar";
2700 description { state: "visible" 0.0;
2701 inherit: "default" 0.0;
2704 aspect_preference: VERTICAL;
2707 part { name: "units";
2710 description { state: "default" 0.0;
2716 description { state: "visible" 0.0;
2717 inherit: "default" 0.0;
2721 part { name: "elm.units";
2725 description { state: "default" 0.0;
2729 rel1.to_x: "elm.swallow.end";
2730 rel2.relative: 0.0 1.0;
2731 rel2.to_x: "elm.swallow.end";
2732 color: SLIDER_UNITS_TEXT_COLOR_INC;
2734 font: "SLP:style=Bold";
2735 size: SLIDER_UNITS_TEXT_SIZE_INC;
2740 description { state: "visible" 0.0;
2741 inherit: "default" 0.0;
2747 part { name: "elm.dragable.slider";
2749 source: "elm/slider/horizontal/indicator/default";
2757 description { state: "default" 0.0;
2758 min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
2764 part { name: "disabler";
2769 description { state: "default" 0.0;
2772 color: SLIDER_DISABLER_PART_COLOR_INC;
2774 description { state: "disabled" 0.0;
2775 inherit: "default" 0.0;
2781 program { name: "text_show";
2782 signal: "elm,state,text,visible";
2784 action: STATE_SET "visible" 0.0;
2787 program { name: "text_hide";
2788 signal: "elm,state,text,hidden";
2790 action: STATE_SET "default" 0.0;
2793 program { name: "icon_show";
2794 signal: "elm,state,icon,visible";
2796 action: STATE_SET "visible" 0.0;
2797 target: "elm.swallow.icon";
2799 program { name: "icon_hide";
2800 signal: "elm,state,icon,hidden";
2802 action: STATE_SET "default" 0.0;
2803 target: "elm.swallow.icon";
2805 program { name: "end_show";
2806 signal: "elm,state,end,visible";
2808 action: STATE_SET "visible" 0.0;
2809 target: "elm.swallow.end";
2811 program { name: "end_hide";
2812 signal: "elm,state,end,hidden";
2814 action: STATE_SET "default" 0.0;
2815 target: "elm.swallow.end";
2817 program { name: "units_show";
2818 signal: "elm,state,units,visible";
2820 action: STATE_SET "visible" 0.0;
2821 target: "elm.units";
2824 program { name: "units_hide";
2825 signal: "elm,state,units,hidden";
2827 action: STATE_SET "default" 0.0;
2828 target: "elm.units";
2831 program { name: "invert_on";
2832 signal: "elm,state,inverted,on";
2838 program { name: "invert_off";
2839 signal: "elm,state,inverted,off";
2845 program { name: "val_show";
2846 signal: "mouse,down,*";
2847 source: "elm.dragable.slider";
2852 program { name: "val_hide";
2853 signal: "mouse,up,*";
2854 source: "elm.dragable.slider";
2859 program { name: "slider_disable";
2860 signal: "elm,state,disabled";
2862 action: STATE_SET "disabled" 0.0;
2865 program { name: "slider_enable";
2866 signal: "elm,state,enabled";
2868 action: STATE_SET "default" 0.0;
2874 group { name: "elm/slider/horizontal/expanded_indicator_button";
2875 inherit: "elm/slider/horizontal/default";
2877 public invert_on = 0;
2878 public set_invert_on() {
2879 set_state(PART:"level", "inverted", 0.0);
2880 set_state(PART:"level2", "inverted", 0.0);
2881 set_int(invert_on, 1);
2883 public set_invert_off() {
2884 set_state(PART:"level", "default", 0.0);
2885 set_state(PART:"level2", "default", 0.0);
2886 set_int(invert_on, 0);
2888 public thumb_down() {
2889 if(get_int(invert_on) == 0)
2890 set_state(PART:"level", "pressed", 0.0);
2891 else if(get_int(invert_on) == 1)
2892 set_state(PART:"level2", "pressed", 0.0);
2895 if(get_int(invert_on) == 0)
2896 set_state(PART:"level", "default", 0.0);
2897 else if(get_int(invert_on) == 1)
2898 set_state(PART:"level2", "inverted", 0.0);
2902 part { name: "elm.dragable.slider";
2904 source: "elm/slider/horizontal/indicator/expanded_indicator_button";
2912 description { state: "default" 0.0;
2913 min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
2929 group { name: "elm/slider/horizontal/indicator/expanded_indicator_button";
2930 inherit: "elm/slider/horizontal/indicator/default";
2932 part { name: "button_events";
2936 description { state: "default" 0.0;
2938 min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
2941 aspect_preference: VERTICAL;