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.
23 group { name: "elm/scroller/base/default";
24 alias: "elm/carousel/base/default";
25 alias: "elm/scroller/base/map_bubble";
26 alias: "elm/gengrid/base/no_effect";
27 alias: "elm/genlist/base/no_effect";
30 item: "focus_highlight" "on";
34 public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
35 public sh_v, sh_h, sh_timer, edge_timer;
40 v = get_int(sbalways_v);
42 emit("do-hide-vbar", "");
48 v = get_int(sbalways_h);
50 emit("do-hide-hbar", "");
54 set_int(sbvis_timer, 0);
58 emit("do-hide-vshadow", "");
59 emit("do-hide-hshadow", "");
64 emit("do-hide-vshadow", "");
65 emit("do-hide-hshadow", "");
66 set_int(edge_timer, 0);
71 image: SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE COMP;
72 image: SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE COMP;
78 description { state: "default" 0.0;
84 part { name: "clipper";
88 description { state: "default" 0.0;
95 part { name: "elm.swallow.content";
99 description { state: "default" 0.0;
106 part { name: "sb_vbar_clip_master";
110 description { state: "default" 0.0;
112 description { state: "hidden" 0.0;
114 color: 255 255 255 0;
117 part { name: "sb_vbar_clip";
118 clip_to: "sb_vbar_clip_master";
122 description { state: "default" 0.0;
124 description { state: "hidden" 0.0;
126 color: 255 255 255 0;
129 part { name: "sb_vbar";
133 description { state: "default" 0.0;
136 min: SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC;
141 to_y: "elm.swallow.content";
142 to_x: "elm.swallow.content";
147 to_y: "elm.swallow.content";
148 to_x: "elm.swallow.content";
152 part { name: "elm.dragable.vbar";
153 clip_to: "sb_vbar_clip";
161 description { state: "default" 0.0;
163 min: SCROLLER_DEFAULT_SCROLLBAR_VBAR_MIN_SIZE_INC;
164 max: SCROLLER_DEFAULT_SCROLLBAR_VBAR_MAX_SIZE_INC;
176 normal: SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE;
177 border: SCROLLER_DEFAULT_SCROLLBAR_VBAR_IMAGE_BORDER;
183 part { name: "sb_hbar_clip_master";
187 description { state: "default" 0.0;
189 description { state: "hidden" 0.0;
191 color: 255 255 255 0;
194 part { name: "sb_hbar_clip";
195 clip_to: "sb_hbar_clip_master";
199 description { state: "default" 0.0;
201 description { state: "hidden" 0.0;
203 color: 255 255 255 0;
206 part { name: "sb_hbar";
210 description { state: "default" 0.0;
213 min: SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC;
218 to_x: "elm.swallow.content";
219 to_y: "elm.swallow.content";
224 to_x: "elm.swallow.content";
225 to_y: "elm.swallow.content";
229 part { name: "elm.dragable.hbar";
230 clip_to: "sb_hbar_clip";
238 description { state: "default" 0.0;
240 min: SCROLLER_DEFAULT_SCROLLBAR_HBAR_MIN_SIZE_INC;
241 max: SCROLLER_DEFAULT_SCROLLBAR_HBAR_MAX_SIZE_INC;
253 normal: SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE;
254 border: SCROLLER_DEFAULT_SCROLLBAR_HBAR_IMAGE_BORDER;
260 part { name: "disabler";
263 description { state: "default" 0.0;
269 description { state: "disabled" 0.0;
270 inherit: "default" 0.0;
272 color: 128 128 128 128;
277 program { name: "load";
281 set_state(PART:"sb_hbar_clip", "hidden", 0.0);
282 set_state(PART:"sb_vbar_clip", "hidden", 0.0);
285 set_int(sbalways_v, 0);
286 set_int(sbalways_h, 0);
287 set_int(sbvis_timer, 0);
291 program { name: "vbar_show";
292 signal: "elm,action,show,vbar";
294 action: STATE_SET "default" 0.0;
295 target: "sb_vbar_clip_master";
297 program { name: "vbar_hide";
298 signal: "elm,action,hide,vbar";
300 action: STATE_SET "hidden" 0.0;
301 target: "sb_vbar_clip_master";
303 program { name: "vbar_show_always";
304 signal: "elm,action,show_always,vbar";
308 v = get_int(sbvis_v);
309 v |= get_int(sbalways_v);
311 set_int(sbalways_v, 1);
312 emit("do-show-vbar", "");
317 program { name: "vbar_show_notalways";
318 signal: "elm,action,show_notalways,vbar";
322 v = get_int(sbalways_v);
324 set_int(sbalways_v, 0);
325 v = get_int(sbvis_v);
327 emit("do-hide-vbar", "");
333 program { name: "sb_vbar_show";
334 signal: "do-show-vbar";
336 action: STATE_SET "default" 0.0;
337 transition: LINEAR 0.5;
338 target: "sb_vbar_clip";
340 program { name: "sb_vbar_hide";
341 signal: "do-hide-vbar";
343 action: STATE_SET "hidden" 0.0;
344 transition: LINEAR 0.5;
345 target: "sb_vbar_clip";
348 program { name: "hbar_show";
349 signal: "elm,action,show,hbar";
351 action: STATE_SET "default" 0.0;
352 target: "sb_hbar_clip_master";
354 program { name: "hbar_hide";
355 signal: "elm,action,hide,hbar";
357 action: STATE_SET "hidden" 0.0;
358 target: "sb_hbar_clip_master";
360 program { name: "hbar_show_always";
361 signal: "elm,action,show_always,hbar";
365 v = get_int(sbvis_h);
366 v |= get_int(sbalways_h);
368 set_int(sbalways_h, 1);
369 emit("do-show-hbar", "");
374 program { name: "hbar_show_notalways";
375 signal: "elm,action,show_notalways,hbar";
379 v = get_int(sbalways_h);
381 set_int(sbalways_h, 0);
382 v = get_int(sbvis_h);
384 emit("do-hide-hbar", "");
390 program { name: "sb_hbar_show";
391 signal: "do-show-hbar";
393 action: STATE_SET "default" 0.0;
394 transition: LINEAR 0.5;
395 target: "sb_hbar_clip";
397 program { name: "sb_hbar_hide";
398 signal: "do-hide-hbar";
400 action: STATE_SET "hidden" 0.0;
401 transition: LINEAR 0.5;
402 target: "sb_hbar_clip";
405 program { name: "scroll";
406 signal: "elm,action,scroll";
410 v = get_int(sbvis_v);
411 v |= get_int(sbalways_v);
413 emit("do-show-vbar", "");
416 v = get_int(sbvis_h);
417 v |= get_int(sbalways_h);
419 emit("do-show-hbar", "");
422 v = get_int(sbvis_timer);
423 if (v > 0) cancel_timer(v);
424 v = timer(1.0, "timer0", 0);
425 set_int(sbvis_timer, v);
428 program { name: "disable";
429 signal: "elm,state,disabled";
431 action: STATE_SET "disabled" 0.0;
434 program { name: "enable";
435 signal: "elm,state,enabled";
437 action: STATE_SET "default" 0.0;
443 group { name: "elm/scroller/base/handler";
444 alias: "elm/carousel/base/handler";
447 item: "focus_highlight" "on";
450 public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
451 public sh_timer, edge_timer;
454 v = get_int(sbvis_v);
456 v = get_int(sbalways_v);
458 emit("do-hide-vbar", "");
462 v = get_int(sbvis_h);
464 v = get_int(sbalways_h);
466 emit("do-hide-hbar", "");
470 set_int(sbvis_timer, 0);
474 emit("do-hide-vshadow", "");
475 emit("do-hide-hshadow", "");
476 set_int(sh_timer, 0);
480 emit("do-hide-vshadow", "");
481 emit("do-hide-hshadow", "");
482 set_int(edge_timer, 0);
487 image: "bt_sm_shine.png" COMP;
488 image: "bt_sm_hilight.png" COMP;
489 image: "sb_runnerh.png" COMP;
490 image: "00_scroll_bar_handler_top.png" COMP;
491 image: "00_scroll_bar_handler_middle.png" COMP;
492 image: "00_scroll_bar_handler_bottom.png" COMP;
493 image: "00_scroll_bar_handler_left.png" COMP;
494 image: "00_scroll_bar_handler_hor.png" COMP;
495 image: "00_scroll_bar_handler_right.png" COMP;
496 image: "sl_bt2_2.png" COMP;
497 image: "shelf_inset.png" COMP;
503 description { state: "default" 0.0;
506 color: 255 255 255 0;
509 part { name: "clipper";
513 description { state: "default" 0.0;
520 part { name: "elm.swallow.content";
524 description { state: "default" 0.0;
531 part { name: "conf_over";
534 description { state: "default" 0.0;
539 normal: "shelf_inset.png";
545 description { state: "enabled" 0.0;
546 inherit: "default" 0.0;
547 color: 200 155 0 255;
550 part { name: "focus_highlight";
553 description { state: "default" 0.0;
557 normal: "sl_bt2_2.png";
564 description { state: "enabled" 0.0;
565 inherit: "default" 0.0;
566 color: 200 155 0 255;
569 part { name: "sb_vbar_clip_master";
573 description { state: "default" 0.0;
575 description { state: "hidden" 0.0;
577 color: 255 255 255 0;
580 part { name: "sb_vbar_clip";
581 clip_to: "sb_vbar_clip_master";
585 description { state: "default" 0.0;
587 description { state: "hidden" 0.0;
589 color: 255 255 255 0;
592 part { name: "sb_vbar";
596 description { state: "default" 0.0;
599 min: SCROLLER_HANDLER_SCROLLBAR_VBAR_MIN_SIZE_INC;
603 to_y: "elm.swallow.content";
604 to_x: "elm.swallow.content";
609 to_x: "elm.swallow.content";
613 part { name: "elm.dragable.vbar";
615 clip_to: "sb_vbar_clip";
623 description { state: "default" 0.0;
626 min: SCROLLER_HANDLER_SCROLLBAR_VBAR_MIN_SIZE_INC;
640 part { name: "scrollbar_handler_image_top";
641 clip_to: "sb_vbar_clip";
644 description { state: "default" 0.0;
646 rel1.relative: 0.0 0.0;
647 rel1.to: "elm.dragable.vbar";
648 rel2.relative: 1.0 0.0;
649 rel2.to: "scrollbar_handler_image_middle";
652 normal: "00_scroll_bar_handler_top.png";
658 part { name: "scrollbar_handler_image_middle";
659 clip_to: "sb_vbar_clip";
662 description { state: "default" 0.0;
664 rel1.relative: 0.5 0.5;
665 rel1.to: "elm.dragable.vbar";
666 rel2.relative: 0.5 0.5;
667 rel2.to: "elm.dragable.vbar";
669 min: SCROLLER_HANDLER_SCROLLBAR_VBAR_MIDDLE_MIN_SIZE_INC;
671 normal: "00_scroll_bar_handler_middle.png";
677 part { name: "scrollbar_handler_image_bottom";
678 clip_to: "sb_vbar_clip";
681 description { state: "default" 0.0;
683 rel1.relative: 0.0 1.0;
684 rel1.to: "scrollbar_handler_image_middle";
685 rel2.relative: 1.0 1.0;
686 rel2.to: "elm.dragable.vbar";
689 normal: "00_scroll_bar_handler_bottom.png";
695 part { name: "sb_vbar_over1";
696 clip_to: "sb_vbar_clip";
699 description { state: "default" 0.0;
700 rel1.to: "elm.dragable.vbar";
701 rel2.relative: 1.0 0.5;
702 rel2.to: "elm.dragable.vbar";
705 normal: "bt_sm_hilight.png";
711 part { name: "sb_vbar_over2";
712 clip_to: "sb_vbar_clip";
715 description { state: "default" 0.0;
716 rel1.to: "elm.dragable.vbar";
717 rel2.to: "elm.dragable.vbar";
720 normal: "bt_sm_shine.png";
726 part { name: "sb_hbar_clip_master";
730 description { state: "default" 0.0;
732 description { state: "hidden" 0.0;
734 color: 255 255 255 0;
737 part { name: "sb_hbar_clip";
738 clip_to: "sb_hbar_clip_master";
742 description { state: "default" 0.0;
744 description { state: "hidden" 0.0;
746 color: 255 255 255 0;
749 part { name: "sb_hbar";
753 description { state: "default" 0.0;
756 min: SCROLLER_HANDLER_SCROLLBAR_HBAR_MIN_SIZE_INC;
760 to_x: "elm.swallow.content";
761 to_y: "elm.swallow.content";
767 to_y: "elm.swallow.content";
771 part { name: "elm.dragable.hbar";
773 clip_to: "sb_hbar_clip";
781 description { state: "default" 0.0;
784 min: SCROLLER_HANDLER_SCROLLBAR_HBAR_MIN_SIZE_INC;
798 part { name: "h_scrollbar_handler_image_left";
799 clip_to: "sb_hbar_clip";
802 description { state: "default" 0.0;
804 rel1.relative: 0.0 0.0;
805 rel1.to: "elm.dragable.hbar";
806 rel2.relative: 0.0 1.0;
807 rel2.to: "scrollbar_handler_image_hor";
810 normal: "00_scroll_bar_handler_left.png";
816 part { name: "scrollbar_handler_image_hor";
817 clip_to: "sb_hbar_clip";
820 description { state: "default" 0.0;
822 rel1.relative: 0.5 0.5;
823 rel1.to: "elm.dragable.hbar";
824 rel2.relative: 0.5 0.5;
825 rel2.to: "elm.dragable.hbar";
827 min: SCROLLER_HANDLER_SCROLLBAR_HBAR_MIDDLE_MIN_SIZE_INC;
829 normal: "00_scroll_bar_handler_hor.png";
835 part { name: "h_scrollbar_handler_image_right";
836 clip_to: "sb_hbar_clip";
839 description { state: "default" 0.0;
841 rel1.relative: 1.0 0.0;
842 rel1.to: "scrollbar_handler_image_hor";
843 rel2.relative: 1.0 1.0;
844 rel2.to: "elm.dragable.hbar";
847 normal: "00_scroll_bar_handler_right.png";
853 part { name: "sb_hbar_over1";
854 clip_to: "sb_hbar_clip";
857 description { state: "default" 0.0;
858 rel1.to: "elm.dragable.hbar";
859 rel2.relative: 1.0 0.5;
860 rel2.to: "elm.dragable.hbar";
863 normal: "bt_sm_hilight.png";
869 part { name: "sb_hbar_over2";
870 clip_to: "sb_hbar_clip";
873 description { state: "default" 0.0;
874 rel1.to: "elm.dragable.hbar";
875 rel2.to: "elm.dragable.hbar";
878 normal: "bt_sm_shine.png";
884 part { name: "disabler";
887 description { state: "default" 0.0;
893 description { state: "disabled" 0.0;
894 inherit: "default" 0.0;
896 color: 128 128 128 128;
901 program { name: "load";
905 set_state(PART:"sb_hbar_clip", "hidden", 0.0);
906 set_state(PART:"sb_vbar_clip", "hidden", 0.0);
909 set_int(sbalways_v, 0);
910 set_int(sbalways_h, 0);
911 set_int(sbvis_timer, 0);
914 program { name: "vbar_show";
915 signal: "elm,action,show,vbar";
917 action: STATE_SET "default" 0.0;
918 target: "sb_vbar_clip_master";
920 program { name: "vbar_hide";
921 signal: "elm,action,hide,vbar";
923 action: STATE_SET "hidden" 0.0;
924 target: "sb_vbar_clip_master";
926 program { name: "vbar_show_always";
927 signal: "elm,action,show_always,vbar";
931 v = get_int(sbvis_v);
932 v |= get_int(sbalways_v);
934 set_int(sbalways_v, 1);
935 emit("do-show-vbar", "");
940 program { name: "vbar_show_notalways";
941 signal: "elm,action,show_notalways,vbar";
945 v = get_int(sbalways_v);
947 set_int(sbalways_v, 0);
948 v = get_int(sbvis_v);
950 emit("do-hide-vbar", "");
956 program { name: "vbar_press";
957 signal: "mouse,down,1";
958 source: "elm.dragable.vbar";
959 action: SIGNAL_EMIT "elm,vbar,press" "elm";
961 program { name: "vbar_unpress";
962 signal: "mouse,up,1";
963 source: "elm.dragable.vbar";
964 action: SIGNAL_EMIT "elm,vbar,unpress" "elm";
966 program { name: "sb_vbar_show";
967 signal: "do-show-vbar";
969 action: STATE_SET "default" 0.0;
970 transition: LINEAR 0.5;
971 target: "sb_vbar_clip";
973 program { name: "sb_vbar_hide";
974 signal: "do-hide-vbar";
976 action: STATE_SET "hidden" 0.0;
977 transition: LINEAR 0.5;
978 target: "sb_vbar_clip";
980 program { name: "hbar_show";
981 signal: "elm,action,show,hbar";
983 action: STATE_SET "default" 0.0;
984 target: "sb_hbar_clip_master";
986 program { name: "hbar_hide";
987 signal: "elm,action,hide,hbar";
989 action: STATE_SET "hidden" 0.0;
990 target: "sb_hbar_clip_master";
992 program { name: "hbar_show_always";
993 signal: "elm,action,show_always,hbar";
997 v = get_int(sbvis_h);
998 v |= get_int(sbalways_h);
1000 set_int(sbalways_h, 1);
1001 emit("do-show-hbar", "");
1002 set_int(sbvis_h, 1);
1006 program { name: "hbar_show_notalways";
1007 signal: "elm,action,show_notalways,hbar";
1011 v = get_int(sbalways_h);
1013 set_int(sbalways_h, 0);
1014 v = get_int(sbvis_h);
1016 emit("do-hide-hbar", "");
1017 set_int(sbvis_h, 0);
1022 program { name: "hbar_press";
1023 signal: "mouse,down,1";
1024 source: "elm.dragable.hbar";
1025 action: SIGNAL_EMIT "elm,hbar,press" "elm";
1027 program { name: "hbar_unpress";
1028 signal: "mouse,up,1";
1029 source: "elm.dragable.hbar";
1030 action: SIGNAL_EMIT "elm,hbar,unpress" "elm";
1032 program { name: "sb_hbar_show";
1033 signal: "do-show-hbar";
1035 action: STATE_SET "default" 0.0;
1036 transition: LINEAR 0.5;
1037 target: "sb_hbar_clip";
1039 program { name: "sb_hbar_hide";
1040 signal: "do-hide-hbar";
1042 action: STATE_SET "hidden" 0.0;
1043 transition: LINEAR 0.5;
1044 target: "sb_hbar_clip";
1047 program { name: "scroll";
1048 signal: "elm,action,scroll";
1052 v = get_int(sbvis_v);
1053 v |= get_int(sbalways_v);
1055 emit("do-show-vbar", "");
1056 set_int(sbvis_v, 1);
1058 v = get_int(sbvis_h);
1059 v |= get_int(sbalways_h);
1061 emit("do-show-hbar", "");
1062 set_int(sbvis_h, 1);
1064 v = get_int(sbvis_timer);
1065 if (v > 0) cancel_timer(v);
1066 v = timer(1.0, "timer0", 0);
1067 set_int(sbvis_timer, v);
1071 program { name: "highlight_show";
1072 signal: "elm,action,focus_highlight,show";
1074 action: STATE_SET "enabled" 0.0;
1075 transition: ACCELERATE 0.3;
1076 target: "focus_highlight";
1077 target: "conf_over";
1079 program { name: "highlight_hide";
1080 signal: "elm,action,focus_highlight,hide";
1082 action: STATE_SET "default" 0.0;
1083 transition: DECELERATE 0.3;
1084 target: "focus_highlight";
1085 target: "conf_over";
1087 program { name: "disable";
1088 signal: "elm,state,disabled";
1090 action: STATE_SET "disabled" 0.0;
1093 program { name: "enable";
1094 signal: "elm,state,enabled";
1096 action: STATE_SET "default" 0.0;
1102 group { name: "elm/genlist/base/default";
1103 alias: "elm/genscroller/base/default";
1104 alias: "elm/list/base/default";
1105 inherit: "elm/scroller/base/default";
1108 image: "00_overscrolling_top.png" COMP;
1109 image: "00_overscrolling_bottom.png" COMP;
1110 image: "00_overscrolling_left.png" COMP;
1111 image: "00_overscrolling_right.png" COMP;
1115 part { name: "vshadow_clip";
1119 description { state: "default" 0.0;
1121 description { state: "hidden" 0.0;
1123 color: 255 255 255 0;
1126 part { name: "hshadow_clip";
1130 description { state: "default" 0.0;
1132 description { state: "hidden" 0.0;
1134 color: 255 255 255 0;
1137 part { name: "shadow_top";
1138 clip_to: "vshadow_clip";
1142 description { state: "default" 0.0;
1146 color: 255 255 255 100;
1147 rel1.relative: 0.0 0.0;
1148 rel2.relative: 1.0 0.0;
1149 rel1.to: "elm.swallow.content";
1150 rel2.to: "elm.swallow.content";
1151 image.normal: "00_overscrolling_top.png";
1153 description { state: "edge" 0.0;
1154 inherit: "default" 0.0;
1155 color: 255 255 255 255;
1157 description { state: "hidden" 0.0;
1158 inherit: "default" 0.0;
1162 part { name: "shadow_bottom";
1163 clip_to: "vshadow_clip";
1167 description { state: "default" 0.0;
1171 color: 255 255 255 100;
1172 rel1.relative: 0.0 1.0;
1173 rel2.relative: 1.0 1.0;
1174 rel1.to: "elm.swallow.content";
1175 rel2.to: "elm.swallow.content";
1176 image.normal: "00_overscrolling_bottom.png";
1178 description { state: "edge" 0.0;
1179 inherit: "default" 0.0;
1180 color: 255 255 255 255;
1182 description { state: "hidden" 0.0;
1183 inherit: "default" 0.0;
1187 part { name: "shadow_left";
1188 clip_to: "hshadow_clip";
1192 description { state: "default" 0.0;
1196 color: 255 255 255 100;
1197 rel1.relative: 0.0 0.0;
1198 rel2.relative: 0.0 1.0;
1199 rel1.to: "elm.swallow.content";
1200 rel2.to: "elm.swallow.content";
1201 image.normal: "00_overscrolling_left.png";
1203 description { state: "edge" 0.0;
1204 inherit: "default" 0.0;
1205 color: 255 255 255 255;
1207 description { state: "hidden" 0.0;
1208 inherit: "default" 0.0;
1212 part { name: "shadow_right";
1213 clip_to: "hshadow_clip";
1217 description { state: "default" 0.0;
1221 color: 255 255 255 100;
1222 rel1.relative: 1.0 0.0;
1223 rel2.relative: 1.0 1.0;
1224 rel1.to: "elm.swallow.content";
1225 rel2.to: "elm.swallow.content";
1226 image.normal: "00_overscrolling_right.png";
1228 description { state: "edge" 0.0;
1229 inherit: "default" 0.0;
1230 color: 255 255 255 255;
1232 description { state: "hidden" 0.0;
1233 inherit: "default" 0.0;
1237 part { name: "padding_jump_to_top";
1240 description { state: "default" 0.0;
1241 min: BUTTON_JUMP_TOP_PADDING_TO_SCROLLER_MIN_MAX_INC;
1242 max: BUTTON_JUMP_TOP_PADDING_TO_SCROLLER_MIN_MAX_INC;
1243 rel1.relative: 1.0 0.0;
1244 rel2.relative: 1.0 0.0;
1245 rel1.to: "elm.swallow.content";
1246 rel2.to: "elm.swallow.content";
1251 part { name: "elm.swallow.jump_to_top";
1254 description { state: "default" 0.0;
1256 to: "padding_jump_to_top";
1260 to: "padding_jump_to_top";
1267 part { name: "padding_jump_to_left";
1270 description { state: "default" 0.0;
1271 min: BUTTON_JUMP_LEFT_PADDING_TO_SCROLLER_MIN_MAX_INC;
1272 max: BUTTON_JUMP_LEFT_PADDING_TO_SCROLLER_MIN_MAX_INC;
1273 rel1.relative: 0.0 1.0;
1274 rel2.relative: 0.0 1.0;
1275 rel1.to: "elm.swallow.content";
1276 rel2.to: "elm.swallow.content";
1281 part { name: "elm.swallow.jump_to_left";
1284 description { state: "default" 0.0;
1286 to: "padding_jump_to_left";
1290 to: "padding_jump_to_left";
1299 program { name: "load";
1301 set_state(PART:"sb_hbar_clip", "hidden", 0.0);
1302 set_state(PART:"sb_vbar_clip", "hidden", 0.0);
1303 set_state(PART:"vshadow_clip", "hidden", 0.0);
1304 set_state(PART:"hshadow_clip", "hidden", 0.0);
1305 set_int(sbvis_h, 0);
1306 set_int(sbvis_v, 0);
1307 set_int(sbalways_v, 0);
1308 set_int(sbalways_h, 0);
1309 set_int(sbvis_timer, 0);
1311 set_int(sh_timer, 0);
1312 set_int(edge_timer, 0);
1315 program { name: "vshadow_show";
1316 signal: "do-show-vshadow";
1318 action: STATE_SET "default" 0.0;
1319 transition: LINEAR 0.5;
1320 target: "vshadow_clip";
1322 program { name: "vshadow_hide";
1323 signal: "do-hide-vshadow";
1325 action: STATE_SET "hidden" 0.0;
1326 transition: LINEAR 0.5;
1327 target: "vshadow_clip";
1329 program { name: "hshadow_show";
1330 signal: "do-show-hshadow";
1332 action: STATE_SET "default" 0.0;
1333 transition: LINEAR 0.5;
1334 target: "hshadow_clip";
1336 program { name: "hshadow_hide";
1337 signal: "do-hide-hshadow";
1339 action: STATE_SET "hidden" 0.0;
1340 transition: LINEAR 0.5;
1341 target: "hshadow_clip";
1343 program { name: "scroll";
1344 signal: "elm,action,scroll";
1348 v = get_int(sbvis_v);
1349 v |= get_int(sbalways_v);
1351 emit("do-show-vbar", "");
1352 set_int(sbvis_v, 1);
1354 v = get_int(sbvis_h);
1355 v |= get_int(sbalways_h);
1357 emit("do-show-hbar", "");
1358 set_int(sbvis_h, 1);
1360 v = get_int(sbvis_timer);
1361 if (v > 0) cancel_timer(v);
1362 v = timer(1, "timer0", 0);
1363 set_int(sbvis_timer, v);
1366 program { name: "scroll_up";
1367 signal: "elm,action,scroll,up";
1369 after: "scroll_vertical";
1371 program { name: "scroll_down";
1372 signal: "elm,action,scroll,down";
1374 after: "scroll_vertical";
1376 program { name: "scroll_vertical";
1379 v = get_int(edge_timer);
1381 set_state(PART:"shadow_top", "default", 0.0);
1382 set_state(PART:"shadow_bottom", "default", 0.0);
1383 emit("do-show-vshadow", "");
1384 v = get_int(sh_timer);
1385 if (v > 0) cancel_timer(v);
1386 v = timer(0.2, "timer1", 0);
1387 set_int(sh_timer, v);
1391 program { name: "scroll_left";
1392 signal: "elm,action,scroll,left";
1394 after: "scroll_horizontal";
1396 program { name: "scroll_right";
1397 signal: "elm,action,scroll,right";
1399 after: "scroll_horizontal";
1401 program { name: "scroll_horizontal";
1404 v = get_int(edge_timer);
1406 set_state(PART:"shadow_left", "default", 0.0);
1407 set_state(PART:"shadow_right", "default", 0.0);
1408 emit("do-show-hshadow", "");
1409 v = get_int(sh_timer);
1410 if (v > 0) cancel_timer(v);
1411 v = timer(0.2, "timer1", 0);
1412 set_int(sh_timer, v);
1416 program { name: "edge_top";
1417 signal: "elm,edge,top";
1420 set_state(PART:"shadow_top", "edge", 0.0);
1421 set_state(PART:"shadow_bottom", "hidden", 0.0);
1423 after: "edge_vertical";
1425 program { name: "edge_bottom";
1426 signal: "elm,edge,bottom";
1429 set_state(PART:"shadow_top", "hidden", 0.0);
1430 set_state(PART:"shadow_bottom", "edge", 0.0);
1432 after: "edge_vertical";
1434 program { name: "edge_left";
1435 signal: "elm,edge,left";
1438 set_state(PART:"shadow_left", "edge", 0.0);
1439 set_state(PART:"shadow_right", "hidden", 0.0);
1441 after: "edge_horizontal";
1443 program { name: "edge_right";
1444 signal: "elm,edge,right";
1447 set_state(PART:"shadow_left", "hidden", 0.0);
1448 set_state(PART:"shadow_right", "edge", 0.0);
1450 after: "edge_horizontal";
1452 program { name: "edge_vertical";
1455 v = get_int(sh_timer);
1456 if (v > 0) cancel_timer(v);
1457 v = get_int(edge_timer);
1459 emit("do-show-vshadow", "");
1461 if (v > 0) cancel_timer(v);
1462 v = timer(0.2, "timer2", 0);
1463 set_int(edge_timer, v);
1466 program { name: "edge_horizontal";
1469 v = get_int(sh_timer);
1470 if (v > 0) cancel_timer(v);
1471 v = get_int(edge_timer);
1473 emit("do-show-hshadow", "");
1475 if (v > 0) cancel_timer(v);
1476 v = timer(0.2, "timer2", 0);
1477 set_int(edge_timer, v);
1480 program { name: "show";
1485 emit("do-show-vbar", "");
1486 set_int(sbvis_v, 1);
1487 v = get_int(sbalways_v);
1489 v = get_int(sbvis_timer);
1490 if (v > 0) cancel_timer(v);
1491 v = timer(1.0, "timer0", 0);
1492 set_int(sbvis_timer, v);
1494 emit("do-show-hbar", "");
1495 set_int(sbvis_h, 1);
1496 v = get_int(sbalways_h);
1498 v = get_int(sbvis_timer);
1499 if (v > 0) cancel_timer(v);
1500 v = timer(1.0, "timer0", 0);
1501 set_int(sbvis_timer, v);
1508 group { name: "elm/genlist/base/handler";
1509 alias: "elm/genscroller/base/handler";
1510 alias: "elm/list/base/handler";
1511 inherit: "elm/scroller/base/handler";
1514 image: "00_overscrolling_top.png" COMP;
1515 image: "00_overscrolling_bottom.png" COMP;
1516 image: "00_overscrolling_left.png" COMP;
1517 image: "00_overscrolling_right.png" COMP;
1521 part { name: "vshadow_clip";
1525 description { state: "default" 0.0;
1527 description { state: "hidden" 0.0;
1529 color: 255 255 255 0;
1532 part { name: "hshadow_clip";
1536 description { state: "default" 0.0;
1538 description { state: "hidden" 0.0;
1540 color: 255 255 255 0;
1543 part { name: "shadow_top";
1544 clip_to: "vshadow_clip";
1548 description { state: "default" 0.0;
1552 color: 255 255 255 100;
1553 rel1.relative: 0.0 0.0;
1554 rel2.relative: 1.0 0.0;
1555 rel1.to: "elm.swallow.content";
1556 rel2.to: "elm.swallow.content";
1557 image.normal: "00_overscrolling_top.png";
1559 description { state: "edge" 0.0;
1560 inherit: "default" 0.0;
1561 color: 255 255 255 255;
1563 description { state: "hidden" 0.0;
1564 inherit: "default" 0.0;
1568 part { name: "shadow_bottom";
1569 clip_to: "vshadow_clip";
1573 description { state: "default" 0.0;
1577 color: 255 255 255 100;
1578 rel1.relative: 0.0 1.0;
1579 rel2.relative: 1.0 1.0;
1580 rel1.to: "elm.swallow.content";
1581 rel2.to: "elm.swallow.content";
1582 image.normal: "00_overscrolling_bottom.png";
1584 description { state: "edge" 0.0;
1585 inherit: "default" 0.0;
1586 color: 255 255 255 255;
1588 description { state: "hidden" 0.0;
1589 inherit: "default" 0.0;
1593 part { name: "shadow_left";
1594 clip_to: "hshadow_clip";
1598 description { state: "default" 0.0;
1602 color: 255 255 255 100;
1603 rel1.relative: 0.0 0.0;
1604 rel2.relative: 0.0 1.0;
1605 rel1.to: "elm.swallow.content";
1606 rel2.to: "elm.swallow.content";
1607 image.normal: "00_overscrolling_left.png";
1609 description { state: "edge" 0.0;
1610 inherit: "default" 0.0;
1611 color: 255 255 255 255;
1613 description { state: "hidden" 0.0;
1614 inherit: "default" 0.0;
1618 part { name: "shadow_right";
1619 clip_to: "hshadow_clip";
1623 description { state: "default" 0.0;
1627 color: 255 255 255 100;
1628 rel1.relative: 1.0 0.0;
1629 rel2.relative: 1.0 1.0;
1630 rel1.to: "elm.swallow.content";
1631 rel2.to: "elm.swallow.content";
1632 image.normal: "00_overscrolling_right.png";
1634 description { state: "edge" 0.0;
1635 inherit: "default" 0.0;
1636 color: 255 255 255 255;
1638 description { state: "hidden" 0.0;
1639 inherit: "default" 0.0;
1645 program { name: "load";
1649 set_state(PART:"sb_hbar_clip", "hidden", 0.0);
1650 set_state(PART:"sb_vbar_clip", "hidden", 0.0);
1651 set_state(PART:"vshadow_clip", "hidden", 0.0);
1652 set_state(PART:"hshadow_clip", "hidden", 0.0);
1653 set_int(sbvis_h, 0);
1654 set_int(sbvis_v, 0);
1655 set_int(sbalways_v, 0);
1656 set_int(sbalways_h, 0);
1657 set_int(sbvis_timer, 0);
1658 set_int(sh_timer, 0);
1659 set_int(edge_timer, 0);
1662 program { name: "vbar_show_always";
1663 signal: "elm,action,show_always,vbar";
1667 v = get_int(sbvis_v);
1668 v |= get_int(sbalways_v);
1670 set_int(sbalways_v, 1);
1671 emit("do-show-vbar", "");
1672 set_int(sbvis_v, 1);
1676 program { name: "vbar_show_notalways";
1677 signal: "elm,action,show_notalways,vbar";
1681 v = get_int(sbalways_v);
1683 set_int(sbalways_v, 0);
1684 v = get_int(sbvis_v);
1686 emit("do-hide-vbar", "");
1687 set_int(sbvis_v, 0);
1692 program { name: "hbar_show_always";
1693 signal: "elm,action,show_always,hbar";
1697 v = get_int(sbvis_h);
1698 v |= get_int(sbalways_h);
1700 set_int(sbalways_h, 1);
1701 emit("do-show-hbar", "");
1702 set_int(sbvis_h, 1);
1706 program { name: "hbar_show_notalways";
1707 signal: "elm,action,show_notalways,hbar";
1711 v = get_int(sbalways_h);
1713 set_int(sbalways_h, 0);
1714 v = get_int(sbvis_h);
1716 emit("do-hide-hbar", "");
1717 set_int(sbvis_h, 0);
1722 program { name: "vshadow_show";
1723 signal: "do-show-vshadow";
1725 action: STATE_SET "default" 0.0;
1726 transition: LINEAR 0.5;
1727 target: "vshadow_clip";
1729 program { name: "vshadow_hide";
1730 signal: "do-hide-vshadow";
1732 action: STATE_SET "hidden" 0.0;
1733 transition: LINEAR 0.5;
1734 target: "vshadow_clip";
1736 program { name: "hshadow_show";
1737 signal: "do-show-hshadow";
1739 action: STATE_SET "default" 0.0;
1740 transition: LINEAR 0.5;
1741 target: "hshadow_clip";
1743 program { name: "hshadow_hide";
1744 signal: "do-hide-hshadow";
1746 action: STATE_SET "hidden" 0.0;
1747 transition: LINEAR 0.5;
1748 target: "hshadow_clip";
1750 program { name: "scroll";
1751 signal: "elm,action,scroll";
1755 v = get_int(sbvis_v);
1756 v |= get_int(sbalways_v);
1758 emit("do-show-vbar", "");
1759 set_int(sbvis_v, 1);
1761 v = get_int(sbvis_h);
1762 v |= get_int(sbalways_h);
1764 emit("do-show-hbar", "");
1765 set_int(sbvis_h, 1);
1767 v = get_int(sbvis_timer);
1768 if (v > 0) cancel_timer(v);
1769 v = timer(1, "timer0", 0);
1770 set_int(sbvis_timer, v);
1773 program { name: "scroll_up";
1774 signal: "elm,action,scroll,up";
1776 after: "scroll_vertical";
1778 program { name: "scroll_down";
1779 signal: "elm,action,scroll,down";
1781 after: "scroll_vertical";
1783 program { name: "scroll_vertical";
1786 v = get_int(edge_timer);
1788 set_state(PART:"shadow_top", "default", 0.0);
1789 set_state(PART:"shadow_bottom", "default", 0.0);
1790 emit("do-show-vshadow", "");
1791 v = get_int(sh_timer);
1792 if (v > 0) cancel_timer(v);
1793 v = timer(0.2, "timer1", 0);
1794 set_int(sh_timer, v);
1798 program { name: "scroll_left";
1799 signal: "elm,action,scroll,left";
1801 after: "scroll_horizontal";
1803 program { name: "scroll_right";
1804 signal: "elm,action,scroll,right";
1806 after: "scroll_horizontal";
1808 program { name: "scroll_horizontal";
1811 v = get_int(edge_timer);
1813 set_state(PART:"shadow_left", "default", 0.0);
1814 set_state(PART:"shadow_right", "default", 0.0);
1815 emit("do-show-hshadow", "");
1816 v = get_int(sh_timer);
1817 if (v > 0) cancel_timer(v);
1818 v = timer(0.2, "timer1", 0);
1819 set_int(sh_timer, v);
1823 program { name: "edge_top";
1824 signal: "elm,edge,top";
1827 set_state(PART:"shadow_top", "edge", 0.0);
1828 set_state(PART:"shadow_bottom", "hidden", 0.0);
1830 after: "edge_vertical";
1832 program { name: "edge_bottom";
1833 signal: "elm,edge,bottom";
1836 set_state(PART:"shadow_top", "hidden", 0.0);
1837 set_state(PART:"shadow_bottom", "edge", 0.0);
1839 after: "edge_vertical";
1841 program { name: "edge_left";
1842 signal: "elm,edge,left";
1845 set_state(PART:"shadow_left", "edge", 0.0);
1846 set_state(PART:"shadow_right", "hidden", 0.0);
1848 after: "edge_horizontal";
1850 program { name: "edge_right";
1851 signal: "elm,edge,right";
1854 set_state(PART:"shadow_left", "hidden", 0.0);
1855 set_state(PART:"shadow_right", "edge", 0.0);
1857 after: "edge_horizontal";
1859 program { name: "edge_vertical";
1862 v = get_int(sh_timer);
1863 if (v > 0) cancel_timer(v);
1864 v = get_int(edge_timer);
1866 emit("do-show-vshadow", "");
1868 if (v > 0) cancel_timer(v);
1869 v = timer(0.2, "timer2", 0);
1870 set_int(edge_timer, v);
1873 program { name: "edge_horizontal";
1876 v = get_int(sh_timer);
1877 if (v > 0) cancel_timer(v);
1878 v = get_int(edge_timer);
1880 emit("do-show-hshadow", "");
1882 if (v > 0) cancel_timer(v);
1883 v = timer(0.2, "timer2", 0);
1884 set_int(edge_timer, v);
1887 program { name: "show";
1892 emit("do-show-vbar", "");
1893 set_int(sbvis_v, 1);
1894 v = get_int(sbalways_v);
1896 v = get_int(sbvis_timer);
1897 if (v > 0) cancel_timer(v);
1898 v = timer(1.0, "timer0", 0);
1899 set_int(sbvis_timer, v);
1901 emit("do-show-hbar", "");
1902 set_int(sbvis_h, 1);
1903 v = get_int(sbalways_h);
1905 v = get_int(sbvis_timer);
1906 if (v > 0) cancel_timer(v);
1907 v = timer(1.0, "timer0", 0);
1908 set_int(sbvis_timer, v);
1915 group { name: "elm/gengrid/base/default";
1916 inherit: "elm/genlist/base/default";
1919 image: "00_grid_overscrolling_top.png" COMP;
1920 image: "00_grid_overscrolling_bottom.png" COMP;
1921 image: "00_grid_overscrolling_left.png" COMP;
1922 image: "00_grid_overscrolling_right.png" COMP;
1926 part { name: "shadow_top";
1927 description { state: "default" 0.0;
1929 image.normal: "00_grid_overscrolling_top.png";
1931 description { state: "edge" 0.0;
1932 inherit: "default" 0.0;
1933 color: 255 255 255 255;
1936 part { name: "shadow_bottom";
1937 description { state: "default" 0.0;
1939 image.normal: "00_grid_overscrolling_bottom.png";
1941 description { state: "edge" 0.0;
1942 inherit: "default" 0.0;
1943 color: 255 255 255 255;
1946 part { name: "shadow_left";
1947 description { state: "default" 0.0;
1949 image.normal: "00_grid_overscrolling_left.png";
1951 description { state: "edge" 0.0;
1952 inherit: "default" 0.0;
1953 color: 255 255 255 255;
1956 part { name: "shadow_right";
1957 description { state: "default" 0.0;
1959 image.normal: "00_grid_overscrolling_right.png";
1961 description { state: "edge" 0.0;
1962 inherit: "default" 0.0;
1963 color: 255 255 255 255;
1969 group { name: "elm/gengrid/base/handler";
1970 inherit: "elm/genlist/base/handler";
1973 part { name: "shadow_top";
1974 description { state: "default" 0.0;
1976 image.normal: "00_grid_overscrolling_top.png";
1978 description { state: "edge" 0.0;
1979 inherit: "default" 0.0;
1980 color: 255 255 255 255;
1983 part { name: "shadow_bottom";
1984 description { state: "default" 0.0;
1986 image.normal: "00_grid_overscrolling_bottom.png";
1988 description { state: "edge" 0.0;
1989 inherit: "default" 0.0;
1990 color: 255 255 255 255;
1993 part { name: "shadow_left";
1994 description { state: "default" 0.0;
1996 image.normal: "00_grid_overscrolling_left.png";
1998 description { state: "edge" 0.0;
1999 inherit: "default" 0.0;
2000 color: 255 255 255 255;
2003 part { name: "shadow_right";
2004 description { state: "default" 0.0;
2006 image.normal: "00_grid_overscrolling_right.png";
2008 description { state: "edge" 0.0;
2009 inherit: "default" 0.0;
2010 color: 255 255 255 255;