3 * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
5 * Licensed under the Apache License, Version 2.0 (the License);
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an AS IS BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
20 group { name: "elm/slider/horizontal/tap_to_drag";
22 image: "00_winset_list_progress_bg.png" COMP;
23 image: "00_winset_list_progress_bar.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;
72 description { state: "default" 0.0;
77 to_x: "elm.dragable.slider";
81 image.normal: "00_winset_list_progress_bar.png";
82 image.border: 0 0 4 4;
83 image.border_scale: 1;
85 description { state: "inverted" 0.0;
86 inherit: "default" 0.0;
89 description { state: "pressed" 0.0;
90 inherit: "default" 0.0;
91 image.normal: "00_winset_list_progress_bar.png";
94 part { name: "level2";
98 description { state: "default" 0.0;
103 to_x: "elm.dragable.slider";
108 image.normal: "00_winset_list_progress_bg.png";
109 image.border: 0 0 4 4;
110 image.border_scale: 1;
112 description { state: "inverted" 0.0;
113 inherit: "default" 0.0;
116 description { state: "pressed" 0.0;
117 inherit: "default" 0.0;
119 image.normal: "00_winset_list_progress_bg.png";
126 description { state: "default" 0.0;
128 rel1.to: "elm.swallow.bar";
129 rel2.to: "elm.swallow.bar";
134 part { name: "elm.swallow.bar";
137 description { state: "default" 0.0;
138 min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
139 max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
142 to_x: "bar_left_padding";
146 to_x: "bar_right_padding";
152 name: "bar_left_padding";
156 state: "default" 0.0;
172 name: "bar_right_padding";
176 state: "default" 0.0;
191 part { name: "elm.swallow.icon";
194 description { state: "default" 0.0;
198 to_y: "elm.swallow.bar";
202 to_y: "elm.swallow.bar";
205 description { state: "visible" 0.0;
206 inherit: "default" 0.0;
209 aspect_preference: VERTICAL;
212 part { name: "elm.text";
216 description { state: "default" 0.0;
220 rel1.to_x: "elm.swallow.icon";
221 rel1.relative: 1.0 0.0;
223 rel2.to_x: "elm.swallow.icon";
224 rel2.relative: 1.0 1.0;
226 color: SLIDER_UNITS_TEXT_COLOR_INC;
228 font: "Tizen:style=Medium";
229 size: SLIDER_UNITS_TEXT_SIZE_INC;
235 description { state: "visible" 0.0;
236 inherit: "default" 0.0;
243 part { name: "elm.swallow.end";
246 description { state: "default" 0.0;
251 to_y: "elm.swallow.bar";
255 to_y: "elm.swallow.bar";
258 description { state: "visible" 0.0;
259 inherit: "default" 0.0;
262 aspect_preference: VERTICAL;
265 part { name: "units";
268 description { state: "default" 0.0;
275 // normal: "sl_units.png";
280 description { state: "visible" 0.0;
281 inherit: "default" 0.0;
285 part { name: "elm.units";
289 description { state: "default" 0.0;
293 rel1.relative: 0.0 0.0;
295 rel1.to_x: "elm.swallow.end";
296 rel2.relative: 0.0 1.0;
298 rel2.to_x: "elm.swallow.end";
299 color: SLIDER_UNITS_TEXT_COLOR_INC;
301 font: "Tizen:style=Bold";
302 size: SLIDER_UNITS_TEXT_SIZE_INC;
308 description { state: "visible" 0.0;
309 inherit: "default" 0.0;
317 part { name: "elm.dragable.slider";
319 source: "elm/slider/horizontal/indicator/tap_to_drag";
327 description { state: "default" 0.0;
328 min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
341 part { name: "disabler";
346 description { state: "default" 0.0;
351 description { state: "disabled" 0.0;
352 inherit: "default" 0.0;
356 part { name: "clipper";
358 description { state: "default" 0.0;
359 color: 255 255 255 255;
361 description { state: "disabled" 0.0;
362 color: 255 255 255 102;
367 program { name: "text_show";
368 signal: "elm,state,text,visible";
370 action: STATE_SET "visible" 0.0;
373 program { name: "text_hide";
374 signal: "elm,state,text,hidden";
376 action: STATE_SET "default" 0.0;
379 program { name: "icon_show";
380 signal: "elm,state,icon,visible";
382 action: STATE_SET "visible" 0.0;
383 target: "elm.swallow.icon";
385 program { name: "icon_hide";
386 signal: "elm,state,icon,hidden";
388 action: STATE_SET "default" 0.0;
389 target: "elm.swallow.icon";
391 program { name: "end_show";
392 signal: "elm,state,end,visible";
394 action: STATE_SET "visible" 0.0;
395 target: "elm.swallow.end";
397 program { name: "end_hide";
398 signal: "elm,state,end,hidden";
400 action: STATE_SET "default" 0.0;
401 target: "elm.swallow.end";
403 program { name: "units_show";
404 signal: "elm,state,units,visible";
406 action: STATE_SET "visible" 0.0;
410 program { name: "units_hide";
411 signal: "elm,state,units,hidden";
413 action: STATE_SET "default" 0.0;
417 program { name: "invert_on";
418 signal: "elm,state,inverted,on";
424 program { name: "invert_off";
425 signal: "elm,state,inverted,off";
431 program { name: "val_show";
432 signal: "mouse,down,*";
433 source: "elm.dragable.slider";
438 program { name: "val_hide";
439 signal: "mouse,up,*";
440 source: "elm.dragable.slider";
445 program { name: "slider_disable";
446 signal: "elm,state,disabled";
448 action: STATE_SET "disabled" 0.0;
452 program { name: "slider_enable";
453 signal: "elm,state,enabled";
455 action: STATE_SET "default" 0.0;
462 group { name: "elm/slider/horizontal/indicator/default";
463 alias: "elm/slider/horizontal/indicator/disabled";
464 alias: "elm/slider/vertical/indicator/default";
465 alias: "elm/slider/vertical/indicator/disabled";
466 alias: "elm/slider/horizontal/indicator/tap_to_drag";
468 image: "00_slider_handle.png" COMP;
469 image: "00_slider_handle_dim.png" COMP;
470 image: "00_slider_handle_press.png" COMP;
473 part { name: "button_events";
477 description { state: "default" 0.0;
479 min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
481 aspect_preference: VERTICAL;
484 description { state: "disabled" 0.0;
485 inherit: "default" 0.0;
489 part { name: "button0";
492 description { state: "default" 0.0;
494 min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
495 max: SLIDER_INDICATOR_MAX_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
505 normal: "00_slider_handle.png";
510 description { state: "pressed" 0.0;
511 inherit: "default" 0.0;
513 normal: "00_slider_handle_press.png";
516 description { state: "disabled" 0.0;
517 inherit: "default" 0.0;
519 normal: "00_slider_handle_dim.png";
523 part { name: "elm.indicator";
527 description { state: "default" 0.0;
529 color: SLIDER_INDICATOR_TEXT_COLOR_INC;
531 font: "Tizen:style=Medium";
532 size: SLIDER_INDICATOR_TEXT_SIZE_INC;
538 description { state: "hide" 0.0;
539 inherit: "default" 0.0;
542 description { state: "pressed" 0.0;
543 inherit: "default" 0.0;
544 color: SLIDER_INDICATOR_TEXT_PRESSED_COLOR_INC;
549 program { name: "set_val_show";
550 signal: "elm,state,val,show";
552 action: STATE_SET "default" 0.0;
553 target: "elm.indicator";
555 program { name: "set_val_hide";
556 signal: "elm,state,val,hide";
558 action: STATE_SET "hide" 0.0;
559 target: "elm.indicator";
561 program { name: "slider_disable";
562 signal: "elm,state,disabled";
564 action: STATE_SET "disabled" 0.0;
566 target: "button_events";
568 program { name: "slider_enable";
569 signal: "elm,state,enabled";
571 action: STATE_SET "default" 0.0;
573 target: "button_events";
575 program { name: "mouse_down";
576 signal: "mouse,down,*";
577 source: "button_events";
578 action: STATE_SET "pressed" 0.0;
580 after: "text_pressed";
582 program { name: "mouse_up";
583 signal: "mouse,up,*";
584 source: "button_events";
585 action: STATE_SET "default" 0.0;
587 after: "text_unpressed";
589 program { name: "text_pressed";
593 get_state(PART:"elm.indicator", st, 30, vl);
594 if (!strcmp(st, "default"))
595 set_state(PART:"elm.indicator", "pressed", 0.0);
598 program { name: "text_unpressed";
602 get_state(PART:"elm.indicator", st, 30, vl);
603 if (!strcmp(st, "pressed"))
604 set_state(PART:"elm.indicator", "default", 0.0);
611 group { name: "elm/slider/horizontal/volume";
613 image: "00_volume_bg.png" COMP;
614 image: "00_volume_01.png" COMP;
615 image: "00_volume_02.png" COMP;
616 image: "00_volume_03.png" COMP;
617 image: "00_volume_04.png" COMP;
618 image: "00_volume_05.png" COMP;
619 image: "00_volume_06.png" COMP;
620 image: "00_volume_07.png" COMP;
621 image: "00_volume_08.png" COMP;
622 image: "00_volume_09.png" COMP;
623 image: "00_volume_10.png" COMP;
624 image: "00_volume_11.png" COMP;
625 image: "00_volume_12.png" COMP;
626 image: "00_volume_13.png" COMP;
627 image: "00_volume_14.png" COMP;
630 public volume_state_change(){
631 new Float:x, Float:y;
632 get_drag(PART:"elm.dragable.slider", x, y);
634 set_state(PART:"base", "default", 0.0);
636 set_state(PART:"base", "volume_01", 0.0);
637 else if(x < 0.1666666)
638 set_state(PART:"base", "volume_02", 0.0);
639 else if(x < 0.2333333)
640 set_state(PART:"base", "volume_03", 0.0);
642 set_state(PART:"base", "volume_04", 0.0);
643 else if(x < 0.3666666)
644 set_state(PART:"base", "volume_05", 0.0);
645 else if(x < 0.4333333)
646 set_state(PART:"base", "volume_06", 0.0);
648 set_state(PART:"base", "volume_07", 0.0);
649 else if(x < 0.5666666)
650 set_state(PART:"base", "volume_08", 0.0);
651 else if(x < 0.6333333)
652 set_state(PART:"base", "volume_09", 0.0);
654 set_state(PART:"base", "volume_10", 0.0);
655 else if(x < 0.7666666)
656 set_state(PART:"base", "volume_11", 0.0);
657 else if(x < 0.8333333)
658 set_state(PART:"base", "volume_12", 0.0);
660 set_state(PART:"base", "volume_13", 0.0);
662 set_state(PART:"base", "volume_14", 0.0);
669 description { state: "default" 0.0;
678 image.normal: "00_volume_bg.png";
680 #define SLIDER_BG_PART(part_number)\
682 state: "volume_"part_number 0.0; \
683 inherit: "default" 0.0; \
684 image.normal: "00_volume_"part_number".png"; \
705 description { state: "default" 0.0;
707 rel1.to: "elm.swallow.bar";
708 rel2.to: "elm.swallow.bar";
712 part { name: "elm.swallow.bar";
715 description { state: "default" 0.0;
720 to_x: "bar_left_padding";
724 to_x: "bar_right_padding";
730 name: "bar_left_padding";
734 state: "default" 0.0;
750 name: "bar_right_padding";
754 state: "default" 0.0;
769 part { name: "elm.swallow.icon";
772 description { state: "default" 0.0;
776 to_y: "elm.swallow.bar";
780 to_y: "elm.swallow.bar";
783 description { state: "visible" 0.0;
784 inherit: "default" 0.0;
787 aspect_preference: VERTICAL;
790 part { name: "elm.text";
794 description { state: "default" 0.0;
798 rel1.to_x: "elm.swallow.icon";
799 rel1.relative: 1.0 0.0;
801 rel2.to_x: "elm.swallow.icon";
802 rel2.relative: 1.0 1.0;
804 color: 164 160 149 255;
806 font: "Tizen:style=Bold";
813 description { state: "visible" 0.0;
814 inherit: "default" 0.0;
821 part { name: "elm.swallow.end";
824 description { state: "default" 0.0;
829 to_y: "elm.swallow.bar";
833 to_y: "elm.swallow.bar";
836 description { state: "visible" 0.0;
837 inherit: "default" 0.0;
840 aspect_preference: VERTICAL;
843 part { name: "units";
846 description { state: "default" 0.0;
853 // normal: "sl_units.png";
858 description { state: "visible" 0.0;
859 inherit: "default" 0.0;
863 part { name: "elm.units";
867 description { state: "default" 0.0;
871 rel1.relative: 0.0 0.0;
873 rel1.to_x: "elm.swallow.end";
874 rel2.relative: 0.0 1.0;
876 rel2.to_x: "elm.swallow.end";
877 color: 164 160 149 255;
879 font: "Tizen:style=Bold";
886 description { state: "visible" 0.0;
887 inherit: "default" 0.0;
895 part { name: "elm.dragable.slider";
904 description { state: "default" 0.0;
920 program { name: "text_show";
921 signal: "elm,state,text,visible";
923 action: STATE_SET "visible" 0.0;
926 program { name: "text_hide";
927 signal: "elm,state,text,hidden";
929 action: STATE_SET "default" 0.0;
932 program { name: "icon_show";
933 signal: "elm,state,icon,visible";
935 action: STATE_SET "visible" 0.0;
936 target: "elm.swallow.icon";
938 program { name: "icon_hide";
939 signal: "elm,state,icon,hidden";
941 action: STATE_SET "default" 0.0;
942 target: "elm.swallow.icon";
944 program { name: "end_show";
945 signal: "elm,state,end,visible";
947 action: STATE_SET "visible" 0.0;
948 target: "elm.swallow.end";
950 program { name: "end_hide";
951 signal: "elm,state,end,hidden";
953 action: STATE_SET "default" 0.0;
954 target: "elm.swallow.end";
956 program { name: "units_show";
957 signal: "elm,state,units,visible";
959 action: STATE_SET "visible" 0.0;
963 program { name: "units_hide";
964 signal: "elm,state,units,hidden";
966 action: STATE_SET "default" 0.0;
970 program { name: "volume_state_change";
971 signal: "elm,state,drag";
974 volume_state_change()
980 group { name: "elm/slider/vertical/volume";
982 image: "00_volume_00_ver.png" COMP;
983 image: "00_volume_01_ver.png" COMP;
984 image: "00_volume_02_ver.png" COMP;
985 image: "00_volume_03_ver.png" COMP;
986 image: "00_volume_04_ver.png" COMP;
987 image: "00_volume_05_ver.png" COMP;
988 image: "00_volume_06_ver.png" COMP;
989 image: "00_volume_07_ver.png" COMP;
990 image: "00_volume_08_ver.png" COMP;
991 image: "00_volume_09_ver.png" COMP;
992 image: "00_volume_10_ver.png" COMP;
993 image: "00_volume_11_ver.png" COMP;
994 image: "00_volume_12_ver.png" COMP;
995 image: "00_volume_13_ver.png" COMP;
996 image: "00_volume_14_ver.png" COMP;
999 public volume_state_change(){
1000 new Float:x, Float:y;
1001 get_drag(PART:"elm.dragable.slider", x, y);
1003 set_state(PART:"base", "volume_14", 0.0);
1004 else if(y <= 0.1666666)
1005 set_state(PART:"base", "volume_13", 0.0);
1006 else if(y <= 0.2333333)
1007 set_state(PART:"base", "volume_12", 0.0);
1009 set_state(PART:"base", "volume_11", 0.0);
1010 else if(y <= 0.3666666)
1011 set_state(PART:"base", "volume_10", 0.0);
1012 else if(y <= 0.4333333)
1013 set_state(PART:"base", "volume_09", 0.0);
1015 set_state(PART:"base", "volume_08", 0.0);
1016 else if(y <= 0.5666666)
1017 set_state(PART:"base", "volume_07", 0.0);
1018 else if(y <= 0.6333333)
1019 set_state(PART:"base", "volume_06", 0.0);
1021 set_state(PART:"base", "volume_05", 0.0);
1022 else if(y <= 0.7666666)
1023 set_state(PART:"base", "volume_04", 0.0);
1024 else if(y <= 0.8333333)
1025 set_state(PART:"base", "volume_03", 0.0);
1027 set_state(PART:"base", "volume_02", 0.0);
1028 else if(y <= 0.9666666)
1029 set_state(PART:"base", "volume_01", 0.0);
1031 set_state(PART:"base", "default", 0.0);
1035 part { name: "base";
1037 description { state: "default" 0.0;
1047 image.normal: "00_volume_00_ver.png";
1049 #define SLIDER_VER_BG_PART(part_number)\
1051 state: "volume_"part_number 0.0; \
1052 inherit: "default" 0.0; \
1053 image.normal: "00_volume_"part_number"_ver.png"; \
1055 SLIDER_VER_BG_PART(01)
1056 SLIDER_VER_BG_PART(02)
1057 SLIDER_VER_BG_PART(03)
1058 SLIDER_VER_BG_PART(04)
1059 SLIDER_VER_BG_PART(05)
1060 SLIDER_VER_BG_PART(06)
1061 SLIDER_VER_BG_PART(07)
1062 SLIDER_VER_BG_PART(08)
1063 SLIDER_VER_BG_PART(09)
1064 SLIDER_VER_BG_PART(10)
1065 SLIDER_VER_BG_PART(11)
1066 SLIDER_VER_BG_PART(12)
1067 SLIDER_VER_BG_PART(13)
1068 SLIDER_VER_BG_PART(14)
1074 description { state: "default" 0.0;
1076 rel1.to: "elm.swallow.bar";
1077 rel2.to: "elm.swallow.bar";
1081 part { name: "elm.swallow.bar";
1084 description { state: "default" 0.0;
1089 to_y: "bar_top_padding";
1093 to_y: "bar_bottom_padding";
1099 name: "bar_top_padding";
1103 state: "default" 0.0;
1119 name: "bar_bottom_padding";
1122 state: "default" 0.0;
1137 part { name: "elm.swallow.icon";
1140 description { state: "default" 0.0;
1144 to_x: "elm.swallow.bar";
1148 to_x: "elm.swallow.bar";
1151 description { state: "visible" 0.0;
1152 inherit: "default" 0.0;
1155 aspect_preference: HORIZONTAL;
1158 part { name: "elm.text";
1162 description { state: "default" 0.0;
1166 rel1.to_y: "elm.swallow.icon";
1167 rel1.relative: 0.0 1.0;
1168 rel2.to_y: "elm.swallow.icon";
1169 rel2.relative: 1.0 1.0;
1170 color: 164 160 149 255;
1172 font: "Tizen:style=Bold";
1176 text_class: "tizen";
1179 description { state: "visible" 0.0;
1180 inherit: "default" 0.0;
1185 part { name: "elm.swallow.end";
1188 description { state: "default" 0.0;
1193 to_x: "elm.swallow.bar";
1197 to_x: "elm.swallow.bar";
1200 description { state: "visible" 0.0;
1201 inherit: "default" 0.0;
1204 aspect_preference: HORIZONTAL;
1207 part { name: "units";
1210 description { state: "default" 0.0;
1216 description { state: "visible" 0.0;
1217 inherit: "default" 0.0;
1221 part { name: "elm.units";
1225 description { state: "default" 0.0;
1229 rel1.relative: 0.0 0.0;
1230 rel1.to_y: "elm.swallow.end";
1231 rel2.relative: 1.0 0.0;
1232 rel2.to_y: "elm.swallow.end";
1233 color: 164 160 149 255;
1235 font: "Tizen:style=Bold";
1239 text_class: "tizen";
1242 description { state: "visible" 0.0;
1243 inherit: "default" 0.0;
1251 part { name: "elm.dragable.slider";
1260 description { state: "default" 0.0;
1276 program { name: "text_show";
1277 signal: "elm,state,text,visible";
1279 action: STATE_SET "visible" 0.0;
1282 program { name: "text_hide";
1283 signal: "elm,state,text,hidden";
1285 action: STATE_SET "default" 0.0;
1288 program { name: "icon_show";
1289 signal: "elm,state,icon,visible";
1291 action: STATE_SET "visible" 0.0;
1292 target: "elm.swallow.icon";
1294 program { name: "icon_hide";
1295 signal: "elm,state,icon,hidden";
1297 action: STATE_SET "default" 0.0;
1298 target: "elm.swallow.icon";
1300 program { name: "end_show";
1301 signal: "elm,state,end,visible";
1303 action: STATE_SET "visible" 0.0;
1304 target: "elm.swallow.end";
1306 program { name: "end_hide";
1307 signal: "elm,state,end,hidden";
1309 action: STATE_SET "default" 0.0;
1310 target: "elm.swallow.end";
1312 program { name: "units_show";
1313 signal: "elm,state,units,visible";
1315 action: STATE_SET "visible" 0.0;
1316 target: "elm.units";
1319 program { name: "units_hide";
1320 signal: "elm,state,units,hidden";
1322 action: STATE_SET "default" 0.0;
1323 target: "elm.units";
1326 program { name: "volume_state_change";
1327 signal: "elm,state,drag";
1330 volume_state_change()
1336 group { name: "elm/slider/horizontal/ebook";
1338 image: "00_winset_list_progress_bg.png" COMP;
1339 image: "00_winset_list_progress_bar.png" COMP;
1340 image: "00_winset_list_progress_bar_pressed.png" COMP;
1341 image: "00_ebook_slider_handle.png" COMP;
1342 image: "00_ebook_slider_handle_press.png" COMP;
1345 public value_hide = 0;
1346 public invert_on = 0;
1347 public set_value_show() {
1348 set_int(value_hide, 0);
1349 set_state(PART:"elm.indicator", "default", 0.0);
1351 public set_value_hide() {
1352 set_int(value_hide, 1);
1353 set_state(PART:"elm.indicator", "hide", 0.0);
1355 public set_invert_on() {
1356 set_state(PART:"level", "inverted", 0.0);
1357 set_state(PART:"level2", "inverted", 0.0);
1358 set_int(invert_on, 1);
1360 public set_invert_off() {
1361 set_state(PART:"level", "default", 0.0);
1362 set_state(PART:"level2", "default", 0.0);
1363 set_int(invert_on, 0);
1365 public thumb_down() {
1366 if(get_int(value_hide) == 1) {
1367 set_state(PART:"elm.indicator", "hide", 0.0);
1368 set_state(PART:"button0", "visible", 0.0);
1370 set_state(PART:"elm.indicator", "visible", 0.0);
1371 set_state(PART:"button0", "visible", 0.0);
1373 if(get_int(invert_on) == 0)
1374 set_state(PART:"level", "pressed", 0.0);
1375 else if(get_int(invert_on) == 1)
1376 set_state(PART:"level2", "pressed", 0.0);
1379 if(get_int(value_hide) == 1)
1380 set_state(PART:"elm.indicator", "hide", 0.0);
1382 set_state(PART:"elm.indicator", "default", 0.0);
1383 if(get_int(invert_on) == 0)
1384 set_state(PART:"level", "default", 0.0);
1385 else if(get_int(invert_on) == 1)
1386 set_state(PART:"level2", "inverted", 0.0);
1387 set_state(PART:"button0", "default", 0.0);
1391 part { name: "base";
1394 description { state: "default" 0.0;
1395 max: 99999 SLIDER_EBOOK_HEIGHT_INC;
1396 min: 0 SLIDER_EBOOK_HEIGHT_INC;
1403 image.normal: "00_winset_list_progress_bg.png";
1404 image.border: 0 0 4 4;
1405 image.border_scale: 1;
1408 part { name: "level";
1411 description { state: "default" 0.0;
1416 to_x: "elm.dragable.slider";
1420 image.normal: "00_winset_list_progress_bar.png";
1421 image.border: 0 0 4 4;
1422 image.border_scale: 1;
1424 description { state: "inverted" 0.0;
1425 inherit: "default" 0.0;
1428 description { state: "pressed" 0.0;
1429 inherit: "default" 0.0;
1430 image.normal: "00_winset_list_progress_bar_pressed.png";
1431 image.border: 0 0 4 4;
1432 image.border_scale: 1;
1435 part { name: "level2";
1438 description { state: "default" 0.0;
1443 to_x: "elm.dragable.slider";
1448 image.normal: "00_winset_list_progress_bar.png";
1449 image.border: 0 0 4 4;
1450 image.border_scale: 1;
1452 description { state: "inverted" 0.0;
1453 inherit: "default" 0.0;
1456 description { state: "pressed" 0.0;
1457 inherit: "default" 0.0;
1459 image.normal: "00_winset_list_progress_bar_pressed.png";
1460 image.border: 0 0 4 4;
1461 image.border_scale: 1;
1468 description { state: "default" 0.0;
1470 rel1.to: "elm.swallow.bar";
1471 rel2.to: "elm.swallow.bar";
1476 part { name: "elm.swallow.bar";
1479 description { state: "default" 0.0;
1484 to_x: "bar_left_padding";
1489 to_x: "bar_right_padding";
1496 name: "bar_left_padding";
1500 state: "default" 0.0;
1516 name: "bar_right_padding";
1520 state: "default" 0.0;
1535 part { name: "elm.swallow.icon";
1538 description { state: "default" 0.0;
1542 to_y: "elm.swallow.bar";
1546 to_y: "elm.swallow.bar";
1549 description { state: "visible" 0.0;
1550 inherit: "default" 0.0;
1553 aspect_preference: VERTICAL;
1556 part { name: "elm.text";
1560 description { state: "default" 0.0;
1564 rel1.to_x: "elm.swallow.icon";
1565 rel1.relative: 1.0 0.0;
1567 rel2.to_x: "elm.swallow.icon";
1568 rel2.relative: 1.0 1.0;
1570 color: SLIDER_EBOOK_UNITS_TEXT_COLOR_INC;
1572 font: "Tizen:style=Bold";
1573 size: SLIDER_EBOOK_UNITS_TEXT_SIZE_INC;
1576 text_class: "tizen";
1579 description { state: "visible" 0.0;
1580 inherit: "default" 0.0;
1587 part { name: "elm.swallow.end";
1590 description { state: "default" 0.0;
1595 to_y: "elm.swallow.bar";
1599 to_y: "elm.swallow.bar";
1602 description { state: "visible" 0.0;
1603 inherit: "default" 0.0;
1606 aspect_preference: VERTICAL;
1609 part { name: "units";
1612 description { state: "default" 0.0;
1619 // normal: "sl_units.png";
1624 description { state: "visible" 0.0;
1625 inherit: "default" 0.0;
1629 part { name: "elm.units";
1633 description { state: "default" 0.0;
1637 rel1.relative: 0.0 0.0;
1639 rel1.to_x: "elm.swallow.end";
1640 rel2.relative: 0.0 1.0;
1642 rel2.to_x: "elm.swallow.end";
1643 color: SLIDER_EBOOK_UNITS_TEXT_COLOR_INC;
1645 font: "Tizen:style=Bold";
1646 size: SLIDER_EBOOK_UNITS_TEXT_SIZE_INC;
1649 text_class: "tizen";
1652 description { state: "visible" 0.0;
1653 inherit: "default" 0.0;
1661 part { name: "elm.dragable.slider";
1670 description { state: "default" 0.0;
1671 min: SLIDER_EBOOK_INDICATOR_WIDTH_INC SLIDER_EBOOK_INDICATOR_HEIGHT_INC;
1684 part { name: "button0";
1687 description { state: "default" 0.0;
1689 min: SLIDER_EBOOK_INDICATOR_WIDTH_INC SLIDER_EBOOK_INDICATOR_HEIGHT_INC;
1690 max: SLIDER_EBOOK_INDICATOR_WIDTH_INC SLIDER_EBOOK_INDICATOR_HEIGHT_INC;
1691 rel1.to: "elm.dragable.slider";
1692 rel2.to: "elm.dragable.slider";
1694 normal: "00_ebook_slider_handle.png";
1695 border: 12 12 12 12;
1699 description { state: "visible" 0.0;
1700 inherit: "default" 0.0;
1702 normal: "00_ebook_slider_handle_press.png";
1706 part { name: "popup";
1709 description { state: "default" 0.0;
1721 // normal: "00_slider_popup_bg.png";
1722 border: 13 21 10 22;
1727 description { state: "visible" 0.0;
1728 inherit: "default" 0.0;
1732 part { name: "elm.indicator";
1735 // effect: SOFT_SHADOW;
1737 description { state: "default" 0.0;
1751 color: SLIDER_EBOOK_INDICATOR_TEXT_COLOR_INC;
1754 font: "Tizen:style=Bold";
1755 size: SLIDER_EBOOK_INDICATOR_DEFAULT_TEXT_SIZE_INC;
1758 text_class: "tizen";
1761 description { state: "visible" 0.0;
1762 inherit: "default" 0.0;
1764 color: SLIDER_EBOOK_INDICATOR_TEXT_COLOR_INC;
1765 text.size: SLIDER_EBOOK_INDICATOR_DRAG_TEXT_SIZE_INC;
1772 description { state: "hide" 0.0;
1773 inherit: "default" 0.0;
1779 program { name: "text_show";
1780 signal: "elm,state,text,visible";
1782 action: STATE_SET "visible" 0.0;
1785 program { name: "text_hide";
1786 signal: "elm,state,text,hidden";
1788 action: STATE_SET "default" 0.0;
1791 program { name: "icon_show";
1792 signal: "elm,state,icon,visible";
1794 action: STATE_SET "visible" 0.0;
1795 target: "elm.swallow.icon";
1797 program { name: "icon_hide";
1798 signal: "elm,state,icon,hidden";
1800 action: STATE_SET "default" 0.0;
1801 target: "elm.swallow.icon";
1803 program { name: "end_show";
1804 signal: "elm,state,end,visible";
1806 action: STATE_SET "visible" 0.0;
1807 target: "elm.swallow.end";
1809 program { name: "end_hide";
1810 signal: "elm,state,end,hidden";
1812 action: STATE_SET "default" 0.0;
1813 target: "elm.swallow.end";
1815 program { name: "units_show";
1816 signal: "elm,state,units,visible";
1818 action: STATE_SET "visible" 0.0;
1819 target: "elm.units";
1822 program { name: "units_hide";
1823 signal: "elm,state,units,hidden";
1825 action: STATE_SET "default" 0.0;
1826 target: "elm.units";
1829 program { name: "invert_on";
1830 signal: "elm,state,inverted,on";
1836 program { name: "invert_off";
1837 signal: "elm,state,inverted,off";
1843 program { name: "set_val_show";
1844 signal: "elm,state,val,show";
1850 program { name: "set_val_hide";
1851 signal: "elm,state,val,hide";
1857 program { name: "val_show";
1858 signal: "mouse,down,*";
1859 source: "elm.dragable.slider";
1864 program { name: "val_hide";
1865 signal: "mouse,up,*";
1866 source: "elm.dragable.slider";
1874 group { name: "elm/slider/vertical/volume7";
1876 image: "00_volume7_00_ver.png" COMP;
1877 image: "00_volume7_01_ver.png" COMP;
1878 image: "00_volume7_02_ver.png" COMP;
1879 image: "00_volume7_03_ver.png" COMP;
1880 image: "00_volume7_04_ver.png" COMP;
1881 image: "00_volume7_05_ver.png" COMP;
1882 image: "00_volume7_06_ver.png" COMP;
1883 image: "00_volume7_07_ver.png" COMP;
1886 public volume_state_change(){
1887 new Float:x, Float:y;
1888 get_drag(PART:"elm.dragable.slider", x, y);
1890 set_state(PART:"base", "volume_07", 0.0);
1891 else if(y <= 0.3125)
1892 set_state(PART:"base", "volume_06", 0.0);
1893 else if(y <= 0.4375)
1894 set_state(PART:"base", "volume_05", 0.0);
1895 else if(y <= 0.5625)
1896 set_state(PART:"base", "volume_04", 0.0);
1897 else if(y <= 0.6875)
1898 set_state(PART:"base", "volume_03", 0.0);
1899 else if(y <= 0.8125)
1900 set_state(PART:"base", "volume_02", 0.0);
1901 else if(y <= 0.9375)
1902 set_state(PART:"base", "volume_01", 0.0);
1904 set_state(PART:"base", "default", 0.0);
1908 part { name: "base";
1910 description { state: "default" 0.0;
1920 image.normal: "00_volume7_00_ver.png";
1922 #define SLIDER7_VER_BG_PART(part_number)\
1924 state: "volume_"part_number 0.0; \
1925 inherit: "default" 0.0; \
1926 image.normal: "00_volume7_"part_number"_ver.png"; \
1928 SLIDER7_VER_BG_PART(01)
1929 SLIDER7_VER_BG_PART(02)
1930 SLIDER7_VER_BG_PART(03)
1931 SLIDER7_VER_BG_PART(04)
1932 SLIDER7_VER_BG_PART(05)
1933 SLIDER7_VER_BG_PART(06)
1934 SLIDER7_VER_BG_PART(07)
1940 description { state: "default" 0.0;
1942 rel1.to: "elm.swallow.bar";
1943 rel2.to: "elm.swallow.bar";
1947 part { name: "elm.swallow.bar";
1950 description { state: "default" 0.0;
1957 name: "bar_top_padding";
1961 state: "default" 0.0;
1977 name: "bar_bottom_padding";
1980 state: "default" 0.0;
1995 part { name: "elm.swallow.icon";
1998 description { state: "default" 0.0;
2002 to_x: "elm.swallow.bar";
2006 to_x: "elm.swallow.bar";
2009 description { state: "visible" 0.0;
2010 inherit: "default" 0.0;
2013 aspect_preference: HORIZONTAL;
2016 part { name: "elm.text";
2020 description { state: "default" 0.0;
2024 rel1.to_y: "elm.swallow.icon";
2025 rel1.relative: 0.0 1.0;
2026 rel2.to_y: "elm.swallow.icon";
2027 rel2.relative: 1.0 1.0;
2028 color: 164 160 149 255;
2030 font: "Tizen:style=Bold";
2034 text_class: "tizen";
2037 description { state: "visible" 0.0;
2038 inherit: "default" 0.0;
2043 part { name: "elm.swallow.end";
2046 description { state: "default" 0.0;
2051 to_x: "elm.swallow.bar";
2055 to_x: "elm.swallow.bar";
2058 description { state: "visible" 0.0;
2059 inherit: "default" 0.0;
2062 aspect_preference: HORIZONTAL;
2065 part { name: "units";
2068 description { state: "default" 0.0;
2074 description { state: "visible" 0.0;
2075 inherit: "default" 0.0;
2079 part { name: "elm.units";
2083 description { state: "default" 0.0;
2087 rel1.relative: 0.0 0.0;
2088 rel1.to_y: "elm.swallow.end";
2089 rel2.relative: 1.0 0.0;
2090 rel2.to_y: "elm.swallow.end";
2091 color: 164 160 149 255;
2093 font: "Tizen:style=Bold";
2097 text_class: "tizen";
2100 description { state: "visible" 0.0;
2101 inherit: "default" 0.0;
2109 part { name: "elm.dragable.slider";
2118 description { state: "default" 0.0;
2134 program { name: "text_show";
2135 signal: "elm,state,text,visible";
2137 action: STATE_SET "visible" 0.0;
2140 program { name: "text_hide";
2141 signal: "elm,state,text,hidden";
2143 action: STATE_SET "default" 0.0;
2146 program { name: "icon_show";
2147 signal: "elm,state,icon,visible";
2149 action: STATE_SET "visible" 0.0;
2150 target: "elm.swallow.icon";
2152 program { name: "icon_hide";
2153 signal: "elm,state,icon,hidden";
2155 action: STATE_SET "default" 0.0;
2156 target: "elm.swallow.icon";
2158 program { name: "end_show";
2159 signal: "elm,state,end,visible";
2161 action: STATE_SET "visible" 0.0;
2162 target: "elm.swallow.end";
2164 program { name: "end_hide";
2165 signal: "elm,state,end,hidden";
2167 action: STATE_SET "default" 0.0;
2168 target: "elm.swallow.end";
2170 program { name: "units_show";
2171 signal: "elm,state,units,visible";
2173 action: STATE_SET "visible" 0.0;
2174 target: "elm.units";
2177 program { name: "units_hide";
2178 signal: "elm,state,units,hidden";
2180 action: STATE_SET "default" 0.0;
2181 target: "elm.units";
2184 program { name: "volume_state_change";
2185 signal: "elm,state,drag";
2188 volume_state_change()
2194 group { name: "elm/slider/vertical/volume15";
2196 image: "00_volume15_00_ver.png" COMP;
2197 image: "00_volume15_01_ver.png" COMP;
2198 image: "00_volume15_02_ver.png" COMP;
2199 image: "00_volume15_03_ver.png" COMP;
2200 image: "00_volume15_04_ver.png" COMP;
2201 image: "00_volume15_05_ver.png" COMP;
2202 image: "00_volume15_06_ver.png" COMP;
2203 image: "00_volume15_07_ver.png" COMP;
2204 image: "00_volume15_08_ver.png" COMP;
2205 image: "00_volume15_09_ver.png" COMP;
2206 image: "00_volume15_10_ver.png" COMP;
2207 image: "00_volume15_11_ver.png" COMP;
2208 image: "00_volume15_12_ver.png" COMP;
2209 image: "00_volume15_13_ver.png" COMP;
2210 image: "00_volume15_14_ver.png" COMP;
2211 image: "00_volume15_15_ver.png" COMP;
2214 public volume_state_change(){
2215 new Float:x, Float:y;
2216 get_drag(PART:"elm.dragable.slider", x, y);
2218 set_state(PART:"base", "volume_15", 0.0);
2219 else if(y <= 0.15625)
2220 set_state(PART:"base", "volume_14", 0.0);
2221 else if(y <= 0.21875)
2222 set_state(PART:"base", "volume_13", 0.0);
2223 else if(y <= 0.28125)
2224 set_state(PART:"base", "volume_12", 0.0);
2225 else if(y <= 0.34375)
2226 set_state(PART:"base", "volume_11", 0.0);
2227 else if(y <= 0.40625)
2228 set_state(PART:"base", "volume_10", 0.0);
2229 else if(y <= 0.46875)
2230 set_state(PART:"base", "volume_09", 0.0);
2231 else if(y <= 0.53125)
2232 set_state(PART:"base", "volume_08", 0.0);
2233 else if(y <= 0.59375)
2234 set_state(PART:"base", "volume_07", 0.0);
2235 else if(y <= 0.65625)
2236 set_state(PART:"base", "volume_06", 0.0);
2237 else if(y <= 0.71875)
2238 set_state(PART:"base", "volume_05", 0.0);
2239 else if(y <= 0.78125)
2240 set_state(PART:"base", "volume_04", 0.0);
2241 else if(y <= 0.84375)
2242 set_state(PART:"base", "volume_03", 0.0);
2243 else if(y <= 0.90625)
2244 set_state(PART:"base", "volume_02", 0.0);
2245 else if(y <= 0.96875)
2246 set_state(PART:"base", "volume_01", 0.0);
2248 set_state(PART:"base", "default", 0.0);
2252 part { name: "base";
2254 description { state: "default" 0.0;
2264 image.normal: "00_volume15_00_ver.png";
2266 #define SLIDER15_VER_BG_PART(part_number)\
2268 state: "volume_"part_number 0.0; \
2269 inherit: "default" 0.0; \
2270 image.normal: "00_volume15_"part_number"_ver.png"; \
2272 SLIDER15_VER_BG_PART(01)
2273 SLIDER15_VER_BG_PART(02)
2274 SLIDER15_VER_BG_PART(03)
2275 SLIDER15_VER_BG_PART(04)
2276 SLIDER15_VER_BG_PART(05)
2277 SLIDER15_VER_BG_PART(06)
2278 SLIDER15_VER_BG_PART(07)
2279 SLIDER15_VER_BG_PART(08)
2280 SLIDER15_VER_BG_PART(09)
2281 SLIDER15_VER_BG_PART(10)
2282 SLIDER15_VER_BG_PART(11)
2283 SLIDER15_VER_BG_PART(12)
2284 SLIDER15_VER_BG_PART(13)
2285 SLIDER15_VER_BG_PART(14)
2286 SLIDER15_VER_BG_PART(15)
2292 description { state: "default" 0.0;
2294 rel1.to: "elm.swallow.bar";
2295 rel2.to: "elm.swallow.bar";
2299 part { name: "elm.swallow.bar";
2302 description { state: "default" 0.0;
2308 part { name: "bar_top_padding";
2312 state: "default" 0.0;
2327 part { name: "bar_bottom_padding";
2330 state: "default" 0.0;
2345 part { name: "elm.swallow.icon";
2348 description { state: "default" 0.0;
2352 to_x: "elm.swallow.bar";
2356 to_x: "elm.swallow.bar";
2359 description { state: "visible" 0.0;
2360 inherit: "default" 0.0;
2363 aspect_preference: HORIZONTAL;
2366 part { name: "elm.text";
2370 description { state: "default" 0.0;
2374 rel1.to_y: "elm.swallow.icon";
2375 rel1.relative: 0.0 1.0;
2376 rel2.to_y: "elm.swallow.icon";
2377 rel2.relative: 1.0 1.0;
2378 color: 164 160 149 255;
2380 font: "Tizen:style=Bold";
2384 text_class: "tizen";
2387 description { state: "visible" 0.0;
2388 inherit: "default" 0.0;
2393 part { name: "elm.swallow.end";
2396 description { state: "default" 0.0;
2401 to_x: "elm.swallow.bar";
2405 to_x: "elm.swallow.bar";
2408 description { state: "visible" 0.0;
2409 inherit: "default" 0.0;
2412 aspect_preference: HORIZONTAL;
2415 part { name: "units";
2418 description { state: "default" 0.0;
2424 description { state: "visible" 0.0;
2425 inherit: "default" 0.0;
2429 part { name: "elm.units";
2433 description { state: "default" 0.0;
2437 rel1.relative: 0.0 0.0;
2438 rel1.to_y: "elm.swallow.end";
2439 rel2.relative: 1.0 0.0;
2440 rel2.to_y: "elm.swallow.end";
2441 color: 164 160 149 255;
2443 font: "Tizen:style=Bold";
2447 text_class: "tizen";
2450 description { state: "visible" 0.0;
2451 inherit: "default" 0.0;
2459 part { name: "elm.dragable.slider";
2468 description { state: "default" 0.0;
2484 program { name: "text_show";
2485 signal: "elm,state,text,visible";
2487 action: STATE_SET "visible" 0.0;
2490 program { name: "text_hide";
2491 signal: "elm,state,text,hidden";
2493 action: STATE_SET "default" 0.0;
2496 program { name: "icon_show";
2497 signal: "elm,state,icon,visible";
2499 action: STATE_SET "visible" 0.0;
2500 target: "elm.swallow.icon";
2502 program { name: "icon_hide";
2503 signal: "elm,state,icon,hidden";
2505 action: STATE_SET "default" 0.0;
2506 target: "elm.swallow.icon";
2508 program { name: "end_show";
2509 signal: "elm,state,end,visible";
2511 action: STATE_SET "visible" 0.0;
2512 target: "elm.swallow.end";
2514 program { name: "end_hide";
2515 signal: "elm,state,end,hidden";
2517 action: STATE_SET "default" 0.0;
2518 target: "elm.swallow.end";
2520 program { name: "units_show";
2521 signal: "elm,state,units,visible";
2523 action: STATE_SET "visible" 0.0;
2524 target: "elm.units";
2527 program { name: "units_hide";
2528 signal: "elm,state,units,hidden";
2530 action: STATE_SET "default" 0.0;
2531 target: "elm.units";
2534 program { name: "volume_state_change";
2535 signal: "elm,state,drag";
2538 volume_state_change()
2544 group { name: "elm/slider/horizontal/default";
2545 alias: "elm/slider/horizontal/disabled";
2547 image: "00_progress_bg.png" COMP;
2548 image: "00_progress_bar.png" COMP;
2551 public invert_on = 0;
2552 public set_invert_on() {
2553 set_state(PART:"level", "inverted", 0.0);
2554 set_state(PART:"level2", "inverted", 0.0);
2555 set_int(invert_on, 1);
2557 public set_invert_off() {
2558 set_state(PART:"level", "default", 0.0);
2559 set_state(PART:"level2", "default", 0.0);
2560 set_int(invert_on, 0);
2562 public thumb_down() {
2563 if(get_int(invert_on) == 0)
2564 set_state(PART:"level", "pressed", 0.0);
2565 else if(get_int(invert_on) == 1)
2566 set_state(PART:"level2", "pressed", 0.0);
2569 if(get_int(invert_on) == 0)
2570 set_state(PART:"level", "default", 0.0);
2571 else if(get_int(invert_on) == 1)
2572 set_state(PART:"level2", "inverted", 0.0);
2576 part { name: "base";
2579 description { state: "default" 0.0;
2580 min: SLIDER_BASE_MIN_WIDTH_INC SLIDER_BASE_HEIGHT_INC;
2581 max: 99999 SLIDER_BASE_HEIGHT_INC;
2584 image.normal: "00_progress_bg.png";
2585 image.border: 17 17 0 0;
2586 image.border_scale: 1;
2589 part { name: "level";
2593 description { state: "default" 0.0;
2598 to_x: "elm.dragable.slider";
2601 image.normal: "00_progress_bar.png";
2602 image.border: 17 17 0 0;
2603 image.border_scale: 1;
2605 description { state: "inverted" 0.0;
2606 inherit: "default" 0.0;
2609 description { state: "pressed" 0.0;
2610 inherit: "default" 0.0;
2611 image.normal: "00_progress_bar.png";
2614 part { name: "level2";
2618 description { state: "default" 0.0;
2623 to_x: "elm.dragable.slider";
2627 image.normal: "00_progress_bar.png";
2628 image.border: 0 0 4 4;
2629 image.border_scale: 1;
2631 description { state: "inverted" 0.0;
2632 inherit: "default" 0.0;
2635 description { state: "pressed" 0.0;
2636 inherit: "default" 0.0;
2638 image.normal: "00_progress_bar.png";
2645 description { state: "default" 0.0;
2647 rel1.to: "elm.swallow.bar";
2648 rel2.to: "elm.swallow.bar";
2651 part { name: "elm.swallow.bar";
2655 description { state: "default" 0.0;
2656 min: SLIDER_SWALLOW_BAR_MIN_WIDTH_INC SLIDER_SWALLOW_BAR_HEIGHT_INC;
2657 max: 99999 SLIDER_SWALLOW_BAR_HEIGHT_INC;
2660 to_x: "bar_left_padding";
2664 to_x: "bar_right_padding";
2670 name: "bar_left_padding";
2674 state: "default" 0.0;
2690 name: "bar_right_padding";
2694 state: "default" 0.0;
2709 part { name: "elm.swallow.icon";
2712 description { state: "default" 0.0;
2716 to_y: "elm.swallow.bar";
2720 to_y: "elm.swallow.bar";
2723 description { state: "visible" 0.0;
2724 inherit: "default" 0.0;
2727 aspect_preference: VERTICAL;
2730 part { name: "elm.text";
2734 description { state: "default" 0.0;
2738 rel1.to_x: "elm.swallow.icon";
2739 rel1.relative: 1.0 0.0;
2740 rel2.to_x: "elm.swallow.icon";
2741 color: SLIDER_UNITS_TEXT_COLOR_INC;
2743 font: "Tizen:style=Medium";
2744 size: SLIDER_UNITS_TEXT_SIZE_INC;
2747 text_class: "tizen";
2750 description { state: "visible" 0.0;
2751 inherit: "default" 0.0;
2756 part { name: "elm.swallow.end";
2759 description { state: "default" 0.0;
2764 to_y: "elm.swallow.bar";
2768 to_y: "elm.swallow.bar";
2771 description { state: "visible" 0.0;
2772 inherit: "default" 0.0;
2775 aspect_preference: VERTICAL;
2778 part { name: "units";
2781 description { state: "default" 0.0;
2787 description { state: "visible" 0.0;
2788 inherit: "default" 0.0;
2792 part { name: "elm.units";
2796 description { state: "default" 0.0;
2800 rel1.to_x: "elm.swallow.end";
2801 rel2.relative: 0.0 1.0;
2802 rel2.to_x: "elm.swallow.end";
2803 color: SLIDER_UNITS_TEXT_COLOR_INC;
2805 font: "Tizen:style=Bold";
2806 size: SLIDER_UNITS_TEXT_SIZE_INC;
2809 text_class: "tizen";
2812 description { state: "visible" 0.0;
2813 inherit: "default" 0.0;
2819 part { name: "elm.dragable.slider";
2821 source: "elm/slider/horizontal/indicator/default";
2829 description { state: "default" 0.0;
2830 min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
2836 part { name: "disabler";
2841 description { state: "default" 0.0;
2845 description { state: "disabled" 0.0;
2846 inherit: "default" 0.0;
2850 part { name: "clipper";
2852 description { state: "default" 0.0;
2853 color: 255 255 255 255;
2855 description { state: "disabled" 0.0;
2856 color: 255 255 255 102;
2861 program { name: "text_show";
2862 signal: "elm,state,text,visible";
2864 action: STATE_SET "visible" 0.0;
2867 program { name: "text_hide";
2868 signal: "elm,state,text,hidden";
2870 action: STATE_SET "default" 0.0;
2873 program { name: "icon_show";
2874 signal: "elm,state,icon,visible";
2876 action: STATE_SET "visible" 0.0;
2877 target: "elm.swallow.icon";
2879 program { name: "icon_hide";
2880 signal: "elm,state,icon,hidden";
2882 action: STATE_SET "default" 0.0;
2883 target: "elm.swallow.icon";
2885 program { name: "end_show";
2886 signal: "elm,state,end,visible";
2888 action: STATE_SET "visible" 0.0;
2889 target: "elm.swallow.end";
2891 program { name: "end_hide";
2892 signal: "elm,state,end,hidden";
2894 action: STATE_SET "default" 0.0;
2895 target: "elm.swallow.end";
2897 program { name: "units_show";
2898 signal: "elm,state,units,visible";
2900 action: STATE_SET "visible" 0.0;
2901 target: "elm.units";
2904 program { name: "units_hide";
2905 signal: "elm,state,units,hidden";
2907 action: STATE_SET "default" 0.0;
2908 target: "elm.units";
2911 program { name: "invert_on";
2912 signal: "elm,state,inverted,on";
2918 program { name: "invert_off";
2919 signal: "elm,state,inverted,off";
2925 program { name: "val_show";
2926 signal: "mouse,down,*";
2927 source: "elm.dragable.slider";
2932 program { name: "val_hide";
2933 signal: "mouse,up,*";
2934 source: "elm.dragable.slider";
2939 program { name: "slider_disable";
2940 signal: "elm,state,disabled";
2942 action: STATE_SET "disabled" 0.0;
2946 program { name: "slider_enable";
2947 signal: "elm,state,enabled";
2949 action: STATE_SET "default" 0.0;
2956 group { name: "elm/slider/horizontal/expanded_indicator_button";
2957 inherit: "elm/slider/horizontal/default";
2959 part { name: "elm.dragable.slider";
2961 source: "elm/slider/horizontal/indicator/expanded_indicator_button";
2969 description { state: "default" 0.0;
2970 min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
2986 group { name: "elm/slider/horizontal/indicator/expanded_indicator_button";
2987 inherit: "elm/slider/horizontal/indicator/default";
2989 part { name: "button_events";
2993 description { state: "default" 0.0;
2995 min: 2*SLIDER_INDICATOR_WIDTH_INC 1.5*SLIDER_INDICATOR_HEIGHT_INC;
2998 aspect_preference: VERTICAL;
3005 group { name: "elm/slider/vertical/default";
3006 alias: "elm/slider/vertical/disabled";
3008 image: "00_winset_list_progress_bg.png" COMP;
3009 image: "00_winset_list_progress_bar.png" COMP;
3012 part { name: "base";
3015 description { state: "default" 0.0;
3016 min: SLIDER_BASE_HEIGHT_INC SLIDER_BASE_MIN_WIDTH_INC;
3017 max: SLIDER_BASE_HEIGHT_INC 99999;
3021 normal: "00_winset_list_progress_bg.png";
3027 part { name: "level";
3031 description { state: "default" 0.0;
3036 to_y: "elm.dragable.slider";
3040 normal: "00_winset_list_progress_bar.png";
3045 description { state: "inverted" 0.0;
3046 inherit: "default" 0.0;
3050 part { name: "level2";
3054 description { state: "default" 0.0;
3059 to_y: "elm.dragable.slider";
3064 normal: "00_winset_list_progress_bar.png";
3069 description { state: "inverted" 0.0;
3070 inherit: "default" 0.0;
3078 description { state: "default" 0.0;
3080 rel1.to: "elm.swallow.bar";
3081 rel2.to: "elm.swallow.bar";
3084 part { name: "elm.swallow.bar";
3087 description { state: "default" 0.0;
3088 min: SLIDER_SWALLOW_BAR_HEIGHT_INC SLIDER_BASE_MIN_WIDTH_INC;
3089 max: SLIDER_SWALLOW_BAR_HEIGHT_INC 99999;
3091 to_y: "bar_top_padding";
3095 to_y: "bar_bottom_padding";
3101 name: "bar_top_padding";
3105 state: "default" 0.0;
3121 name: "bar_bottom_padding";
3125 state: "default" 0.0;
3140 part { name: "elm.text";
3144 description { state: "default" 0.0;
3149 to_y: "elm.swallow.icon";
3152 to_y: "elm.swallow.icon";
3155 color: SLIDER_UNITS_TEXT_COLOR_INC;
3157 font: "Tizen:style=Medium";
3158 size: SLIDER_UNITS_TEXT_SIZE_INC;
3161 text_class: "tizen";
3164 description { state: "visible" 0.0;
3165 inherit: "default" 0.0;
3170 part { name: "elm.swallow.icon";
3173 description { state: "default" 0.0;
3177 to_x: "elm.swallow.bar";
3181 to_x: "elm.swallow.bar";
3185 description { state: "visible" 0.0;
3186 inherit: "default" 0.0;
3187 min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
3190 aspect_preference: VERTICAL;
3193 part { name: "elm.swallow.end";
3196 description { state: "default" 0.0;
3201 to_x: "elm.swallow.bar";
3205 to_x: "elm.swallow.bar";
3209 description { state: "visible" 0.0;
3210 inherit: "default" 0.0;
3211 min: SLIDER_INDICATOR_WIDTH_INC SLIDER_INDICATOR_HEIGHT_INC;
3214 aspect_preference: VERTICAL;
3217 part { name: "elm.units";
3221 description { state: "default" 0.0;
3225 to_y: "elm.swallow.end";
3229 to_y: "elm.swallow.end";
3232 color: SLIDER_UNITS_TEXT_COLOR_INC;
3234 font: "Tizen:style=Bold";
3235 size: SLIDER_UNITS_TEXT_SIZE_INC;
3238 text_class: "tizen";
3241 description { state: "visible" 0.0;
3242 inherit: "default" 0.0;
3248 part { name: "elm.dragable.slider";
3250 source: "elm/slider/vertical/indicator/default";
3257 description { state: "default" 0.0;
3258 min: SLIDER_INDICATOR_HEIGHT_INC SLIDER_INDICATOR_WIDTH_INC;
3263 part { name: "disabler";
3267 description { state: "default" 0.0;
3271 description { state: "disabled" 0.0;
3272 inherit: "default" 0.0;
3276 part { name: "clipper";
3278 description { state: "default" 0.0;
3279 color: 255 255 255 255;
3281 description { state: "disabled" 0.0;
3282 color: 255 255 255 102;
3287 program { name: "text_show";
3288 signal: "elm,state,text,visible";
3290 action: STATE_SET "visible" 0.0;
3293 program { name: "text_hide";
3294 signal: "elm,state,text,hidden";
3296 action: STATE_SET "default" 0.0;
3299 program { name: "icon_show";
3300 signal: "elm,state,icon,visible";
3302 action: STATE_SET "visible" 0.0;
3303 target: "elm.swallow.icon";
3305 program { name: "icon_hide";
3306 signal: "elm,state,icon,hidden";
3308 action: STATE_SET "default" 0.0;
3309 target: "elm.swallow.icon";
3311 program { name: "end_show";
3312 signal: "elm,state,end,visible";
3314 action: STATE_SET "visible" 0.0;
3315 target: "elm.swallow.end";
3317 program { name: "end_hide";
3318 signal: "elm,state,end,hidden";
3320 action: STATE_SET "default" 0.0;
3321 target: "elm.swallow.end";
3323 program { name: "units_show";
3324 signal: "elm,state,units,visible";
3326 action: STATE_SET "visible" 0.0;
3327 target: "elm.units";
3329 program { name: "units_hide";
3330 signal: "elm,state,units,hidden";
3332 action: STATE_SET "default" 0.0;
3333 target: "elm.units";
3335 program { name: "invert_on";
3336 signal: "elm,state,inverted,on";
3338 action: STATE_SET "inverted" 0.0;
3342 program { name: "invert_off";
3343 signal: "elm,state,inverted,off";
3345 action: STATE_SET "default" 0.0;
3349 program { name: "slider_disable";
3350 signal: "elm,state,disabled";
3352 action: STATE_SET "disabled" 0.0;
3356 program { name: "slider_enable";
3357 signal: "elm,state,enabled";
3359 action: STATE_SET "default" 0.0;