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;
230 text_class: "slp_medium";
233 description { state: "visible" 0.0;
234 inherit: "default" 0.0;
241 part { name: "elm.swallow.end";
244 description { state: "default" 0.0;
249 to_y: "elm.swallow.bar";
253 to_y: "elm.swallow.bar";
256 description { state: "visible" 0.0;
257 inherit: "default" 0.0;
260 aspect_preference: VERTICAL;
263 part { name: "units";
266 description { state: "default" 0.0;
273 // normal: "sl_units.png";
278 description { state: "visible" 0.0;
279 inherit: "default" 0.0;
283 part { name: "elm.units";
287 description { state: "default" 0.0;
291 rel1.relative: 0.0 0.0;
293 rel1.to_x: "elm.swallow.end";
294 rel2.relative: 0.0 1.0;
296 rel2.to_x: "elm.swallow.end";
297 color: SLIDER_UNITS_TEXT_COLOR_INC;
299 font: "SLP:style=Bold";
300 size: SLIDER_UNITS_TEXT_SIZE_INC;
303 text_class: "slp_bold";
306 description { state: "visible" 0.0;
307 inherit: "default" 0.0;
315 part { name: "elm.dragable.slider";
317 source: "elm/slider/horizontal/indicator/tap_to_drag";
325 description { state: "default" 0.0;
326 min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
339 part { name: "disabler";
344 description { state: "default" 0.0;
348 color: SLIDER_DISABLER_PART_COLOR_INC;
350 description { state: "disabled" 0.0;
351 inherit: "default" 0.0;
357 program { name: "text_show";
358 signal: "elm,state,text,visible";
360 action: STATE_SET "visible" 0.0;
363 program { name: "text_hide";
364 signal: "elm,state,text,hidden";
366 action: STATE_SET "default" 0.0;
369 program { name: "icon_show";
370 signal: "elm,state,icon,visible";
372 action: STATE_SET "visible" 0.0;
373 target: "elm.swallow.icon";
375 program { name: "icon_hide";
376 signal: "elm,state,icon,hidden";
378 action: STATE_SET "default" 0.0;
379 target: "elm.swallow.icon";
381 program { name: "end_show";
382 signal: "elm,state,end,visible";
384 action: STATE_SET "visible" 0.0;
385 target: "elm.swallow.end";
387 program { name: "end_hide";
388 signal: "elm,state,end,hidden";
390 action: STATE_SET "default" 0.0;
391 target: "elm.swallow.end";
393 program { name: "units_show";
394 signal: "elm,state,units,visible";
396 action: STATE_SET "visible" 0.0;
400 program { name: "units_hide";
401 signal: "elm,state,units,hidden";
403 action: STATE_SET "default" 0.0;
407 program { name: "invert_on";
408 signal: "elm,state,inverted,on";
414 program { name: "invert_off";
415 signal: "elm,state,inverted,off";
421 program { name: "val_show";
422 signal: "mouse,down,*";
423 source: "elm.dragable.slider";
428 program { name: "val_hide";
429 signal: "mouse,up,*";
430 source: "elm.dragable.slider";
435 program { name: "slider_disable";
436 signal: "elm,state,disabled";
438 action: STATE_SET "disabled" 0.0;
441 program { name: "slider_enable";
442 signal: "elm,state,enabled";
444 action: STATE_SET "default" 0.0;
450 group { name: "elm/slider/horizontal/indicator/default";
451 alias: "elm/slider/horizontal/indicator/disabled";
452 alias: "elm/slider/vertical/indicator/default";
453 alias: "elm/slider/vertical/indicator/disabled";
454 alias: "elm/slider/horizontal/indicator/tap_to_drag";
456 image: "00_slider_handle.png" COMP;
457 image: "00_slider_handle_dim.png" COMP;
460 part { name: "button_events";
464 description { state: "default" 0.0;
466 min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
468 aspect_preference: VERTICAL;
471 description { state: "disabled" 0.0;
472 inherit: "default" 0.0;
476 part { name: "button0";
479 description { state: "default" 0.0;
481 min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
482 max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
492 normal: "00_slider_handle.png";
497 description { state: "disabled" 0.0;
498 inherit: "default" 0.0;
500 normal: "00_slider_handle_dim.png";
504 part { name: "elm.indicator";
508 description { state: "default" 0.0;
510 color: SLIDER_INDICATOR_TEXT_COLOR_INC;
512 font: "SLP:style=Medium";
513 size: SLIDER_INDICATOR_TEXT_SIZE_INC;
516 text_class: "slp_medium";
519 description { state: "hide" 0.0;
520 inherit: "default" 0.0;
526 program { name: "set_val_show";
527 signal: "elm,state,val,show";
529 action: STATE_SET "default" 0.0;
530 target: "elm.indicator";
532 program { name: "set_val_hide";
533 signal: "elm,state,val,hide";
535 action: STATE_SET "hide" 0.0;
536 target: "elm.indicator";
538 program { name: "slider_disable";
539 signal: "elm,state,disabled";
541 action: STATE_SET "disabled" 0.0;
543 target: "button_events";
545 program { name: "slider_enable";
546 signal: "elm,state,enabled";
548 action: STATE_SET "default" 0.0;
550 target: "button_events";
556 group { name: "elm/slider/horizontal/volume";
558 image: "00_volume_bg.png" COMP;
559 image: "00_volume_01.png" COMP;
560 image: "00_volume_02.png" COMP;
561 image: "00_volume_03.png" COMP;
562 image: "00_volume_04.png" COMP;
563 image: "00_volume_05.png" COMP;
564 image: "00_volume_06.png" COMP;
565 image: "00_volume_07.png" COMP;
566 image: "00_volume_08.png" COMP;
567 image: "00_volume_09.png" COMP;
568 image: "00_volume_10.png" COMP;
569 image: "00_volume_11.png" COMP;
570 image: "00_volume_12.png" COMP;
571 image: "00_volume_13.png" COMP;
572 image: "00_volume_14.png" COMP;
575 public volume_state_change(){
576 new Float:x, Float:y;
577 get_drag(PART:"elm.dragable.slider", x, y);
579 set_state(PART:"base", "default", 0.0);
581 set_state(PART:"base", "volume_01", 0.0);
582 else if(x < 0.1666666)
583 set_state(PART:"base", "volume_02", 0.0);
584 else if(x < 0.2333333)
585 set_state(PART:"base", "volume_03", 0.0);
587 set_state(PART:"base", "volume_04", 0.0);
588 else if(x < 0.3666666)
589 set_state(PART:"base", "volume_05", 0.0);
590 else if(x < 0.4333333)
591 set_state(PART:"base", "volume_06", 0.0);
593 set_state(PART:"base", "volume_07", 0.0);
594 else if(x < 0.5666666)
595 set_state(PART:"base", "volume_08", 0.0);
596 else if(x < 0.6333333)
597 set_state(PART:"base", "volume_09", 0.0);
599 set_state(PART:"base", "volume_10", 0.0);
600 else if(x < 0.7666666)
601 set_state(PART:"base", "volume_11", 0.0);
602 else if(x < 0.8333333)
603 set_state(PART:"base", "volume_12", 0.0);
605 set_state(PART:"base", "volume_13", 0.0);
607 set_state(PART:"base", "volume_14", 0.0);
614 description { state: "default" 0.0;
623 image.normal: "00_volume_bg.png";
625 #define SLIDER_BG_PART(part_number)\
627 state: "volume_"part_number 0.0; \
628 inherit: "default" 0.0; \
629 image.normal: "00_volume_"part_number".png"; \
650 description { state: "default" 0.0;
652 rel1.to: "elm.swallow.bar";
653 rel2.to: "elm.swallow.bar";
657 part { name: "elm.swallow.bar";
660 description { state: "default" 0.0;
665 to_x: "bar_left_padding";
669 to_x: "bar_right_padding";
675 name: "bar_left_padding";
679 state: "default" 0.0;
695 name: "bar_right_padding";
699 state: "default" 0.0;
714 part { name: "elm.swallow.icon";
717 description { state: "default" 0.0;
721 to_y: "elm.swallow.bar";
725 to_y: "elm.swallow.bar";
728 description { state: "visible" 0.0;
729 inherit: "default" 0.0;
732 aspect_preference: VERTICAL;
735 part { name: "elm.text";
739 description { state: "default" 0.0;
743 rel1.to_x: "elm.swallow.icon";
744 rel1.relative: 1.0 0.0;
746 rel2.to_x: "elm.swallow.icon";
747 rel2.relative: 1.0 1.0;
749 color: 164 160 149 255;
751 font: "SLP:style=Bold";
755 text_class: "slp_bold";
758 description { state: "visible" 0.0;
759 inherit: "default" 0.0;
766 part { name: "elm.swallow.end";
769 description { state: "default" 0.0;
774 to_y: "elm.swallow.bar";
778 to_y: "elm.swallow.bar";
781 description { state: "visible" 0.0;
782 inherit: "default" 0.0;
785 aspect_preference: VERTICAL;
788 part { name: "units";
791 description { state: "default" 0.0;
798 // normal: "sl_units.png";
803 description { state: "visible" 0.0;
804 inherit: "default" 0.0;
808 part { name: "elm.units";
812 description { state: "default" 0.0;
816 rel1.relative: 0.0 0.0;
818 rel1.to_x: "elm.swallow.end";
819 rel2.relative: 0.0 1.0;
821 rel2.to_x: "elm.swallow.end";
822 color: 164 160 149 255;
824 font: "SLP:style=Bold";
828 text_class: "slp_bold";
831 description { state: "visible" 0.0;
832 inherit: "default" 0.0;
840 part { name: "elm.dragable.slider";
849 description { state: "default" 0.0;
865 program { name: "text_show";
866 signal: "elm,state,text,visible";
868 action: STATE_SET "visible" 0.0;
871 program { name: "text_hide";
872 signal: "elm,state,text,hidden";
874 action: STATE_SET "default" 0.0;
877 program { name: "icon_show";
878 signal: "elm,state,icon,visible";
880 action: STATE_SET "visible" 0.0;
881 target: "elm.swallow.icon";
883 program { name: "icon_hide";
884 signal: "elm,state,icon,hidden";
886 action: STATE_SET "default" 0.0;
887 target: "elm.swallow.icon";
889 program { name: "end_show";
890 signal: "elm,state,end,visible";
892 action: STATE_SET "visible" 0.0;
893 target: "elm.swallow.end";
895 program { name: "end_hide";
896 signal: "elm,state,end,hidden";
898 action: STATE_SET "default" 0.0;
899 target: "elm.swallow.end";
901 program { name: "units_show";
902 signal: "elm,state,units,visible";
904 action: STATE_SET "visible" 0.0;
908 program { name: "units_hide";
909 signal: "elm,state,units,hidden";
911 action: STATE_SET "default" 0.0;
915 program { name: "volume_state_change";
916 signal: "elm,state,drag";
919 volume_state_change()
925 group { name: "elm/slider/vertical/volume";
927 image: "00_volume_00_ver.png" COMP;
928 image: "00_volume_01_ver.png" COMP;
929 image: "00_volume_02_ver.png" COMP;
930 image: "00_volume_03_ver.png" COMP;
931 image: "00_volume_04_ver.png" COMP;
932 image: "00_volume_05_ver.png" COMP;
933 image: "00_volume_06_ver.png" COMP;
934 image: "00_volume_07_ver.png" COMP;
935 image: "00_volume_08_ver.png" COMP;
936 image: "00_volume_09_ver.png" COMP;
937 image: "00_volume_10_ver.png" COMP;
938 image: "00_volume_11_ver.png" COMP;
939 image: "00_volume_12_ver.png" COMP;
940 image: "00_volume_13_ver.png" COMP;
941 image: "00_volume_14_ver.png" COMP;
944 public volume_state_change(){
945 new Float:x, Float:y;
946 get_drag(PART:"elm.dragable.slider", x, y);
948 set_state(PART:"base", "volume_14", 0.0);
949 else if(y <= 0.1666666)
950 set_state(PART:"base", "volume_13", 0.0);
951 else if(y <= 0.2333333)
952 set_state(PART:"base", "volume_12", 0.0);
954 set_state(PART:"base", "volume_11", 0.0);
955 else if(y <= 0.3666666)
956 set_state(PART:"base", "volume_10", 0.0);
957 else if(y <= 0.4333333)
958 set_state(PART:"base", "volume_09", 0.0);
960 set_state(PART:"base", "volume_08", 0.0);
961 else if(y <= 0.5666666)
962 set_state(PART:"base", "volume_07", 0.0);
963 else if(y <= 0.6333333)
964 set_state(PART:"base", "volume_06", 0.0);
966 set_state(PART:"base", "volume_05", 0.0);
967 else if(y <= 0.7666666)
968 set_state(PART:"base", "volume_04", 0.0);
969 else if(y <= 0.8333333)
970 set_state(PART:"base", "volume_03", 0.0);
972 set_state(PART:"base", "volume_02", 0.0);
973 else if(y <= 0.9666666)
974 set_state(PART:"base", "volume_01", 0.0);
976 set_state(PART:"base", "default", 0.0);
982 description { state: "default" 0.0;
992 image.normal: "00_volume_00_ver.png";
994 #define SLIDER_VER_BG_PART(part_number)\
996 state: "volume_"part_number 0.0; \
997 inherit: "default" 0.0; \
998 image.normal: "00_volume_"part_number"_ver.png"; \
1000 SLIDER_VER_BG_PART(01)
1001 SLIDER_VER_BG_PART(02)
1002 SLIDER_VER_BG_PART(03)
1003 SLIDER_VER_BG_PART(04)
1004 SLIDER_VER_BG_PART(05)
1005 SLIDER_VER_BG_PART(06)
1006 SLIDER_VER_BG_PART(07)
1007 SLIDER_VER_BG_PART(08)
1008 SLIDER_VER_BG_PART(09)
1009 SLIDER_VER_BG_PART(10)
1010 SLIDER_VER_BG_PART(11)
1011 SLIDER_VER_BG_PART(12)
1012 SLIDER_VER_BG_PART(13)
1013 SLIDER_VER_BG_PART(14)
1019 description { state: "default" 0.0;
1021 rel1.to: "elm.swallow.bar";
1022 rel2.to: "elm.swallow.bar";
1026 part { name: "elm.swallow.bar";
1029 description { state: "default" 0.0;
1034 to_y: "bar_top_padding";
1038 to_y: "bar_bottom_padding";
1044 name: "bar_top_padding";
1048 state: "default" 0.0;
1064 name: "bar_bottom_padding";
1067 state: "default" 0.0;
1082 part { name: "elm.swallow.icon";
1085 description { state: "default" 0.0;
1089 to_x: "elm.swallow.bar";
1093 to_x: "elm.swallow.bar";
1096 description { state: "visible" 0.0;
1097 inherit: "default" 0.0;
1100 aspect_preference: HORIZONTAL;
1103 part { name: "elm.text";
1107 description { state: "default" 0.0;
1111 rel1.to_y: "elm.swallow.icon";
1112 rel1.relative: 0.0 1.0;
1113 rel2.to_y: "elm.swallow.icon";
1114 rel2.relative: 1.0 1.0;
1115 color: 164 160 149 255;
1117 font: "SLP:style=Bold";
1121 text_class: "slp_bold";
1124 description { state: "visible" 0.0;
1125 inherit: "default" 0.0;
1130 part { name: "elm.swallow.end";
1133 description { state: "default" 0.0;
1138 to_x: "elm.swallow.bar";
1142 to_x: "elm.swallow.bar";
1145 description { state: "visible" 0.0;
1146 inherit: "default" 0.0;
1149 aspect_preference: HORIZONTAL;
1152 part { name: "units";
1155 description { state: "default" 0.0;
1161 description { state: "visible" 0.0;
1162 inherit: "default" 0.0;
1166 part { name: "elm.units";
1170 description { state: "default" 0.0;
1174 rel1.relative: 0.0 0.0;
1175 rel1.to_y: "elm.swallow.end";
1176 rel2.relative: 1.0 0.0;
1177 rel2.to_y: "elm.swallow.end";
1178 color: 164 160 149 255;
1180 font: "SLP:style=Bold";
1184 text_class: "slp_bold";
1187 description { state: "visible" 0.0;
1188 inherit: "default" 0.0;
1196 part { name: "elm.dragable.slider";
1205 description { state: "default" 0.0;
1221 program { name: "text_show";
1222 signal: "elm,state,text,visible";
1224 action: STATE_SET "visible" 0.0;
1227 program { name: "text_hide";
1228 signal: "elm,state,text,hidden";
1230 action: STATE_SET "default" 0.0;
1233 program { name: "icon_show";
1234 signal: "elm,state,icon,visible";
1236 action: STATE_SET "visible" 0.0;
1237 target: "elm.swallow.icon";
1239 program { name: "icon_hide";
1240 signal: "elm,state,icon,hidden";
1242 action: STATE_SET "default" 0.0;
1243 target: "elm.swallow.icon";
1245 program { name: "end_show";
1246 signal: "elm,state,end,visible";
1248 action: STATE_SET "visible" 0.0;
1249 target: "elm.swallow.end";
1251 program { name: "end_hide";
1252 signal: "elm,state,end,hidden";
1254 action: STATE_SET "default" 0.0;
1255 target: "elm.swallow.end";
1257 program { name: "units_show";
1258 signal: "elm,state,units,visible";
1260 action: STATE_SET "visible" 0.0;
1261 target: "elm.units";
1264 program { name: "units_hide";
1265 signal: "elm,state,units,hidden";
1267 action: STATE_SET "default" 0.0;
1268 target: "elm.units";
1271 program { name: "volume_state_change";
1272 signal: "elm,state,drag";
1275 volume_state_change()
1281 group { name: "elm/slider/horizontal/ebook";
1283 image: "00_winset_list_progress_bg.png" COMP;
1284 image: "00_winset_list_progress_bar.png" COMP;
1285 image: "00_winset_list_progress_bar_pressed.png" COMP;
1286 image: "00_ebook_slider_handle.png" COMP;
1287 image: "00_ebook_slider_handle_press.png" COMP;
1290 public value_hide = 0;
1291 public invert_on = 0;
1292 public set_value_show() {
1293 set_int(value_hide, 0);
1294 set_state(PART:"elm.indicator", "default", 0.0);
1296 public set_value_hide() {
1297 set_int(value_hide, 1);
1298 set_state(PART:"elm.indicator", "hide", 0.0);
1300 public set_invert_on() {
1301 set_state(PART:"level", "inverted", 0.0);
1302 set_state(PART:"level2", "inverted", 0.0);
1303 set_int(invert_on, 1);
1305 public set_invert_off() {
1306 set_state(PART:"level", "default", 0.0);
1307 set_state(PART:"level2", "default", 0.0);
1308 set_int(invert_on, 0);
1310 public thumb_down() {
1311 if(get_int(value_hide) == 1) {
1312 set_state(PART:"elm.indicator", "hide", 0.0);
1313 set_state(PART:"button0", "visible", 0.0);
1315 set_state(PART:"elm.indicator", "visible", 0.0);
1316 set_state(PART:"button0", "visible", 0.0);
1318 if(get_int(invert_on) == 0)
1319 set_state(PART:"level", "pressed", 0.0);
1320 else if(get_int(invert_on) == 1)
1321 set_state(PART:"level2", "pressed", 0.0);
1324 if(get_int(value_hide) == 1)
1325 set_state(PART:"elm.indicator", "hide", 0.0);
1327 set_state(PART:"elm.indicator", "default", 0.0);
1328 if(get_int(invert_on) == 0)
1329 set_state(PART:"level", "default", 0.0);
1330 else if(get_int(invert_on) == 1)
1331 set_state(PART:"level2", "inverted", 0.0);
1332 set_state(PART:"button0", "default", 0.0);
1336 part { name: "base";
1339 description { state: "default" 0.0;
1340 max: 99999 SLIDER_EBOOK_HEIGHT_INC;
1341 min: 0 SLIDER_EBOOK_HEIGHT_INC;
1348 image.normal: "00_winset_list_progress_bg.png";
1349 image.border: 0 0 4 4;
1350 image.border_scale: 1;
1353 part { name: "level";
1356 description { state: "default" 0.0;
1361 to_x: "elm.dragable.slider";
1365 image.normal: "00_winset_list_progress_bar.png";
1366 image.border: 0 0 4 4;
1367 image.border_scale: 1;
1369 description { state: "inverted" 0.0;
1370 inherit: "default" 0.0;
1373 description { state: "pressed" 0.0;
1374 inherit: "default" 0.0;
1375 image.normal: "00_winset_list_progress_bar_pressed.png";
1376 image.border: 0 0 4 4;
1377 image.border_scale: 1;
1380 part { name: "level2";
1383 description { state: "default" 0.0;
1388 to_x: "elm.dragable.slider";
1393 image.normal: "00_winset_list_progress_bar.png";
1394 image.border: 0 0 4 4;
1395 image.border_scale: 1;
1397 description { state: "inverted" 0.0;
1398 inherit: "default" 0.0;
1401 description { state: "pressed" 0.0;
1402 inherit: "default" 0.0;
1404 image.normal: "00_winset_list_progress_bar_pressed.png";
1405 image.border: 0 0 4 4;
1406 image.border_scale: 1;
1413 description { state: "default" 0.0;
1415 rel1.to: "elm.swallow.bar";
1416 rel2.to: "elm.swallow.bar";
1421 part { name: "elm.swallow.bar";
1424 description { state: "default" 0.0;
1429 to_x: "bar_left_padding";
1434 to_x: "bar_right_padding";
1441 name: "bar_left_padding";
1445 state: "default" 0.0;
1461 name: "bar_right_padding";
1465 state: "default" 0.0;
1480 part { name: "elm.swallow.icon";
1483 description { state: "default" 0.0;
1487 to_y: "elm.swallow.bar";
1491 to_y: "elm.swallow.bar";
1494 description { state: "visible" 0.0;
1495 inherit: "default" 0.0;
1498 aspect_preference: VERTICAL;
1501 part { name: "elm.text";
1505 description { state: "default" 0.0;
1509 rel1.to_x: "elm.swallow.icon";
1510 rel1.relative: 1.0 0.0;
1512 rel2.to_x: "elm.swallow.icon";
1513 rel2.relative: 1.0 1.0;
1515 color: SLIDER_EBOOK_UNITS_TEXT_COLOR_INC;
1517 font: "SLP:style=Bold";
1518 size: SLIDER_EBOOK_UNITS_TEXT_SIZE_INC;
1521 text_class: "slp_bold";
1524 description { state: "visible" 0.0;
1525 inherit: "default" 0.0;
1532 part { name: "elm.swallow.end";
1535 description { state: "default" 0.0;
1540 to_y: "elm.swallow.bar";
1544 to_y: "elm.swallow.bar";
1547 description { state: "visible" 0.0;
1548 inherit: "default" 0.0;
1551 aspect_preference: VERTICAL;
1554 part { name: "units";
1557 description { state: "default" 0.0;
1564 // normal: "sl_units.png";
1569 description { state: "visible" 0.0;
1570 inherit: "default" 0.0;
1574 part { name: "elm.units";
1578 description { state: "default" 0.0;
1582 rel1.relative: 0.0 0.0;
1584 rel1.to_x: "elm.swallow.end";
1585 rel2.relative: 0.0 1.0;
1587 rel2.to_x: "elm.swallow.end";
1588 color: SLIDER_EBOOK_UNITS_TEXT_COLOR_INC;
1590 font: "SLP:style=Bold";
1591 size: SLIDER_EBOOK_UNITS_TEXT_SIZE_INC;
1594 text_class: "slp_bold";
1597 description { state: "visible" 0.0;
1598 inherit: "default" 0.0;
1606 part { name: "elm.dragable.slider";
1615 description { state: "default" 0.0;
1616 min: SLIDER_EBOOK_INDICATOR_WIDTH_INC SLIDER_EBOOK_INDICATOR_HEIGHT_INC;
1629 part { name: "button0";
1632 description { state: "default" 0.0;
1634 min: SLIDER_EBOOK_INDICATOR_WIDTH_INC SLIDER_EBOOK_INDICATOR_HEIGHT_INC;
1635 max: SLIDER_EBOOK_INDICATOR_WIDTH_INC SLIDER_EBOOK_INDICATOR_HEIGHT_INC;
1636 rel1.to: "elm.dragable.slider";
1637 rel2.to: "elm.dragable.slider";
1639 normal: "00_ebook_slider_handle.png";
1640 border: 12 12 12 12;
1644 description { state: "visible" 0.0;
1645 inherit: "default" 0.0;
1647 normal: "00_ebook_slider_handle_press.png";
1651 part { name: "popup";
1654 description { state: "default" 0.0;
1666 // normal: "00_slider_popup_bg.png";
1667 border: 13 21 10 22;
1672 description { state: "visible" 0.0;
1673 inherit: "default" 0.0;
1677 part { name: "elm.indicator";
1680 // effect: SOFT_SHADOW;
1682 description { state: "default" 0.0;
1696 color: SLIDER_EBOOK_INDICATOR_TEXT_COLOR_INC;
1699 font: "SLP:style=Bold";
1700 size: SLIDER_EBOOK_INDICATOR_DEFAULT_TEXT_SIZE_INC;
1703 text_class: "slp_bold";
1706 description { state: "visible" 0.0;
1707 inherit: "default" 0.0;
1709 color: SLIDER_EBOOK_INDICATOR_TEXT_COLOR_INC;
1710 text.size: SLIDER_EBOOK_INDICATOR_DRAG_TEXT_SIZE_INC;
1717 description { state: "hide" 0.0;
1718 inherit: "default" 0.0;
1724 program { name: "text_show";
1725 signal: "elm,state,text,visible";
1727 action: STATE_SET "visible" 0.0;
1730 program { name: "text_hide";
1731 signal: "elm,state,text,hidden";
1733 action: STATE_SET "default" 0.0;
1736 program { name: "icon_show";
1737 signal: "elm,state,icon,visible";
1739 action: STATE_SET "visible" 0.0;
1740 target: "elm.swallow.icon";
1742 program { name: "icon_hide";
1743 signal: "elm,state,icon,hidden";
1745 action: STATE_SET "default" 0.0;
1746 target: "elm.swallow.icon";
1748 program { name: "end_show";
1749 signal: "elm,state,end,visible";
1751 action: STATE_SET "visible" 0.0;
1752 target: "elm.swallow.end";
1754 program { name: "end_hide";
1755 signal: "elm,state,end,hidden";
1757 action: STATE_SET "default" 0.0;
1758 target: "elm.swallow.end";
1760 program { name: "units_show";
1761 signal: "elm,state,units,visible";
1763 action: STATE_SET "visible" 0.0;
1764 target: "elm.units";
1767 program { name: "units_hide";
1768 signal: "elm,state,units,hidden";
1770 action: STATE_SET "default" 0.0;
1771 target: "elm.units";
1774 program { name: "invert_on";
1775 signal: "elm,state,inverted,on";
1781 program { name: "invert_off";
1782 signal: "elm,state,inverted,off";
1788 program { name: "set_val_show";
1789 signal: "elm,state,val,show";
1795 program { name: "set_val_hide";
1796 signal: "elm,state,val,hide";
1802 program { name: "val_show";
1803 signal: "mouse,down,*";
1804 source: "elm.dragable.slider";
1809 program { name: "val_hide";
1810 signal: "mouse,up,*";
1811 source: "elm.dragable.slider";
1819 group { name: "elm/slider/vertical/volume7";
1821 image: "00_volume7_00_ver.png" COMP;
1822 image: "00_volume7_01_ver.png" COMP;
1823 image: "00_volume7_02_ver.png" COMP;
1824 image: "00_volume7_03_ver.png" COMP;
1825 image: "00_volume7_04_ver.png" COMP;
1826 image: "00_volume7_05_ver.png" COMP;
1827 image: "00_volume7_06_ver.png" COMP;
1828 image: "00_volume7_07_ver.png" COMP;
1831 public volume_state_change(){
1832 new Float:x, Float:y;
1833 get_drag(PART:"elm.dragable.slider", x, y);
1835 set_state(PART:"base", "volume_07", 0.0);
1836 else if(y <= 0.3125)
1837 set_state(PART:"base", "volume_06", 0.0);
1838 else if(y <= 0.4375)
1839 set_state(PART:"base", "volume_05", 0.0);
1840 else if(y <= 0.5625)
1841 set_state(PART:"base", "volume_04", 0.0);
1842 else if(y <= 0.6875)
1843 set_state(PART:"base", "volume_03", 0.0);
1844 else if(y <= 0.8125)
1845 set_state(PART:"base", "volume_02", 0.0);
1846 else if(y <= 0.9375)
1847 set_state(PART:"base", "volume_01", 0.0);
1849 set_state(PART:"base", "default", 0.0);
1853 part { name: "base";
1855 description { state: "default" 0.0;
1865 image.normal: "00_volume7_00_ver.png";
1867 #define SLIDER7_VER_BG_PART(part_number)\
1869 state: "volume_"part_number 0.0; \
1870 inherit: "default" 0.0; \
1871 image.normal: "00_volume7_"part_number"_ver.png"; \
1873 SLIDER7_VER_BG_PART(01)
1874 SLIDER7_VER_BG_PART(02)
1875 SLIDER7_VER_BG_PART(03)
1876 SLIDER7_VER_BG_PART(04)
1877 SLIDER7_VER_BG_PART(05)
1878 SLIDER7_VER_BG_PART(06)
1879 SLIDER7_VER_BG_PART(07)
1885 description { state: "default" 0.0;
1887 rel1.to: "elm.swallow.bar";
1888 rel2.to: "elm.swallow.bar";
1892 part { name: "elm.swallow.bar";
1895 description { state: "default" 0.0;
1902 name: "bar_top_padding";
1906 state: "default" 0.0;
1922 name: "bar_bottom_padding";
1925 state: "default" 0.0;
1940 part { name: "elm.swallow.icon";
1943 description { state: "default" 0.0;
1947 to_x: "elm.swallow.bar";
1951 to_x: "elm.swallow.bar";
1954 description { state: "visible" 0.0;
1955 inherit: "default" 0.0;
1958 aspect_preference: HORIZONTAL;
1961 part { name: "elm.text";
1965 description { state: "default" 0.0;
1969 rel1.to_y: "elm.swallow.icon";
1970 rel1.relative: 0.0 1.0;
1971 rel2.to_y: "elm.swallow.icon";
1972 rel2.relative: 1.0 1.0;
1973 color: 164 160 149 255;
1975 font: "SLP:style=Bold";
1979 text_class: "slp_bold";
1982 description { state: "visible" 0.0;
1983 inherit: "default" 0.0;
1988 part { name: "elm.swallow.end";
1991 description { state: "default" 0.0;
1996 to_x: "elm.swallow.bar";
2000 to_x: "elm.swallow.bar";
2003 description { state: "visible" 0.0;
2004 inherit: "default" 0.0;
2007 aspect_preference: HORIZONTAL;
2010 part { name: "units";
2013 description { state: "default" 0.0;
2019 description { state: "visible" 0.0;
2020 inherit: "default" 0.0;
2024 part { name: "elm.units";
2028 description { state: "default" 0.0;
2032 rel1.relative: 0.0 0.0;
2033 rel1.to_y: "elm.swallow.end";
2034 rel2.relative: 1.0 0.0;
2035 rel2.to_y: "elm.swallow.end";
2036 color: 164 160 149 255;
2038 font: "SLP:style=Bold";
2042 text_class: "slp_bold";
2045 description { state: "visible" 0.0;
2046 inherit: "default" 0.0;
2054 part { name: "elm.dragable.slider";
2063 description { state: "default" 0.0;
2079 program { name: "text_show";
2080 signal: "elm,state,text,visible";
2082 action: STATE_SET "visible" 0.0;
2085 program { name: "text_hide";
2086 signal: "elm,state,text,hidden";
2088 action: STATE_SET "default" 0.0;
2091 program { name: "icon_show";
2092 signal: "elm,state,icon,visible";
2094 action: STATE_SET "visible" 0.0;
2095 target: "elm.swallow.icon";
2097 program { name: "icon_hide";
2098 signal: "elm,state,icon,hidden";
2100 action: STATE_SET "default" 0.0;
2101 target: "elm.swallow.icon";
2103 program { name: "end_show";
2104 signal: "elm,state,end,visible";
2106 action: STATE_SET "visible" 0.0;
2107 target: "elm.swallow.end";
2109 program { name: "end_hide";
2110 signal: "elm,state,end,hidden";
2112 action: STATE_SET "default" 0.0;
2113 target: "elm.swallow.end";
2115 program { name: "units_show";
2116 signal: "elm,state,units,visible";
2118 action: STATE_SET "visible" 0.0;
2119 target: "elm.units";
2122 program { name: "units_hide";
2123 signal: "elm,state,units,hidden";
2125 action: STATE_SET "default" 0.0;
2126 target: "elm.units";
2129 program { name: "volume_state_change";
2130 signal: "elm,state,drag";
2133 volume_state_change()
2139 group { name: "elm/slider/vertical/volume15";
2141 image: "00_volume15_00_ver.png" COMP;
2142 image: "00_volume15_01_ver.png" COMP;
2143 image: "00_volume15_02_ver.png" COMP;
2144 image: "00_volume15_03_ver.png" COMP;
2145 image: "00_volume15_04_ver.png" COMP;
2146 image: "00_volume15_05_ver.png" COMP;
2147 image: "00_volume15_06_ver.png" COMP;
2148 image: "00_volume15_07_ver.png" COMP;
2149 image: "00_volume15_08_ver.png" COMP;
2150 image: "00_volume15_09_ver.png" COMP;
2151 image: "00_volume15_10_ver.png" COMP;
2152 image: "00_volume15_11_ver.png" COMP;
2153 image: "00_volume15_12_ver.png" COMP;
2154 image: "00_volume15_13_ver.png" COMP;
2155 image: "00_volume15_14_ver.png" COMP;
2156 image: "00_volume15_15_ver.png" COMP;
2159 public volume_state_change(){
2160 new Float:x, Float:y;
2161 get_drag(PART:"elm.dragable.slider", x, y);
2163 set_state(PART:"base", "volume_15", 0.0);
2164 else if(y <= 0.15625)
2165 set_state(PART:"base", "volume_14", 0.0);
2166 else if(y <= 0.21875)
2167 set_state(PART:"base", "volume_13", 0.0);
2168 else if(y <= 0.28125)
2169 set_state(PART:"base", "volume_12", 0.0);
2170 else if(y <= 0.34375)
2171 set_state(PART:"base", "volume_11", 0.0);
2172 else if(y <= 0.40625)
2173 set_state(PART:"base", "volume_10", 0.0);
2174 else if(y <= 0.46875)
2175 set_state(PART:"base", "volume_09", 0.0);
2176 else if(y <= 0.53125)
2177 set_state(PART:"base", "volume_08", 0.0);
2178 else if(y <= 0.59375)
2179 set_state(PART:"base", "volume_07", 0.0);
2180 else if(y <= 0.65625)
2181 set_state(PART:"base", "volume_06", 0.0);
2182 else if(y <= 0.71875)
2183 set_state(PART:"base", "volume_05", 0.0);
2184 else if(y <= 0.78125)
2185 set_state(PART:"base", "volume_04", 0.0);
2186 else if(y <= 0.84375)
2187 set_state(PART:"base", "volume_03", 0.0);
2188 else if(y <= 0.90625)
2189 set_state(PART:"base", "volume_02", 0.0);
2190 else if(y <= 0.96875)
2191 set_state(PART:"base", "volume_01", 0.0);
2193 set_state(PART:"base", "default", 0.0);
2197 part { name: "base";
2199 description { state: "default" 0.0;
2209 image.normal: "00_volume15_00_ver.png";
2211 #define SLIDER15_VER_BG_PART(part_number)\
2213 state: "volume_"part_number 0.0; \
2214 inherit: "default" 0.0; \
2215 image.normal: "00_volume15_"part_number"_ver.png"; \
2217 SLIDER15_VER_BG_PART(01)
2218 SLIDER15_VER_BG_PART(02)
2219 SLIDER15_VER_BG_PART(03)
2220 SLIDER15_VER_BG_PART(04)
2221 SLIDER15_VER_BG_PART(05)
2222 SLIDER15_VER_BG_PART(06)
2223 SLIDER15_VER_BG_PART(07)
2224 SLIDER15_VER_BG_PART(08)
2225 SLIDER15_VER_BG_PART(09)
2226 SLIDER15_VER_BG_PART(10)
2227 SLIDER15_VER_BG_PART(11)
2228 SLIDER15_VER_BG_PART(12)
2229 SLIDER15_VER_BG_PART(13)
2230 SLIDER15_VER_BG_PART(14)
2231 SLIDER15_VER_BG_PART(15)
2237 description { state: "default" 0.0;
2239 rel1.to: "elm.swallow.bar";
2240 rel2.to: "elm.swallow.bar";
2244 part { name: "elm.swallow.bar";
2247 description { state: "default" 0.0;
2253 part { name: "bar_top_padding";
2257 state: "default" 0.0;
2272 part { name: "bar_bottom_padding";
2275 state: "default" 0.0;
2290 part { name: "elm.swallow.icon";
2293 description { state: "default" 0.0;
2297 to_x: "elm.swallow.bar";
2301 to_x: "elm.swallow.bar";
2304 description { state: "visible" 0.0;
2305 inherit: "default" 0.0;
2308 aspect_preference: HORIZONTAL;
2311 part { name: "elm.text";
2315 description { state: "default" 0.0;
2319 rel1.to_y: "elm.swallow.icon";
2320 rel1.relative: 0.0 1.0;
2321 rel2.to_y: "elm.swallow.icon";
2322 rel2.relative: 1.0 1.0;
2323 color: 164 160 149 255;
2325 font: "SLP:style=Bold";
2329 text_class: "slp_bold";
2332 description { state: "visible" 0.0;
2333 inherit: "default" 0.0;
2338 part { name: "elm.swallow.end";
2341 description { state: "default" 0.0;
2346 to_x: "elm.swallow.bar";
2350 to_x: "elm.swallow.bar";
2353 description { state: "visible" 0.0;
2354 inherit: "default" 0.0;
2357 aspect_preference: HORIZONTAL;
2360 part { name: "units";
2363 description { state: "default" 0.0;
2369 description { state: "visible" 0.0;
2370 inherit: "default" 0.0;
2374 part { name: "elm.units";
2378 description { state: "default" 0.0;
2382 rel1.relative: 0.0 0.0;
2383 rel1.to_y: "elm.swallow.end";
2384 rel2.relative: 1.0 0.0;
2385 rel2.to_y: "elm.swallow.end";
2386 color: 164 160 149 255;
2388 font: "SLP:style=Bold";
2392 text_class: "slp_bold";
2395 description { state: "visible" 0.0;
2396 inherit: "default" 0.0;
2404 part { name: "elm.dragable.slider";
2413 description { state: "default" 0.0;
2429 program { name: "text_show";
2430 signal: "elm,state,text,visible";
2432 action: STATE_SET "visible" 0.0;
2435 program { name: "text_hide";
2436 signal: "elm,state,text,hidden";
2438 action: STATE_SET "default" 0.0;
2441 program { name: "icon_show";
2442 signal: "elm,state,icon,visible";
2444 action: STATE_SET "visible" 0.0;
2445 target: "elm.swallow.icon";
2447 program { name: "icon_hide";
2448 signal: "elm,state,icon,hidden";
2450 action: STATE_SET "default" 0.0;
2451 target: "elm.swallow.icon";
2453 program { name: "end_show";
2454 signal: "elm,state,end,visible";
2456 action: STATE_SET "visible" 0.0;
2457 target: "elm.swallow.end";
2459 program { name: "end_hide";
2460 signal: "elm,state,end,hidden";
2462 action: STATE_SET "default" 0.0;
2463 target: "elm.swallow.end";
2465 program { name: "units_show";
2466 signal: "elm,state,units,visible";
2468 action: STATE_SET "visible" 0.0;
2469 target: "elm.units";
2472 program { name: "units_hide";
2473 signal: "elm,state,units,hidden";
2475 action: STATE_SET "default" 0.0;
2476 target: "elm.units";
2479 program { name: "volume_state_change";
2480 signal: "elm,state,drag";
2483 volume_state_change()
2489 group { name: "elm/slider/horizontal/default";
2490 alias: "elm/slider/horizontal/disabled";
2492 image: "00_winset_list_progress_bg.png" COMP;
2493 image: "00_winset_list_progress_bar.png" COMP;
2494 image: "00_slider_bar_press.png" COMP;
2497 public invert_on = 0;
2498 public set_invert_on() {
2499 set_state(PART:"level", "inverted", 0.0);
2500 set_state(PART:"level2", "inverted", 0.0);
2501 set_int(invert_on, 1);
2503 public set_invert_off() {
2504 set_state(PART:"level", "default", 0.0);
2505 set_state(PART:"level2", "default", 0.0);
2506 set_int(invert_on, 0);
2508 public thumb_down() {
2509 if(get_int(invert_on) == 0)
2510 set_state(PART:"level", "pressed", 0.0);
2511 else if(get_int(invert_on) == 1)
2512 set_state(PART:"level2", "pressed", 0.0);
2515 if(get_int(invert_on) == 0)
2516 set_state(PART:"level", "default", 0.0);
2517 else if(get_int(invert_on) == 1)
2518 set_state(PART:"level2", "inverted", 0.0);
2522 part { name: "base";
2525 description { state: "default" 0.0;
2526 min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
2527 max: 99999 SLIDER_BASE_HEIGHT_INC;
2530 image.normal: "00_winset_list_progress_bg.png";
2531 image.border: 0 0 4 4;
2532 image.border_scale: 1;
2535 part { name: "level";
2538 description { state: "default" 0.0;
2543 to_x: "elm.dragable.slider";
2546 image.normal: "00_winset_list_progress_bar.png";
2547 image.border: 0 0 4 4;
2548 image.border_scale: 1;
2550 description { state: "inverted" 0.0;
2551 inherit: "default" 0.0;
2554 description { state: "pressed" 0.0;
2555 inherit: "default" 0.0;
2556 image.normal: "00_winset_list_progress_bar.png";
2559 part { name: "level2";
2562 description { state: "default" 0.0;
2567 to_x: "elm.dragable.slider";
2571 image.normal: "00_winset_list_progress_bg.png";
2572 image.border: 0 0 4 4;
2573 image.border_scale: 1;
2575 description { state: "inverted" 0.0;
2576 inherit: "default" 0.0;
2579 description { state: "pressed" 0.0;
2580 inherit: "default" 0.0;
2582 image.normal: "00_winset_list_progress_bg.png";
2589 description { state: "default" 0.0;
2591 rel1.to: "elm.swallow.bar";
2592 rel2.to: "elm.swallow.bar";
2595 part { name: "elm.swallow.bar";
2599 description { state: "default" 0.0;
2600 min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
2601 max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
2604 to_x: "bar_left_padding";
2608 to_x: "bar_right_padding";
2614 name: "bar_left_padding";
2618 state: "default" 0.0;
2634 name: "bar_right_padding";
2638 state: "default" 0.0;
2653 part { name: "elm.swallow.icon";
2656 description { state: "default" 0.0;
2660 to_y: "elm.swallow.bar";
2664 to_y: "elm.swallow.bar";
2667 description { state: "visible" 0.0;
2668 inherit: "default" 0.0;
2671 aspect_preference: VERTICAL;
2674 part { name: "elm.text";
2678 description { state: "default" 0.0;
2682 rel1.to_x: "elm.swallow.icon";
2683 rel1.relative: 1.0 0.0;
2684 rel2.to_x: "elm.swallow.icon";
2685 color: SLIDER_UNITS_TEXT_COLOR_INC;
2687 font: "SLP:style=Medium";
2688 size: SLIDER_UNITS_TEXT_SIZE_INC;
2691 text_class: "slp_medium";
2694 description { state: "visible" 0.0;
2695 inherit: "default" 0.0;
2700 part { name: "elm.swallow.end";
2703 description { state: "default" 0.0;
2708 to_y: "elm.swallow.bar";
2712 to_y: "elm.swallow.bar";
2715 description { state: "visible" 0.0;
2716 inherit: "default" 0.0;
2719 aspect_preference: VERTICAL;
2722 part { name: "units";
2725 description { state: "default" 0.0;
2731 description { state: "visible" 0.0;
2732 inherit: "default" 0.0;
2736 part { name: "elm.units";
2740 description { state: "default" 0.0;
2744 rel1.to_x: "elm.swallow.end";
2745 rel2.relative: 0.0 1.0;
2746 rel2.to_x: "elm.swallow.end";
2747 color: SLIDER_UNITS_TEXT_COLOR_INC;
2749 font: "SLP:style=Bold";
2750 size: SLIDER_UNITS_TEXT_SIZE_INC;
2753 text_class: "slp_bold";
2756 description { state: "visible" 0.0;
2757 inherit: "default" 0.0;
2763 part { name: "elm.dragable.slider";
2765 source: "elm/slider/horizontal/indicator/default";
2773 description { state: "default" 0.0;
2774 min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
2780 part { name: "disabler";
2785 description { state: "default" 0.0;
2788 color: SLIDER_DISABLER_PART_COLOR_INC;
2790 description { state: "disabled" 0.0;
2791 inherit: "default" 0.0;
2797 program { name: "text_show";
2798 signal: "elm,state,text,visible";
2800 action: STATE_SET "visible" 0.0;
2803 program { name: "text_hide";
2804 signal: "elm,state,text,hidden";
2806 action: STATE_SET "default" 0.0;
2809 program { name: "icon_show";
2810 signal: "elm,state,icon,visible";
2812 action: STATE_SET "visible" 0.0;
2813 target: "elm.swallow.icon";
2815 program { name: "icon_hide";
2816 signal: "elm,state,icon,hidden";
2818 action: STATE_SET "default" 0.0;
2819 target: "elm.swallow.icon";
2821 program { name: "end_show";
2822 signal: "elm,state,end,visible";
2824 action: STATE_SET "visible" 0.0;
2825 target: "elm.swallow.end";
2827 program { name: "end_hide";
2828 signal: "elm,state,end,hidden";
2830 action: STATE_SET "default" 0.0;
2831 target: "elm.swallow.end";
2833 program { name: "units_show";
2834 signal: "elm,state,units,visible";
2836 action: STATE_SET "visible" 0.0;
2837 target: "elm.units";
2840 program { name: "units_hide";
2841 signal: "elm,state,units,hidden";
2843 action: STATE_SET "default" 0.0;
2844 target: "elm.units";
2847 program { name: "invert_on";
2848 signal: "elm,state,inverted,on";
2854 program { name: "invert_off";
2855 signal: "elm,state,inverted,off";
2861 program { name: "val_show";
2862 signal: "mouse,down,*";
2863 source: "elm.dragable.slider";
2868 program { name: "val_hide";
2869 signal: "mouse,up,*";
2870 source: "elm.dragable.slider";
2875 program { name: "slider_disable";
2876 signal: "elm,state,disabled";
2878 action: STATE_SET "disabled" 0.0;
2881 program { name: "slider_enable";
2882 signal: "elm,state,enabled";
2884 action: STATE_SET "default" 0.0;
2890 group { name: "elm/slider/horizontal/expanded_indicator_button";
2891 inherit: "elm/slider/horizontal/default";
2893 public invert_on = 0;
2894 public set_invert_on() {
2895 set_state(PART:"level", "inverted", 0.0);
2896 set_state(PART:"level2", "inverted", 0.0);
2897 set_int(invert_on, 1);
2899 public set_invert_off() {
2900 set_state(PART:"level", "default", 0.0);
2901 set_state(PART:"level2", "default", 0.0);
2902 set_int(invert_on, 0);
2904 public thumb_down() {
2905 if(get_int(invert_on) == 0)
2906 set_state(PART:"level", "pressed", 0.0);
2907 else if(get_int(invert_on) == 1)
2908 set_state(PART:"level2", "pressed", 0.0);
2911 if(get_int(invert_on) == 0)
2912 set_state(PART:"level", "default", 0.0);
2913 else if(get_int(invert_on) == 1)
2914 set_state(PART:"level2", "inverted", 0.0);
2918 part { name: "elm.dragable.slider";
2920 source: "elm/slider/horizontal/indicator/expanded_indicator_button";
2928 description { state: "default" 0.0;
2929 min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
2945 group { name: "elm/slider/horizontal/indicator/expanded_indicator_button";
2946 inherit: "elm/slider/horizontal/indicator/default";
2948 part { name: "button_events";
2952 description { state: "default" 0.0;
2954 min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
2957 aspect_preference: VERTICAL;