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/default";
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";
445 alias: "elm/list/base/handler";
446 alias: "elm/genlist/base/handler";
447 alias: "elm/carousel/base/handler";
450 item: "focus_highlight" "on";
453 public sbvis_v, sbvis_h, sbalways_v, sbalways_h, sbvis_timer;
456 v = get_int(sbvis_v);
458 v = get_int(sbalways_v);
460 emit("do-hide-vbar", "");
464 v = get_int(sbvis_h);
466 v = get_int(sbalways_h);
468 emit("do-hide-hbar", "");
472 set_int(sbvis_timer, 0);
477 image: "bt_sm_shine.png" COMP;
478 image: "bt_sm_hilight.png" COMP;
479 image: "sb_runnerh.png" COMP;
480 image: "00_scroll_bar_handler_top.png" COMP;
481 image: "00_scroll_bar_handler_middle.png" COMP;
482 image: "00_scroll_bar_handler_bottom.png" COMP;
483 image: "00_scroll_bar_handler_left.png" COMP;
484 image: "00_scroll_bar_handler_hor.png" COMP;
485 image: "00_scroll_bar_handler_right.png" COMP;
486 image: "sl_bt2_2.png" COMP;
487 image: "shelf_inset.png" COMP;
493 description { state: "default" 0.0;
496 color: 255 255 255 0;
499 part { name: "clipper";
503 description { state: "default" 0.0;
510 part { name: "elm.swallow.content";
514 description { state: "default" 0.0;
521 part { name: "conf_over";
524 description { state: "default" 0.0;
529 normal: "shelf_inset.png";
535 description { state: "enabled" 0.0;
536 inherit: "default" 0.0;
537 color: 200 155 0 255;
540 part { name: "focus_highlight";
543 description { state: "default" 0.0;
547 normal: "sl_bt2_2.png";
554 description { state: "enabled" 0.0;
555 inherit: "default" 0.0;
556 color: 200 155 0 255;
559 part { name: "sb_vbar_clip_master";
563 description { state: "default" 0.0;
565 description { state: "hidden" 0.0;
567 color: 255 255 255 0;
570 part { name: "sb_vbar_clip";
571 clip_to: "sb_vbar_clip_master";
575 description { state: "default" 0.0;
577 description { state: "hidden" 0.0;
579 color: 255 255 255 0;
582 part { name: "sb_vbar";
586 description { state: "default" 0.0;
589 min: SCROLLER_HANDLER_SCROLLBAR_VBAR_MIN_SIZE_INC;
593 offset: SCROLLER_HANDLER_SCROLLBAR_PADDING_INC SCROLLER_HANDLER_SCROLLBAR_PADDING_INC;
594 to_y: "elm.swallow.content";
595 to_x: "elm.swallow.content";
599 offset: (-SCROLLER_HANDLER_SCROLLBAR_PADDING_INC-1) (-SCROLLER_HANDLER_SCROLLBAR_PADDING_INC-1);
601 to_x: "elm.swallow.content";
605 part { name: "elm.dragable.vbar";
606 clip_to: "sb_vbar_clip";
614 description { state: "default" 0.0;
616 min: SCROLLER_HANDLER_SCROLLBAR_VBAR_MIN_SIZE_INC;
630 part { name: "scrollbar_handler_image_top";
631 clip_to: "sb_vbar_clip";
634 description { state: "default" 0.0;
636 rel1.relative: 0.0 0.0;
637 rel1.to: "elm.dragable.vbar";
638 rel2.relative: 1.0 0.0;
639 rel2.to: "scrollbar_handler_image_middle";
642 normal: "00_scroll_bar_handler_top.png";
648 part { name: "scrollbar_handler_image_middle";
649 clip_to: "sb_vbar_clip";
652 description { state: "default" 0.0;
654 rel1.relative: 0.5 0.5;
655 rel1.to: "elm.dragable.vbar";
656 rel2.relative: 0.5 0.5;
657 rel2.to: "elm.dragable.vbar";
659 min: SCROLLER_HANDLER_SCROLLBAR_VBAR_MIDDLE_MIN_SIZE_INC;
661 normal: "00_scroll_bar_handler_middle.png";
667 part { name: "scrollbar_handler_image_bottom";
668 clip_to: "sb_vbar_clip";
671 description { state: "default" 0.0;
673 rel1.relative: 0.0 1.0;
674 rel1.to: "scrollbar_handler_image_middle";
675 rel2.relative: 1.0 1.0;
676 rel2.to: "elm.dragable.vbar";
679 normal: "00_scroll_bar_handler_bottom.png";
680 border: SCROLLER_HANDLER_SCROLLBAR_VBAR_BOTTOM_BORDER;
685 part { name: "sb_vbar_over1";
686 clip_to: "sb_vbar_clip";
689 description { state: "default" 0.0;
690 rel1.to: "elm.dragable.vbar";
691 rel2.relative: 1.0 0.5;
692 rel2.to: "elm.dragable.vbar";
695 normal: "bt_sm_hilight.png";
701 part { name: "sb_vbar_over2";
702 clip_to: "sb_vbar_clip";
705 description { state: "default" 0.0;
706 rel1.to: "elm.dragable.vbar";
707 rel2.to: "elm.dragable.vbar";
710 normal: "bt_sm_shine.png";
716 part { name: "sb_hbar_clip_master";
720 description { state: "default" 0.0;
722 description { state: "hidden" 0.0;
724 color: 255 255 255 0;
727 part { name: "sb_hbar_clip";
728 clip_to: "sb_hbar_clip_master";
732 description { state: "default" 0.0;
734 description { state: "hidden" 0.0;
736 color: 255 255 255 0;
739 part { name: "sb_hbar";
743 description { state: "default" 0.0;
746 min: SCROLLER_HANDLER_SCROLLBAR_HBAR_MIN_SIZE_INC;
750 offset: SCROLLER_HANDLER_SCROLLBAR_PADDING_INC SCROLLER_HANDLER_SCROLLBAR_PADDING_INC;
751 to_x: "elm.swallow.content";
752 to_y: "elm.swallow.content";
757 offset: (-SCROLLER_HANDLER_SCROLLBAR_PADDING_INC-1) (-SCROLLER_HANDLER_SCROLLBAR_PADDING_INC-1);
759 to_y: "elm.swallow.content";
763 part { name: "elm.dragable.hbar";
764 clip_to: "sb_hbar_clip";
772 description { state: "default" 0.0;
774 min: SCROLLER_HANDLER_SCROLLBAR_HBAR_MIN_SIZE_INC;
788 part { name: "h_scrollbar_handler_image_left";
789 clip_to: "sb_hbar_clip";
792 description { state: "default" 0.0;
794 rel1.relative: 0.0 0.0;
795 rel1.to: "elm.dragable.hbar";
796 rel2.relative: 0.0 1.0;
797 rel2.to: "scrollbar_handler_image_hor";
800 normal: "00_scroll_bar_handler_left.png";
806 part { name: "scrollbar_handler_image_hor";
807 clip_to: "sb_hbar_clip";
810 description { state: "default" 0.0;
812 rel1.relative: 0.5 0.5;
813 rel1.to: "elm.dragable.hbar";
814 rel2.relative: 0.5 0.5;
815 rel2.to: "elm.dragable.hbar";
817 min: SCROLLER_HANDLER_SCROLLBAR_HBAR_MIDDLE_MIN_SIZE_INC;
819 normal: "00_scroll_bar_handler_hor.png";
825 part { name: "h_scrollbar_handler_image_right";
826 clip_to: "sb_hbar_clip";
829 description { state: "default" 0.0;
831 rel1.relative: 1.0 0.0;
832 rel1.to: "scrollbar_handler_image_hor";
833 rel2.relative: 1.0 1.0;
834 rel2.to: "elm.dragable.hbar";
837 normal: "00_scroll_bar_handler_right.png";
838 border: SCROLLER_HANDLER_SCROLLBAR_VBAR_RIGHT_BORDER;
843 part { name: "sb_hbar_over1";
844 clip_to: "sb_hbar_clip";
847 description { state: "default" 0.0;
848 rel1.to: "elm.dragable.hbar";
849 rel2.relative: 1.0 0.5;
850 rel2.to: "elm.dragable.hbar";
853 normal: "bt_sm_hilight.png";
859 part { name: "sb_hbar_over2";
860 clip_to: "sb_hbar_clip";
863 description { state: "default" 0.0;
864 rel1.to: "elm.dragable.hbar";
865 rel2.to: "elm.dragable.hbar";
868 normal: "bt_sm_shine.png";
874 part { name: "disabler";
877 description { state: "default" 0.0;
883 description { state: "disabled" 0.0;
884 inherit: "default" 0.0;
886 color: 128 128 128 128;
891 program { name: "load";
895 set_state(PART:"sb_hbar_clip", "hidden", 0.0);
896 set_state(PART:"sb_vbar_clip", "hidden", 0.0);
899 set_int(sbalways_v, 0);
900 set_int(sbalways_h, 0);
901 set_int(sbvis_timer, 0);
904 program { name: "vbar_show";
905 signal: "elm,action,show,vbar";
907 action: STATE_SET "default" 0.0;
908 target: "sb_vbar_clip_master";
910 program { name: "vbar_hide";
911 signal: "elm,action,hide,vbar";
913 action: STATE_SET "hidden" 0.0;
914 target: "sb_vbar_clip_master";
916 program { name: "vbar_show_always";
917 signal: "elm,action,show_always,vbar";
921 v = get_int(sbvis_v);
922 v |= get_int(sbalways_v);
924 set_int(sbalways_v, 1);
925 emit("do-show-vbar", "");
930 program { name: "vbar_show_notalways";
931 signal: "elm,action,show_notalways,vbar";
935 v = get_int(sbalways_v);
937 set_int(sbalways_v, 0);
938 v = get_int(sbvis_v);
940 emit("do-hide-vbar", "");
946 program { name: "sb_vbar_show";
947 signal: "do-show-vbar";
949 action: STATE_SET "default" 0.0;
950 transition: LINEAR 0.5;
951 target: "sb_vbar_clip";
953 program { name: "sb_vbar_hide";
954 signal: "do-hide-vbar";
956 action: STATE_SET "hidden" 0.0;
957 transition: LINEAR 0.5;
958 target: "sb_vbar_clip";
960 program { name: "hbar_show";
961 signal: "elm,action,show,hbar";
963 action: STATE_SET "default" 0.0;
964 target: "sb_hbar_clip_master";
966 program { name: "hbar_hide";
967 signal: "elm,action,hide,hbar";
969 action: STATE_SET "hidden" 0.0;
970 target: "sb_hbar_clip_master";
972 program { name: "hbar_show_always";
973 signal: "elm,action,show_always,hbar";
977 v = get_int(sbvis_h);
978 v |= get_int(sbalways_h);
980 set_int(sbalways_h, 1);
981 emit("do-show-hbar", "");
986 program { name: "hbar_show_notalways";
987 signal: "elm,action,show_notalways,hbar";
991 v = get_int(sbalways_h);
993 set_int(sbalways_h, 0);
994 v = get_int(sbvis_h);
996 emit("do-hide-hbar", "");
1002 program { name: "sb_hbar_show";
1003 signal: "do-show-hbar";
1005 action: STATE_SET "default" 0.0;
1006 transition: LINEAR 0.5;
1007 target: "sb_hbar_clip";
1009 program { name: "sb_hbar_hide";
1010 signal: "do-hide-hbar";
1012 action: STATE_SET "hidden" 0.0;
1013 transition: LINEAR 0.5;
1014 target: "sb_hbar_clip";
1017 program { name: "scroll";
1018 signal: "elm,action,scroll";
1022 v = get_int(sbvis_v);
1023 v |= get_int(sbalways_v);
1025 emit("do-show-vbar", "");
1026 set_int(sbvis_v, 1);
1028 v = get_int(sbvis_h);
1029 v |= get_int(sbalways_h);
1031 emit("do-show-hbar", "");
1032 set_int(sbvis_h, 1);
1034 v = get_int(sbvis_timer);
1035 if (v > 0) cancel_timer(v);
1036 v = timer(1.0, "timer0", 0);
1037 set_int(sbvis_timer, v);
1041 program { name: "highlight_show";
1042 signal: "elm,action,focus_highlight,show";
1044 action: STATE_SET "enabled" 0.0;
1045 transition: ACCELERATE 0.3;
1046 target: "focus_highlight";
1047 target: "conf_over";
1049 program { name: "highlight_hide";
1050 signal: "elm,action,focus_highlight,hide";
1052 action: STATE_SET "default" 0.0;
1053 transition: DECELERATE 0.3;
1054 target: "focus_highlight";
1055 target: "conf_over";
1057 program { name: "disable";
1058 signal: "elm,state,disabled";
1060 action: STATE_SET "disabled" 0.0;
1063 program { name: "enable";
1064 signal: "elm,state,enabled";
1066 action: STATE_SET "default" 0.0;
1072 group { name: "elm/genlist/base/default";
1073 alias: "elm/genscroller/base/default";
1074 alias: "elm/gengrid/base/default";
1075 alias: "elm/list/base/default";
1076 inherit: "elm/scroller/base/default";
1079 image: "00_overscrolling_top.png" COMP;
1080 image: "00_overscrolling_bottom.png" COMP;
1081 image: "00_overscrolling_left.png" COMP;
1082 image: "00_overscrolling_right.png" COMP;
1086 part { name: "shadow_clip";
1090 description { state: "default" 0.0;
1092 description { state: "hidden" 0.0;
1094 color: 255 255 255 0;
1097 part { name: "shadow_top";
1098 clip_to: "shadow_clip";
1101 description { state: "default" 0.0;
1105 color: 255 255 255 100;
1106 rel1.relative: 0.0 0.0;
1107 rel2.relative: 1.0 0.0;
1108 rel1.to: "elm.swallow.content";
1109 rel2.to: "elm.swallow.content";
1110 image.normal: "00_overscrolling_top.png";
1112 description { state: "edge" 0.0;
1113 inherit: "default" 0.0;
1114 color: 255 255 255 255;
1117 part { name: "shadow_bottom";
1118 clip_to: "shadow_clip";
1121 description { state: "default" 0.0;
1125 color: 255 255 255 100;
1126 rel1.relative: 0.0 1.0;
1127 rel2.relative: 1.0 1.0;
1128 rel1.to: "elm.swallow.content";
1129 rel2.to: "elm.swallow.content";
1130 image.normal: "00_overscrolling_bottom.png";
1132 description { state: "edge" 0.0;
1133 inherit: "default" 0.0;
1134 color: 255 255 255 255;
1137 part { name: "shadow_left";
1138 clip_to: "shadow_clip";
1141 description { state: "default" 0.0;
1145 color: 255 255 255 100;
1146 rel1.relative: 0.0 0.0;
1147 rel2.relative: 0.0 1.0;
1148 rel1.to: "elm.swallow.content";
1149 rel2.to: "elm.swallow.content";
1150 image.normal: "00_overscrolling_left.png";
1152 description { state: "edge" 0.0;
1153 inherit: "default" 0.0;
1154 color: 255 255 255 255;
1157 part { name: "shadow_right";
1158 clip_to: "shadow_clip";
1161 description { state: "default" 0.0;
1165 color: 255 255 255 100;
1166 rel1.relative: 1.0 0.0;
1167 rel2.relative: 1.0 1.0;
1168 rel1.to: "elm.swallow.content";
1169 rel2.to: "elm.swallow.content";
1170 image.normal: "00_overscrolling_right.png";
1172 description { state: "edge" 0.0;
1173 inherit: "default" 0.0;
1174 color: 255 255 255 255;
1179 program { name: "load";
1181 set_state(PART:"sb_hbar_clip", "hidden", 0.0);
1182 set_state(PART:"sb_vbar_clip", "hidden", 0.0);
1183 set_state(PART:"shadow_clip", "hidden", 0.0);
1184 set_int(sbvis_h, 0);
1185 set_int(sbvis_v, 0);
1186 set_int(sbalways_v, 0);
1187 set_int(sbalways_h, 0);
1188 set_int(sbvis_timer, 0);
1190 set_int(sh_timer, 0);
1191 set_int(edge_timer, 0);
1194 program { name: "vshadow_show";
1195 signal: "do-show-vshadow";
1197 action: STATE_SET "default" 0.0;
1198 transition: LINEAR 0.5;
1199 target: "shadow_clip";
1201 program { name: "vshadow_hide";
1202 signal: "do-hide-vshadow";
1204 action: STATE_SET "hidden" 0.0;
1205 transition: LINEAR 0.5;
1206 target: "shadow_clip";
1208 program { name: "scroll";
1209 signal: "elm,action,scroll";
1213 v = get_int(sbvis_v);
1214 v |= get_int(sbalways_v);
1216 emit("do-show-vbar", "");
1217 set_int(sbvis_v, 1);
1219 v = get_int(sbvis_h);
1220 v |= get_int(sbalways_h);
1222 emit("do-show-hbar", "");
1223 set_int(sbvis_h, 1);
1225 v = get_int(sbvis_timer);
1226 if (v > 0) cancel_timer(v);
1227 v = timer(1, "timer0", 0);
1228 set_int(sbvis_timer, v);
1230 v = get_int(edge_timer);
1232 set_state(PART:"shadow_top", "default", 0.0);
1233 set_state(PART:"shadow_bottom", "default", 0.0);
1234 set_state(PART:"shadow_left", "default", 0.0);
1235 set_state(PART:"shadow_right", "default", 0.0);
1236 emit("do-show-vshadow", "");
1237 v = get_int(sh_timer);
1238 if (v > 0) cancel_timer(v);
1239 v = timer(0.2, "timer1", 0);
1240 set_int(sh_timer, v);
1244 program { name: "edge_top";
1245 signal: "elm,edge,top";
1249 program { name: "edge_bottom";
1250 signal: "elm,edge,bottom";
1254 program { name: "edge_left";
1255 signal: "elm,edge,left";
1259 program { name: "edge_right";
1260 signal: "elm,edge,right";
1264 program { name: "edge";
1267 v = get_int(sh_timer);
1268 if (v > 0) cancel_timer(v);
1269 set_state(PART:"shadow_top", "edge", 0.0);
1270 set_state(PART:"shadow_bottom", "edge", 0.0);
1271 set_state(PART:"shadow_left", "edge", 0.0);
1272 set_state(PART:"shadow_right", "edge", 0.0);
1273 v = get_int(edge_timer);
1275 emit("do-show-vshadow", "");
1277 if (v > 0) cancel_timer(v);
1278 v = timer(0.2, "timer2", 0);
1279 set_int(edge_timer, v);
1282 program { name: "show";
1287 emit("do-show-vbar", "");
1288 set_int(sbvis_v, 1);
1289 v = get_int(sbalways_v);
1291 v = get_int(sbvis_timer);
1292 if (v > 0) cancel_timer(v);
1293 v = timer(1.0, "timer0", 0);
1294 set_int(sbvis_timer, v);
1296 emit("do-show-hbar", "");
1297 set_int(sbvis_h, 1);
1298 v = get_int(sbalways_h);
1300 v = get_int(sbvis_timer);
1301 if (v > 0) cancel_timer(v);
1302 v = timer(1.0, "timer0", 0);
1303 set_int(sbvis_timer, v);