2 * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 ///////////////////////////////////////////////////////////////////////////////
19 group { name: "elm/map/base/default";
21 public sbvis_v, sbvis_h, sbnever_v, sbalways_v, sbalways_h, sbvis_timer;
26 v = get_int(sbalways_v);
28 emit("do-hide-vbar", "");
34 v = get_int(sbalways_h);
36 emit("do-hide-hbar", "");
40 set_int(sbvis_timer, 0);
45 image: "00_scroll_bar.png" COMP;
46 image: "bt_sm_shine.png" COMP;
47 image: "bt_sm_hilight.png" COMP;
48 image: "sb_runnerh.png" COMP;
49 image: "sb_runnerv.png" COMP;
50 image: "00_winset_list_process_01.png" COMP;
51 image: "00_winset_list_process_02.png" COMP;
52 image: "00_winset_list_process_03.png" COMP;
53 image: "00_winset_list_process_04.png" COMP;
54 image: "00_winset_list_process_05.png" COMP;
55 image: "00_winset_list_process_06.png" COMP;
56 image: "00_winset_list_process_07.png" COMP;
57 image: "00_winset_list_process_08.png" COMP;
58 image: "00_winset_list_process_09.png" COMP;
59 image: "00_winset_list_process_10.png" COMP;
60 image: "00_winset_list_process_11.png" COMP;
61 image: "00_winset_list_process_12.png" COMP;
62 image: "00_winset_list_process_13.png" COMP;
63 image: "00_winset_list_process_14.png" COMP;
64 image: "00_winset_list_process_15.png" COMP;
65 image: "00_winset_list_process_16.png" COMP;
66 image: "00_winset_list_process_17.png" COMP;
67 image: "00_winset_list_process_18.png" COMP;
68 image: "00_winset_list_process_19.png" COMP;
69 image: "00_winset_list_process_20.png" COMP;
70 image: "00_winset_list_process_21.png" COMP;
71 image: "00_winset_list_process_22.png" COMP;
72 image: "00_winset_list_process_23.png" COMP;
73 image: "00_winset_list_process_24.png" COMP;
74 image: "00_winset_list_process_25.png" COMP;
75 image: "00_winset_list_process_26.png" COMP;
76 image: "00_winset_list_process_27.png" COMP;
77 image: "00_winset_list_process_28.png" COMP;
78 image: "00_winset_list_process_29.png" COMP;
79 image: "00_winset_list_process_30.png" COMP;
85 description { state: "default" 0.0;
91 part { name: "clipper";
95 description { state: "default" 0.0;
100 part { name: "elm.swallow.content";
104 description { state: "default" 0.0;
109 part { name: "busy_clip";
112 description { state: "default" 0.0;
114 color: 255 255 255 0;
116 description { state: "active" 0.0;
118 color: 255 255 255 255;
122 clip_to: "busy_clip";
124 description { state: "default" 0.0;
129 aspect_preference: BOTH;
139 normal: "00_winset_list_process_30.png";
140 tween: "00_winset_list_process_01.png";
141 tween: "00_winset_list_process_02.png";
142 tween: "00_winset_list_process_03.png";
143 tween: "00_winset_list_process_04.png";
144 tween: "00_winset_list_process_05.png";
145 tween: "00_winset_list_process_06.png";
146 tween: "00_winset_list_process_07.png";
147 tween: "00_winset_list_process_08.png";
148 tween: "00_winset_list_process_09.png";
149 tween: "00_winset_list_process_10.png";
150 tween: "00_winset_list_process_11.png";
151 tween: "00_winset_list_process_12.png";
152 tween: "00_winset_list_process_13.png";
153 tween: "00_winset_list_process_14.png";
154 tween: "00_winset_list_process_15.png";
155 tween: "00_winset_list_process_16.png";
156 tween: "00_winset_list_process_17.png";
157 tween: "00_winset_list_process_18.png";
158 tween: "00_winset_list_process_19.png";
159 tween: "00_winset_list_process_20.png";
160 tween: "00_winset_list_process_21.png";
161 tween: "00_winset_list_process_22.png";
162 tween: "00_winset_list_process_23.png";
163 tween: "00_winset_list_process_24.png";
164 tween: "00_winset_list_process_25.png";
165 tween: "00_winset_list_process_26.png";
166 tween: "00_winset_list_process_27.png";
167 tween: "00_winset_list_process_28.png";
168 tween: "00_winset_list_process_29.png";
172 part { name: "conf_over";
175 description { state: "default" 0.0;
181 part { name: "sb_vbar_clip_master";
185 description { state: "default" 0.0;
187 description { state: "hidden" 0.0;
189 color: 255 255 255 0;
192 part { name: "sb_vbar_clip";
193 clip_to: "sb_vbar_clip_master";
197 description { state: "default" 0.0;
199 description { state: "hidden" 0.0;
201 color: 255 255 255 0;
204 part { name: "sb_vbar";
208 description { state: "default" 0.0;
224 part { name: "sb_vbar_runner";
225 clip_to: "sb_vbar_clip";
228 description { state: "default" 0.0;
235 normal: "sb_runnerv.png";
242 part { name: "elm.dragable.vbar";
243 clip_to: "sb_vbar_clip";
251 description { state: "default" 0.0;
265 normal: "00_scroll_bar.png";
272 part { name: "sb_vbar_over1";
273 clip_to: "sb_vbar_clip";
276 description { state: "default" 0.0;
277 rel1.to: "elm.dragable.vbar";
278 rel2.relative: 1.0 0.5;
279 rel2.to: "elm.dragable.vbar";
282 normal: "bt_sm_hilight.png";
288 part { name: "sb_vbar_over2";
289 clip_to: "sb_vbar_clip";
292 description { state: "default" 0.0;
293 rel1.to: "elm.dragable.vbar";
294 rel2.to: "elm.dragable.vbar";
297 normal: "bt_sm_shine.png";
303 part { name: "sb_hbar_clip_master";
306 description { state: "default" 0.0;
308 description { state: "hidden" 0.0;
310 color: 255 255 255 0;
313 part { name: "sb_hbar_clip";
314 clip_to: "sb_hbar_clip_master";
318 description { state: "default" 0.0;
320 description { state: "hidden" 0.0;
322 color: 255 255 255 0;
325 part { name: "sb_hbar";
329 description { state: "default" 0.0;
345 part { name: "sb_hbar_runner";
346 clip_to: "sb_hbar_clip";
349 description { state: "default" 0.0;
356 normal: "sb_runnerh.png";
363 part { name: "elm.dragable.hbar";
364 clip_to: "sb_hbar_clip";
372 description { state: "default" 0.0;
385 color: 255 255 255 0;
387 normal: "00_scroll_bar.png";
394 part { name: "sb_hbar_over1";
395 clip_to: "sb_hbar_clip";
398 description { state: "default" 0.0;
399 rel1.to: "elm.dragable.hbar";
400 rel2.relative: 1.0 0.5;
401 rel2.to: "elm.dragable.hbar";
404 normal: "bt_sm_hilight.png";
410 part { name: "sb_hbar_over2";
411 clip_to: "sb_hbar_clip";
414 description { state: "default" 0.0;
415 rel1.to: "elm.dragable.hbar";
416 rel2.to: "elm.dragable.hbar";
419 normal: "bt_sm_shine.png";
427 program { name: "load";
431 set_state(PART:"sb_hbar_clip", "hidden", 0.0);
432 set_state(PART:"sb_vbar_clip", "hidden", 0.0);
435 set_int(sbalways_v, 0);
436 set_int(sbalways_h, 0);
437 set_int(sbvis_timer, 0);
438 set_int(sbnever_v, 0);
441 program { name: "vbar_show";
442 signal: "elm,action,show,vbar";
444 action: STATE_SET "default" 0.0;
445 target: "sb_vbar_clip_master";
447 program { name: "vbar_hide";
448 signal: "elm,action,hide,vbar";
450 action: STATE_SET "hidden" 0.0;
451 target: "sb_vbar_clip_master";
453 program { name: "vbar_show_always";
454 signal: "elm,action,show_always,vbar";
458 v = get_int(sbvis_v);
459 v |= get_int(sbalways_v);
461 set_int(sbalways_v, 1);
462 emit("do-show-vbar", "");
465 set_int(sbnever_v, 0);
468 program { name: "vbar_show_notalways";
469 signal: "elm,action,show_notalways,vbar";
473 v = get_int(sbalways_v);
475 set_int(sbalways_v, 0);
476 v = get_int(sbvis_v);
478 emit("do-hide-vbar", "");
482 set_int(sbnever_v, 0);
485 program { name: "vbar_hide_always";
486 signal: "elm,action,hide_always,vbar";
490 v1 = get_int(sbnever_v);
492 set_int(sbnever_v, 1);
493 set_int(sbalways_v, 0);
494 v2 = get_int(sbvis_v);
496 emit("do-hide-vbar", "");
502 program { name: "sb_vbar_show";
503 signal: "do-show-vbar";
505 action: STATE_SET "default" 0.0;
506 transition: LINEAR 1.0;
507 target: "sb_vbar_clip";
509 program { name: "sb_vbar_hide";
510 signal: "do-hide-vbar";
512 action: STATE_SET "hidden" 0.0;
513 transition: LINEAR 1.0;
514 target: "sb_vbar_clip";
516 program { name: "hbar_show";
517 signal: "elm,action,show,hbar";
519 action: STATE_SET "default" 0.0;
520 target: "sb_hbar_clip_master";
522 program { name: "hbar_hide";
523 signal: "elm,action,hide,hbar";
525 action: STATE_SET "hidden" 0.0;
526 target: "sb_hbar_clip_master";
528 program { name: "hbar_show_always";
529 signal: "elm,action,show_always,hbar";
533 v = get_int(sbvis_h);
534 v |= get_int(sbalways_h);
536 set_int(sbalways_h, 1);
537 emit("do-show-hbar", "");
542 program { name: "hbar_show_notalways";
543 signal: "elm,action,show_notalways,hbar";
547 v = get_int(sbalways_h);
549 set_int(sbalways_h, 0);
550 v = get_int(sbvis_h);
552 emit("do-hide-hbar", "");
558 program { name: "sb_hbar_show";
559 signal: "do-show-hbar";
561 action: STATE_SET "default" 0.0;
562 transition: LINEAR 1.0;
563 target: "sb_hbar_clip";
565 program { name: "sb_hbar_hide";
566 signal: "do-hide-hbar";
568 action: STATE_SET "hidden" 0.0;
569 transition: LINEAR 1.0;
570 target: "sb_hbar_clip";
572 program { name: "scroll";
573 signal: "elm,action,scroll";
575 action: STATE_SET "default" 0.0;
578 v = get_int(sbvis_v);
579 v |= get_int(sbalways_v);
580 v1 = get_int(sbnever_v);
582 emit("do-show-vbar", "");
585 v = get_int(sbvis_h);
586 v |= get_int(sbalways_h);
588 emit("do-show-hbar", "");
591 v = get_int(sbvis_timer);
592 if (v > 0) cancel_timer(v);
593 v = timer(0.5, "timer0", 0);
594 set_int(sbvis_timer, v);
597 program { name: "go1";
598 signal: "elm,state,busy,start";
600 action: STATE_SET "active" 0.0;
601 transition: SINUSOIDAL 1.0;
604 program { name: "go2";
605 signal: "elm,state,busy,start";
607 action: STATE_SET "default" 0.0;
608 transition: LINEAR 0.5;
612 program { name: "stop1";
613 signal: "elm,state,busy,stop";
615 action: STATE_SET "default" 0.0;
616 transition: SINUSOIDAL 1.0;
620 program { name: "stop2";
626 group { name: "elm/map/marker/radio/default";
634 image: "map_item.png" COMP;
637 part { name: "whole";
638 description { state: "default" 0.0;
642 ignore_flags: ON_HOLD;
643 description { state: "default" 0.0;
644 image.normal: "map_item.png";
647 part { name: "elm.icon";
651 description { state: "default" 0.0;
652 rel1.relative: 0.27 0.27;
653 rel2.relative: 0.73 0.73;
656 part { name: "elm.text";
661 description { state: "default" 0.0;
663 color: 224 224 224 255;
665 rel1.relative: 0.28 0.25;
666 rel2.relative: 0.75 0.75;
668 font: "Sans,Edje-Vera";
677 program { name: "open";
678 signal: "mouse,clicked,1";
680 action: SIGNAL_EMIT "open" "elm";
682 program { name: "bringin";
683 signal: "mouse,down,1,double";
685 action: SIGNAL_EMIT "bringin" "elm";
689 group { name: "elm/map/marker/radio2/default";
697 image: "map_item_2.png" COMP;
701 ignore_flags: ON_HOLD;
702 description { state: "default" 0.0;
703 image.normal: "map_item_2.png";
706 part { name: "elm.text";
711 description { state: "default" 0.0;
713 color: 224 224 224 255;
715 rel1.relative: 0.28 0.25;
716 rel2.relative: 0.75 0.75;
718 font: "Sans,Edje-Vera";
727 program { name: "open";
728 signal: "mouse,clicked,1";
730 action: SIGNAL_EMIT "open" "elm";
732 program { name: "bringin";
733 signal: "mouse,down,1,double";
735 action: SIGNAL_EMIT "bringin" "elm";
739 group { name: "elm/map/marker/empty/default";
747 part { name: "whole";
748 description { state: "default" 0.0;
752 ignore_flags: ON_HOLD;
753 description { state: "default" 0.0;
756 part { name: "elm.icon";
760 description { state: "default" 0.0;
763 part { name: "elm.text";
768 description { state: "default" 0.0;
770 color: 224 224 224 255;
772 rel1.relative: 0.28 0.25;
773 rel2.relative: 0.75 0.75;
775 font: "Sans,Edje-Vera";
784 program { name: "open";
785 signal: "mouse,clicked,1";
787 action: SIGNAL_EMIT "open" "elm";
789 program { name: "bringin";
790 signal: "mouse,down,1,double";
792 action: SIGNAL_EMIT "bringin" "elm";
796 group { name: "elm/map/marker_bubble/default";
798 image: "bubble.png" COMP;
799 image: "bubble_shine.png" COMP;
806 part { name: "clipper";
808 description { state: "default" 0.0;
809 color: 255 255 255 0;
811 description { state: "show" 0.0;
812 inherit: "default" 0.0;
813 color: 255 255 255 255;
816 part { name: "base0";
819 description { state: "default" 0.0;
821 normal: "bubble.png";
828 part { name: "elm.swallow.content";
831 description { state: "default" 0.0;
841 part { name: "shine";
844 description { state: "default" 0.0;
853 normal: "bubble_shine.png";
861 program { name: "show";
863 action: STATE_SET "show" 0.0;
865 transition: ACCELERATE 0.5;