Merge "Renamed directory groups -> widgets."
[profile/ivi/efl-theme-tizen.git] / themes / widgets / map.edc
1 /*
2  * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
3  *
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
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
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.
15  *
16  */
17
18    ///////////////////////////////////////////////////////////////////////////////
19    group { name: "elm/map/base/default";
20       script {
21          public sbvis_v, sbvis_h, sbnever_v, sbalways_v, sbalways_h, sbvis_timer;
22          public timer0(val) {
23             new v;
24             v = get_int(sbvis_v);
25             if (v) {
26                v = get_int(sbalways_v);
27                if (!v) {
28                   emit("do-hide-vbar", "");
29                   set_int(sbvis_v, 0);
30                }
31             }
32             v = get_int(sbvis_h);
33             if (v) {
34                v = get_int(sbalways_h);
35                if (!v) {
36                   emit("do-hide-hbar", "");
37                   set_int(sbvis_h, 0);
38                }
39             }
40             set_int(sbvis_timer, 0);
41             return 0;
42          }
43       }
44       images {
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;
80       }
81       parts {
82          part { name: "bg";
83             type: RECT;
84             scale: 1;
85             description { state: "default" 0.0;
86                rel1.offset: 0 0;
87                rel2.offset: -1 -1;
88                color: 255 255 255 0;
89             }
90          }
91          part { name: "clipper";
92             type: RECT;
93             mouse_events: 0;
94             scale: 1;
95             description { state: "default" 0.0;
96                rel1.to: "bg";
97                rel2.to: "bg";
98             }
99          }
100          part { name: "elm.swallow.content";
101             clip_to: "clipper";
102             type: SWALLOW;
103             scale: 1;
104             description { state: "default" 0.0;
105                rel1.offset: 0 0;
106                rel2.offset: -1 -1;
107             }
108          }
109            part { name: "busy_clip";
110                type: RECT;
111                mouse_events: 0;
112                description { state: "default" 0.0;
113                    visible: 0;
114                    color: 255 255 255 0;
115                }
116                description { state: "active" 0.0;
117                    visible: 1;
118                    color: 255 255 255 255;
119                }
120            }
121            part { name: "busy";
122                clip_to: "busy_clip";
123                mouse_events: 0;
124                description { state: "default" 0.0;
125                    fixed: 1 1;
126                    min: 32 32;
127                    aspect: 1.0 1.0;
128                    align: 1.0 1.0;
129                    aspect_preference: BOTH;
130                    rel1 {
131                        relative: 0.9 0.9;
132                        offset:   -9 -9;
133                    }
134                    rel2 {
135                        relative: 0.9 0.9;
136                        offset:   -9 -9;
137                    }
138                    image {
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";
169                    }
170                }
171            }
172          part { name: "conf_over";
173             mouse_events: 0;
174             scale: 1;
175             description { state: "default" 0.0;
176                rel1.offset: 0 0;
177                rel2.offset: -1 -1;
178                visible: 0;
179             }
180          }
181          part { name: "sb_vbar_clip_master";
182             type: RECT;
183             mouse_events: 0;
184             scale: 1;
185             description { state: "default" 0.0;
186             }
187             description { state: "hidden" 0.0;
188                visible: 0;
189                color: 255 255 255 0;
190             }
191          }
192          part { name: "sb_vbar_clip";
193             clip_to: "sb_vbar_clip_master";
194             type: RECT;
195             mouse_events: 0;
196             scale: 1;
197             description { state: "default" 0.0;
198             }
199             description { state: "hidden" 0.0;
200                visible: 0;
201                color: 255 255 255 0;
202             }
203          }
204          part { name: "sb_vbar";
205             type: RECT;
206             mouse_events: 0;
207             scale: 1;
208             description { state: "default" 0.0;
209                fixed: 1 1;
210                visible: 0;
211                min: 8 8;
212                align: 1.0 0.0;
213                rel1 {
214                   relative: 1.0 0.0;
215                   offset: -1 0;
216                }
217                rel2 {
218                   relative: 1.0 0.0;
219                   offset: -1 -1;
220                   to_y: "sb_hbar";
221                }
222             }
223          }
224          part { name: "sb_vbar_runner";
225             clip_to: "sb_vbar_clip";
226             mouse_events: 0;
227             scale: 1;
228             description { state: "default" 0.0;
229                min: 8 8;
230                max: 8 99999;
231                rel1.to: "sb_vbar";
232                rel2.to: "sb_vbar";
233                visible: 0;
234                image {
235                   normal: "sb_runnerv.png";
236                   border: 0 0 4 4;
237                   border_scale: 1;
238                }
239                fill.smooth: 0;
240             }
241          }
242          part { name: "elm.dragable.vbar";
243             clip_to: "sb_vbar_clip";
244             mouse_events: 0;
245             scale: 1;
246             dragable {
247                x: 0 0 0;
248                y: 1 1 0;
249                confine: "sb_vbar";
250             }
251             description { state: "default" 0.0;
252                fixed: 1 1;
253                min: 8 8;
254                rel1 {
255                   relative: 0.5  0.5;
256                   offset:   0    0;
257                   to: "sb_vbar";
258                }
259                rel2 {
260                   relative: 0.5  0.5;
261                   offset:   0    0;
262                   to: "sb_vbar";
263                }
264                image {
265                   normal: "00_scroll_bar.png";
266                   border: 3 3 3 3;
267                   border_scale: 1;
268                   middle: DEFAULT;
269                }
270             }
271          }
272          part { name: "sb_vbar_over1";
273             clip_to: "sb_vbar_clip";
274             mouse_events: 0;
275             scale: 1;
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";
280                visible: 0;
281                image {
282                   normal: "bt_sm_hilight.png";
283                   border: 6 6 6 0;
284                   border_scale: 1;
285                }
286             }
287          }
288          part { name: "sb_vbar_over2";
289             clip_to: "sb_vbar_clip";
290             mouse_events: 0;
291             scale: 1;
292             description { state: "default" 0.0;
293                rel1.to: "elm.dragable.vbar";
294                rel2.to: "elm.dragable.vbar";
295                visible: 0;
296                image {
297                   normal: "bt_sm_shine.png";
298                   border: 6 6 6 0;
299                   border_scale: 1;
300                }
301             }
302          }
303          part { name: "sb_hbar_clip_master";
304             type: RECT;
305             mouse_events: 0;
306             description { state: "default" 0.0;
307             }
308             description { state: "hidden" 0.0;
309                visible: 0;
310                color: 255 255 255 0;
311             }
312          }
313          part { name: "sb_hbar_clip";
314             clip_to: "sb_hbar_clip_master";
315             type: RECT;
316             mouse_events: 0;
317             scale: 1;
318             description { state: "default" 0.0;
319             }
320             description { state: "hidden" 0.0;
321                visible: 0;
322                color: 255 255 255 0;
323             }
324          }
325          part { name: "sb_hbar";
326             type: RECT;
327             mouse_events: 0;
328             scale: 1;
329             description { state: "default" 0.0;
330                fixed: 1 1;
331                visible: 0;
332                min: 50 8;
333                align: 0.0 1.0;
334                rel1 {
335                   relative: 0.0 1.0;
336                   offset: 0 -1;
337                }
338                rel2 {
339                   relative: 0.0 1.0;
340                   offset: -1 -1;
341                   to_x: "sb_vbar";
342                }
343             }
344          }
345          part { name: "sb_hbar_runner";
346             clip_to: "sb_hbar_clip";
347             mouse_events: 0;
348             scale: 1;
349             description { state: "default" 0.0;
350                min: 50 8;
351                max: 99999 8;
352                rel1.to: "sb_hbar";
353                rel2.to: "sb_hbar";
354                visible: 0;
355                image {
356                   normal: "sb_runnerh.png";
357                   border: 4 4 0 0;
358                   border_scale: 1;
359                }
360                fill.smooth: 0;
361             }
362          }
363          part { name: "elm.dragable.hbar";
364             clip_to: "sb_hbar_clip";
365             mouse_events: 0;
366             scale: 1;
367             dragable {
368                x: 1 1 0;
369                y: 0 0 0;
370                confine: "sb_hbar";
371             }
372             description { state: "default" 0.0;
373                fixed: 1 1;
374                min: 50 8;
375                rel1 {
376                   relative: 0.5  0.5;
377                   offset: 0 0;
378                   to: "sb_hbar";
379                }
380                rel2 {
381                   relative: 0.5  0.5;
382                   offset: 0 0;
383                   to: "sb_hbar";
384                }
385                color: 255 255 255 0;
386                image {
387                   normal: "00_scroll_bar.png";
388                   border: 3 3 3 3;
389                   border_scale: 1;
390                }
391                image.middle: SOLID;
392             }
393          }
394          part { name: "sb_hbar_over1";
395             clip_to: "sb_hbar_clip";
396             mouse_events: 0;
397             scale: 1;
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";
402                visible: 0;
403                image {
404                   normal: "bt_sm_hilight.png";
405                   border: 6 6 6 0;
406                   border_scale: 1;
407                }
408             }
409          }
410          part { name: "sb_hbar_over2";
411             clip_to: "sb_hbar_clip";
412             mouse_events: 0;
413             scale: 1;
414             description { state: "default" 0.0;
415                rel1.to: "elm.dragable.hbar";
416                rel2.to: "elm.dragable.hbar";
417                visible: 0;
418                image {
419                   normal: "bt_sm_shine.png";
420                   border: 6 6 6 0;
421                   border_scale: 1;
422                }
423             }
424          }
425       }
426       programs {
427          program { name: "load";
428             signal: "load";
429             source: "";
430             script {
431                set_state(PART:"sb_hbar_clip", "hidden", 0.0);
432                set_state(PART:"sb_vbar_clip", "hidden", 0.0);
433                set_int(sbvis_h, 0);
434                set_int(sbvis_v, 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);
439             }
440          }
441          program { name: "vbar_show";
442             signal: "elm,action,show,vbar";
443             source: "elm";
444             action: STATE_SET "default" 0.0;
445             target: "sb_vbar_clip_master";
446          }
447          program { name: "vbar_hide";
448             signal: "elm,action,hide,vbar";
449             source: "elm";
450             action: STATE_SET "hidden" 0.0;
451             target: "sb_vbar_clip_master";
452          }
453          program { name: "vbar_show_always";
454             signal: "elm,action,show_always,vbar";
455             source: "elm";
456             script {
457                new v;
458                v = get_int(sbvis_v);
459                v |= get_int(sbalways_v);
460                if (!v) {
461                   set_int(sbalways_v, 1);
462                   emit("do-show-vbar", "");
463                   set_int(sbvis_v, 1);
464                }
465                set_int(sbnever_v, 0);
466             }
467          }
468          program { name: "vbar_show_notalways";
469             signal: "elm,action,show_notalways,vbar";
470             source: "elm";
471             script {
472                new v;
473                v = get_int(sbalways_v);
474                if (v) {
475                   set_int(sbalways_v, 0);
476                   v = get_int(sbvis_v);
477                   if (!v) {
478                      emit("do-hide-vbar", "");
479                      set_int(sbvis_v, 0);
480                   }
481                }
482                set_int(sbnever_v, 0);
483             }
484          }
485          program { name: "vbar_hide_always";
486             signal: "elm,action,hide_always,vbar";
487             source: "elm";
488             script {
489                new v1, v2;
490                v1 = get_int(sbnever_v);
491                if (!v1) {
492                   set_int(sbnever_v, 1);
493                   set_int(sbalways_v, 0);
494                   v2 = get_int(sbvis_v);
495                   if (!v2) {
496                      emit("do-hide-vbar", "");
497                      set_int(sbvis_v, 0);
498                   }
499                }
500             }
501          }
502          program { name: "sb_vbar_show";
503             signal: "do-show-vbar";
504             source: "";
505             action: STATE_SET "default" 0.0;
506             transition: LINEAR 1.0;
507             target: "sb_vbar_clip";
508          }
509          program { name: "sb_vbar_hide";
510             signal: "do-hide-vbar";
511             source: "";
512             action: STATE_SET "hidden" 0.0;
513             transition: LINEAR 1.0;
514             target: "sb_vbar_clip";
515          }
516          program { name: "hbar_show";
517             signal: "elm,action,show,hbar";
518             source: "elm";
519             action: STATE_SET "default" 0.0;
520             target: "sb_hbar_clip_master";
521          }
522          program { name: "hbar_hide";
523             signal: "elm,action,hide,hbar";
524             source: "elm";
525             action:  STATE_SET "hidden" 0.0;
526             target: "sb_hbar_clip_master";
527          }
528          program { name: "hbar_show_always";
529             signal: "elm,action,show_always,hbar";
530             source: "elm";
531             script {
532                new v;
533                v = get_int(sbvis_h);
534                v |= get_int(sbalways_h);
535                if (!v) {
536                   set_int(sbalways_h, 1);
537                   emit("do-show-hbar", "");
538                   set_int(sbvis_h, 1);
539                }
540             }
541          }
542          program { name: "hbar_show_notalways";
543             signal: "elm,action,show_notalways,hbar";
544             source: "elm";
545             script {
546                new v;
547                v = get_int(sbalways_h);
548                if (v) {
549                   set_int(sbalways_h, 0);
550                   v = get_int(sbvis_h);
551                   if (!v) {
552                      emit("do-hide-hbar", "");
553                      set_int(sbvis_h, 0);
554                   }
555                }
556             }
557          }
558          program { name: "sb_hbar_show";
559             signal: "do-show-hbar";
560             source: "";
561             action: STATE_SET "default" 0.0;
562             transition: LINEAR 1.0;
563             target: "sb_hbar_clip";
564          }
565          program { name: "sb_hbar_hide";
566             signal: "do-hide-hbar";
567             source: "";
568             action: STATE_SET "hidden" 0.0;
569             transition: LINEAR 1.0;
570             target: "sb_hbar_clip";
571          }
572          program { name: "scroll";
573             signal: "elm,action,scroll";
574             source: "elm";
575             action:  STATE_SET "default" 0.0;
576             script {
577                new v, v1;
578                v = get_int(sbvis_v);
579                v |= get_int(sbalways_v);
580                v1 = get_int(sbnever_v);
581                if (!v && !v1) {
582                   emit("do-show-vbar", "");
583                   set_int(sbvis_v, 1);
584                }
585                v = get_int(sbvis_h);
586                v |= get_int(sbalways_h);
587                if (!v) {
588                   emit("do-show-hbar", "");
589                   set_int(sbvis_h, 1);
590                }
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);
595             }
596          }
597            program { name: "go1";
598                signal: "elm,state,busy,start";
599                source: "elm";
600                action: STATE_SET "active" 0.0;
601                transition: SINUSOIDAL 1.0;
602                target:  "busy_clip";
603            }
604            program { name: "go2";
605                signal: "elm,state,busy,start";
606                source: "elm";
607                action: STATE_SET "default" 0.0;
608                transition: LINEAR 0.5;
609                target: "busy";
610                after:  "go2";
611            }
612            program { name: "stop1";
613                signal: "elm,state,busy,stop";
614                source: "elm";
615                action: STATE_SET "default" 0.0;
616                transition: SINUSOIDAL 1.0;
617                target: "busy_clip";
618                after: "stop2";
619            }
620          program { name: "stop2";
621             action: ACTION_STOP;
622             target: "go2";
623          }
624       }
625    }
626    group { name: "elm/map/marker/radio/default";
627         data {
628             item: size_w 24;
629             item: size_h 24;
630             item: size_max_w 58;
631             item: size_max_h 58;
632         }
633         images {
634                 image: "map_item.png" COMP;
635         }
636         parts {
637             part { name: "whole";
638                 description { state: "default" 0.0;
639                 }
640             }
641             part { name: "base";
642                 ignore_flags: ON_HOLD;
643                 description { state: "default" 0.0;
644                     image.normal: "map_item.png";
645                 }
646             }
647             part { name: "elm.icon";
648                 type: SWALLOW;
649                 clip_to: "whole";
650                 mouse_events:  0;
651                 description { state: "default" 0.0;
652                     rel1.relative: 0.27 0.27;
653                     rel2.relative: 0.73 0.73;
654                 }
655             }
656             part { name: "elm.text";
657                 type:          TEXT;
658                 effect:        SOFT_SHADOW;
659                 mouse_events:  0;
660                 scale: 1;
661                 description { state: "default" 0.0;
662                     align:    0.5 0.5;
663                     color: 224 224 224 255;
664                     color3: 0 0 0 64;
665                     rel1.relative: 0.28 0.25;
666                     rel2.relative: 0.75 0.75;
667                     text {
668                         font:     "Sans,Edje-Vera";
669                         size:     10;
670                         min:      0 0;
671                         align:    0.5 0.5;
672                     }
673                 }
674             }
675        }
676        programs {
677             program { name: "open";
678                 signal: "mouse,clicked,1";
679                 source: "base";
680                 action: SIGNAL_EMIT "open" "elm";
681             }
682             program { name: "bringin";
683                 signal: "mouse,down,1,double";
684                 source: "base";
685                 action: SIGNAL_EMIT "bringin" "elm";
686             }
687        }
688    }
689    group { name: "elm/map/marker/radio2/default";
690         data {
691             item: size_w 24;
692             item: size_h 24;
693             item: size_max_w 58;
694             item: size_max_h 58;
695         }
696         images {
697                 image: "map_item_2.png" COMP;
698         }
699         parts {
700             part { name: "base";
701                 ignore_flags: ON_HOLD;
702                 description { state: "default" 0.0;
703                     image.normal: "map_item_2.png";
704                 }
705             }
706             part { name: "elm.text";
707                 type:          TEXT;
708                 effect:        SOFT_SHADOW;
709                 mouse_events:  0;
710                 scale: 1;
711                 description { state: "default" 0.0;
712                     align:    0.5 0.5;
713                     color: 224 224 224 255;
714                     color3: 0 0 0 64;
715                     rel1.relative: 0.28 0.25;
716                     rel2.relative: 0.75 0.75;
717                     text {
718                         font:     "Sans,Edje-Vera";
719                         size:     10;
720                         min:      0 0;
721                         align:    0.5 0.5;
722                     }
723                 }
724             }
725        }
726        programs {
727             program { name: "open";
728                 signal: "mouse,clicked,1";
729                 source: "base";
730                 action: SIGNAL_EMIT "open" "elm";
731             }
732             program { name: "bringin";
733                 signal: "mouse,down,1,double";
734                 source: "base";
735                 action: SIGNAL_EMIT "bringin" "elm";
736             }
737        }
738    }
739    group { name: "elm/map/marker/empty/default";
740         data {
741             item: size_w 22;
742             item: size_h 22;
743             item: size_max_w 64;
744             item: size_max_h 64;
745         }
746         parts {
747             part { name: "whole";
748                 description { state: "default" 0.0;
749                 }
750             }
751             part { name: "base";
752                 ignore_flags: ON_HOLD;
753                 description { state: "default" 0.0;
754                 }
755             }
756             part { name: "elm.icon";
757                 type: SWALLOW;
758                 clip_to: "whole";
759                 mouse_events:  0;
760                 description { state: "default" 0.0;
761                 }
762             }
763             part { name: "elm.text";
764                 type:          TEXT;
765                 effect:        SOFT_SHADOW;
766                 mouse_events:  0;
767                 scale: 1;
768                 description { state: "default" 0.0;
769                     align:    0.5 0.5;
770                     color: 224 224 224 255;
771                     color3: 0 0 0 64;
772                     rel1.relative: 0.28 0.25;
773                     rel2.relative: 0.75 0.75;
774                     text {
775                         font:     "Sans,Edje-Vera";
776                         size:     10;
777                         min:      0 0;
778                         align:    0.5 0.5;
779                     }
780                 }
781             }
782        }
783        programs {
784             program { name: "open";
785                 signal: "mouse,clicked,1";
786                 source: "base";
787                 action: SIGNAL_EMIT "open" "elm";
788             }
789             program { name: "bringin";
790                 signal: "mouse,down,1,double";
791                 source: "base";
792                 action: SIGNAL_EMIT "bringin" "elm";
793             }
794        }
795    }
796    group { name: "elm/map/marker_bubble/default";
797     images {
798       image: "bubble.png" COMP;
799       image: "bubble_shine.png" COMP;
800     }
801     data {
802             item: size_w 400;
803             item: size_h 100;
804         }
805     parts {
806     part { name: "clipper";
807         mouse_events:  1;
808         description { state: "default" 0.0;
809           color: 255 255 255 0;
810         }
811         description { state: "show" 0.0;
812             inherit: "default" 0.0;
813             color: 255 255 255 255;
814         }
815       }
816      part { name: "base0";
817         mouse_events:  0;
818         clip_to: "clipper";
819         description { state: "default" 0.0;
820           image {
821             normal: "bubble.png";
822             border: 11 36 10 19;
823           }
824           image.middle: SOLID;
825           fill.smooth: 0;
826         }
827       }
828       part { name: "elm.swallow.content";
829         type: SWALLOW;
830         clip_to: "clipper";
831         description { state: "default" 0.0;
832             align: 0.5 0.5;
833           rel1 {
834             offset: 9 8;
835           }
836           rel2 {
837             offset: -10 -17;
838           }
839         }
840       }
841       part { name: "shine";
842         mouse_events:  0;
843         clip_to: "clipper";
844         description { state:    "default" 0.0;
845           rel1 {
846             to: "base0";
847           }
848           rel2 {
849             to: "base0";
850             relative: 1.0 0.5;
851           }
852           image {
853             normal: "bubble_shine.png";
854             border: 5 5 5 0;
855           }
856           fill.smooth: 0;
857         }
858         }
859     }
860     programs {
861         program { name: "show";
862             signal: "show";
863             action: STATE_SET "show" 0.0;
864             target: "clipper";
865             transition: ACCELERATE 0.5;
866         }
867     }
868   }
869