Merge "[Bottom Popup] Updated the text alignment based on UX v1.5"
[profile/ivi/efl-theme-tizen.git] / themes / widgets / map.edc
1 /*
2  * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * PROPRIETARY/CONFIDENTIAL
5  *
6  * This software is the confidential and proprietary information of SAMSUNG
7  * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
8  * software is owned by Samsung and you shall not disclose such Confidential
9  * Information and shall use it only in accordance with the terms of the license
10  * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
11  * representations or warranties about the suitability of the software, either
12  * express or implied, including but not limited to the implied warranties of
13  * merchantability, fitness for a particular purpose, or non-infringement.
14  * SAMSUNG shall not be liable for any damages suffered by licensee arising out
15  * of or releated to this software.
16  *
17  */
18
19 ///////////////////////////////////////////////////////////////////////////////
20 group { name: "elm/map/base/default";
21    script {
22       public sbvis_v, sbvis_h, sbnever_v, sbalways_v, sbalways_h, sbvis_timer;
23       public timer0(val) {
24          new v;
25          v = get_int(sbvis_v);
26          if (v) {
27             v = get_int(sbalways_v);
28             if (!v) {
29                emit("do-hide-vbar", "");
30                set_int(sbvis_v, 0);
31             }
32          }
33          v = get_int(sbvis_h);
34          if (v) {
35             v = get_int(sbalways_h);
36             if (!v) {
37                emit("do-hide-hbar", "");
38                set_int(sbvis_h, 0);
39             }
40          }
41          set_int(sbvis_timer, 0);
42          return 0;
43       }
44    }
45    images {
46       image: "00_scroll_bar.png" COMP;
47       image: "bt_sm_shine.png" COMP;
48       image: "bt_sm_hilight.png" COMP;
49       image: "sb_runnerh.png" COMP;
50       image: "sb_runnerv.png" COMP;
51       image: "00_winset_list_process_01.png" COMP;
52       image: "00_winset_list_process_02.png" COMP;
53       image: "00_winset_list_process_03.png" COMP;
54       image: "00_winset_list_process_04.png" COMP;
55       image: "00_winset_list_process_05.png" COMP;
56       image: "00_winset_list_process_06.png" COMP;
57       image: "00_winset_list_process_07.png" COMP;
58       image: "00_winset_list_process_08.png" COMP;
59       image: "00_winset_list_process_09.png" COMP;
60       image: "00_winset_list_process_10.png" COMP;
61       image: "00_winset_list_process_11.png" COMP;
62       image: "00_winset_list_process_12.png" COMP;
63       image: "00_winset_list_process_13.png" COMP;
64       image: "00_winset_list_process_14.png" COMP;
65       image: "00_winset_list_process_15.png" COMP;
66       image: "00_winset_list_process_16.png" COMP;
67       image: "00_winset_list_process_17.png" COMP;
68       image: "00_winset_list_process_18.png" COMP;
69       image: "00_winset_list_process_19.png" COMP;
70       image: "00_winset_list_process_20.png" COMP;
71       image: "00_winset_list_process_21.png" COMP;
72       image: "00_winset_list_process_22.png" COMP;
73       image: "00_winset_list_process_23.png" COMP;
74       image: "00_winset_list_process_24.png" COMP;
75       image: "00_winset_list_process_25.png" COMP;
76       image: "00_winset_list_process_26.png" COMP;
77       image: "00_winset_list_process_27.png" COMP;
78       image: "00_winset_list_process_28.png" COMP;
79       image: "00_winset_list_process_29.png" COMP;
80       image: "00_winset_list_process_30.png" COMP;
81    }
82    parts {
83       part { name: "bg";
84          type: RECT;
85          scale: 1;
86          description { state: "default" 0.0;
87             rel1.offset: 0 0;
88             rel2.offset: -1 -1;
89             color: 255 255 255 0;
90          }
91       }
92       part { name: "clipper";
93          type: RECT;
94          mouse_events: 0;
95          scale: 1;
96          description { state: "default" 0.0;
97             rel1.to: "bg";
98             rel2.to: "bg";
99          }
100       }
101       part { name: "elm.swallow.content";
102          clip_to: "clipper";
103          type: SWALLOW;
104          scale: 1;
105          description { state: "default" 0.0;
106             rel1.offset: 0 0;
107             rel2.offset: -1 -1;
108          }
109       }
110       part { name: "busy_clip";
111          type: RECT;
112          mouse_events: 0;
113          description { state: "default" 0.0;
114             visible: 0;
115             color: 255 255 255 0;
116          }
117          description { state: "active" 0.0;
118             visible: 1;
119             color: 255 255 255 255;
120          }
121       }
122       part { name: "busy";
123          clip_to: "busy_clip";
124          mouse_events: 0;
125          description { state: "default" 0.0;
126             fixed: 1 1;
127             min: 32 32;
128             aspect: 1.0 1.0;
129             align: 1.0 1.0;
130             aspect_preference: BOTH;
131             rel1 {
132                relative: 0.9 0.9;
133                offset:   -9 -9;
134             }
135             rel2 {
136                relative: 0.9 0.9;
137                offset:   -9 -9;
138             }
139             image {
140                normal: "00_winset_list_process_30.png";
141                tween:  "00_winset_list_process_01.png";
142                tween:  "00_winset_list_process_02.png";
143                tween:  "00_winset_list_process_03.png";
144                tween:  "00_winset_list_process_04.png";
145                tween:  "00_winset_list_process_05.png";
146                tween:  "00_winset_list_process_06.png";
147                tween:  "00_winset_list_process_07.png";
148                tween:  "00_winset_list_process_08.png";
149                tween:  "00_winset_list_process_09.png";
150                tween:  "00_winset_list_process_10.png";
151                tween:  "00_winset_list_process_11.png";
152                tween:  "00_winset_list_process_12.png";
153                tween:  "00_winset_list_process_13.png";
154                tween:  "00_winset_list_process_14.png";
155                tween:  "00_winset_list_process_15.png";
156                tween:  "00_winset_list_process_16.png";
157                tween:  "00_winset_list_process_17.png";
158                tween:  "00_winset_list_process_18.png";
159                tween:  "00_winset_list_process_19.png";
160                tween:  "00_winset_list_process_20.png";
161                tween:  "00_winset_list_process_21.png";
162                tween:  "00_winset_list_process_22.png";
163                tween:  "00_winset_list_process_23.png";
164                tween:  "00_winset_list_process_24.png";
165                tween:  "00_winset_list_process_25.png";
166                tween:  "00_winset_list_process_26.png";
167                tween:  "00_winset_list_process_27.png";
168                tween:  "00_winset_list_process_28.png";
169                tween:  "00_winset_list_process_29.png";
170             }
171          }
172       }
173       part { name: "conf_over";
174          mouse_events: 0;
175          scale: 1;
176          description { state: "default" 0.0;
177             rel1.offset: 0 0;
178             rel2.offset: -1 -1;
179             visible: 0;
180          }
181       }
182       part { name: "sb_vbar_clip_master";
183          type: RECT;
184          mouse_events: 0;
185          scale: 1;
186          description { state: "default" 0.0;
187          }
188          description { state: "hidden" 0.0;
189             visible: 0;
190             color: 255 255 255 0;
191          }
192       }
193       part { name: "sb_vbar_clip";
194          clip_to: "sb_vbar_clip_master";
195          type: RECT;
196          mouse_events: 0;
197          scale: 1;
198          description { state: "default" 0.0;
199          }
200          description { state: "hidden" 0.0;
201             visible: 0;
202             color: 255 255 255 0;
203          }
204       }
205       part { name: "sb_vbar";
206          type: RECT;
207          mouse_events: 0;
208          scale: 1;
209          description { state: "default" 0.0;
210             fixed: 1 1;
211             visible: 0;
212             min: 8 8;
213             align: 1.0 0.0;
214             rel1 {
215                relative: 1.0 0.0;
216                offset: -1 0;
217             }
218             rel2 {
219                relative: 1.0 0.0;
220                offset: -1 -1;
221                to_y: "sb_hbar";
222             }
223          }
224       }
225       part { name: "sb_vbar_runner";
226          clip_to: "sb_vbar_clip";
227          mouse_events: 0;
228          scale: 1;
229          description { state: "default" 0.0;
230             min: 8 8;
231             max: 8 99999;
232             rel1.to: "sb_vbar";
233             rel2.to: "sb_vbar";
234             visible: 0;
235             image {
236                normal: "sb_runnerv.png";
237                border: 0 0 4 4;
238                border_scale: 1;
239             }
240             fill.smooth: 0;
241          }
242       }
243       part { name: "elm.dragable.vbar";
244          clip_to: "sb_vbar_clip";
245          mouse_events: 0;
246          scale: 1;
247          dragable {
248             x: 0 0 0;
249             y: 1 1 0;
250             confine: "sb_vbar";
251          }
252          description { state: "default" 0.0;
253             fixed: 1 1;
254             min: 8 8;
255             rel1 {
256                relative: 0.5  0.5;
257                offset:   0    0;
258                to: "sb_vbar";
259             }
260             rel2 {
261                relative: 0.5  0.5;
262                offset:   0    0;
263                to: "sb_vbar";
264             }
265             image {
266                normal: "00_scroll_bar.png";
267                border: 3 3 3 3;
268                border_scale: 1;
269                middle: DEFAULT;
270             }
271          }
272       }
273       part { name: "sb_vbar_over1";
274          clip_to: "sb_vbar_clip";
275          mouse_events: 0;
276          scale: 1;
277          description { state: "default" 0.0;
278             rel1.to: "elm.dragable.vbar";
279             rel2.relative: 1.0 0.5;
280             rel2.to: "elm.dragable.vbar";
281             visible: 0;
282             image {
283                normal: "bt_sm_hilight.png";
284                border: 6 6 6 0;
285                border_scale: 1;
286             }
287          }
288       }
289       part { name: "sb_vbar_over2";
290          clip_to: "sb_vbar_clip";
291          mouse_events: 0;
292          scale: 1;
293          description { state: "default" 0.0;
294             rel1.to: "elm.dragable.vbar";
295             rel2.to: "elm.dragable.vbar";
296             visible: 0;
297             image {
298                normal: "bt_sm_shine.png";
299                border: 6 6 6 0;
300                border_scale: 1;
301             }
302          }
303       }
304       part { name: "sb_hbar_clip_master";
305          type: RECT;
306          mouse_events: 0;
307          description { state: "default" 0.0;
308          }
309          description { state: "hidden" 0.0;
310             visible: 0;
311             color: 255 255 255 0;
312          }
313       }
314       part { name: "sb_hbar_clip";
315          clip_to: "sb_hbar_clip_master";
316          type: RECT;
317          mouse_events: 0;
318          scale: 1;
319          description { state: "default" 0.0;
320          }
321          description { state: "hidden" 0.0;
322             visible: 0;
323             color: 255 255 255 0;
324          }
325       }
326       part { name: "sb_hbar";
327          type: RECT;
328          mouse_events: 0;
329          scale: 1;
330          description { state: "default" 0.0;
331             fixed: 1 1;
332             visible: 0;
333             min: 50 8;
334             align: 0.0 1.0;
335             rel1 {
336                relative: 0.0 1.0;
337                offset: 0 -1;
338             }
339             rel2 {
340                relative: 0.0 1.0;
341                offset: -1 -1;
342                to_x: "sb_vbar";
343             }
344          }
345       }
346       part { name: "sb_hbar_runner";
347          clip_to: "sb_hbar_clip";
348          mouse_events: 0;
349          scale: 1;
350          description { state: "default" 0.0;
351             min: 50 8;
352             max: 99999 8;
353             rel1.to: "sb_hbar";
354             rel2.to: "sb_hbar";
355             visible: 0;
356             image {
357                normal: "sb_runnerh.png";
358                border: 4 4 0 0;
359                border_scale: 1;
360             }
361             fill.smooth: 0;
362          }
363       }
364       part { name: "elm.dragable.hbar";
365          clip_to: "sb_hbar_clip";
366          mouse_events: 0;
367          scale: 1;
368          dragable {
369             x: 1 1 0;
370             y: 0 0 0;
371             confine: "sb_hbar";
372          }
373          description { state: "default" 0.0;
374             fixed: 1 1;
375             min: 50 8;
376             rel1 {
377                relative: 0.5  0.5;
378                offset: 0 0;
379                to: "sb_hbar";
380             }
381             rel2 {
382                relative: 0.5  0.5;
383                offset: 0 0;
384                to: "sb_hbar";
385             }
386             color: 255 255 255 0;
387             image {
388                normal: "00_scroll_bar.png";
389                border: 3 3 3 3;
390                border_scale: 1;
391             }
392             image.middle: SOLID;
393          }
394       }
395       part { name: "sb_hbar_over1";
396          clip_to: "sb_hbar_clip";
397          mouse_events: 0;
398          scale: 1;
399          description { state: "default" 0.0;
400             rel1.to: "elm.dragable.hbar";
401             rel2.relative: 1.0 0.5;
402             rel2.to: "elm.dragable.hbar";
403             visible: 0;
404             image {
405                normal: "bt_sm_hilight.png";
406                border: 6 6 6 0;
407                border_scale: 1;
408             }
409          }
410       }
411       part { name: "sb_hbar_over2";
412          clip_to: "sb_hbar_clip";
413          mouse_events: 0;
414          scale: 1;
415          description { state: "default" 0.0;
416             rel1.to: "elm.dragable.hbar";
417             rel2.to: "elm.dragable.hbar";
418             visible: 0;
419             image {
420                normal: "bt_sm_shine.png";
421                border: 6 6 6 0;
422                border_scale: 1;
423             }
424          }
425       }
426    }
427    programs {
428       program { name: "load";
429          signal: "load";
430          source: "";
431          script {
432             set_state(PART:"sb_hbar_clip", "hidden", 0.0);
433             set_state(PART:"sb_vbar_clip", "hidden", 0.0);
434             set_int(sbvis_h, 0);
435             set_int(sbvis_v, 0);
436             set_int(sbalways_v, 0);
437             set_int(sbalways_h, 0);
438             set_int(sbvis_timer, 0);
439             set_int(sbnever_v, 0);
440          }
441       }
442       program { name: "vbar_show";
443          signal: "elm,action,show,vbar";
444          source: "elm";
445          action: STATE_SET "default" 0.0;
446          target: "sb_vbar_clip_master";
447       }
448       program { name: "vbar_hide";
449          signal: "elm,action,hide,vbar";
450          source: "elm";
451          action: STATE_SET "hidden" 0.0;
452          target: "sb_vbar_clip_master";
453       }
454       program { name: "vbar_show_always";
455          signal: "elm,action,show_always,vbar";
456          source: "elm";
457          script {
458             new v;
459             v = get_int(sbvis_v);
460             v |= get_int(sbalways_v);
461             if (!v) {
462                set_int(sbalways_v, 1);
463                emit("do-show-vbar", "");
464                set_int(sbvis_v, 1);
465             }
466             set_int(sbnever_v, 0);
467          }
468       }
469       program { name: "vbar_show_notalways";
470          signal: "elm,action,show_notalways,vbar";
471          source: "elm";
472          script {
473             new v;
474             v = get_int(sbalways_v);
475             if (v) {
476                set_int(sbalways_v, 0);
477                v = get_int(sbvis_v);
478                if (!v) {
479                   emit("do-hide-vbar", "");
480                   set_int(sbvis_v, 0);
481                }
482             }
483             set_int(sbnever_v, 0);
484          }
485       }
486       program { name: "vbar_hide_always";
487          signal: "elm,action,hide_always,vbar";
488          source: "elm";
489          script {
490             new v1, v2;
491             v1 = get_int(sbnever_v);
492             if (!v1) {
493                set_int(sbnever_v, 1);
494                set_int(sbalways_v, 0);
495                v2 = get_int(sbvis_v);
496                if (!v2) {
497                   emit("do-hide-vbar", "");
498                   set_int(sbvis_v, 0);
499                }
500             }
501          }
502       }
503       program { name: "sb_vbar_show";
504          signal: "do-show-vbar";
505          source: "";
506          action: STATE_SET "default" 0.0;
507          transition: LINEAR 1.0;
508          target: "sb_vbar_clip";
509       }
510       program { name: "sb_vbar_hide";
511          signal: "do-hide-vbar";
512          source: "";
513          action: STATE_SET "hidden" 0.0;
514          transition: LINEAR 1.0;
515          target: "sb_vbar_clip";
516       }
517       program { name: "hbar_show";
518          signal: "elm,action,show,hbar";
519          source: "elm";
520          action: STATE_SET "default" 0.0;
521          target: "sb_hbar_clip_master";
522       }
523       program { name: "hbar_hide";
524          signal: "elm,action,hide,hbar";
525          source: "elm";
526          action:  STATE_SET "hidden" 0.0;
527          target: "sb_hbar_clip_master";
528       }
529       program { name: "hbar_show_always";
530          signal: "elm,action,show_always,hbar";
531          source: "elm";
532          script {
533             new v;
534             v = get_int(sbvis_h);
535             v |= get_int(sbalways_h);
536             if (!v) {
537                set_int(sbalways_h, 1);
538                emit("do-show-hbar", "");
539                set_int(sbvis_h, 1);
540             }
541          }
542       }
543       program { name: "hbar_show_notalways";
544          signal: "elm,action,show_notalways,hbar";
545          source: "elm";
546          script {
547             new v;
548             v = get_int(sbalways_h);
549             if (v) {
550                set_int(sbalways_h, 0);
551                v = get_int(sbvis_h);
552                if (!v) {
553                   emit("do-hide-hbar", "");
554                   set_int(sbvis_h, 0);
555                }
556             }
557          }
558       }
559       program { name: "sb_hbar_show";
560          signal: "do-show-hbar";
561          source: "";
562          action: STATE_SET "default" 0.0;
563          transition: LINEAR 1.0;
564          target: "sb_hbar_clip";
565       }
566       program { name: "sb_hbar_hide";
567          signal: "do-hide-hbar";
568          source: "";
569          action: STATE_SET "hidden" 0.0;
570          transition: LINEAR 1.0;
571          target: "sb_hbar_clip";
572       }
573       program { name: "scroll";
574          signal: "elm,action,scroll";
575          source: "elm";
576          action:  STATE_SET "default" 0.0;
577          script {
578             new v, v1;
579             v = get_int(sbvis_v);
580             v |= get_int(sbalways_v);
581             v1 = get_int(sbnever_v);
582             if (!v && !v1) {
583                emit("do-show-vbar", "");
584                set_int(sbvis_v, 1);
585             }
586             v = get_int(sbvis_h);
587             v |= get_int(sbalways_h);
588             if (!v) {
589                emit("do-show-hbar", "");
590                set_int(sbvis_h, 1);
591             }
592             v = get_int(sbvis_timer);
593             if (v > 0) cancel_timer(v);
594             v = timer(0.5, "timer0", 0);
595             set_int(sbvis_timer, v);
596          }
597       }
598       program { name: "go1";
599          signal: "elm,state,busy,start";
600          source: "elm";
601          action: STATE_SET "active" 0.0;
602          transition: SINUSOIDAL 1.0;
603          target:  "busy_clip";
604       }
605       program { name: "go2";
606          signal: "elm,state,busy,start";
607          source: "elm";
608          action: STATE_SET "default" 0.0;
609          transition: LINEAR 0.5;
610          target: "busy";
611          after:  "go2";
612       }
613       program { name: "stop1";
614          signal: "elm,state,busy,stop";
615          source: "elm";
616          action: STATE_SET "default" 0.0;
617          transition: SINUSOIDAL 1.0;
618          target: "busy_clip";
619          after: "stop2";
620       }
621       program { name: "stop2";
622          action: ACTION_STOP;
623          target: "go2";
624       }
625    }
626 }
627 group { name: "elm/map/marker/radio/default";
628    data {
629       item: size_w 48;
630       item: size_h 48;
631       item: size_max_w 58;
632       item: size_max_h 58;
633    }
634    images {
635       image: "map_item.png" COMP;
636    }
637    parts {
638       part { name: "whole";
639          type: RECT;
640          description { state: "default" 0.0;
641          }
642       }
643       part { name: "base";
644          ignore_flags: ON_HOLD;
645          description { state: "default" 0.0;
646             image.normal: "map_item.png";
647          }
648       }
649       part { name: "elm.icon";
650          type: SWALLOW;
651          clip_to: "whole";
652          mouse_events:  0;
653          description { state: "default" 0.0;
654             rel1.relative: 0.27 0.27;
655             rel2.relative: 0.73 0.73;
656          }
657       }
658       part { name: "elm.text";
659          type:          TEXT;
660          effect:        SOFT_SHADOW;
661          mouse_events:  0;
662          scale: 1;
663          description { state: "default" 0.0;
664             align:    0.5 0.5;
665             color: 224 224 224 255;
666             color3: 0 0 0 64;
667             rel1.relative: 0.28 0.25;
668             rel2.relative: 0.75 0.75;
669             text {
670                font:     "SLP:style=Medium";
671                size:     24;
672                min:      0 0;
673                align:    0.5 0.5;
674             }
675          }
676       }
677    }
678    programs {
679       program { name: "open";
680          signal: "mouse,clicked,1";
681          source: "base";
682          action: SIGNAL_EMIT "open" "elm";
683       }
684       program { name: "bringin";
685          signal: "mouse,down,1,double";
686          source: "base";
687          action: SIGNAL_EMIT "bringin" "elm";
688       }
689    }
690 }
691 group { name: "elm/map/marker/radio2/default";
692    data {
693       item: size_w 48;
694       item: size_h 48;
695       item: size_max_w 58;
696       item: size_max_h 58;
697    }
698    images {
699       image: "map_item_2.png" COMP;
700    }
701    parts {
702       part { name: "base";
703          ignore_flags: ON_HOLD;
704          description { state: "default" 0.0;
705             image.normal: "map_item_2.png";
706          }
707       }
708       part { name: "elm.text";
709          type:          TEXT;
710          effect:        SOFT_SHADOW;
711          mouse_events:  0;
712          scale: 1;
713          description { state: "default" 0.0;
714             align:    0.5 0.5;
715             color: 224 224 224 255;
716             color3: 0 0 0 64;
717             rel1.relative: 0.28 0.25;
718             rel2.relative: 0.75 0.75;
719             text {
720                font:     "SLP:style=Medium";
721                size:     24;
722                min:      0 0;
723                align:    0.5 0.5;
724             }
725          }
726       }
727    }
728    programs {
729       program { name: "open";
730          signal: "mouse,clicked,1";
731          source: "base";
732          action: SIGNAL_EMIT "open" "elm";
733       }
734       program { name: "bringin";
735          signal: "mouse,down,1,double";
736          source: "base";
737          action: SIGNAL_EMIT "bringin" "elm";
738       }
739    }
740 }
741 group { name: "elm/map/marker/empty/default";
742    data {
743       item: size_w 44;
744       item: size_h 44;
745       item: size_max_w 64;
746       item: size_max_h 64;
747    }
748    parts {
749       part { name: "whole";
750          type: RECT;
751          description { state: "default" 0.0;
752          }
753       }
754       part { name: "base";
755          ignore_flags: ON_HOLD;
756          description { state: "default" 0.0;
757          }
758       }
759       part { name: "elm.icon";
760          type: SWALLOW;
761          clip_to: "whole";
762          mouse_events:  0;
763          description { state: "default" 0.0;
764          }
765       }
766       part { name: "elm.text";
767          type:          TEXT;
768          effect:        SOFT_SHADOW;
769          mouse_events:  0;
770          scale: 1;
771          description { state: "default" 0.0;
772             align:    0.5 0.5;
773             color: 224 224 224 255;
774             color3: 0 0 0 64;
775             rel1.relative: 0.28 0.25;
776             rel2.relative: 0.75 0.75;
777             text {
778                font:     "SLP:style=Medium";
779                size:     24;
780                min:      0 0;
781                align:    0.5 0.5;
782             }
783          }
784       }
785    }
786    programs {
787       program { name: "open";
788          signal: "mouse,clicked,1";
789          source: "base";
790          action: SIGNAL_EMIT "open" "elm";
791       }
792       program { name: "bringin";
793          signal: "mouse,down,1,double";
794          source: "base";
795          action: SIGNAL_EMIT "bringin" "elm";
796       }
797    }
798 }
799 group { name: "elm/map/marker_bubble/default";
800    images {
801       image: "bubble.png" COMP;
802       image: "bubble_shine.png" COMP;
803    }
804    data {
805       item: size_w 200;
806       item: size_h 100;
807    }
808    parts {
809       part { name: "clipper";
810          type: RECT;
811          mouse_events:  1;
812          description { state: "default" 0.0;
813             color: 255 255 255 0;
814          }
815          description { state: "show" 0.0;
816             inherit: "default" 0.0;
817             color: 255 255 255 255;
818          }
819       }
820       part { name: "base0";
821          mouse_events:  0;
822          clip_to: "clipper";
823          description { state: "default" 0.0;
824             image {
825                normal: "bubble.png";
826                border: 11 36 10 19;
827             }
828             image.middle: SOLID;
829             fill.smooth: 0;
830          }
831       }
832       part { name: "elm.swallow.content";
833          type: SWALLOW;
834          clip_to: "clipper";
835          description { state: "default" 0.0;
836             align: 0.5 0.5;
837             rel1 {
838                offset: 9 8;
839             }
840             rel2 {
841                offset: -10 -17;
842             }
843          }
844       }
845       part { name: "shine";
846          mouse_events:  0;
847          clip_to: "clipper";
848          description { state:    "default" 0.0;
849             rel1 {
850                to: "base0";
851             }
852             rel2 {
853                to: "base0";
854                relative: 1.0 0.5;
855             }
856             image {
857                normal: "bubble_shine.png";
858                border: 5 5 5 0;
859             }
860             fill.smooth: 0;
861          }
862       }
863    }
864    programs {
865       program { name: "show";
866          signal: "show";
867          action: STATE_SET "show" 0.0;
868          target: "clipper";
869          transition: ACCELERATE 0.5;
870       }
871    }
872 }
873 group { name: "elm/map/circle/base/default";
874    images {
875       image: "map_circle.png" COMP;
876    }
877    parts {
878       part { name: "base";
879          ignore_flags: ON_HOLD;
880          description {  state: "default" 0.0;
881             image.normal: "map_circle.png";
882          }
883       }
884    }
885 }
886 group { name: "elm/map/scale/base/default";
887    data {
888       item: size_w 100;
889       item: size_h 25;
890    }
891    images {
892       image: "map_scale.png" COMP;
893    }
894    parts {
895       part { name: "base";
896          ignore_flags: ON_HOLD;
897          description { state: "default" 0.0;
898             image.normal: "map_scale.png";
899             image.border: 10 10 10 10;
900          }
901       }
902       part { name: "elm.text";
903          type:          TEXT;
904          ignore_flags:  ON_HOLD;
905          effect:        SOFT_SHADOW;
906          mouse_events:  0;
907          scale: 1;
908          description { state: "default" 0.0;
909             color: 224 224 224 255;
910             color3: 0 0 0 64;
911             rel1 {
912                relative: 0 0;
913                offset: 1 1;
914             }
915             rel2 {
916                relative: 1 1;
917                offset: -1 -1;
918             }
919             text {
920                font:     "SLP:style=Medium";
921                size:     24;
922                min:      0 0;
923                align:    0.1 0.5;
924             }
925          }
926       }
927    }
928 }