[Tizen Theme] Renamed theme name from nbeat to tizen.
[framework/uifw/efl-theme-tizen.git] / themes / tizen.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 // LICENSE NOTE:
19 // This file (and only this one) is licenses under public-domain. The reason
20 // is that this is meant to serve as a template for making your own themes and
21 // Elementary's LGPL license is not intended to follow. The images used do come
22 // under LGPL, but this file specifically for the structure of your theme is
23 // public-domain. This means you can take, use, re-license and otherwise
24 // have zero restrictions on using this file as a base for your theme.
25
26 // theme configuration file for each theme (tizen, tizen-black, ...)
27 #include "inc/tmp-inc.edc"
28
29 #define INDICATOR_H             27
30 #define CONTROLBAR_LARGE_H              78
31 #define CONTROLBAR_SMALL_H              65
32 #define CONTROLBAR_W                    78
33 #define SOFTKEY_H               72
34 #define SEGMENT_H               50
35 #define PART_RECT(NAME, REFER_PART, COLOR) \
36    part { name: NAME; \
37       type: RECT; \
38       description { state: "default" 0.0; \
39          rel1.to: REFER_PART; \
40          rel2.to: REFER_PART; \
41          color: COLOR; \
42       } \
43    }
44
45 externals {
46    external: "elm";
47 }
48
49 collections {
50 #include "groups/actionslider.edc"
51 #include "groups/badge.edc"
52 #include "groups/bg.edc"
53 #include "groups/bubble.edc"
54 #include "groups/button.edc"
55 #include "groups/calendar.edc"
56 #include "groups/check.edc"
57 #include "groups/colorpalette.edc"
58 #include "groups/colorselector.edc"
59 #include "groups/conformant.edc"
60 #include "groups/controlbar.edc"
61 #include "groups/ctxpopup.edc"
62 #include "groups/datefield.edc"
63 #include "groups/dayselector.edc"
64 #include "groups/diskselector.edc"
65 #include "groups/editfield.edc"
66 #include "groups/entry.edc"
67 #include "groups/gengrid.edc"
68 #include "groups/genlist/genlist.edc"
69 #include "groups/imageslider.edc"
70 #include "groups/index.edc"
71 #include "groups/label.edc"
72 #include "groups/layout.edc"
73 #include "groups/map.edc"
74 #include "groups/multibuttonentry.edc"
75 //#include "groups/multisense_ui.edc"
76 #include "groups/naviframe.edc"
77 #include "groups/nocontents.edc"
78 #include "groups/pagecontrol.edc"
79 #include "groups/panes.edc"
80 #include "groups/photocam.edc"
81 #include "groups/popup.edc"
82 #include "groups/progressbar.edc"
83 #include "groups/radio.edc"
84 #include "groups/scroller.edc"
85 #include "groups/searchbar.edc"
86 #include "groups/segmentedcontrol.edc"
87 #include "groups/selectioninfo.edc"
88 #include "groups/slider.edc"
89 #include "groups/stackedicon.edc"
90 #include "groups/tickernoti.edc"
91 #include "groups/toggle.edc"
92
93 /*
94 sounds{
95         sound : "drag-start.wav" 0 100;
96         sound :"drag-accept.wav" 0 100;
97         sound :"button-pressed.wav" 0 100;
98         sound :"Waterdrop.wav" 0 100;
99 }
100
101 haptics{ 
102     haptic {
103       name:"1_haptic" ;
104       magnitude: 8000 ;
105       duration: 120 ;
106       attack_level: 123 ;
107       attack_time: 122 ;
108       fade_level: 16 ;
109      fade_time: 12 ;
110      type: MAGSWEEP ;
111      pattern:"01,00,01,00,0A,00,14,00,00,00,20,01,00,00,7F,00,00,E1,00,00,4D,00,61,00,67,00,53,00,77,00,65,00,65,00,70,00,00,00" ;
112    }
113    haptic{
114         name: "2_haptic" ;
115         magnitude: 10000 ;
116         duration: 12 ;
117         attack_level: 123 ;
118         attack_time: 120 ;
119         fade_level: 16 ;
120         fade_time: 12 ;
121         type: MAGSWEEP ;
122         pattern: "01,00,03,00,38,00,42,00,00,00,19,00,21,00,F1,E0,01,E2,00,00,F1, E0, 02, E2, 01,1D,F1,E0,01,E2,03,BA,F1,E0,02,E2,04,E0,FF,20,17,00,00,7F,D1,2F,81,30,00,00,F4,01,00,00,00,20,1F,00,00,40,01,96,41,00,00,00,12,00,24,00,54,00,69,00,6D,00,65,00,6C,00,69,00,6E,00,65,00,00,00,50,00,65,00,72,00,69,00,6F,00,64,00,69,00,63,00,00,00,50,00,65,00,72,00,69,00,6F,00,64,00,69,00,63,00,20,00,23,00,31,00,00,00" ;
123    }
124 }
125 */
126
127 ///////////////////////////////////////////////////////////////////////////////
128    group { name: "elm/hover/base/default";
129       images {
130          image: "shad_circ.png" COMP;
131       }
132       parts {
133          part { name: "elm.swallow.offset";
134             type: SWALLOW;
135             description { state: "default" 0.0;
136                align: 0.0 0.0;
137                rel1.relative: 0.0 0.0;
138                rel2.relative: 0.0 0.0;
139             }
140          }
141          part { name: "elm.swallow.size";
142             type: SWALLOW;
143             description { state: "default" 0.0;
144                align: 0.0 0.0;
145                rel1.to: "elm.swallow.offset";
146                rel1.relative: 1.0 1.0;
147                rel2.to: "elm.swallow.offset";
148                rel2.relative: 1.0 1.0;
149             }
150          }
151          part { name: "base";
152             type: RECT;
153             mouse_events: 1;
154             description { state: "default" 0.0;
155                color: 0 0 0 64;
156             }
157          }
158          part { name: "shad";
159             mouse_events:  0;
160             description { state: "default" 0.0;
161                image.normal: "shad_circ.png";
162                rel1.to: "elm.swallow.size";
163                rel1.offset: -32 -32;
164                rel2.to: "elm.swallow.size";
165                rel2.offset: 31 31;
166                fill.smooth: 0;
167             }
168          }
169          part { name: "box";
170             type: RECT;
171             mouse_events: 0;
172             description { state: "default" 0.0;
173                color: 0 0 0 0;
174                rel1.to: "elm.swallow.size";
175                rel1.offset: -2 -2;
176                rel2.to: "elm.swallow.size";
177                rel2.offset: 1 1;
178             }
179          }
180          part { name: "elm.swallow.slot.left";
181             type: SWALLOW;
182             description { state: "default" 0.0;
183                align: 1.0 0.5;
184                rel1.to: "elm.swallow.slot.middle";
185                rel1.relative: 0.0 0.0;
186                rel1.offset: -1 0;
187                rel2.to: "elm.swallow.slot.middle";
188                rel2.relative: 0.0 1.0;
189                rel2.offset: -1 -1;
190             }
191          }
192          part { name: "elm.swallow.slot.right";
193             type: SWALLOW;
194             description { state: "default" 0.0;
195                align: 0.0 0.5;
196                rel1.to: "elm.swallow.slot.middle";
197                rel1.relative: 1.0 0.0;
198                rel1.offset: 0 0;
199                rel2.to: "elm.swallow.slot.middle";
200                rel2.relative: 1.0 1.0;
201                rel2.offset: 0 -1;
202             }
203          }
204          part { name: "elm.swallow.slot.top";
205             type: SWALLOW;
206             description { state: "default" 0.0;
207                align: 0.5 1.0;
208                rel1.to: "elm.swallow.slot.middle";
209                rel1.relative: 0.0 0.0;
210                rel1.offset: 0 -1;
211                rel2.to: "elm.swallow.slot.middle";
212                rel2.relative: 1.0 0.0;
213                rel2.offset: -1 -1;
214             }
215          }
216          part { name: "elm.swallow.slot.bottom";
217             type: SWALLOW;
218             description { state: "default" 0.0;
219                align: 0.5 0.0;
220                rel1.to: "elm.swallow.slot.middle";
221                rel1.relative: 0.0 1.0;
222                rel1.offset: 0 0;
223                rel2.to: "elm.swallow.slot.middle";
224                rel2.relative: 1.0 1.0;
225                rel2.offset: -1 0;
226             }
227          }
228          part { name: "elm.swallow.slot.middle";
229             type: SWALLOW;
230             description { state: "default" 0.0;
231                rel1.to: "elm.swallow.size";
232                rel2.to: "elm.swallow.size";
233             }
234          }
235       }
236       programs {
237          program { name: "end";
238             signal: "mouse,up,1";
239             source: "base";
240             action: SIGNAL_EMIT "elm,action,dismiss" "";
241          }
242       }
243    }
244
245    group { name: "elm/hover/base/matchlist";
246       parts {
247          part { name: "elm.swallow.offset";
248             type: SWALLOW;
249             description { state: "default" 0.0;
250                align: 0.0 0.0;
251                rel1.relative: 0.0 0.0;
252                rel2.relative: 0.0 0.0;
253             }
254          }
255          part { name: "elm.swallow.size";
256             type: SWALLOW;
257             description { state: "default" 0.0;
258                align: 0.0 0.0;
259                rel1.to: "elm.swallow.offset";
260                rel1.relative: 1.0 1.0;
261                rel2.to: "elm.swallow.offset";
262                rel2.relative: 1.0 1.0;
263             }
264          }
265          part { name: "base";
266             type: RECT;
267             mouse_events: 1;
268             description { state: "default" 0.0;
269                color: 0 0 0 0;
270             }
271          }
272          part { name: "box";
273             type: RECT;
274             mouse_events: 0;
275             description { state: "default" 0.0;
276                color: 0 0 0 0;
277                rel1.to: "elm.swallow.size";
278                rel1.offset: -2 -2;
279                rel2.to: "elm.swallow.size";
280                rel2.offset: 1 1;
281             }
282          }
283          part { name: "elm.swallow.slot.left";
284             type: SWALLOW;
285             description { state: "default" 0.0;
286                align: 1.0 0.5;
287                rel1.to: "elm.swallow.slot.middle";
288                rel1.relative: 0.0 0.0;
289                rel1.offset: -1 0;
290                rel2.to: "elm.swallow.slot.middle";
291                rel2.relative: 0.0 1.0;
292                rel2.offset: -1 -1;
293             }
294          }
295          part { name: "elm.swallow.slot.right";
296             type: SWALLOW;
297             description { state: "default" 0.0;
298                align: 0.0 0.5;
299                rel1.to: "elm.swallow.slot.middle";
300                rel1.relative: 1.0 0.0;
301                rel1.offset: 0 0;
302                rel2.to: "elm.swallow.slot.middle";
303                rel2.relative: 1.0 1.0;
304                rel2.offset: 0 -1;
305             }
306          }
307          part { name: "elm.swallow.slot.top";
308             type: SWALLOW;
309             description { state: "default" 0.0;
310                align: 0.5 1.0;
311                rel1.to: "elm.swallow.slot.middle";
312                rel1.relative: 0.0 0.0;
313                rel1.offset: 0 -1;
314                rel2.to: "elm.swallow.slot.middle";
315                rel2.relative: 1.0 0.0;
316                rel2.offset: -1 -1;
317             }
318          }
319          part { name: "elm.swallow.slot.bottom";
320             type: SWALLOW;
321             description { state: "default" 0.0;
322                align: 0.5 0.0;
323                rel1.to: "elm.swallow.slot.middle";
324                rel1.relative: 0.0 1.0;
325                rel1.offset: 0 0;
326                rel2.to: "elm.swallow.slot.middle";
327                rel2.relative: 1.0 1.0;
328                rel2.offset: -1 0;
329             }
330          }
331          part { name: "elm.swallow.slot.middle";
332             type: SWALLOW;
333             description { state: "default" 0.0;
334                rel1.to: "elm.swallow.size";
335                rel2.to: "elm.swallow.size";
336             }
337          }
338       }
339       programs {
340          program { name: "end";
341             signal: "mouse,up,1";
342             source: "base";
343             action: SIGNAL_EMIT "elm,action,dismiss" "";
344          }
345       }
346    }
347
348    group { name: "elm/hover/base/popout";
349       images {
350          image: "shad_circ.png" COMP;
351          image: "bt_dis_base.png" COMP;
352          image: "bt_dis_hilight.png" COMP;
353       }
354       parts {
355          part { name: "elm.swallow.offset";
356             type: SWALLOW;
357             description { state: "default" 0.0;
358                align: 0.0 0.0;
359                rel1.relative: 0.0 0.0;
360                rel2.relative: 0.0 0.0;
361             }
362          }
363          part { name: "elm.swallow.size";
364             type: SWALLOW;
365             description { state: "default" 0.0;
366                align: 0.0 0.0;
367                rel1.to: "elm.swallow.offset";
368                rel1.relative: 1.0 1.0;
369                rel2.to: "elm.swallow.offset";
370                rel2.relative: 1.0 1.0;
371             }
372          }
373          part { name: "base";
374             type: RECT;
375             mouse_events: 1;
376             description { state: "default" 0.0;
377                color: 0 0 0 0;
378             }
379             description { state: "visible" 0.0;
380                inherit: "default" 1.0;
381                color: 0 0 0 64;
382             }
383          }
384          part { name: "leftclip";
385             type: RECT;
386             description { state: "default" 0.0;
387                rel2.to_x: "pop";
388                rel2.relative: 0.0 1.0;
389                rel2.offset: 1 -1;
390             }
391          }
392          part { name: "left";
393             clip_to: "leftclip";
394             description { state: "default" 0.0;
395                visible: 0;
396                rel1.to: "elm.swallow.slot.left";
397                rel1.offset: -5 -5;
398                rel2.to: "elm.swallow.slot.left";
399                rel2.offset: 4 4;
400                image {
401                   normal: "bt_dis_base.png";
402                   border: 4 4 4 4;
403                }
404                image.middle: SOLID;
405             }
406             description { state: "visible" 0.0;
407                inherit: "default" 0.0;
408                visible: 1;
409             }
410          }
411          part { name: "elm.swallow.slot.left";
412             type: SWALLOW;
413             clip_to: "leftclip";
414             description { state: "default" 0.0;
415                align: 0.0 0.5;
416                rel1.to: "elm.swallow.slot.middle";
417                rel1.relative: 0.0 0.0;
418                rel1.offset: -1 0;
419                rel2.to: "elm.swallow.slot.middle";
420                rel2.relative: 0.0 1.0;
421                rel2.offset: -1 -1;
422             }
423             description { state: "visible" 0.0;
424                inherit: "default" 0.0;
425                rel1.offset: -7 0;
426                rel2.offset: -7 -1;
427                align: 1.0 0.5;
428             }
429          }
430          part { name: "leftover";
431             clip_to: "leftclip";
432             mouse_events: 0;
433             description { state: "default" 0.0;
434                rel1.to: "left";
435                rel2.to: "left";
436                rel2.relative: 1.0 0.5;
437                color: 0 0 0 0;
438                image {
439                   normal: "bt_dis_hilight.png";
440                   border: 4 4 4 0;
441                }
442             }
443          }
444          part { name: "rightclip";
445             type: RECT;
446             description { state: "default" 0.0;
447                rel1.to_x: "pop";
448                rel1.relative: 1.0 0.0;
449                rel1.offset: -2 0;
450             }
451          }
452          part { name: "right";
453             clip_to: "rightclip";
454             description { state: "default" 0.0;
455                visible: 0;
456                rel1.to: "elm.swallow.slot.right";
457                rel1.offset: -5 -5;
458                rel2.to: "elm.swallow.slot.right";
459                rel2.offset: 4 4;
460                image {
461                   normal: "bt_dis_base.png";
462                   border: 4 4 4 4;
463                }
464                image.middle: SOLID;
465             }
466             description { state: "visible" 0.0;
467                inherit: "default" 0.0;
468                visible: 1;
469             }
470          }
471          part { name: "elm.swallow.slot.right";
472             type: SWALLOW;
473             clip_to: "rightclip";
474             description { state: "default" 0.0;
475                align: 1.0 0.5;
476                rel1.to: "elm.swallow.slot.middle";
477                rel1.relative: 1.0 0.0;
478                rel1.offset: 0 0;
479                rel2.to: "elm.swallow.slot.middle";
480                rel2.relative: 1.0 1.0;
481                rel2.offset: 0 -1;
482             }
483             description { state: "visible" 0.0;
484                inherit: "default" 0.0;
485                rel1.offset: 6 0;
486                rel2.offset: 6 -1;
487                align: 0.0 0.5;
488             }
489          }
490          part { name: "rightover";
491             clip_to: "rightclip";
492             mouse_events: 0;
493             description { state: "default" 0.0;
494                rel1.to: "right";
495                rel2.to: "right";
496                rel2.relative: 1.0 0.5;
497                image {
498                   normal: "bt_dis_hilight.png";
499                   border: 4 4 4 0;
500                }
501             }
502          }
503          part { name: "topclip";
504             type: RECT;
505             description { state: "default" 0.0;
506                rel2.to_y: "pop";
507                rel2.relative: 1.0 0.0;
508                rel2.offset: -1 1;
509             }
510          }
511          part { name: "top";
512             clip_to: "topclip";
513             description { state: "default" 0.0;
514                visible: 0;
515                rel1.to: "elm.swallow.slot.top";
516                rel1.offset: -5 -5;
517                rel2.to: "elm.swallow.slot.top";
518                rel2.offset: 4 4;
519                image {
520                   normal: "bt_dis_base.png";
521                   border: 4 4 4 4;
522                }
523                image.middle: SOLID;
524             }
525             description { state: "visible" 0.0;
526                inherit: "default" 0.0;
527                visible: 1;
528             }
529          }
530          part { name: "elm.swallow.slot.top";
531             type: SWALLOW;
532             clip_to: "topclip";
533             description { state: "default" 0.0;
534                visible: 1;
535                align: 0.5 0.0;
536                rel1.to: "elm.swallow.slot.middle";
537                rel1.relative: 0.0 0.0;
538                rel1.offset: 0 -1;
539                rel2.to: "elm.swallow.slot.middle";
540                rel2.relative: 1.0 0.0;
541                rel2.offset: -1 -1;
542             }
543             description { state: "visible" 0.0;
544                inherit: "default" 0.0;
545                rel1.offset: 0 -7;
546                rel2.offset: -1 -7;
547                align: 0.5 1.0;
548             }
549          }
550          part { name: "topover";
551             clip_to: "topclip";
552             mouse_events: 0;
553             description { state: "default" 0.0;
554                rel1.to: "top";
555                rel2.to: "top";
556                rel2.relative: 1.0 0.5;
557                image {
558                   normal: "bt_dis_hilight.png";
559                   border: 4 4 4 0;
560                }
561             }
562          }
563          part { name: "bottomclip";
564             type: RECT;
565             description { state: "default" 0.0;
566                rel1.to_y: "pop";
567                rel1.relative: 0.0 1.0;
568                rel1.offset: -1 -2;
569             }
570          }
571          part { name: "bottom";
572             clip_to: "bottomclip";
573             description { state: "default" 0.0;
574                visible: 0;
575                rel1.to: "elm.swallow.slot.bottom";
576                rel1.offset: -5 -5;
577                rel2.to: "elm.swallow.slot.bottom";
578                rel2.offset: 4 4;
579                image {
580                   normal: "bt_dis_base.png";
581                   border: 4 4 4 4;
582                }
583                image.middle: SOLID;
584             }
585             description { state: "visible" 0.0;
586                inherit: "default" 0.0;
587                visible: 1;
588             }
589          }
590          part { name: "elm.swallow.slot.bottom";
591             type: SWALLOW;
592             clip_to: "bottomclip";
593             description { state: "default" 0.0;
594                align: 0.5 1.0;
595                rel1.to: "elm.swallow.slot.middle";
596                rel1.relative: 0.0 1.0;
597                rel1.offset: 0 0;
598                rel2.to: "elm.swallow.slot.middle";
599                rel2.relative: 1.0 1.0;
600                rel2.offset: -1 0;
601             }
602             description { state: "visible" 0.0;
603                inherit: "default" 0.0;
604                rel1.offset: 0 6;
605                rel2.offset: -1 6;
606                align: 0.5 0.0;
607             }
608          }
609          part { name: "bottomover";
610             clip_to: "bottomclip";
611             mouse_events: 0;
612             description { state: "default" 0.0;
613                rel1.to: "bottom";
614                rel2.to: "bottom";
615                rel2.relative: 1.0 0.5;
616                image {
617                   normal: "bt_dis_hilight.png";
618                   border: 4 4 4 0;
619                }
620             }
621          }
622          part { name: "shad";
623             mouse_events:  0;
624             description { state: "default" 0.0;
625                image.normal: "shad_circ.png";
626                rel1.to: "elm.swallow.size";
627                rel1.offset: -64 -64;
628                rel2.to: "elm.swallow.size";
629                rel2.offset: 63 63;
630                fill.smooth: 0;
631             }
632          }
633          part { name: "pop";
634             mouse_events: 1;
635             description { state: "default" 0.0;
636                rel1.to: "elm.swallow.slot.middle";
637                rel1.offset: -5 -5;
638                rel2.to: "elm.swallow.slot.middle";
639                rel2.offset: 4 4;
640                image {
641                   normal: "bt_dis_base.png";
642                   border: 4 4 4 4;
643                }
644                image.middle: SOLID;
645             }
646          }
647          part { name: "elm.swallow.slot.middle";
648             type: SWALLOW;
649             description { state: "default" 0.0;
650                rel1.to: "elm.swallow.size";
651                rel2.to: "elm.swallow.size";
652             }
653          }
654          part { name: "popover";
655             mouse_events: 0;
656             description { state: "default" 0.0;
657                rel1.to: "pop";
658                rel2.to: "pop";
659                rel2.relative: 1.0 0.5;
660                image {
661                   normal: "bt_dis_hilight.png";
662                   border: 4 4 4 0;
663                }
664             }
665          }
666       }
667       programs {
668          program { name: "end";
669             signal: "mouse,up,1";
670             source: "base";
671             action: SIGNAL_EMIT "elm,action,dismiss" "";
672          }
673
674          program { name: "show";
675             signal: "elm,action,show";
676             source: "elm";
677             action: STATE_SET "visible" 0.0;
678 //          transition: DECELERATE 0.5;
679             target: "base";
680          }
681          program { name: "hide";
682             signal: "elm,action,hide";
683             source: "elm";
684             action: STATE_SET "default" 0.0;
685 //          transition: DECELERATE 0.5;
686             target: "base";
687          }
688
689          program { name: "leftshow";
690             signal: "elm,action,slot,left,show";
691             source: "elm";
692             action: STATE_SET "visible" 0.0;
693             transition: DECELERATE 0.5;
694             target: "left";
695             target: "elm.swallow.slot.left";
696          }
697          program { name: "lefthide";
698             signal: "elm,action,slot,left,hide";
699             source: "elm";
700             action: STATE_SET "default" 0.0;
701             transition: DECELERATE 0.5;
702             target: "left";
703             target: "elm.swallow.slot.left";
704          }
705          program { name: "rightshow";
706             signal: "elm,action,slot,right,show";
707             source: "elm";
708             action: STATE_SET "visible" 0.0;
709             transition: DECELERATE 0.5;
710             target: "right";
711             target: "elm.swallow.slot.right";
712          }
713          program { name: "righthide";
714             signal: "elm,action,slot,right,hide";
715             source: "elm";
716             action: STATE_SET "default" 0.0;
717             transition: DECELERATE 0.5;
718             target: "right";
719             target: "elm.swallow.slot.right";
720          }
721          program { name: "topshow";
722             signal: "elm,action,slot,top,show";
723             source: "elm";
724             action: STATE_SET "visible" 0.0;
725             transition: DECELERATE 0.5;
726             target: "top";
727             target: "elm.swallow.slot.top";
728          }
729          program { name: "tophide";
730             signal: "elm,action,slot,top,hide";
731             source: "elm";
732             action: STATE_SET "default" 0.0;
733             transition: DECELERATE 0.5;
734             target: "top";
735             target: "elm.swallow.slot.top";
736          }
737          program { name: "bottomshow";
738             signal: "elm,action,slot,bottom,show";
739             source: "elm";
740             action: STATE_SET "visible" 0.0;
741             transition: DECELERATE 0.5;
742             target: "bottom";
743             target: "elm.swallow.slot.bottom";
744          }
745          program { name: "bottomhide";
746             signal: "elm,action,slot,bottom,hide";
747             source: "elm";
748             action: STATE_SET "default" 0.0;
749             transition: DECELERATE 0.5;
750             target: "bottom";
751             target: "elm.swallow.slot.bottom";
752          }
753       }
754    }
755
756    //In the hover used by the menu only the bottom part is used.
757    group { name: "elm/hover/base/menu";
758        images {
759            image: "shad_circ.png" COMP;
760            image: "bt_dis_base.png" COMP;
761        }
762        parts {
763            part { name: "elm.swallow.offset";
764                type: SWALLOW;
765                description { state: "default" 0.0;
766                    align: 0.0 0.0;
767                    rel1.relative: 0.0 0.0;
768                    rel2.relative: 0.0 0.0;
769                }
770            }
771            part { name: "elm.swallow.size";
772                type: SWALLOW;
773                description { state: "default" 0.0;
774                    align: 0.0 0.0;
775                    rel1.to: "elm.swallow.offset";
776                    rel1.relative: 1.0 1.0;
777                    rel2.to: "elm.swallow.offset";
778                    rel2.relative: 1.0 1.0;
779                }
780            }
781            part { name: "base";
782                type: RECT;
783                mouse_events: 1;
784                description { state: "default" 0.0;
785                    color: 0 0 0 0;
786                }
787                description { state: "visible" 0.0;
788                    inherit: "default" 1.0;
789                    color: 0 0 0 64;
790                }
791            }
792            part { name: "elm.swallow.slot.left";
793                type: SWALLOW;
794                description { state: "default" 0.0;
795                }
796            }
797            part { name: "elm.swallow.slot.right";
798                type: SWALLOW;
799                description { state: "default" 0.0;
800                }
801            }
802            part { name: "elm.swallow.slot.top";
803                type: SWALLOW;
804                description { state: "default" 0.0;
805                }
806                description { state: "visible" 0.0;
807                    inherit: "default" 0.0;
808                }
809            }
810            part { name: "bottomclip";
811                type: RECT;
812                description { state: "default" 0.0;
813                    rel1.to_y: "pop";
814                    rel1.relative: 0.0 1.0;
815                    rel1.offset: -1 -2;
816                }
817            }
818            part { name: "bottom";
819                clip_to: "bottomclip";
820                description { state: "default" 0.0;
821                    visible: 0;
822                    rel1.to: "elm.swallow.slot.bottom";
823                    rel1.offset: -5 -5;
824                    rel2.to: "elm.swallow.slot.bottom";
825                    rel2.offset: 4 4;
826                    image {
827                        normal: "bt_dis_base.png";
828                        border: 4 4 4 4;
829                    }
830                    image.middle: SOLID;
831                }
832                description { state: "visible" 0.0;
833                    inherit: "default" 0.0;
834                    visible: 1;
835                }
836            }
837            part { name: "elm.swallow.slot.bottom";
838                type: SWALLOW;
839                clip_to: "bottomclip";
840                description { state: "default" 0.0;
841                    align: 0.5 1.0;
842                    rel1.to: "elm.swallow.slot.middle";
843                    rel1.relative: 0.0 1.0;
844                    rel1.offset: 0 0;
845                    rel2.to: "elm.swallow.slot.middle";
846                    rel2.relative: 1.0 1.0;
847                    rel2.offset: -1 0;
848                }
849                description { state: "visible" 0.0;
850                    inherit: "default" 0.0;
851                    rel1.offset: 0 6;
852                    rel2.offset: -1 6;
853                    align: 0.5 0.0;
854                }
855            }
856            part { name: "pop";
857                mouse_events: 1;
858                repeat_events:1;
859                description { state: "default" 0.0;
860                    rel1.to: "elm.swallow.slot.middle";
861                    rel1.offset: -5 -5;
862                    rel2.to: "elm.swallow.slot.middle";
863                    rel2.offset: 4 4;
864                }
865            }
866            part { name: "elm.swallow.slot.middle";
867                type: SWALLOW;
868                repeat_events:1;
869                description { state: "default" 0.0;
870                    rel1.to: "elm.swallow.size";
871                    rel2.to: "elm.swallow.size";
872                }
873            }
874        }
875        programs {
876            program { name: "end";
877                signal: "mouse,up,1";
878                source: "base";
879                action: SIGNAL_EMIT "elm,action,dismiss" "";
880            }
881            program { name: "show";
882                signal: "elm,action,show";
883                source: "elm";
884                action: STATE_SET "visible" 0.0;
885                        //           transition: DECELERATE 0.5;
886                target: "base";
887            }
888            program { name: "hide";
889                signal: "elm,action,hide";
890                source: "elm";
891                action: STATE_SET "default" 0.0;
892                        //           transition: DECELERATE 0.5;
893                target: "base";
894            }
895            program { name: "bottomshow";
896                signal: "elm,action,slot,bottom,show";
897                source: "elm";
898                action: STATE_SET "visible" 0.0;
899                transition: DECELERATE 0.5;
900                target: "bottom";
901                target: "elm.swallow.slot.bottom";
902            }
903            program { name: "bottomhide";
904                signal: "elm,action,slot,bottom,hide";
905                source: "elm";
906                action: STATE_SET "default" 0.0;
907                transition: DECELERATE 0.5;
908                target: "bottom";
909                target: "elm.swallow.slot.bottom";
910            }
911        }
912    }
913
914    //In the hover used by the submenu only the bottom part is used
915    //and no part should interact except the bottom area
916    group { name: "elm/hover/base/submenu";
917        images {
918            image: "shad_circ.png" COMP;
919            image: "bt_dis_base.png" COMP;
920        }
921        parts {
922            part { name: "elm.swallow.offset";
923                type: SWALLOW;
924                repeat_events:1;
925                description { state: "default" 0.0;
926                    align: 0.0 0.0;
927                    rel1.relative: 0.0 0.0;
928                    rel2.relative: 0.0 0.0;
929                }
930            }
931            part { name: "elm.swallow.size";
932                type: SWALLOW;
933                description { state: "default" 0.0;
934                    align: 0.0 0.0;
935                    rel1.to: "elm.swallow.offset";
936                    rel1.relative: 1.0 1.0;
937                    rel2.to: "elm.swallow.offset";
938                    rel2.relative: 1.0 1.0;
939                }
940            }
941            //here we do non catch events like the hover hover does
942            part { name: "base";
943                type: RECT;
944                mouse_events: 1;
945                description { state: "default" 0.0;
946                    color: 0 0 0 0;
947                    visible: 0;
948                }
949            }
950            part { name: "elm.swallow.slot.left";
951                type: SWALLOW;
952                description { state: "default" 0.0;
953                }
954            }
955            part { name: "elm.swallow.slot.right";
956                type: SWALLOW;
957                description { state: "default" 0.0;
958                }
959            }
960            part { name: "elm.swallow.slot.top";
961                type: SWALLOW;
962                description { state: "default" 0.0;
963                }
964            }
965            part { name: "bottomclip";
966                type: RECT;
967                description { state: "default" 0.0;
968                    rel1.to_y: "pop";
969                    rel1.relative: 0.0 1.0;
970                    rel1.offset: -1 -2;
971                }
972            }
973            part { name: "bottom";
974                clip_to: "bottomclip";
975                description { state: "default" 0.0;
976                    visible: 0;
977                    rel1.to: "elm.swallow.slot.bottom";
978                    rel1.offset: -5 -5;
979                    rel2.to: "elm.swallow.slot.bottom";
980                    rel2.offset: 4 4;
981                    image {
982                        normal: "bt_dis_base.png";
983                        border: 4 4 4 4;
984                    }
985                    image.middle: SOLID;
986                }
987                description { state: "visible" 0.0;
988                    inherit: "default" 0.0;
989                    visible: 1;
990                }
991            }
992            part { name: "elm.swallow.slot.bottom";
993                type: SWALLOW;
994                clip_to: "bottomclip";
995                description { state: "default" 0.0;
996                    align: 0.5 1.0;
997                    rel1.to: "elm.swallow.slot.middle";
998                    rel1.relative: 0.0 1.0;
999                    rel1.offset: 0 0;
1000                    rel2.to: "elm.swallow.slot.middle";
1001                    rel2.relative: 1.0 1.0;
1002                    rel2.offset: -1 0;
1003                }
1004                description { state: "visible" 0.0;
1005                    inherit: "default" 0.0;
1006                    rel1.offset: 0 6;
1007                    rel2.offset: -1 6;
1008                    align: 0.5 0.0;
1009                }
1010            }
1011            part { name: "pop";
1012                mouse_events: 1;
1013                repeat_events:1;
1014                description { state: "default" 0.0;
1015                    rel1.to: "elm.swallow.slot.middle";
1016                    rel1.offset: -5 -5;
1017                    rel2.to: "elm.swallow.slot.middle";
1018                    rel2.offset: 4 4;
1019                }
1020            }
1021            part { name: "elm.swallow.slot.middle";
1022                type: SWALLOW;
1023                repeat_events:1;
1024                description { state: "default" 0.0;
1025                    rel1.to: "elm.swallow.size";
1026                    rel2.to: "elm.swallow.size";
1027                }
1028            }
1029        }
1030        programs {
1031            program { name: "end";
1032                signal: "mouse,up,1";
1033                source: "base";
1034                action: SIGNAL_EMIT "elm,action,dismiss" "";
1035            }
1036            program { name: "show";
1037                signal: "elm,action,show";
1038                source: "elm";
1039                action: STATE_SET "visible" 0.0;
1040                        //           transition: DECELERATE 0.5;
1041                target: "base";
1042            }
1043            program { name: "hide";
1044                signal: "elm,action,hide";
1045                source: "elm";
1046                action: STATE_SET "default" 0.0;
1047                        //           transition: DECELERATE 0.5;
1048                target: "base";
1049            }
1050            program { name: "bottomshow";
1051                signal: "elm,action,slot,bottom,show";
1052                source: "elm";
1053                action: STATE_SET "visible" 0.0;
1054                transition: DECELERATE 0.5;
1055                target: "bottom";
1056                target: "elm.swallow.slot.bottom";
1057            }
1058            program { name: "bottomhide";
1059                signal: "elm,action,slot,bottom,hide";
1060                source: "elm";
1061                action: STATE_SET "default" 0.0;
1062                transition: DECELERATE 0.5;
1063                target: "bottom";
1064                target: "elm.swallow.slot.bottom";
1065            }
1066        }
1067    }
1068
1069    group { name: "elm/hover/base/hoversel_vertical/default";
1070       alias: "elm/hover/base/hoversel_vertical/entry";
1071       images {
1072 //       image: "shad_circ.png" COMP;
1073          image: "bt_base2.png" COMP;
1074          image: "bt_hilight.png" COMP;
1075          image: "bt_shine.png" COMP;
1076          image: "outdent-top.png" COMP;
1077          image: "outdent-bottom.png" COMP;
1078       }
1079       parts {
1080          part { name: "elm.swallow.offset";
1081             type: SWALLOW;
1082             description { state: "default" 0.0;
1083                align: 0.0 0.0;
1084                rel1.relative: 0.0 0.0;
1085                rel2.relative: 0.0 0.0;
1086             }
1087          }
1088          part { name: "elm.swallow.size";
1089             type: SWALLOW;
1090             description { state: "default" 0.0;
1091                align: 0.0 0.0;
1092                rel1.to: "elm.swallow.offset";
1093                rel1.relative: 1.0 1.0;
1094                rel2.to: "elm.swallow.offset";
1095                rel2.relative: 1.0 1.0;
1096             }
1097          }
1098 /*
1099         part { name: "shad";
1100             mouse_events:  0;
1101             description { state: "default" 0.0;
1102                image.normal: "shad_circ.png";
1103                rel1.to: "button_image";
1104                rel1.offset: -64 -64;
1105                rel2.to: "button_image";
1106                rel2.offset: 63 63;
1107                fill.smooth: 0;
1108             }
1109          }
1110  */
1111          part { name: "button_image";
1112             mouse_events: 1;
1113             description { state: "default" 0.0;
1114                rel1.to_x: "elm.swallow.slot.top";
1115                rel1.to_y: "elm.swallow.slot.top";
1116                rel1.offset: -2 -6;
1117                rel2.to_x: "elm.swallow.slot.top";
1118                rel2.to_y: "elm.swallow.slot.bottom";
1119                rel2.offset: 1 5;
1120                image {
1121                   normal: "bt_base2.png";
1122                   border: 7 7 7 7;
1123                }
1124                image.middle: SOLID;
1125             }
1126
1127             description { state: "bottom" 0.0;
1128                rel1.to_x: "elm.swallow.slot.bottom";
1129                rel1.to_y: "elm.swallow.slot.top";
1130                rel1.offset: -2 -6;
1131                rel2.to_x: "elm.swallow.slot.bottom";
1132                rel2.to_y: "elm.swallow.slot.bottom";
1133                rel2.offset: 1 5;
1134                image {
1135                   normal: "bt_base2.png";
1136                   border: 7 7 7 7;
1137                }
1138                image.middle: SOLID;
1139             }
1140
1141          }
1142
1143          part { name: "base";
1144             type: RECT;
1145             mouse_events: 1;
1146             description { state: "default" 0.0;
1147                color: 0 0 0 0;
1148             }
1149             description { state: "visible" 0.0;
1150                inherit: "default" 1.0;
1151                color: 0 0 0 0;
1152             }
1153          }
1154
1155          part { name: "topclip";
1156             type: RECT;
1157             description { state: "default" 0.0;
1158                rel2.to_y: "edge_top";
1159                rel2.relative: 1.0 0.0;
1160                rel2.offset: -1 7;
1161             }
1162          }
1163          part { name: "elm.swallow.slot.top";
1164             type: SWALLOW;
1165             clip_to: "topclip";
1166             description { state: "default" 0.0;
1167                visible: 1;
1168                align: 0.5 0.0;
1169                rel1.to: "elm.swallow.slot.middle";
1170                rel1.relative: 0.0 0.0;
1171                rel1.offset: 0 -1;
1172                rel2.to: "elm.swallow.slot.middle";
1173                rel2.relative: 1.0 0.0;
1174                rel2.offset: -1 -1;
1175             }
1176             description { state: "visible" 0.0;
1177                inherit: "default" 0.0;
1178                rel1.offset: 0 -7;
1179                rel2.offset: -1 -7;
1180                align: 0.5 1.0;
1181             }
1182          }
1183
1184          part { name: "bottomclip";
1185             type: RECT;
1186             description { state: "default" 0.0;
1187                rel1.to_y: "edge_bottom";
1188                rel1.relative: 0.0 1.0;
1189                rel1.offset: -1 -8;
1190             }
1191          }
1192          part { name: "elm.swallow.slot.bottom";
1193             type: SWALLOW;
1194             clip_to: "bottomclip";
1195             description { state: "default" 0.0;
1196                align: 0.5 1.0;
1197                rel1.to: "elm.swallow.slot.middle";
1198                rel1.relative: 0.0 1.0;
1199                rel1.offset: 0 0;
1200                rel2.to: "elm.swallow.slot.middle";
1201                rel2.relative: 1.0 1.0;
1202                rel2.offset: -1 0;
1203             }
1204             description { state: "visible" 0.0;
1205                inherit: "default" 0.0;
1206                rel1.offset: 0 6;
1207                rel2.offset: -1 6;
1208                align: 0.5 0.0;
1209             }
1210          }
1211
1212          part {   name: "over1";
1213             mouse_events: 0;
1214             description { state: "default" 0.0;
1215                rel1.to: "button_image";
1216                rel2.to: "button_image";
1217                rel2.relative: 1.0 0.5;
1218                image {
1219                   normal: "bt_hilight.png";
1220                   border: 7 7 7 0;
1221                }
1222             }
1223          }
1224          part { name: "over2";
1225             mouse_events: 1;
1226             repeat_events: 1;
1227             ignore_flags: ON_HOLD;
1228             description { state: "default" 0.0;
1229                rel1.to: "button_image";
1230                rel2.to: "button_image";
1231                image {
1232                   normal: "bt_shine.png";
1233                   border: 7 7 7 7;
1234                }
1235             }
1236          }
1237          part { name: "edge_top";
1238             mouse_events:  0;
1239             description { state: "default" 0.0;
1240                visible: 0;
1241                rel1 {
1242                   to: "elm.swallow.size";
1243                   offset: 0 -10;
1244                }
1245                rel2 {
1246                   to: "elm.swallow.size";
1247                }
1248                image.normal: "outdent-bottom.png";
1249                image.border: 0 0 13 0;
1250                fill.smooth: 0;
1251             }
1252             description { state: "visible" 0.0;
1253                inherit: "default" 0.0;
1254                visible: 0;
1255             }
1256          }
1257          part { name: "edge_bottom";
1258             mouse_events:  0;
1259             description { state: "default" 0.0;
1260                visible: 0;
1261                rel1 {
1262                   to: "elm.swallow.size";
1263                }
1264                rel2 {
1265                   to: "elm.swallow.size";
1266                   offset: -1 9;
1267                }
1268                image.normal: "outdent-top.png";
1269                image.border: 0 0 0 13;
1270                fill.smooth: 0;
1271             }
1272             description { state: "visible" 0.0;
1273                inherit: "default" 0.0;
1274                visible: 0;
1275             }
1276          }
1277          part { name: "elm.swallow.slot.middle";
1278             type: SWALLOW;
1279             description { state: "default" 0.0;
1280                rel1.to: "elm.swallow.size";
1281                rel2.to: "elm.swallow.size";
1282             }
1283          }
1284       }
1285       programs {
1286          program { name: "end";
1287             signal: "mouse,up,1";
1288             source: "base";
1289             action: SIGNAL_EMIT "elm,action,dismiss" "";
1290          }
1291
1292          program { name: "show";
1293             signal: "elm,action,show";
1294             source: "elm";
1295             action: STATE_SET "visible" 0.0;
1296 //          transition: DECELERATE 0.5;
1297             target: "base";
1298          }
1299          program { name: "hide";
1300             signal: "elm,action,hide";
1301             source: "elm";
1302             action: STATE_SET "default" 0.0;
1303 //          transition: DECELERATE 0.5;
1304             target: "base";
1305          }
1306          program { name: "topshow";
1307             signal: "elm,action,slot,top,show";
1308             source: "elm";
1309             action: STATE_SET "visible" 0.0;
1310             target: "edge_top";
1311             after: "topshow2";
1312          }
1313          program { name: "topshow2";
1314             action: STATE_SET "visible" 0.0;
1315             transition: DECELERATE 0.5;
1316             target: "elm.swallow.slot.top";
1317          }
1318          program { name: "topshow3";
1319             signal: "elm,action,slot,top,show";
1320             source: "elm";
1321             action: STATE_SET "default" 0.0;
1322             target: "button_image";
1323          }
1324          program { name: "tophide";
1325             signal: "elm,action,slot,top,hide";
1326             source: "elm";
1327             action: STATE_SET "default" 0.0;
1328             transition: DECELERATE 0.5;
1329             target: "elm.swallow.slot.top";
1330             after: "tophide2";
1331          }
1332          program { name: "tophide2";
1333             action: STATE_SET "default" 0.0;
1334             target: "edge_top";
1335          }
1336          program { name: "bottomshow";
1337             signal: "elm,action,slot,bottom,show";
1338             source: "elm";
1339             action: STATE_SET "visible" 0.0;
1340             target: "edge_bottom";
1341             after: "bottomshow2";
1342          }
1343          program { name: "bottomshow2";
1344             action: STATE_SET "visible" 0.0;
1345             transition: DECELERATE 0.5;
1346             target: "elm.swallow.slot.bottom";
1347          }
1348          program { name: "bottomshow3";
1349             signal: "elm,action,slot,bottom,show";
1350             source: "elm";
1351             action: STATE_SET "bottom" 0.0;
1352             target: "button_image";
1353          }
1354          program { name: "bottomhide";
1355             signal: "elm,action,slot,bottom,hide";
1356             source: "elm";
1357             action: STATE_SET "default" 0.0;
1358             transition: DECELERATE 0.5;
1359             target: "elm.swallow.slot.bottom";
1360             after: "bottomhide2";
1361          }
1362          program { name: "bottomhide2";
1363             action: STATE_SET "default" 0.0;
1364             target: "edge_bottom";
1365          }
1366       }
1367    }
1368
1369
1370         group { name: "elm/hover/base/hoversel_horizontal/entry";
1371                 images {
1372                         image: "10_cont_popup_copypaste_bg01.png" COMP;
1373                 }
1374
1375                 parts {
1376                         part { name: "elm.swallow.offset";
1377                                 type: SWALLOW;
1378                                 scale: 1;
1379                                 description { state: "default" 0.0;
1380                                         align: 0.0 0.0;
1381                                         rel1.relative: 0.0 0.0;
1382                                         rel2.relative: 0.0 0.0;
1383                                 }
1384                         }
1385                         part { name: "elm.swallow.size";
1386                                 type: SWALLOW;
1387                                 scale: 1;
1388                                 description { state: "default" 0.0;
1389                                         align: 0.0 0.0;
1390                                         rel1.to: "elm.swallow.offset";
1391                                         rel1.relative: 1.0 1.0;
1392                                         rel2.to: "elm.swallow.offset";
1393                                         rel2.relative: 1.0 1.0;
1394                                 }
1395                         }
1396                         part { name: "elm.swallow.slot.middle";
1397                                 type: SWALLOW;
1398                                 scale: 1;
1399                                 description { state: "default" 0.0;
1400                                         rel1.to: "elm.swallow.size";
1401                                         rel2.to: "elm.swallow.size";
1402                                 }
1403                         }
1404
1405                         part { name: "base";
1406                                 type: RECT;
1407                                 mouse_events: 1;
1408                                 description { state: "default" 0.0;
1409                                         color: 0 0 0 0;
1410                                         align: 0.0 0.0;
1411                                         rel1.relative: 0.0 0.0;
1412                                         rel2.relative: 1.0 1.0;
1413                                 }
1414                                 description { state: "visible" 0.0;
1415                                         inherit: "default" 1.0;
1416                                         color: 0 0 0 64;
1417                                 }
1418                         }
1419
1420                         part { name: "edge_top";
1421                                 mouse_events:  0;
1422                                 scale: 1;
1423                                 description { state: "default" 0.0;
1424                                         visible: 0;
1425                                 }
1426                                 description { state: "visible" 0.0;
1427                                         inherit: "default" 0.0;
1428                                         visible: 0;
1429                                 }
1430                         }
1431                         part { name: "edge_bottom";
1432                                 mouse_events:  0;
1433                                 scale: 1;
1434                                 description { state: "default" 0.0;
1435                                         visible: 0;
1436                                 }
1437                                 description { state: "visible" 0.0;
1438                                         inherit: "default" 0.0;
1439                                         visible: 0;
1440                                 }
1441                         }
1442
1443
1444                         part { name: "button_image_right";
1445                                 mouse_events: 0;
1446                                 scale: 1;
1447                                 description { state: "default" 0.0;
1448                                         color: 255 255 255 255;
1449                                         image.normal: "10_cont_popup_copypaste_bg01.png";
1450                                         image.border: 4 4 4 4;
1451                                         fill.smooth: 0;
1452                                         align: 0.5 0.5;
1453                                         rel1 {
1454                                                 to: "elm.swallow.slot.right";
1455                                                 relative: 0.0 0.0;
1456                                                 offset: 2 2;
1457                                         }
1458                                         rel2 {
1459                                                 to: "elm.swallow.slot.right";
1460                                                 relative: 1.0 1.0;
1461                                                 offset: -2 -2;
1462                                         }
1463                                 }
1464                         }
1465                         part { name: "button_image_left";
1466                                 mouse_events: 0;
1467                                 scale: 1;
1468                                 description { state: "default" 0.0;
1469                                         color: 255 255 255 255;
1470                                         image.normal: "10_cont_popup_copypaste_bg01.png";
1471                                         image.border: 4 4 4 4;
1472                                         fill.smooth: 0;
1473                                         align: 0.5 0.5;
1474                                         rel1 {
1475                                                 to: "elm.swallow.slot.left";
1476                                                 relative: 0.0 0.0;
1477                                                 offset: 2 2;
1478                                         }
1479                                         rel2 {
1480                                                 to: "elm.swallow.slot.left";
1481                                                 relative: 1.0 1.0;
1482                                                 offset: -2 -2;
1483                                         }
1484                                 }
1485                         }
1486
1487                         part { name: "elm.swallow.slot.top";
1488                                 type: SWALLOW;
1489                                 scale: 1;
1490                                 description { state: "default" 0.0;
1491                                         visible: 1;
1492                                         fixed: 0 1;
1493                                         min: 460 60;
1494                                         max: 460 60;
1495                                         align: 0.5 1.0;
1496                                         rel1.relative: 0.0 0.0;
1497                                         rel1.to: "elm.swallow.slot.middle";
1498                                         rel2.relative: 1.0 0.0;
1499                                         rel2.to: "elm.swallow.slot.middle";
1500                                 }
1501                                 description { state: "visible" 0.0;
1502                                    inherit: "default" 0.0;
1503                                 }
1504                         }
1505                         part { name: "elm.swallow.slot.bottom";
1506                                 type: SWALLOW;
1507                                 scale: 1;
1508                                 description { state: "default" 0.0;
1509                                         visible: 1;
1510                                         fixed: 0 1;
1511                                         min: 460 60;
1512                                         max: 460 60;
1513                                         align: 0.5 0.0;
1514                                         rel1.relative: 0.0 1.0;
1515                                         rel1.to: "elm.swallow.slot.middle";
1516                                         rel2.relative: 1.0 1.0;
1517                                         rel2.to: "elm.swallow.slot.middle";
1518                                 }
1519                                 description { state: "visible" 0.0;
1520                                    inherit: "default" 0.0;
1521                                 }
1522                         }
1523
1524                         part { name: "elm.swallow.slot.right";
1525                                 type: SWALLOW;
1526                                 scale: 1;
1527                                 description { state: "default" 0.0;
1528                                         visible: 1;
1529                                         align: 0.5 0.5;
1530                                         rel1.relative: 0.5 0.0;
1531                                         rel1.to_y: "elm.swallow.slot.middle";
1532                                         rel2.relative: 0.5 1.0;
1533                                         rel2.to_y: "elm.swallow.slot.middle";
1534                                 }
1535                                 description { state: "visible" 0.0;
1536                                    inherit: "default" 0.0;
1537                                 }
1538                         }
1539                         part { name: "elm.swallow.slot.left";
1540                                 type: SWALLOW;
1541                                 scale: 1;
1542                                 description { state: "default" 0.0;
1543                                         visible: 1;
1544                                         align: 0.5 0.5;
1545                                         rel1.relative: 0.5 0.0;
1546                                         rel1.to_y: "elm.swallow.slot.middle";
1547                                         rel2.relative: 0.5 1.0;
1548                                         rel2.to_y: "elm.swallow.slot.middle";
1549                                 }
1550                                 description { state: "visible" 0.0;
1551                                    inherit: "default" 0.0;
1552                                 }
1553                         }
1554                 }
1555
1556                 programs {
1557                         program { name: "end";
1558                                 signal: "mouse,up,1";
1559                                 source: "base";
1560                                 action: SIGNAL_EMIT "elm,action,dismiss" "";
1561                         }
1562                         program { name: "show";
1563                                 signal: "elm,action,show";
1564                                 source: "elm";
1565                                 action: STATE_SET "visible" 0.0;
1566                                 target: "base";
1567                         }
1568                         program { name: "hide";
1569                                 signal: "elm,action,hide";
1570                                 source: "elm";
1571                                 action: STATE_SET "default" 0.0;
1572                                 target: "base";
1573                         }
1574                         program { name: "topshow";
1575                                 signal: "elm,action,slot,top,show";
1576                                 source: "elm";
1577                                 action: STATE_SET "visible" 0.0;
1578                                 target: "edge_top";
1579                                 after: "topshow2";
1580                         }
1581                         program { name: "topshow2";
1582                                 action: STATE_SET "visible" 0.0;
1583                                 transition: DECELERATE 0.5;
1584                                 target: "elm.swallow.slot.top";
1585                         }
1586                         program { name: "tophide";
1587                                 signal: "elm,action,slot,top,hide";
1588                                 source: "elm";
1589                                 action: STATE_SET "default" 0.0;
1590                                 transition: DECELERATE 0.5;
1591                                 target: "elm.swallow.slot.top";
1592                                 after: "tophide2";
1593                         }
1594                         program { name: "tophide2";
1595                                 action: STATE_SET "default" 0.0;
1596                                 target: "edge_top";
1597                         }
1598                         program { name: "bottomshow";
1599                                 signal: "elm,action,slot,bottom,show";
1600                                 source: "elm";
1601                                 action: STATE_SET "visible" 0.0;
1602                                 target: "edge_bottom";
1603                                 after: "bottomshow2";
1604                         }
1605                         program { name: "bottomshow2";
1606                                 action: STATE_SET "visible" 0.0;
1607                                 transition: DECELERATE 0.5;
1608                                 target: "elm.swallow.slot.bottom";
1609                         }
1610                         program { name: "bottomhide";
1611                                 signal: "elm,action,slot,bottom,hide";
1612                                 source: "elm";
1613                                 action: STATE_SET "default" 0.0;
1614                                 transition: DECELERATE 0.5;
1615                                 target: "elm.swallow.slot.bottom";
1616                                 after: "bottomhide2";
1617                         }
1618                         program { name: "bottomhide2";
1619                                 action: STATE_SET "default" 0.0;
1620                                 target: "edge_bottom";
1621                         }
1622                 }
1623         }
1624 ///////////////////////////////////////////////////////////////////////////////
1625    group { name: "elm/notify/block_events/default";
1626        parts {
1627            part { name: "block_events";
1628                                                                 type: RECT;
1629                                                                 mouse_events:  1;
1630                                                                 repeat_events: 0;
1631                                                                 description { state: "default" 0.0;
1632                                                                         color: 0 0 0 180;
1633                                                                 }
1634            }
1635        }
1636            programs {
1637                    program {
1638                                 name: "block_clicked";
1639                                 signal: "mouse,clicked,1";
1640                                 source: "block_events";
1641                                 action: SIGNAL_EMIT "elm,action,clicked" "elm";
1642                    }
1643            }
1644    }
1645    group { name: "elm/notify/top/default";
1646        //this group is a design similar to the inwin group
1647        images {
1648       //     image: "shad_circ.png" COMP;
1649       //     image: "bt_dis_base.png" COMP;
1650       //     image: "bt_dis_hilight.png" COMP;
1651        }
1652        parts {
1653            part { name: "base";
1654                type: RECT;
1655                mouse_events: 0;
1656                repeat_events: 1;
1657                description { state: "default" 0.0;
1658                    color: 0 0 0 0;
1659                    rel1.offset: 10 10;
1660                    rel2.offset: -10 -10;
1661                    rel1.relative: 0.0 -1.0;
1662                    rel2.relative: 1.0 0.0;
1663                }
1664                description { state: "visible" 0.0;
1665                    inherit: "default" 0.0;
1666                    color: 0 0 0 64;
1667                    rel1.relative: 0.0 0.0;
1668                    rel2.relative: 1.0 1.0;
1669                }
1670            }
1671            part { name: "shad";
1672                mouse_events:  0;
1673                description { state: "default" 0.0;
1674         //           image.normal: "shad_circ.png";
1675                    rel1.to: "elm.swallow.content";
1676                    rel1.offset: -64 -64;
1677                    rel2.to: "elm.swallow.content";
1678                    rel2.offset: 63 63;
1679                    fill.smooth: 0;
1680                }
1681            }
1682            part { name: "pop";
1683                mouse_events: 1;
1684                description { state: "default" 0.0;
1685                    rel1.to: "elm.swallow.content";
1686                    rel1.offset: -5 -5;
1687                    rel2.to: "elm.swallow.content";
1688                    rel2.offset: 4 4;
1689                    image {
1690              //          normal: "bt_dis_base.png";
1691             //           border: 4 4 4 4;
1692                    }
1693                //    image.middle: SOLID;
1694                }
1695            }
1696            part { name: "popover";
1697                mouse_events: 0;
1698                description { state: "default" 0.0;
1699                    rel1.to: "pop";
1700                    rel2.to: "pop";
1701                    rel2.relative: 1.0 0.5;
1702                    image {
1703            //            normal: "bt_dis_hilight.png";
1704              //          border: 4 4 4 0;
1705                    }
1706                }
1707            }
1708            part { name: "elm.swallow.content";
1709                type: SWALLOW;
1710                description { state: "default" 0.0;
1711                    rel1.to: "base";
1712                    rel2.to: "base";
1713                }
1714            }
1715        }
1716        programs {
1717            program { name: "show";
1718                signal: "elm,action,show";
1719                source: "elm";
1720                action: STATE_SET "visible" 0.0;
1721                target: "base";
1722            }
1723            program { name: "show_2";
1724                 signal: "show";
1725                 action: STATE_SET "default" 0.0;
1726                 target: "base";
1727                 after: "show_3";
1728            }
1729            program { name: "show_3";
1730                 signal: "show";
1731                 action: STATE_SET "visible" 0.0;
1732                 target: "base";
1733                 transition: LINEAR 0.5;
1734            }
1735            program { name: "hide";
1736                signal: "elm,action,hide";
1737                source: "elm";
1738                action: STATE_SET "default" 0.0;
1739                target: "base";
1740            }
1741        }
1742    }
1743    group { name: "elm/notify/center/default";
1744        //this group is a design similar to the inwin group
1745        images {
1746           //            image: "00_popup_bg.png" COMP;
1747        }
1748        parts {
1749            part { name: "base";
1750                type: RECT;
1751                scale : 1;
1752                mouse_events: 0;
1753                repeat_events: 1;
1754                description { state: "default" 0.0;
1755                    color: 0 0 0 0;
1756                    rel1.relative: 0.0 0.0;
1757                    rel2.relative: 1.0 1.0;
1758                }
1759            }
1760           part { name: "persp";          
1761             type: RECT;
1762             description { state: "default" 0.0;
1763                min: 32 32;
1764                max: 32 32;
1765                align: 0.5 0.5;  
1766                color: 0 0 0 0;
1767                visible: 1;
1768                perspective {
1769                   zplane: -200;
1770                   focal: 1000;
1771                }
1772             }
1773          }
1774          part { name: "persp1";          
1775             type: RECT;
1776             description { state: "default" 0.0;
1777                min: 32 32;
1778                max: 32 32;
1779                align: 0.5 0.5;
1780                visible: 1;
1781                color: 0 0 0 0;
1782                perspective {
1783                   zplane: 0;
1784                   focal: 1000;
1785                }
1786             }
1787          }
1788            part { name: "pop";
1789                scale : 1;
1790                mouse_events: 1;
1791                description { state: "default" 0.0;
1792                    rel1.to: "elm.swallow.content";
1793                    rel2.to: "elm.swallow.content";
1794                    image {
1795                                 //                      normal: "00_popup_bg.png";
1796                                 //                      border: 16 16 15 29;
1797                                                         middle: DEFAULT;
1798                                                         border_scale: 0;
1799                    }
1800                }
1801            }
1802            part { name: "elm.swallow.content";
1803                type: SWALLOW;
1804                scale : 1;
1805                description { state: "default" 0.0;
1806                    rel1.to: "base";
1807                    rel2.to: "base";
1808                         map {
1809                           on: 1;
1810                           backface_cull: 1;
1811                           perspective: "persp";
1812                        }
1813                }
1814                description { state: "visible" 0.0;
1815                    rel1.to: "base";
1816                    rel2.to: "base";
1817                         map {
1818                           on: 1;
1819                           backface_cull: 1;
1820                           perspective: "persp1";
1821                        }
1822                }
1823                description { state: "end" 0.0;
1824                    rel1.to: "base";
1825                    rel2.to: "base";
1826                         map {
1827                           on: 0;
1828                        }
1829                }
1830            }
1831        }
1832        programs {
1833            program { name: "show";
1834                signal: "elm,action,show";
1835                source: "elm";
1836                action: STATE_SET "default" 0.0;
1837                target: "elm.swallow.content";
1838            }
1839            program { name: "show_2";
1840                 signal: "show";
1841                 action: STATE_SET "visible" 0.0;
1842                 target: "elm.swallow.content";
1843                 transition: LINEAR 0.2;
1844                 after: "end";
1845            }
1846            program { name: "end";
1847                  action: STATE_SET "end" 0.0;
1848                  target: "elm.swallow.content";
1849            }
1850            program { name: "hide";
1851                signal: "elm,action,hide";
1852                source: "elm";
1853                action: STATE_SET "default" 0.0;
1854                target: "elm.swallow.content";
1855            }
1856        }
1857    }
1858
1859    group { name: "elm/notify/bottom/default";
1860        //this group is a design similar to the inwin group
1861        /*images {
1862            image: "shad_circ.png" COMP;
1863            image: "bt_dis_base.png" COMP;
1864            image: "bt_dis_hilight.png" COMP;
1865        }*/
1866        parts {
1867            part { name: "base";
1868                type: RECT;
1869                mouse_events: 0;
1870                repeat_events: 1;
1871                description { state: "default" 0.0;
1872                    color: 0 0 0 0;
1873                    //rel1.offset: 10 10;
1874                    //rel2.offset: -10 -10;
1875                    rel1.relative: 0.0 1.0;
1876                    rel2.relative: 1.0 2.0;
1877                }
1878                description { state: "visible" 0.0;
1879                    inherit: "default" 0.0;
1880                    color: 0 0 0 64;
1881                    rel1.relative: 0.0 0.0;
1882                    rel2.relative: 1.0 1.0;
1883                }
1884            }
1885            /*part { name: "shad";
1886                mouse_events:  0;
1887                description { state: "default" 0.0;
1888                    image.normal: "shad_circ.png";
1889                    rel1.to: "elm.swallow.content";
1890                    rel1.offset: -64 -64;
1891                    rel2.to: "elm.swallow.content";
1892                    rel2.offset: 63 63;
1893                    fill.smooth: 0;
1894                }
1895            }
1896            part { name: "pop";
1897                mouse_events: 1;
1898                description { state: "default" 0.0;
1899                    rel1.to: "elm.swallow.content";
1900                    rel1.offset: -5 -5;
1901                    rel2.to: "elm.swallow.content";
1902                    rel2.offset: 4 4;
1903                    image {
1904                        normal: "bt_dis_base.png";
1905                        border: 4 4 4 4;
1906                    }
1907                    image.middle: SOLID;
1908                }
1909            }
1910            part { name: "popover";
1911                mouse_events: 0;
1912                description { state: "default" 0.0;
1913                    rel1.to: "pop";
1914                    rel2.to: "pop";
1915                    rel2.relative: 1.0 0.5;
1916                    image {
1917                        normal: "bt_dis_hilight.png";
1918                        border: 4 4 4 0;
1919                    }
1920                }
1921            }*/
1922            part { name: "elm.swallow.content";
1923                type: SWALLOW;
1924                description { state: "default" 0.0;
1925                    rel1.to: "base";
1926                    rel2.to: "base";
1927                }
1928            }
1929        }
1930        programs {
1931            program { name: "show";
1932                signal: "elm,action,show";
1933                source: "elm";
1934                action: STATE_SET "visible" 0.0;
1935                target: "base";
1936            }
1937            program { name: "show_2";
1938                 signal: "show";
1939                 action: STATE_SET "default" 0.0;
1940                 target: "base";
1941                 after: "show_3";
1942            }
1943            program { name: "show_3";
1944                 signal: "show";
1945                 action: STATE_SET "visible" 0.0;
1946                 target: "base";
1947                 transition: LINEAR 0.5;
1948            }
1949            program { name: "hide";
1950                signal: "elm,action,hide";
1951                source: "elm";
1952                action: STATE_SET "default" 0.0;
1953                target: "base";
1954            }
1955        }
1956    }
1957    group { name: "elm/notify/left/default";
1958        //this group is a design similar to the inwin group
1959        images {
1960            image: "shad_circ.png" COMP;
1961            image: "bt_dis_base.png" COMP;
1962            image: "bt_dis_hilight.png" COMP;
1963        }
1964        parts {
1965            part { name: "base";
1966                type: RECT;
1967                mouse_events: 0;
1968                repeat_events: 1;
1969                description { state: "default" 0.0;
1970                    color: 0 0 0 0;
1971                    rel1.offset: 10 10;
1972                    rel2.offset: -10 -10;
1973                    rel1.relative: -1.0 0.0;
1974                    rel2.relative: 0.0 1.0;
1975                }
1976                description { state: "visible" 0.0;
1977                    inherit: "default" 0.0;
1978                    color: 0 0 0 64;
1979                    rel1.relative: 0.0 0.0;
1980                    rel2.relative: 1.0 1.0;
1981                }
1982            }
1983            part { name: "shad";
1984                mouse_events:  0;
1985                description { state: "default" 0.0;
1986                    image.normal: "shad_circ.png";
1987                    rel1.to: "elm.swallow.content";
1988                    rel1.offset: -64 -64;
1989                    rel2.to: "elm.swallow.content";
1990                    rel2.offset: 63 63;
1991                    fill.smooth: 0;
1992                }
1993            }
1994            part { name: "pop";
1995                mouse_events: 1;
1996                description { state: "default" 0.0;
1997                    rel1.to: "elm.swallow.content";
1998                    rel1.offset: -5 -5;
1999                    rel2.to: "elm.swallow.content";
2000                    rel2.offset: 4 4;
2001                    image {
2002                        normal: "bt_dis_base.png";
2003                        border: 4 4 4 4;
2004                    }
2005                    image.middle: SOLID;
2006                }
2007            }
2008            part { name: "popover";
2009                mouse_events: 0;
2010                description { state: "default" 0.0;
2011                    rel1.to: "pop";
2012                    rel2.to: "pop";
2013                    rel2.relative: 1.0 0.5;
2014                    image {
2015                        normal: "bt_dis_hilight.png";
2016                        border: 4 4 4 0;
2017                    }
2018                }
2019            }
2020            part { name: "elm.swallow.content";
2021                type: SWALLOW;
2022                description { state: "default" 0.0;
2023                    rel1.to: "base";
2024                    rel2.to: "base";
2025                }
2026            }
2027        }
2028        programs {
2029            program { name: "show";
2030                signal: "elm,action,show";
2031                source: "elm";
2032                action: STATE_SET "visible" 0.0;
2033                target: "base";
2034            }
2035            program { name: "show_2";
2036                signal: "show";
2037                action: STATE_SET "default" 0.0;
2038                target: "base";
2039                after: "show_3";
2040            }
2041            program { name: "show_3";
2042                signal: "show";
2043                action: STATE_SET "visible" 0.0;
2044                target: "base";
2045                transition: LINEAR 0.5;
2046            }
2047            program { name: "hide";
2048                signal: "elm,action,hide";
2049                source: "elm";
2050                action: STATE_SET "default" 0.0;
2051                target: "base";
2052            }
2053        }
2054    }
2055    group { name: "elm/notify/right/default";
2056        //this group is a design similar to the inwin group
2057        images {
2058            image: "shad_circ.png" COMP;
2059            image: "bt_dis_base.png" COMP;
2060            image: "bt_dis_hilight.png" COMP;
2061        }
2062        parts {
2063            part { name: "base";
2064                type: RECT;
2065                mouse_events: 0;
2066                repeat_events: 1;
2067                 description { state: "default" 0.0;
2068                    color: 0 0 0 0;
2069                    rel1.offset: 10 10;
2070                    rel2.offset: -10 -10;
2071                    rel1.relative: 1.0 0.0;
2072                    rel2.relative: 2.0 1.0;
2073                }
2074                description { state: "visible" 0.0;
2075                    inherit: "default" 0.0;
2076                    color: 0 0 0 64;
2077                    rel1.relative: 0.0 0.0;
2078                    rel2.relative: 1.0 1.0;
2079                }
2080            }
2081            part { name: "shad";
2082                mouse_events:  0;
2083                description { state: "default" 0.0;
2084                    image.normal: "shad_circ.png";
2085                    rel1.to: "elm.swallow.content";
2086                    rel1.offset: -64 -64;
2087                    rel2.to: "elm.swallow.content";
2088                    rel2.offset: 63 63;
2089                    fill.smooth: 0;
2090                }
2091            }
2092            part { name: "pop";
2093                mouse_events: 1;
2094                description { state: "default" 0.0;
2095                    rel1.to: "elm.swallow.content";
2096                    rel1.offset: -5 -5;
2097                    rel2.to: "elm.swallow.content";
2098                    rel2.offset: 4 4;
2099                    image {
2100                        normal: "bt_dis_base.png";
2101                        border: 4 4 4 4;
2102                    }
2103                    image.middle: SOLID;
2104                }
2105            }
2106            part { name: "popover";
2107                mouse_events: 0;
2108                description { state: "default" 0.0;
2109                    rel1.to: "pop";
2110                    rel2.to: "pop";
2111                    rel2.relative: 1.0 0.5;
2112                    image {
2113                        normal: "bt_dis_hilight.png";
2114                        border: 4 4 4 0;
2115                    }
2116                }
2117            }
2118            part { name: "elm.swallow.content";
2119                type: SWALLOW;
2120                description { state: "default" 0.0;
2121                    rel1.to: "base";
2122                    rel2.to: "base";
2123                }
2124            }
2125        }
2126        programs {
2127            program { name: "show";
2128                signal: "elm,action,show";
2129                source: "elm";
2130                action: STATE_SET "visible" 0.0;
2131                target: "base";
2132            }
2133            program { name: "show_2";
2134                signal: "show";
2135                action: STATE_SET "default" 0.0;
2136                target: "base";
2137                after: "show_3";
2138            }
2139            program { name: "show_3";
2140                signal: "show";
2141                action: STATE_SET "visible" 0.0;
2142                target: "base";
2143                transition: LINEAR 0.5;
2144            }
2145            program { name: "hide";
2146                signal: "elm,action,hide";
2147                source: "elm";
2148                action: STATE_SET "default" 0.0;
2149                target: "base";
2150            }
2151        }
2152    }
2153    group { name: "elm/notify/top_left/default";
2154        //this group is a design similar to the inwin group
2155        images {
2156            image: "shad_circ.png" COMP;
2157            image: "bt_dis_base.png" COMP;
2158            image: "bt_dis_hilight.png" COMP;
2159        }
2160        parts {
2161            part { name: "base";
2162                type: RECT;
2163                mouse_events: 0;
2164                repeat_events: 1;
2165                 description { state: "default" 0.0;
2166                    color: 0 0 0 0;
2167                    rel1.offset: 10 10;
2168                    rel2.offset: -10 -10;
2169                    rel1.relative: 0.0 -1.0;
2170                    rel2.relative: 1.0 0.0;
2171                }
2172                description { state: "visible" 0.0;
2173                    inherit: "default" 0.0;
2174                    color: 0 0 0 64;
2175                    rel1.relative: 0.0 0.0;
2176                    rel2.relative: 1.0 1.0;
2177                }
2178            }
2179            part { name: "shad";
2180                mouse_events:  0;
2181                description { state: "default" 0.0;
2182                    image.normal: "shad_circ.png";
2183                    rel1.to: "elm.swallow.content";
2184                    rel1.offset: -64 -64;
2185                    rel2.to: "elm.swallow.content";
2186                    rel2.offset: 63 63;
2187                    fill.smooth: 0;
2188                }
2189            }
2190            part { name: "pop";
2191                mouse_events: 1;
2192                description { state: "default" 0.0;
2193                    rel1.to: "elm.swallow.content";
2194                    rel1.offset: -5 -5;
2195                    rel2.to: "elm.swallow.content";
2196                    rel2.offset: 4 4;
2197                    image {
2198                        normal: "bt_dis_base.png";
2199                        border: 4 4 4 4;
2200                    }
2201                    image.middle: SOLID;
2202                }
2203            }
2204            part { name: "popover";
2205                mouse_events: 0;
2206                description { state: "default" 0.0;
2207                    rel1.to: "pop";
2208                    rel2.to: "pop";
2209                    rel2.relative: 1.0 0.5;
2210                    image {
2211                        normal: "bt_dis_hilight.png";
2212                        border: 4 4 4 0;
2213                    }
2214                }
2215            }
2216            part { name: "elm.swallow.content";
2217                type: SWALLOW;
2218                description { state: "default" 0.0;
2219                    rel1.to: "base";
2220                    rel2.to: "base";
2221                }
2222            }
2223        }
2224        programs {
2225            program { name: "show";
2226                signal: "elm,action,show";
2227                source: "elm";
2228                action: STATE_SET "visible" 0.0;
2229                target: "base";
2230            }
2231            program { name: "show_2";
2232                signal: "show";
2233                action: STATE_SET "default" 0.0;
2234                target: "base";
2235                after: "show_3";
2236            }
2237            program { name: "show_3";
2238                signal: "show";
2239                action: STATE_SET "visible" 0.0;
2240                target: "base";
2241                transition: LINEAR 0.5;
2242            }
2243            program { name: "hide";
2244                signal: "elm,action,hide";
2245                source: "elm";
2246                action: STATE_SET "default" 0.0;
2247                target: "base";
2248            }
2249        }
2250    }
2251    group { name: "elm/notify/top_right/default";
2252        //this group is a design similar to the inwin group
2253        images {
2254            image: "shad_circ.png" COMP;
2255            image: "bt_dis_base.png" COMP;
2256            image: "bt_dis_hilight.png" COMP;
2257        }
2258        parts {
2259            part { name: "base";
2260                type: RECT;
2261                mouse_events: 0;
2262                repeat_events: 1;
2263                description { state: "default" 0.0;
2264                    color: 0 0 0 0;
2265                    rel1.offset: 10 10;
2266                    rel2.offset: -10 -10;
2267                    rel1.relative: 0.0 -1.0;
2268                    rel2.relative: 1.0 0.0;
2269                }
2270                description { state: "visible" 0.0;
2271                    inherit: "default" 0.0;
2272                    color: 0 0 0 64;
2273                    rel1.relative: 0.0 0.0;
2274                    rel2.relative: 1.0 1.0;
2275                }
2276            }
2277            part { name: "shad";
2278                mouse_events:  0;
2279                description { state: "default" 0.0;
2280                    image.normal: "shad_circ.png";
2281                    rel1.to: "elm.swallow.content";
2282                    rel1.offset: -64 -64;
2283                    rel2.to: "elm.swallow.content";
2284                    rel2.offset: 63 63;
2285                    fill.smooth: 0;
2286                }
2287            }
2288            part { name: "pop";
2289                mouse_events: 1;
2290                description { state: "default" 0.0;
2291                    rel1.to: "elm.swallow.content";
2292                    rel1.offset: -5 -5;
2293                    rel2.to: "elm.swallow.content";
2294                    rel2.offset: 4 4;
2295                    image {
2296                        normal: "bt_dis_base.png";
2297                        border: 4 4 4 4;
2298                    }
2299                    image.middle: SOLID;
2300                }
2301            }
2302            part { name: "popover";
2303                mouse_events: 0;
2304                description { state: "default" 0.0;
2305                    rel1.to: "pop";
2306                    rel2.to: "pop";
2307                    rel2.relative: 1.0 0.5;
2308                    image {
2309                        normal: "bt_dis_hilight.png";
2310                        border: 4 4 4 0;
2311                    }
2312                }
2313            }
2314            part { name: "elm.swallow.content";
2315                type: SWALLOW;
2316                description { state: "default" 0.0;
2317                    rel1.to: "base";
2318                    rel2.to: "base";
2319                }
2320            }
2321        }
2322        programs {
2323            program { name: "show";
2324                signal: "elm,action,show";
2325                source: "elm";
2326                action: STATE_SET "visible" 0.0;
2327                target: "base";
2328            }
2329            program { name: "show_2";
2330                signal: "show";
2331                action: STATE_SET "default" 0.0;
2332                target: "base";
2333                after: "show_3";
2334            }
2335            program { name: "show_3";
2336                signal: "show";
2337                action: STATE_SET "visible" 0.0;
2338                target: "base";
2339                transition: LINEAR 0.5;
2340            }
2341            program { name: "hide";
2342                signal: "elm,action,hide";
2343                source: "elm";
2344                action: STATE_SET "default" 0.0;
2345                target: "base";
2346            }
2347        }
2348    }
2349    group { name: "elm/notify/bottom_left/default";
2350        //this group is a design similar to the inwin group
2351        images {
2352            image: "shad_circ.png" COMP;
2353            image: "bt_dis_base.png" COMP;
2354            image: "bt_dis_hilight.png" COMP;
2355        }
2356        parts {
2357            part { name: "base";
2358                type: RECT;
2359                mouse_events: 0;
2360                repeat_events: 1;
2361                description { state: "default" 0.0;
2362                    color: 0 0 0 0;
2363                    rel1.offset: 10 10;
2364                    rel2.offset: -10 -10;
2365                    rel1.relative: 0.0 1.0;
2366                    rel2.relative: 1.0 2.0;
2367                }
2368                description { state: "visible" 0.0;
2369                    inherit: "default" 0.0;
2370                    color: 0 0 0 64;
2371                    rel1.relative: 0.0 0.0;
2372                    rel2.relative: 1.0 1.0;
2373                }
2374            }
2375            part { name: "shad";
2376                mouse_events:  0;
2377                description { state: "default" 0.0;
2378                    image.normal: "shad_circ.png";
2379                    rel1.to: "elm.swallow.content";
2380                    rel1.offset: -64 -64;
2381                    rel2.to: "elm.swallow.content";
2382                    rel2.offset: 63 63;
2383                    fill.smooth: 0;
2384                }
2385            }
2386            part { name: "pop";
2387                mouse_events: 1;
2388                description { state: "default" 0.0;
2389                    rel1.to: "elm.swallow.content";
2390                    rel1.offset: -5 -5;
2391                    rel2.to: "elm.swallow.content";
2392                    rel2.offset: 4 4;
2393                    image {
2394                        normal: "bt_dis_base.png";
2395                        border: 4 4 4 4;
2396                    }
2397                    image.middle: SOLID;
2398                }
2399            }
2400            part { name: "popover";
2401                mouse_events: 0;
2402                description { state: "default" 0.0;
2403                    rel1.to: "pop";
2404                    rel2.to: "pop";
2405                    rel2.relative: 1.0 0.5;
2406                    image {
2407                        normal: "bt_dis_hilight.png";
2408                        border: 4 4 4 0;
2409                    }
2410                }
2411            }
2412            part { name: "elm.swallow.content";
2413                type: SWALLOW;
2414                description { state: "default" 0.0;
2415                    rel1.to: "base";
2416                    rel2.to: "base";
2417                }
2418            }
2419        }
2420        programs {
2421            program { name: "show";
2422                signal: "elm,action,show";
2423                source: "elm";
2424                action: STATE_SET "visible" 0.0;
2425                target: "base";
2426            }
2427            program { name: "show_2";
2428                signal: "show";
2429                action: STATE_SET "default" 0.0;
2430                target: "base";
2431                after: "show_3";
2432            }
2433            program { name: "show_3";
2434                signal: "show";
2435                action: STATE_SET "visible" 0.0;
2436                target: "base";
2437                transition: LINEAR 0.5;
2438            }
2439            program { name: "hide";
2440                signal: "elm,action,hide";
2441                source: "elm";
2442                action: STATE_SET "default" 0.0;
2443                target: "base";
2444            }
2445        }
2446    }
2447    group { name: "elm/notify/bottom_right/default";
2448        //this group is a design similar to the inwin group
2449        images {
2450            image: "shad_circ.png" COMP;
2451            image: "bt_dis_base.png" COMP;
2452            image: "bt_dis_hilight.png" COMP;
2453        }
2454        parts {
2455            part { name: "base";
2456                type: RECT;
2457                mouse_events: 0;
2458                repeat_events: 1;
2459               description { state: "default" 0.0;
2460                    color: 0 0 0 0;
2461                    rel1.offset: 10 10;
2462                    rel2.offset: -10 -10;
2463                    rel1.relative: 0.0 1.0;
2464                    rel2.relative: 1.0 2.0;
2465                }
2466                description { state: "visible" 0.0;
2467                    inherit: "default" 0.0;
2468                    color: 0 0 0 64;
2469                    rel1.relative: 0.0 0.0;
2470                    rel2.relative: 1.0 1.0;
2471                }
2472            }
2473            part { name: "shad";
2474                mouse_events:  0;
2475                description { state: "default" 0.0;
2476                    image.normal: "shad_circ.png";
2477                    rel1.to: "elm.swallow.content";
2478                    rel1.offset: -64 -64;
2479                    rel2.to: "elm.swallow.content";
2480                    rel2.offset: 63 63;
2481                    fill.smooth: 0;
2482                }
2483            }
2484            part { name: "pop";
2485                mouse_events: 1;
2486                description { state: "default" 0.0;
2487                    rel1.to: "elm.swallow.content";
2488                    rel1.offset: -5 -5;
2489                    rel2.to: "elm.swallow.content";
2490                    rel2.offset: 4 4;
2491                    image {
2492                        normal: "bt_dis_base.png";
2493                        border: 4 4 4 4;
2494                    }
2495                    image.middle: SOLID;
2496                }
2497            }
2498            part { name: "popover";
2499                mouse_events: 0;
2500                description { state: "default" 0.0;
2501                    rel1.to: "pop";
2502                    rel2.to: "pop";
2503                    rel2.relative: 1.0 0.5;
2504                    image {
2505                        normal: "bt_dis_hilight.png";
2506                        border: 4 4 4 0;
2507                    }
2508                }
2509            }
2510            part { name: "elm.swallow.content";
2511                type: SWALLOW;
2512                description { state: "default" 0.0;
2513                    rel1.to: "base";
2514                    rel2.to: "base";
2515                }
2516            }
2517        }
2518        programs {
2519            program { name: "show";
2520                signal: "elm,action,show";
2521                source: "elm";
2522                action: STATE_SET "visible" 0.0;
2523                target: "base";
2524            }
2525            program { name: "show_2";
2526                signal: "show";
2527                action: STATE_SET "default" 0.0;
2528                target: "base";
2529                after: "show_3";
2530            }
2531            program { name: "show_3";
2532                signal: "show";
2533                action: STATE_SET "visible" 0.0;
2534                target: "base";
2535                transition: LINEAR 0.5;
2536            }
2537            program { name: "hide";
2538                signal: "elm,action,hide";
2539                source: "elm";
2540                action: STATE_SET "default" 0.0;
2541                target: "base";
2542            }
2543        }
2544    }
2545
2546 ///////////////////////////////////////////////////////////////////////////////
2547    group { name: "elm/win/inwin/default";
2548       images {
2549          image: "shad_circ.png" COMP;
2550          image: "bt_dis_base.png" COMP;
2551          image: "bt_dis_hilight.png" COMP;
2552       }
2553       parts {
2554          part { name: "base";
2555             type: RECT;
2556             mouse_events: 1;
2557             description { state: "default" 0.0;
2558                color: 0 0 0 0;
2559             }
2560             description { state: "visible" 0.0;
2561                inherit: "default" 1.0;
2562                color: 0 0 0 64;
2563             }
2564          }
2565          part { name: "shad";
2566             mouse_events:  0;
2567             description { state: "default" 0.0;
2568                image.normal: "shad_circ.png";
2569                rel1.to: "elm.swallow.content";
2570                rel1.offset: -64 -64;
2571                rel2.to: "elm.swallow.content";
2572                rel2.offset: 63 63;
2573                fill.smooth: 0;
2574             }
2575          }
2576          part { name: "pop";
2577             mouse_events: 1;
2578             description { state: "default" 0.0;
2579                rel1.to: "elm.swallow.content";
2580                rel1.offset: -5 -5;
2581                rel2.to: "elm.swallow.content";
2582                rel2.offset: 4 4;
2583                image {
2584                   normal: "bt_dis_base.png";
2585                   border: 4 4 4 4;
2586                }
2587                image.middle: SOLID;
2588             }
2589          }
2590          part { name: "popover";
2591             mouse_events: 0;
2592             description { state: "default" 0.0;
2593                rel1.to: "pop";
2594                rel2.to: "pop";
2595                rel2.relative: 1.0 0.5;
2596                image {
2597                   normal: "bt_dis_hilight.png";
2598                   border: 4 4 4 0;
2599                }
2600             }
2601          }
2602          part { name: "elm.swallow.content";
2603             type: SWALLOW;
2604             description { state: "default" 0.0;
2605                rel1.relative: 0.1 0.1;
2606                rel2.relative: 0.9 0.9;
2607             }
2608          }
2609       }
2610       programs {
2611          program { name: "show";
2612             signal: "elm,action,show";
2613             source: "elm";
2614             action: STATE_SET "visible" 0.0;
2615 //          transition: DECELERATE 0.5;
2616             target: "base";
2617          }
2618          program { name: "hide";
2619             signal: "elm,action,hide";
2620             source: "elm";
2621             action: STATE_SET "default" 0.0;
2622 //          transition: DECELERATE 0.5;
2623             target: "base";
2624          }
2625       }
2626    }
2627
2628    group { name: "elm/win/inwin/minimal";
2629       images {
2630          image: "shad_circ.png" COMP;
2631          image: "bt_dis_base.png" COMP;
2632          image: "bt_dis_hilight.png" COMP;
2633       }
2634       parts {
2635          part { name: "base";
2636             type: RECT;
2637             mouse_events: 1;
2638             description { state: "default" 0.0;
2639                color: 0 0 0 0;
2640             }
2641             description { state: "visible" 0.0;
2642                inherit: "default" 1.0;
2643                color: 0 0 0 64;
2644             }
2645          }
2646          part { name: "shad";
2647             mouse_events:  0;
2648             description { state: "default" 0.0;
2649                image.normal: "shad_circ.png";
2650                rel1.to: "elm.swallow.content";
2651                rel1.offset: -64 -64;
2652                rel2.to: "elm.swallow.content";
2653                rel2.offset: 63 63;
2654                fill.smooth: 0;
2655             }
2656          }
2657          part { name: "pop";
2658             mouse_events: 1;
2659             description { state: "default" 0.0;
2660                rel1.to: "elm.swallow.content";
2661                rel1.offset: -5 -5;
2662                rel2.to: "elm.swallow.content";
2663                rel2.offset: 4 4;
2664                image {
2665                   normal: "bt_dis_base.png";
2666                   border: 4 4 4 4;
2667                }
2668                image.middle: SOLID;
2669             }
2670          }
2671          part { name: "popover";
2672             mouse_events: 0;
2673             description { state: "default" 0.0;
2674                rel1.to: "pop";
2675                rel2.to: "pop";
2676                rel2.relative: 1.0 0.5;
2677                image {
2678                   normal: "bt_dis_hilight.png";
2679                   border: 4 4 4 0;
2680                }
2681             }
2682          }
2683          part { name: "elm.swallow.content";
2684             type: SWALLOW;
2685             description { state: "default" 0.0;
2686                fixed: 1 1;
2687                rel1.relative: 0.5 0.5;
2688                rel2.relative: 0.5 0.5;
2689             }
2690          }
2691       }
2692       programs {
2693          program { name: "show";
2694             signal: "elm,action,show";
2695             source: "elm";
2696             action: STATE_SET "visible" 0.0;
2697 //          transition: DECELERATE 0.5;
2698             target: "base";
2699          }
2700          program { name: "hide";
2701             signal: "elm,action,hide";
2702             source: "elm";
2703             action: STATE_SET "default" 0.0;
2704 //          transition: DECELERATE 0.5;
2705             target: "base";
2706          }
2707       }
2708    }
2709
2710    group { name: "elm/win/inwin/minimal_vertical";
2711       images {
2712          image: "shad_circ.png" COMP;
2713          image: "bt_dis_base.png" COMP;
2714          image: "bt_dis_hilight.png" COMP;
2715       }
2716       parts {
2717          part { name: "base";
2718             type: RECT;
2719             mouse_events: 1;
2720             description { state: "default" 0.0;
2721                color: 0 0 0 0;
2722             }
2723             description { state: "visible" 0.0;
2724                inherit: "default" 1.0;
2725                color: 0 0 0 64;
2726             }
2727          }
2728          part { name: "shad";
2729             mouse_events:  0;
2730             description { state: "default" 0.0;
2731                image.normal: "shad_circ.png";
2732                rel1.to: "elm.swallow.content";
2733                rel1.offset: -64 -64;
2734                rel2.to: "elm.swallow.content";
2735                rel2.offset: 63 63;
2736                fill.smooth: 0;
2737             }
2738          }
2739          part { name: "pop";
2740             mouse_events: 1;
2741             description { state: "default" 0.0;
2742                rel1.to: "elm.swallow.content";
2743                rel1.offset: -5 -5;
2744                rel2.to: "elm.swallow.content";
2745                rel2.offset: 4 4;
2746                image {
2747                   normal: "bt_dis_base.png";
2748                   border: 4 4 4 4;
2749                }
2750                image.middle: SOLID;
2751             }
2752          }
2753          part { name: "popover";
2754             mouse_events: 0;
2755             description { state: "default" 0.0;
2756                rel1.to: "pop";
2757                rel2.to: "pop";
2758                rel2.relative: 1.0 0.5;
2759                image {
2760                   normal: "bt_dis_hilight.png";
2761                   border: 4 4 4 0;
2762                }
2763             }
2764          }
2765          part { name: "elm.swallow.content";
2766             type: SWALLOW;
2767             description { state: "default" 0.0;
2768                fixed: 1 1;
2769                rel1.relative: 0.1 0.5;
2770                rel2.relative: 0.9 0.5;
2771             }
2772          }
2773       }
2774       programs {
2775          program { name: "show";
2776             signal: "elm,action,show";
2777             source: "elm";
2778             action: STATE_SET "visible" 0.0;
2779 //          transition: DECELERATE 0.5;
2780             target: "base";
2781          }
2782          program { name: "hide";
2783             signal: "elm,action,hide";
2784             source: "elm";
2785             action: STATE_SET "default" 0.0;
2786 //          transition: DECELERATE 0.5;
2787             target: "base";
2788          }
2789       }
2790    }
2791
2792 ///////////////////////////////////////////////////////////////////////////////
2793    group { name: "elm/pager/base/default";
2794       data.item: "onshow" "raise";
2795 // other options
2796 //      data.item: "onhide" "lower";
2797 //      data.item: "onshow" "lower";
2798       /*images {
2799          image: "frame_1.png" COMP;
2800          image: "frame_2.png" COMP;
2801          image: "dia_grad.png" COMP;
2802       }*/
2803       parts {
2804          part { name: "clip";
2805             type: RECT;
2806             mouse_events: 0;
2807             description { state: "default" 0.0;
2808                rel1 {
2809                   to: "base";
2810                   offset: -9999 -9999;
2811                }
2812                rel2 {
2813                   to: "base";
2814                   offset: 9999 9999;
2815                }
2816                color: 255 255 255 255;
2817             }
2818             description { state: "visible" 0.0;
2819                inherit: "default" 0.0;
2820             }
2821             description { state: "hidden" 0.0;
2822                inherit: "default" 0.0;
2823                color: 255 255 255 0;
2824                visible: 0;
2825             }
2826          }
2827          part { name: "base0";
2828             mouse_events:  0;
2829             clip_to: "clip";
2830             description { state: "default" 0.0;
2831                //image.normal: "dia_grad.png";
2832                rel1.to: "over";
2833                rel2.to: "over";
2834                /*fill {
2835                   smooth: 0;
2836                   size {
2837                      relative: 0.0 1.0;
2838                      offset: 64 0;
2839                   }
2840                }*/
2841             }
2842          }
2843          part { name: "base";
2844             mouse_events:  0;
2845             clip_to: "clip";
2846             description { state: "default" 0.0;
2847                /*image {
2848                   normal: "frame_2.png";
2849                   border: 5 5 32 26;
2850                   middle: 0;
2851                }
2852                fill.smooth : 0;*/
2853             }
2854             description { state: "hidden" 0.0;
2855                inherit: "default" 0.0;
2856                rel1.relative: -1.0 0.0;
2857                rel2.relative: 0.0 1.0;
2858             }
2859             description { state: "visible" 0.0;
2860                inherit: "default" 0.0;
2861                rel1.relative: 0.0 0.0;
2862                rel2.relative: 1.0 1.0;
2863             }
2864          }
2865          part { name: "over";
2866             mouse_events:  0;
2867             clip_to: "clip";
2868             description { state:    "default" 0.0;
2869                rel1 {
2870                   to: "base";
2871                   offset: 4 4;
2872                }
2873                rel2 {
2874                   to: "base";
2875                   offset: -5 -5;
2876                }
2877                /*image {
2878                   normal: "frame_1.png";
2879                   border: 2 2 28 22;
2880                   middle: 0;
2881                }
2882                fill.smooth : 0;*/
2883             }
2884          }
2885          part { name: "elm.swallow.content";
2886             type: SWALLOW;
2887             clip_to: "clip";
2888             description { state: "default" 0.0;
2889                rel1 {
2890                   to: "base";
2891                   //offset: 8 8;
2892                }
2893                rel2 {
2894                   to: "base";
2895                   //offset: -9 -9;
2896                }
2897             }
2898          }
2899       }
2900       programs {
2901  program { name: "push_start";
2902             signal: "elm,action,push";
2903             source: "elm";
2904             action:  STATE_SET "hidden" 0.0;
2905             target: "base";
2906             target: "clip";
2907             after: "show_start2";
2908          }
2909
2910          program { name: "show_start";
2911             signal: "elm,action,show";
2912             source: "elm";
2913             action:  STATE_SET "hidden" 0.0;
2914             target: "base";
2915             target: "clip";
2916             after: "show_start2";
2917          }
2918          program { name: "show_start2";
2919             action:  STATE_SET "visible" 0.0;
2920             transition: DECELERATE 0.5;
2921             target: "base";
2922             target: "clip";
2923             after: "show_end";
2924          }
2925          program { name: "show_end";
2926             action: SIGNAL_EMIT "elm,action,show,finished" "";
2927          }
2928  program { name: "pop_start";
2929             signal: "elm,action,pop";
2930             source: "elm";
2931             action:  STATE_SET "visible" 0.0;
2932             target: "base";
2933             target: "clip";
2934             after: "hide_start2";
2935          }
2936
2937          program { name: "hide_start";
2938             signal: "elm,action,hide";
2939             source: "elm";
2940             action:  STATE_SET "visible" 0.0;
2941             target: "base";
2942             target: "clip";
2943             after: "hide_start2";
2944          }
2945          program { name: "hide_start2";
2946             action:  STATE_SET "hidden" 0.0;
2947             transition: DECELERATE 0.5;
2948             target: "base";
2949             target: "clip";
2950             after: "hide_end";
2951          }
2952          program { name: "hide_end";
2953             action: SIGNAL_EMIT "elm,action,hide,finished" "";
2954          }
2955          program { name: "reset";
2956             signal: "elm,action,reset";
2957             source: "elm";
2958             action:  STATE_SET "default" 0.0;
2959             target: "base";
2960             target: "clip";
2961          }
2962       }
2963    }
2964
2965    group { name: "elm/pager/base/fade";
2966        data.item: "onshow" "raise";
2967        // other options
2968        //      data.item: "onhide" "lower";
2969        //      data.item: "onshow" "lower";
2970        images {
2971            image: "frame_1.png" COMP;
2972            image: "frame_2.png" COMP;
2973            image: "dia_grad.png" COMP;
2974        }
2975        parts {
2976            part { name: "clip_base";
2977                type: RECT;
2978                mouse_events: 0;
2979                description { state: "default" 0.0;
2980                    rel1 {
2981                        to: "base";
2982                        offset: -9999 -9999;
2983                    }
2984                    rel2 {
2985                        to: "base";
2986                        offset: 9999 9999;
2987                    }
2988                    color: 255 255 255 120;
2989                }
2990                description { state: "visible" 0.0;
2991                    inherit: "default" 0.0;
2992                }
2993                description { state: "hidden" 0.0;
2994                    inherit: "default" 0.0;
2995                    color: 255 255 255 0;
2996                    visible: 0;
2997                }
2998            }
2999            part { name: "clip";
3000                type: RECT;
3001                mouse_events: 0;
3002                description { state: "default" 0.0;
3003                    rel1 {
3004                        to: "base";
3005                        offset: -9999 -9999;
3006                    }
3007                    rel2 {
3008                        to: "base";
3009                        offset: 9999 9999;
3010                    }
3011                    color: 255 255 255 255;
3012                }
3013                description { state: "visible" 0.0;
3014                    inherit: "default" 0.0;
3015                }
3016                description { state: "hidden" 0.0;
3017                    inherit: "default" 0.0;
3018                    color: 255 255 255 0;
3019                    visible: 0;
3020                }
3021            }
3022            part { name: "base0";
3023                mouse_events:  0;
3024                clip_to: "clip_base";
3025                description { state: "default" 0.0;
3026                    image.normal: "dia_grad.png";
3027                    rel1.to: "over";
3028                    rel2.to: "over";
3029                    fill {
3030                        smooth: 0;
3031                        size {
3032                            relative: 0.0 1.0;
3033                            offset: 64 0;
3034                        }
3035                    }
3036                }
3037            }
3038            part { name: "base";
3039                mouse_events:  0;
3040                clip_to: "clip_base";
3041                description { state: "default" 0.0;
3042                    image {
3043                        normal: "frame_2.png";
3044                        border: 5 5 32 26;
3045                        middle: 0;
3046                    }
3047                    fill.smooth : 0;
3048                }
3049            }
3050            part { name: "over";
3051                mouse_events:  0;
3052                clip_to: "clip";
3053                description { state:    "default" 0.0;
3054                    rel1 {
3055                        to: "base";
3056                        offset: 4 4;
3057                    }
3058                    rel2 {
3059                        to: "base";
3060                        offset: -5 -5;
3061                    }
3062                    image {
3063                        normal: "frame_1.png";
3064                        border: 2 2 28 22;
3065                        middle: 0;
3066                    }
3067                    fill.smooth : 0;
3068                }
3069            }
3070            part { name: "elm.swallow.content";
3071                type: SWALLOW;
3072                clip_to: "clip";
3073                description { state: "default" 0.0;
3074                    rel1 {
3075                        to: "base";
3076                        offset: 8 8;
3077                    }
3078                    rel2 {
3079                        to: "base";
3080                        offset: -9 -9;
3081                    }
3082                }
3083            }
3084        }
3085        programs {
3086          program { name: "push_start";
3087             signal: "elm,action,push";
3088             source: "elm";
3089             action:  STATE_SET "hidden" 0.0;
3090             target: "base";
3091             target: "clip";
3092             after: "show_start2";
3093          }
3094            program { name: "show_start";
3095                signal: "elm,action,show";
3096                source: "elm";
3097                action:  STATE_SET "hidden" 0.0;
3098                target: "clip";
3099                target: "clip_base";
3100                after: "show_start2";
3101            }
3102            program { name: "show_start2";
3103                action:  STATE_SET "visible" 0.0;
3104                transition: DECELERATE 0.5;
3105                target: "clip";
3106                target: "clip_base";
3107                after: "show_end";
3108            }
3109            program { name: "show_end";
3110                action: SIGNAL_EMIT "elm,action,show,finished" "";
3111            }
3112            program { name: "pop_start";
3113             signal: "elm,action,pop";
3114             source: "elm";
3115             action:  STATE_SET "visible" 0.0;
3116             target: "base";
3117             target: "clip";
3118             after: "hide_start2";
3119          }
3120            program { name: "hide_start";
3121                signal: "elm,action,hide";
3122                source: "elm";
3123                action:  STATE_SET "visible" 0.0;
3124                target: "clip";
3125                target: "clip_base";
3126                after: "hide_start2";
3127            }
3128            program { name: "hide_start2";
3129                action:  STATE_SET "hidden" 0.0;
3130                transition: DECELERATE 0.5;
3131                target: "clip";
3132                target: "clip_base";
3133                after: "hide_end";
3134            }
3135            program { name: "hide_end";
3136                action: SIGNAL_EMIT "elm,action,hide,finished" "";
3137            }
3138            program { name: "reset";
3139                signal: "elm,action,reset";
3140                source: "elm";
3141                action:  STATE_SET "default" 0.0;
3142                target: "clip_base";
3143                target: "clip";
3144            }
3145        }
3146    }
3147    group { name: "elm/pager/base/fade_translucide";
3148        data.item: "onshow" "raise";
3149        // other options
3150        //      data.item: "onhide" "lower";
3151        //      data.item: "onshow" "lower";
3152        images {
3153            image: "frame_1.png" COMP;
3154            image: "frame_2.png" COMP;
3155            image: "dia_grad.png" COMP;
3156        }
3157        parts {
3158            part { name: "clip_base";
3159                type: RECT;
3160                mouse_events: 0;
3161                description { state: "default" 0.0;
3162                    rel1 {
3163                        to: "base";
3164                        offset: -9999 -9999;
3165                    }
3166                    rel2 {
3167                        to: "base";
3168                        offset: 9999 9999;
3169                    }
3170                    color: 255 255 255 120;
3171                }
3172                description { state: "visible" 0.0;
3173                    inherit: "default" 0.0;
3174                }
3175                description { state: "hidden" 0.0;
3176                    inherit: "default" 0.0;
3177                    color: 255 255 255 0;
3178                    visible: 0;
3179                }
3180            }
3181            part { name: "clip";
3182                type: RECT;
3183                mouse_events: 0;
3184                description { state: "default" 0.0;
3185                    rel1 {
3186                        to: "base";
3187                        offset: -9999 -9999;
3188                    }
3189                    rel2 {
3190                        to: "base";
3191                        offset: 9999 9999;
3192                    }
3193                    color: 255 255 255 255;
3194                }
3195                description { state: "visible" 0.0;
3196                    inherit: "default" 0.0;
3197                }
3198                description { state: "hidden" 0.0;
3199                    inherit: "default" 0.0;
3200                    color: 255 255 255 0;
3201                    visible: 0;
3202                }
3203            }
3204            part { name: "base0";
3205                mouse_events:  0;
3206                clip_to: "clip_base";
3207                description { state: "default" 0.0;
3208                    image.normal: "dia_grad.png";
3209                    rel1.to: "over";
3210                    rel2.to: "over";
3211                    fill {
3212                        smooth: 0;
3213                        size {
3214                            relative: 0.0 1.0;
3215                            offset: 64 0;
3216                        }
3217                    }
3218                }
3219            }
3220            part { name: "base";
3221                mouse_events:  0;
3222                clip_to: "clip_base";
3223                description { state: "default" 0.0;
3224                    image {
3225                        normal: "frame_2.png";
3226                        border: 5 5 32 26;
3227                        middle: 0;
3228                    }
3229                    fill.smooth : 0;
3230                }
3231            }
3232            part { name: "over";
3233                mouse_events:  0;
3234                clip_to: "clip";
3235                description { state:    "default" 0.0;
3236                    rel1 {
3237                        to: "base";
3238                        offset: 4 4;
3239                    }
3240                    rel2 {
3241                        to: "base";
3242                        offset: -5 -5;
3243                    }
3244                    image {
3245                        normal: "frame_1.png";
3246                        border: 2 2 28 22;
3247                        middle: 0;
3248                    }
3249                    fill.smooth : 0;
3250                }
3251            }
3252            part { name: "elm.swallow.content";
3253                type: SWALLOW;
3254                clip_to: "clip";
3255                description { state: "default" 0.0;
3256                    rel1 {
3257                        to: "base";
3258                        offset: 8 8;
3259                    }
3260                    rel2 {
3261                        to: "base";
3262                        offset: -9 -9;
3263                    }
3264                }
3265            }
3266        }
3267        programs {
3268         program { name: "push_start";
3269             signal: "elm,action,push";
3270             source: "elm";
3271             action:  STATE_SET "hidden" 0.0;
3272             target: "base";
3273             target: "clip";
3274             after: "show_start2";
3275          }
3276            program { name: "show_start";
3277                signal: "elm,action,show";
3278                source: "elm";
3279                action:  STATE_SET "hidden" 0.0;
3280                target: "clip";
3281                target: "clip_base";
3282                after: "show_start2";
3283            }
3284            program { name: "show_start2";
3285                action:  STATE_SET "visible" 0.0;
3286                transition: DECELERATE 0.5;
3287                target: "clip";
3288                target: "clip_base";
3289                after: "show_end";
3290            }
3291            program { name: "show_end";
3292                action: SIGNAL_EMIT "elm,action,show,finished" "";
3293            }
3294            program { name: "pop_start";
3295             signal: "elm,action,pop";
3296             source: "elm";
3297             action:  STATE_SET "visible" 0.0;
3298             target: "base";
3299             target: "clip";
3300             after: "hide_start2";
3301          }
3302            program { name: "hide_start";
3303                signal: "elm,action,hide";
3304                source: "elm";
3305                action:  STATE_SET "visible" 0.0;
3306                target: "clip";
3307                target: "clip_base";
3308                after: "hide_start2";
3309            }
3310            program { name: "hide_start2";
3311                action:  STATE_SET "hidden" 0.0;
3312                transition: DECELERATE 0.5;
3313                target: "clip";
3314                target: "clip_base";
3315                after: "hide_end";
3316            }
3317            program { name: "hide_end";
3318                action: SIGNAL_EMIT "elm,action,hide,finished" "";
3319            }
3320            program { name: "reset";
3321                signal: "elm,action,reset";
3322                source: "elm";
3323                action:  STATE_SET "default" 0.0;
3324                target: "clip_base";
3325                target: "clip";
3326            }
3327        }
3328    }
3329
3330
3331 #if 0
3332 ///////////////////////////////////////////////////////////////////////////////
3333    group { name: "elm/separator/horizontal/default";
3334        images {
3335            image: "separator_h.png" COMP;
3336        }
3337        parts {
3338            part { name: "separator"; // separator group
3339                description { state: "default" 0.0;
3340                    min: 2 2;
3341                    rel1.offset: 4 4;
3342                    rel2.offset: -5 -5;
3343                    image {
3344                        normal: "separator_h.png";
3345                    }
3346                    fill {
3347                        smooth: 0;
3348                    }
3349                }
3350            }
3351        }
3352    }
3353
3354    ///////////////////////////////////////////////////////////////////////////////
3355    group { name: "elm/separator/vertical/default";
3356        images {
3357            image: "separator_v.png" COMP;
3358        }
3359        parts {
3360            part { name: "separator"; // separator group
3361                description { state: "default" 0.0;
3362                    min: 2 2;
3363                    rel1.offset: 4 4;
3364                    rel2.offset: -5 -5;
3365                    image {
3366                        normal: "separator_v.png";
3367                    }
3368                    fill {
3369                        smooth: 0;
3370                    }
3371                }
3372            }
3373        }
3374    }
3375 #endif
3376
3377         group { name: "elm/separator/horizontal/dialoguefield_top";
3378                 parts {
3379                         part { name: "separator"; // separator group
3380                                 type: RECT;
3381                                 scale: 1;
3382                                 description {
3383                                 state: "default" 0.0;
3384                                 min: 0 15;
3385                                 align: 0 0;
3386                                 color: 0 0 0 0;
3387                }
3388            }
3389        }
3390    }
3391
3392         group { name: "elm/separator/horizontal/dialoguefield_middle";
3393                 parts {
3394                         part {
3395                                 name: "separator"; // separator group
3396                                 type: RECT;
3397                                 scale: 1;
3398                                 description {
3399                                         state: "default" 0.0;
3400                                         min: 0 10;
3401                                         align: 0 0;
3402                                         color: 0 0 0 0;
3403                                 }
3404                         }
3405                 }
3406         }
3407         group { name: "elm/separator/horizontal/dialoguefield_bottom";
3408                 parts {
3409                         part {
3410                                 name: "separator"; // separator group
3411                                 type: RECT;
3412                                 scale: 1;
3413                                 description {
3414                                         state: "default" 0.0;
3415                                         min: 0 10;
3416                                         align: 0 0;
3417                                         color: 0 0 0 0;
3418                                 }
3419                         }
3420                 }
3421         }
3422
3423 ///////////////////////////////////////////////////////////////////////////////
3424    group { name: "elm/spinner/base/default";
3425        images {
3426            image: "shelf_inset.png" COMP;
3427            image: "bt_base1.png" COMP;
3428            image: "bt_hilight.png" COMP;
3429            image: "bt_shine.png" COMP;
3430            image: "bt_glow.png" COMP;
3431            image: "bt_dis_base.png" COMP;
3432            image: "bt_dis_hilight.png" COMP;
3433            image: "sp_bt_l.png" COMP;
3434            image: "sp_bt_r.png" COMP;
3435        }
3436        parts {
3437            part { name: "bg";
3438                type: RECT;
3439                description { state: "default" 0.0;
3440                    max: 99999 30;
3441                    min: 0 30;
3442                    rel1.offset: 1 1;
3443                    rel2.offset: -2 -2;
3444                    color: 255 255 255 0;
3445                }
3446            }
3447            part { name: "conf_over";
3448                mouse_events:  0;
3449                description { state: "default" 0.0;
3450                    rel1.to: "bg";
3451                    rel2.to: "bg";
3452                    image {
3453                        normal: "shelf_inset.png";
3454                        border: 7 7 7 7;
3455                        middle: 0;
3456                    }
3457                    fill.smooth : 0;
3458                }
3459            }
3460            part { name: "left_bt";
3461                mouse_events:  1;
3462                description { state: "default" 0.0;
3463                    rel1 { to: "bg";
3464                        offset: 2 2;
3465                    }
3466                    rel2 { to: "bg";
3467                        offset: -3 -3;
3468                    }
3469                    align: 0.0 0.5;
3470                    min: 24 24;
3471                    max: 24 24;
3472                    image {
3473                        normal: "bt_base1.png";
3474                        border: 6 6 6 6;
3475                    }
3476                    fill.smooth : 0;
3477                }
3478                description { state: "clicked" 0.0;
3479                    inherit: "default" 0.0;
3480                    image.normal: "bt_base1.png";
3481                    image.middle: SOLID;
3482                }
3483                description { state: "disabled" 0.0;
3484                    inherit:  "default" 0.0;
3485                    image {
3486                        normal: "bt_dis_base.png";
3487                        border: 4 4 4 4;
3488                    }
3489                }
3490            }
3491            part {         name: "left_over1";
3492                mouse_events: 0;
3493                description { state: "default" 0.0;
3494                    rel1.to: "left_bt";
3495                    rel2 { to: "left_bt";
3496                        relative: 1.0 0.5;
3497                    }
3498                    image {
3499                        normal: "bt_hilight.png";
3500                        border: 7 7 7 0;
3501                    }
3502                }
3503                description { state: "disabled" 0.0;
3504                    inherit:  "default" 0.0;
3505                    image {
3506                        normal: "bt_dis_hilight.png";
3507                        border: 4 4 4 0;
3508                    }
3509                }
3510            }
3511            part { name: "left_over2";
3512                mouse_events: 1;
3513                repeat_events: 1;
3514                ignore_flags: ON_HOLD;
3515                description { state: "default" 0.0;
3516                    rel1.to: "left_bt";
3517                    rel2.to: "left_bt";
3518                    image {
3519                        normal: "bt_shine.png";
3520                        border: 7 7 7 7;
3521                    }
3522                }
3523                description { state: "disabled" 0.0;
3524                    inherit:  "default" 0.0;
3525                    visible: 0;
3526                }
3527            }
3528            part { name: "left_over3";
3529                mouse_events: 1;
3530                repeat_events: 1;
3531                description { state: "default" 0.0;
3532                    color: 255 255 255 0;
3533                    rel1.to: "left_bt";
3534                    rel2.to: "left_bt";
3535                    image {
3536                        normal: "bt_glow.png";
3537                        border: 12 12 12 12;
3538                    }
3539                    fill.smooth : 0;
3540                }
3541                description { state: "clicked" 0.0;
3542                    inherit:  "default" 0.0;
3543                    visible: 1;
3544                    color: 255 255 255 255;
3545                }
3546            }
3547            part { name: "right_bt";
3548                mouse_events:  1;
3549                description { state: "default" 0.0;
3550                    rel1 { to: "bg";
3551                        offset: -27 3;
3552                    }
3553                    rel2 { to: "bg";
3554                        offset: -3 -3;
3555                    }
3556                    align: 1.0 0.5;
3557                    min: 24 24;
3558                    max: 24 24;
3559                    image {
3560                        normal: "bt_base1.png";
3561                        border: 5 5 4 12;
3562                    }
3563                    fill.smooth : 0;
3564                }
3565                description { state: "clicked" 0.0;
3566                    inherit: "default" 0.0;
3567                    image.normal: "bt_base1.png";
3568                    image.middle: SOLID;
3569                }
3570                description { state: "disabled" 0.0;
3571                    inherit:  "default" 0.0;
3572                    image {
3573                        normal: "bt_dis_base.png";
3574                        border: 4 4 4 4;
3575                    }
3576                }
3577            }
3578            part { name: "right_over1";
3579                mouse_events: 0;
3580                description { state: "default" 0.0;
3581                    rel1.to: "right_bt";
3582                    rel2 { to: "right_bt";
3583                        relative: 1.0 0.5;
3584                    }
3585                    image {
3586                        normal: "bt_hilight.png";
3587                        border: 7 7 7 0;
3588                    }
3589                }
3590                description { state: "disabled" 0.0;
3591                    inherit:  "default" 0.0;
3592                    image {
3593                        normal: "bt_dis_hilight.png";
3594                        border: 4 4 4 0;
3595                    }
3596                }
3597            }
3598            part { name: "right_over2";
3599                mouse_events: 1;
3600                repeat_events: 1;
3601                ignore_flags: ON_HOLD;
3602                description { state: "default" 0.0;
3603                    rel1.to: "right_bt";
3604                    rel2.to: "right_bt";
3605                    image {
3606                        normal: "bt_shine.png";
3607                        border: 7 7 7 7;
3608                    }
3609                }
3610                description { state: "disabled" 0.0;
3611                    inherit:  "default" 0.0;
3612                    visible: 0;
3613                }
3614            }
3615            part { name: "right_over3";
3616                mouse_events: 1;
3617                repeat_events: 1;
3618                description { state: "default" 0.0;
3619                    color: 255 255 255 0;
3620                    rel1.to: "right_bt";
3621                    rel2.to: "right_bt";
3622                    image {
3623                        normal: "bt_glow.png";
3624                        border: 12 12 12 12;
3625                    }
3626                    fill.smooth : 0;
3627                }
3628                description { state: "clicked" 0.0;
3629                    inherit:  "default" 0.0;
3630                    visible: 1;
3631                    color: 255 255 255 255;
3632                }
3633            }
3634            part { name: "left_bt_icon";
3635                repeat_events: 1;
3636                description { state: "default" 0.0;
3637                    rel1.to: "left_bt";
3638                    rel2.to: "left_bt";
3639                    align: 0.5 0.5;
3640                    min: 16 16;
3641                    max: 16 16;
3642                    image.normal: "sp_bt_l.png";
3643                }
3644            }
3645            part { name: "right_bt_icon";
3646                repeat_events: 1;
3647                description { state: "default" 0.0;
3648                    rel1.to: "right_bt";
3649                    rel2.to: "right_bt";
3650                    align: 0.5 0.5;
3651                    min: 16 16;
3652                    max: 16 16;
3653                    image.normal: "sp_bt_r.png";
3654                }
3655            }
3656            part { name: "elm.text";
3657                type: TEXT;
3658                mouse_events: 0;
3659                scale: 1;
3660                description { state: "default" 0.0;
3661                    visible: 1;
3662                    align: 0.0 0.5;
3663                    rel1 { relative: 1.0 0.0;
3664                        offset: 3 2;
3665                        to_x: "left_bt";
3666                        to_y: "bg";
3667                    }
3668                    rel2 { relative: 0.0 1.0;
3669                        offset: -3 -2;
3670                        to_x: "right_bt";
3671                        to_y: "bg";
3672                    }
3673                    color: 0 0 0 255;
3674                    text {
3675                        font: "SLP:style=Roman";
3676                        size: 10;
3677                        min: 1 1;
3678                        align: 0.5 0.5;
3679                    }
3680                }
3681                description { state: "active" 0.0;
3682                    inherit: "default" 0.0;
3683                    visible: 0;
3684                }
3685                description { state: "disabled_active" 0.0;
3686                    inherit: "default" 0.0;
3687                    color: 0 0 0 128;
3688                    color3: 0 0 0 0;
3689                }
3690                description { state: "disabled" 0.0;
3691                    inherit: "default" 0.0;
3692                    color: 0 0 0 128;
3693                    color3: 0 0 0 0;
3694                }
3695            }
3696            part { name: "elm.dragable.slider";
3697                type: RECT;
3698                mouse_events: 0;
3699                scale: 1;
3700                dragable {
3701                    x: 1 1 0;
3702                    y: 0 0 0;
3703                }
3704                description { state: "default" 0.0;
3705                    rel1.to: "bg";
3706                    rel2.to: "bg";
3707                    fixed: 1 1;
3708                    color: 0 0 0 0;
3709                }
3710            }
3711            part { name: "button_events";
3712                type: RECT;
3713                dragable {
3714                    events: "elm.dragable.slider";
3715                }
3716                mouse_events: 1;
3717                description { state: "default" 0.0;
3718                    rel1.to: "elm.text";
3719                    rel2.to: "elm.text";
3720                    color: 0 0 0 0;
3721                }
3722            }
3723            part { name: "elm.swallow.entry";
3724                type: SWALLOW;
3725                description { state: "default" 0.0;
3726                    visible: 0;
3727                    align: 0.5 0.5;
3728                    rel1 { relative: 1.0 0.5;
3729                        offset: 3 2;
3730                        to_x: "left_bt";
3731                        to_y: "bg";
3732                    }
3733                    rel2 { relative: 0.0 0.5;
3734                        offset: -3 -2;
3735                        to_x: "right_bt";
3736                        to_y: "bg";
3737                    }
3738                    fixed: 1 1;
3739                    color: 0 0 0 0;
3740                }
3741                description { state: "active" 0.0;
3742                    inherit: "default" 0.0;
3743                    visible: 1;
3744                    color: 255 255 255 255;
3745                }
3746                description { state: "disabled_active" 0.0;
3747                    inherit: "default" 0.0;
3748                    visible: 0;
3749                }
3750                description { state: "disabled" 0.0;
3751                    inherit: "default" 0.0;
3752                    visible: 0;
3753                }
3754            }
3755            part { name: "disabler";
3756                type: RECT;
3757                description { state: "default" 0.0;
3758                    color: 0 0 0 0;
3759                    visible: 0;
3760                }
3761                description { state: "disabled" 0.0;
3762                    inherit: "default" 0.0;
3763                    visible: 1;
3764                }
3765            }
3766        }
3767        programs {
3768            program { name: "text_show";
3769                signal: "elm,state,text,visible";
3770                source: "elm";
3771                action:  STATE_SET "visible" 0.0;
3772                target: "elm.text";
3773            }
3774            program { name: "text_hide";
3775                signal: "elm,state,text,hidden";
3776                source: "elm";
3777                action:  STATE_SET "default" 0.0;
3778                target: "elm.text";
3779            }
3780            program { name: "dec";
3781                signal: "mouse,down,1";
3782                source: "left_bt";
3783                action: SIGNAL_EMIT "elm,action,decrement,start" "";
3784            }
3785            program { name: "dec2";
3786                signal: "mouse,up,1";
3787                source: "left_bt";
3788                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
3789            }
3790            program { name: "inc";
3791                signal: "mouse,down,1";
3792                source: "right_bt";
3793                action: SIGNAL_EMIT "elm,action,increment,start" "";
3794            }
3795            program { name: "inc2";
3796                signal: "mouse,up,1";
3797                source: "right_bt";
3798                action: SIGNAL_EMIT "elm,action,increment,stop" "";
3799            }
3800            program {
3801                name:   "left_bt_click";
3802                signal: "mouse,down,1";
3803                source: "left_over2";
3804                action: STATE_SET "clicked" 0.0;
3805                target: "left_bt";
3806            }
3807            program {
3808                name:   "left_bt_unclick";
3809                signal: "mouse,up,1";
3810                source: "left_over2";
3811                action: STATE_SET "default" 0.0;
3812                target: "left_bt";
3813            }
3814            program {
3815                name:   "left_bt_click2";
3816                signal: "mouse,down,1";
3817                source: "left_over3";
3818                action: STATE_SET "clicked" 0.0;
3819                target: "left_over3";
3820            }
3821            program {
3822                name:   "left_bt_unclick2";
3823                signal: "mouse,up,1";
3824                source: "left_over3";
3825                action: STATE_SET "default" 0.0;
3826                transition: DECELERATE 0.5;
3827                target: "left_over3";
3828            }
3829            program {
3830                name:   "left_bt_unclick3";
3831                signal: "mouse,up,1";
3832                source: "left_over2";
3833                action: SIGNAL_EMIT "elm,action,click" "";
3834            }
3835
3836            program {
3837                name:   "right_bt_click";
3838                signal: "mouse,down,1";
3839                source: "right_over2";
3840                action: STATE_SET "clicked" 0.0;
3841                target: "right_bt";
3842            }
3843            program {
3844                name:   "right_bt_unclick";
3845                signal: "mouse,up,1";
3846                source: "right_over2";
3847                action: STATE_SET "default" 0.0;
3848                target: "right_bt";
3849            }
3850            program {
3851                name:   "right_bt_click2";
3852                signal: "mouse,down,1";
3853                source: "right_over3";
3854                action: STATE_SET "clicked" 0.0;
3855                target: "right_over3";
3856            }
3857            program {
3858                name:   "right_bt_unclick2";
3859                signal: "mouse,up,1";
3860                source: "right_over3";
3861                action: STATE_SET "default" 0.0;
3862                transition: DECELERATE 0.5;
3863                target: "right_over3";
3864            }
3865            program {
3866                name:   "right_bt_unclick3";
3867                signal: "mouse,up,1";
3868                source: "right_over2";
3869                action: SIGNAL_EMIT "elm,action,click" "";
3870            }
3871            program { name: "disable";
3872                signal: "elm,state,disabled";
3873                source: "elm";
3874                action: STATE_SET "disabled" 0.0;
3875                target: "left_bt";
3876                target: "left_over1";
3877                target: "left_over2";
3878                target: "right_bt";
3879                target: "right_over1";
3880                target: "right_over2";
3881                target: "disabler";
3882                after: "disable_text";
3883            }
3884            program { name: "disable_text";
3885                script {
3886                    new st[31];
3887                    new Float:vl;
3888                    get_state(PART:"elm.text", st, 30, vl);
3889                    if (!strcmp(st, "active"))
3890                    set_state(PART:"elm.text", "disabled_active", 0.0);
3891                    else
3892                    set_state(PART:"elm.text", "disabled", 0.0);
3893
3894                    get_state(PART:"elm.swallow.entry", st, 30, vl);
3895                    if (!strcmp(st, "active"))
3896                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
3897                    else
3898                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
3899                }
3900            }
3901            program { name: "enable";
3902                signal: "elm,state,enabled";
3903                source: "elm";
3904                action: STATE_SET "default" 0.0;
3905                target: "left_bt";
3906                target: "left_over1";
3907                target: "left_over2";
3908                target: "right_bt";
3909                target: "right_over1";
3910                target: "right_over2";
3911                target: "disabler";
3912                after: "enable_text";
3913            }
3914            program { name: "enable_text";
3915                script {
3916                    new st[31];
3917                    new Float:vl;
3918                    get_state(PART:"elm.text", st, 30, vl);
3919                    if (!strcmp(st, "disabled_active"))
3920                    set_state(PART:"elm.text", "active", 0.0);
3921                    else
3922                    set_state(PART:"elm.text", "default", 0.0);
3923
3924                    get_state(PART:"elm.swallow.entry", st, 30, vl);
3925                    if (!strcmp(st, "disabled_active"))
3926                    set_state(PART:"elm.swallow.entry", "active", 0.0);
3927                    else
3928                    set_state(PART:"elm.swallow.entry", "default", 0.0);
3929                }
3930            }
3931            program { name: "active";
3932                signal: "elm,state,active";
3933                source: "elm";
3934                action: STATE_SET "active" 0.0;
3935                target: "elm.text";
3936                target: "elm.swallow.entry";
3937            }
3938            program { name: "inactive";
3939                signal: "elm,state,inactive";
3940                source: "elm";
3941                action: STATE_SET "default" 0.0;
3942                target: "elm.text";
3943                target: "elm.swallow.entry";
3944            }
3945            program { name: "toggle_text";
3946                signal: "mouse,up,1";
3947                source: "button_events";
3948                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
3949            }
3950        }
3951    }
3952
3953 ///////////////////////////////////////////////////////////////////////////////
3954    group { name: "elm/spinner/base/vertical";
3955        images {
3956            image: "shelf_inset.png" COMP;
3957            image: "bt_hilight.png" COMP;
3958            image: "bt_shine.png" COMP;
3959            image: "bt_glow.png" COMP;
3960            image: "bt_dis_base.png" COMP;
3961            image: "bt_dis_hilight.png" COMP;
3962            image: "up.png" COMP;
3963            image: "down.png" COMP;
3964            image: "bt_spinner_up.png" COMP;
3965            image: "bt_spinner_down.png" COMP;
3966            image: "bt_spinner_hilight.png" COMP;
3967        }
3968        parts {
3969            part { name: "bg";
3970                type: RECT;
3971                description { state: "default" 0.0;
3972                    max: 99999 30;
3973                    min: 0 30;
3974                    rel1.offset: 1 1;
3975                    rel2.offset: -2 -2;
3976                    color: 255 255 255 0;
3977                }
3978            }
3979            part { name: "conf_over";
3980                mouse_events:  0;
3981                description { state: "default" 0.0;
3982                    rel1 {
3983                      to: "bg";
3984                      relative: 0.0 0.0;
3985                    }
3986                    rel2 {
3987                       to_x: "down_bt";
3988                       offset: -22 -1;
3989                    }
3990                    rel2 {
3991                       to_y: "bg";
3992                    }
3993                    image {
3994                        normal: "shelf_inset.png";
3995                        border: 7 7 7 7;
3996                        middle: 0;
3997                    }
3998                    fill.smooth : 0;
3999                }
4000            }
4001            part { name: "down_bt";
4002                mouse_events:  1;
4003                description { state: "default" 0.0;
4004                    rel1 {
4005                        to_x: "bg";
4006                        to_y: "up_bt";
4007                        relative: 1 1;
4008                        offset: 0 1;
4009                    }
4010                    rel2 { to: "bg";
4011                        relative: 1 1;
4012                        offset: -1 -1;
4013                    }
4014                    align: 1.0 0.5;
4015                    min: 24 16;
4016                    max: 24 16;
4017                    image {
4018                        normal: "bt_spinner_down.png";
4019                        border: 6 6 6 6;
4020                    }
4021                    fill.smooth : 0;
4022                }
4023                description { state: "clicked" 0.0;
4024                    inherit: "default" 0.0;
4025                    image.normal: "bt_spinner_down.png";
4026                    image.middle: SOLID;
4027                }
4028                description { state: "disabled" 0.0;
4029                    inherit:  "default" 0.0;
4030                    image {
4031                        normal: "bt_dis_base.png";
4032                        border: 4 4 4 4;
4033                    }
4034                }
4035            }
4036            part { name: "down_over3";
4037                mouse_events: 1;
4038                repeat_events: 1;
4039                description { state: "default" 0.0;
4040                    color: 255 255 255 0;
4041                    rel1.to: "down_bt";
4042                    rel2.to: "down_bt";
4043                    image {
4044                        normal: "bt_glow.png";
4045                        border: 12 12 12 12;
4046                    }
4047                    fill.smooth : 0;
4048                }
4049                description { state: "clicked" 0.0;
4050                    inherit:  "default" 0.0;
4051                    visible: 1;
4052                    color: 255 255 255 255;
4053                }
4054            }
4055            part { name: "up_bt";
4056                mouse_events:  1;
4057                description { state: "default" 0.0;
4058                    rel1 { to: "bg";
4059                        relative: 0 0;
4060                        offset: 0 0;
4061                    }
4062                    rel2 { to: "bg";
4063                        relative: 1 0.5;
4064                        offset: -1 -1;
4065                    }
4066                    align: 1.0 0.5;
4067                    min: 24 16;
4068                    max: 24 16;
4069                    image {
4070                        normal: "bt_spinner_up.png";
4071                        border: 6 6 6 6;
4072                    }
4073                    fill.smooth : 0;
4074                }
4075                description { state: "clicked" 0.0;
4076                    inherit: "default" 0.0;
4077                    image.normal: "bt_spinner_up.png";
4078                    image.middle: SOLID;
4079                }
4080                description { state: "disabled" 0.0;
4081                    inherit:  "default" 0.0;
4082                    image {
4083                        normal: "bt_dis_base.png";
4084                        border: 4 4 4 4;
4085                    }
4086                }
4087            }
4088            part { name: "up_over1";
4089                mouse_events: 0;
4090                description { state: "default" 0.0;
4091                    rel1.to: "up_bt";
4092                    rel2 { to: "up_bt";
4093                        relative: 1.0 0.5;
4094                    }
4095                    image {
4096                        normal: "bt_spinner_hilight.png";
4097                        border: 7 7 7 0;
4098                    }
4099                }
4100                description { state: "disabled" 0.0;
4101                    inherit:  "default" 0.0;
4102                    image {
4103                        normal: "bt_dis_hilight.png";
4104                        border: 4 4 4 0;
4105                    }
4106                }
4107            }
4108            part { name: "up_over3";
4109                mouse_events: 1;
4110                repeat_events: 1;
4111                description { state: "default" 0.0;
4112                    color: 255 255 255 0;
4113                    rel1.to: "up_bt";
4114                    rel2.to: "up_bt";
4115                    image {
4116                        normal: "bt_glow.png";
4117                        border: 12 12 12 12;
4118                    }
4119                    fill.smooth : 0;
4120                }
4121                description { state: "clicked" 0.0;
4122                    inherit:  "default" 0.0;
4123                    visible: 1;
4124                    color: 255 255 255 255;
4125                }
4126            }
4127            part { name: "down_bt_icon";
4128                repeat_events: 1;
4129                description { state: "default" 0.0;
4130                    rel1.to: "down_bt";
4131                    rel2.to: "down_bt";
4132                    align: 0.5 0.5;
4133                    min: 14 12;
4134                    max: 14 12;
4135                    image.normal: "down.png";
4136                }
4137            }
4138            part { name: "up_bt_icon";
4139                repeat_events: 1;
4140                description { state: "default" 0.0;
4141                    rel1.to: "up_bt";
4142                    rel2.to: "up_bt";
4143                    align: 0.5 0.5;
4144                    min: 14 12;
4145                    max: 14 12;
4146                    image.normal: "up.png";
4147                }
4148            }
4149            part { name: "elm.text";
4150                type: TEXT;
4151                mouse_events: 0;
4152                scale: 1;
4153                description { state: "default" 0.0;
4154                    visible: 1;
4155                    align: 0.0 0.5;
4156                    rel1 { relative: 0.0 0.0;
4157                        offset: 3 2;
4158                        to_x: "bg";
4159                        to_y: "bg";
4160                    }
4161                    rel2 { relative: 0.0 1.0;
4162                        offset: -3 -2;
4163                        to_x: "bg";
4164                        to_y: "bg";
4165                    }
4166                    color: 0 0 0 255;
4167                    text {
4168                        font: "SLP:style=Roman";
4169                        size: 10;
4170                        min: 1 1;
4171                        align: 0.5 0.5;
4172                    }
4173                }
4174                description { state: "active" 0.0;
4175                    inherit: "default" 0.0;
4176                    visible: 0;
4177                }
4178                description { state: "disabled_active" 0.0;
4179                    inherit: "default" 0.0;
4180                    color: 0 0 0 128;
4181                    color3: 0 0 0 0;
4182                }
4183                description { state: "disabled" 0.0;
4184                    inherit: "default" 0.0;
4185                    color: 0 0 0 128;
4186                    color3: 0 0 0 0;
4187                }
4188            }
4189            part { name: "elm.dragable.slider";
4190                type: RECT;
4191                mouse_events: 0;
4192                scale: 1;
4193                dragable {
4194                    x: 1 1 0;
4195                    y: 0 0 0;
4196                }
4197                description { state: "default" 0.0;
4198                    rel1.to: "bg";
4199                    rel2.to: "bg";
4200                    fixed: 1 1;
4201                    color: 0 0 0 0;
4202                }
4203            }
4204            part { name: "button_events";
4205                type: RECT;
4206                dragable {
4207                    events: "elm.dragable.slider";
4208                }
4209                mouse_events: 1;
4210                description { state: "default" 0.0;
4211                    rel1.to: "elm.text";
4212                    rel2.to: "elm.text";
4213                    color: 0 0 0 0;
4214                }
4215            }
4216            part { name: "elm.swallow.entry";
4217                type: SWALLOW;
4218                description { state: "default" 0.0;
4219                    visible: 0;
4220                    align: 0.5 0.5;
4221                    rel1 { relative: 0.0 0.5;
4222                        offset: 3 2;
4223                        to: "bg";
4224                    }
4225                    rel2 { relative: 1.0 0.5;
4226                        offset: -3 -2;
4227                        to: "bg";
4228                    }
4229                    fixed: 1 1;
4230                    color: 0 0 0 0;
4231                }
4232                description { state: "active" 0.0;
4233                    inherit: "default" 0.0;
4234                    visible: 1;
4235                    color: 255 255 255 255;
4236                }
4237                description { state: "disabled_active" 0.0;
4238                    inherit: "default" 0.0;
4239                    visible: 0;
4240                }
4241                description { state: "disabled" 0.0;
4242                    inherit: "default" 0.0;
4243                    visible: 0;
4244                }
4245            }
4246            part { name: "disabler";
4247                type: RECT;
4248                description { state: "default" 0.0;
4249                    color: 0 0 0 0;
4250                    visible: 0;
4251                }
4252                description { state: "disabled" 0.0;
4253                    inherit: "default" 0.0;
4254                    visible: 1;
4255                }
4256            }
4257        }
4258        programs {
4259            program { name: "text_show";
4260                signal: "elm,state,text,visible";
4261                source: "elm";
4262                action:  STATE_SET "visible" 0.0;
4263                target: "elm.text";
4264            }
4265            program { name: "text_hide";
4266                signal: "elm,state,text,hidden";
4267                source: "elm";
4268                action:  STATE_SET "default" 0.0;
4269                target: "elm.text";
4270            }
4271            program { name: "dec";
4272                signal: "mouse,down,1";
4273                source: "down_bt";
4274                action: SIGNAL_EMIT "elm,action,decrement,start" "";
4275            }
4276            program { name: "dec2";
4277                signal: "mouse,up,1";
4278                source: "down_bt";
4279                action: SIGNAL_EMIT "elm,action,decrement,stop" "";
4280            }
4281            program { name: "inc";
4282                signal: "mouse,down,1";
4283                source: "up_bt";
4284                action: SIGNAL_EMIT "elm,action,increment,start" "";
4285            }
4286            program { name: "inc2";
4287                signal: "mouse,up,1";
4288                source: "up_bt";
4289                action: SIGNAL_EMIT "elm,action,increment,stop" "";
4290            }
4291            program {
4292                name:   "down_bt_click2";
4293                signal: "mouse,down,1";
4294                source: "down_over3";
4295                action: STATE_SET "clicked" 0.0;
4296                target: "down_over3";
4297            }
4298            program {
4299                name:   "down_bt_unclick2";
4300                signal: "mouse,up,1";
4301                source: "down_over3";
4302                action: STATE_SET "default" 0.0;
4303                transition: DECELERATE 0.5;
4304                target: "down_over3";
4305            }
4306            program {
4307                name:   "up_bt_click2";
4308                signal: "mouse,down,1";
4309                source: "up_over3";
4310                action: STATE_SET "clicked" 0.0;
4311                target: "up_over3";
4312            }
4313            program {
4314                name:   "up_bt_unclick2";
4315                signal: "mouse,up,1";
4316                source: "up_over3";
4317                action: STATE_SET "default" 0.0;
4318                transition: DECELERATE 0.5;
4319                target: "up_over3";
4320            }
4321            program { name: "disable";
4322                signal: "elm,state,disabled";
4323                source: "elm";
4324                action: STATE_SET "disabled" 0.0;
4325                target: "down_bt";
4326                target: "up_bt";
4327                target: "disabler";
4328                after: "disable_text";
4329            }
4330            program { name: "disable_text";
4331                script {
4332                    new st[31];
4333                    new Float:vl;
4334                    get_state(PART:"elm.text", st, 30, vl);
4335                    if (!strcmp(st, "active"))
4336                    set_state(PART:"elm.text", "disabled_active", 0.0);
4337                    else
4338                    set_state(PART:"elm.text", "disabled", 0.0);
4339
4340                    get_state(PART:"elm.swallow.entry", st, 30, vl);
4341                    if (!strcmp(st, "active"))
4342                    set_state(PART:"elm.swallow.entry", "disabled_active", 0.0);
4343                    else
4344                    set_state(PART:"elm.swallow.entry", "disabled", 0.0);
4345                }
4346            }
4347            program { name: "enable";
4348                signal: "elm,state,enabled";
4349                source: "elm";
4350                action: STATE_SET "default" 0.0;
4351                target: "down_bt";
4352                target: "up_bt";
4353                target: "disabler";
4354                after: "enable_text";
4355            }
4356            program { name: "enable_text";
4357                script {
4358                    new st[31];
4359                    new Float:vl;
4360                    get_state(PART:"elm.text", st, 30, vl);
4361                    if (!strcmp(st, "disabled_active"))
4362                    set_state(PART:"elm.text", "active", 0.0);
4363                    else
4364                    set_state(PART:"elm.text", "default", 0.0);
4365
4366                    get_state(PART:"elm.swallow.entry", st, 30, vl);
4367                    if (!strcmp(st, "disabled_active"))
4368                    set_state(PART:"elm.swallow.entry", "active", 0.0);
4369                    else
4370                    set_state(PART:"elm.swallow.entry", "default", 0.0);
4371                }
4372            }
4373            program { name: "active";
4374                signal: "elm,state,active";
4375                source: "elm";
4376                action: STATE_SET "active" 0.0;
4377                target: "elm.text";
4378                target: "elm.swallow.entry";
4379            }
4380            program { name: "inactive";
4381                signal: "elm,state,inactive";
4382                source: "elm";
4383                action: STATE_SET "default" 0.0;
4384                target: "elm.text";
4385                target: "elm.swallow.entry";
4386            }
4387            program { name: "toggle_text";
4388                signal: "mouse,up,1";
4389                source: "button_events";
4390                action: SIGNAL_EMIT "elm,action,entry,toggle" "";
4391            }
4392        }
4393    }
4394
4395 ///////////////////////////////////////////////////////////////////////////////
4396         group { name: "elm/picker/base/default";
4397                 images {
4398                         image: "01_picker_spinner_panel_bg_top.png" COMP;
4399                         image: "01_picker_spinner_panel_bg_bottom.png" COMP;
4400                         image: "01_picker_spinner_plus.png" COMP;
4401                         image: "01_picker_spinner_minus.png" COMP;
4402                         image: "01_picker_spinner_new_ani_01.png" COMP;
4403                         image: "01_picker_spinner_new_ani_02.png" COMP;
4404                         image: "01_picker_spinner_new_ani_03.png" COMP;
4405                         image: "01_picker_spinner_new_ani_04.png" COMP;
4406                         image: "01_picker_spinner_new_ani_05.png" COMP;
4407                         image: "01_picker_spinner_new_ani_06.png" COMP;
4408                 }
4409
4410                 #define ELM_PICKER_ANIM_MAX 7
4411                 #define ELM_PICKER_ANIM_HALF 4
4412                 script {
4413                         public ani_state; // 0: up, 1: down
4414                         public ani_lock;
4415                         public animator(val) {
4416                                 new s[8], next;
4417                                 if (get_int(ani_lock) == 0)
4418                                         return 0;
4419
4420                                 if (val == ELM_PICKER_ANIM_MAX) {
4421                                         set_state(PART:"elm.img.ani", "default", 0.0);
4422                                         if (get_int(ani_state) == 0)
4423                                                 emit("pressed", "up");
4424                                         else
4425                                                 emit("pressed", "down");
4426                                         set_int(ani_lock, 0);
4427                                         return 0;
4428                                 }
4429
4430                                 if (get_int(ani_state) == 1)
4431                                         next = val;
4432                                 else
4433                                         next = ELM_PICKER_ANIM_MAX-val;
4434
4435                                 snprintf(s, 8, "ani%d", next);
4436                                 set_state(PART:"elm.img.ani", s, 0.0);
4437
4438                                 if (val == ELM_PICKER_ANIM_HALF) {
4439                                         if (get_int(ani_state) == 0)
4440                                                 emit("half", "up");
4441                                         else
4442                                                 emit("half", "down");
4443                                 }
4444                                 return 0;
4445                         }
4446                         public message(Msg_Type:type, id, ...) {
4447                                 if ((type == MSG_FLOAT) && (id == 1)) {
4448                                         new Float:v;
4449                                         new Float:t = 0;
4450                                         new i;
4451
4452                                         if (get_int(ani_lock) == 1)
4453                                                 return;
4454                                         set_int(ani_lock, 1);
4455
4456                                         v = getfarg(2)/ELM_PICKER_ANIM_MAX;
4457                                         if (v < 0)
4458                                                 set_int(ani_state, 1);
4459                                         else
4460                                                 set_int(ani_state, 0);
4461                                         v = abs(v);
4462
4463                                         for (i = 0; i <= ELM_PICKER_ANIM_MAX; i++) {
4464                                                 t += v;
4465                                                 timer(t, "animator", i);
4466                                         }
4467                                 }
4468                         }
4469                 }
4470
4471                 parts {
4472                         part {
4473                                 name: "elm.base";
4474                                 type: RECT;
4475                                 description {
4476                                         state: "default" 0.0;
4477                                         color: 0 0 0 0;
4478                                 }
4479                         }
4480
4481                         part {
4482                                 name: "elm.rect.pad.middle";
4483                                 mouse_events: 0;
4484                                 scale: 1;
4485                                 description {
4486                                         min: 0 3;
4487                                         fixed: 0 1;
4488                                         rel1.to: "elm.base";
4489                                         rel1.relative: 0.0 0.5;
4490                                         rel2.to: "elm.base";
4491                                         rel2.relative: 1.0 0.5;
4492                                 }
4493                         }
4494
4495                         part {
4496                                 name: "elm.bg.top";
4497                                 mouse_events: 1;
4498                                 description {
4499                                         state: "default" 0.0;
4500                                         rel1.to: "elm.base";
4501                                         rel1.offset: 0 0;
4502                                         rel2.to: "elm.rect.pad.middle";
4503                                         rel2.relative: 1.0 0.0;
4504                                         image.normal: "01_picker_spinner_panel_bg_top.png";
4505                                         image.border: 4 4 1 1;
4506                                 }
4507                         }
4508                         part {
4509                                 name: "elm.bg.bottom";
4510                                 mouse_events: 1;
4511                                 description {
4512                                         state: "default" 0.0;
4513                                         rel1.to: "elm.rect.pad.middle";
4514                                         rel1.relative: 0.0 1.0;
4515                                         rel2.to: "elm.base";
4516                                         image.normal: "01_picker_spinner_panel_bg_bottom.png";
4517                                         image.border: 4 4 1 1;
4518                                 }
4519                         }
4520
4521                         part {
4522                                 type: RECT;
4523                                 name: "elm.clip.top";
4524                                 description {
4525                                         state: "default" 0.0;
4526                                         rel1.to: "elm.bg.top";
4527                                         rel2.to: "elm.bg.top";
4528                                         color: 255 255 255 255;
4529                                 }
4530                         }
4531
4532                         part {
4533                                 type: RECT;
4534                                 name: "elm.clip.bottom";
4535                                 description {
4536                                         state: "default" 0.0;
4537                                         rel1.to: "elm.bg.bottom";
4538                                         rel2.to: "elm.bg.bottom";
4539                                         color: 255 255 255 255;
4540                                 }
4541                         }
4542
4543                         part {
4544                                 name: "elm.text.top";
4545                                 type: TEXT;
4546                                 mouse_events:  0;
4547                                 clip_to: "elm.clip.top";
4548                                 scale: 1;
4549                                 description {
4550                                         state: "default" 0.0;
4551                                         visible: 0;
4552                                         rel1.to: "elm.bg.top";
4553                                         rel1.relative: 0.0 0.0;
4554                                         rel1.offset: 13 12;
4555                                         rel2.to: "elm.bg.bottom";
4556                                         rel2.relative: 1.0 1.0;
4557                                         rel2.offset: -12 -11;
4558                                         color: 0 0 0 255;
4559                                         color2: 0 0 0 255;
4560                                         fixed: 1 1;
4561                                         text {
4562                                                 font: "SLP:style=Roman";
4563                                                 size: 80;
4564                                                 min: 1 1;
4565                                                 align: 0.5 0.5;
4566                                         }
4567                                 }
4568                                 description {
4569                                         state: "visible" 0.0;
4570                                         inherit: "default" 0.0;
4571                                         visible: 1;
4572                                 }
4573                         }
4574
4575                         part {
4576                                 name: "elm.text.bottom";
4577                                 type: TEXT;
4578                                 mouse_events:  0;
4579                                 clip_to: "elm.clip.bottom";
4580                                 scale: 1;
4581                                 description {
4582                                         state: "default" 0.0;
4583                                         visible: 0;
4584                                         rel1.to: "elm.text.top";
4585                                         rel2.to: "elm.text.top";
4586                                         color: 0 0 0 255;
4587                                         color2: 0 0 0 255;
4588                                         fixed: 1 1;
4589                                         text {
4590                                                 font: "SLP:style=Roman";
4591                                                 size: 80;
4592                                                 min: 1 1;
4593                                                 align: 0.5 0.5;
4594                                         }
4595                                 }
4596                                 description {
4597                                         state: "visible" 0.0;
4598                                         inherit: "default" 0.0;
4599                                         visible: 1;
4600                                 }
4601                         }
4602                         part {
4603                                 name: "elm.rect.flick";
4604                                 type: RECT;
4605                                 mouse_events: 1;
4606                                 description {
4607                                         state: "default" 0.0;
4608                                         rel1.to: "elm.bg.top";
4609                                         rel1.relative: 0.0 0.0;
4610                                         rel2.to: "elm.bg.bottom";
4611                                         rel2.relative: 1.0 1.0;
4612                                         color: 0 0 0 0;
4613                                 }
4614                         }
4615
4616                         part {
4617                                 name: "elm.img.button.up";
4618                                 mouse_events:  0;
4619                                 scale: 1;
4620                                 description {
4621                                         state: "default" 0.0;
4622                                         visible: 0;
4623                                         min: 20 20;
4624                                         fixed: 1 1;
4625                                         rel1.to: "elm.bg.top";
4626                                         rel1.relative: 0.5 (16/142);
4627                                         rel2.to: "elm.bg.top";
4628                                         rel2.relative: 0.5 (36/142);
4629                                         image.normal: "01_picker_spinner_plus.png";
4630                                         align: 0.5 0.0;
4631                                 }
4632                                 description {
4633                                         state: "visible" 0.0;
4634                                         inherit: "default" 0.0;
4635                                         visible: 1;
4636                                 }
4637                         }
4638
4639                         part {
4640                                 name: "elm.rect.button.up";
4641                                 type: RECT;
4642                                 mouse_events: 1;
4643                                 repeat_events: 1;
4644                                 description {
4645                                         state: "default" 0.0;
4646                                         visible: 0;
4647                                         rel1.to: "elm.bg.top";
4648                                         rel2.to: "elm.bg.top";
4649                                         rel2.relative: 1.0 0.8;
4650                                         color: 0 0 0 0;
4651                                 }
4652                                 description {
4653                                         state: "visible" 0.0;
4654                                         inherit: "default" 0.0;
4655                                         visible: 1;
4656                                 }
4657                         }
4658
4659                         part {
4660                                 name: "elm.img.button.down";
4661                                 mouse_events:  0;
4662                                 scale: 1;
4663                                 description {
4664                                         state: "default" 0.0;
4665                                         visible: 0;
4666                                         min: 20 20;
4667                                         fixed: 1 1;
4668                                         rel1.to: "elm.bg.bottom";
4669                                         rel1.relative: 0.5 (107/143);
4670                                         rel2.to: "elm.bg.bottom";
4671                                         rel2.relative: 0.5 (127/143);
4672                                         image.normal: "01_picker_spinner_minus.png";
4673                                         align: 0.5 1.0;
4674                                 }
4675                                 description {
4676                                         state: "visible" 0.0;
4677                                         inherit: "default" 0.0;
4678                                         visible: 1;
4679                                 }
4680                         }
4681
4682                         part {
4683                                 name: "elm.rect.button.down";
4684                                 type: RECT;
4685                                 mouse_events: 1;
4686                                 repeat_events: 1;
4687                                 description {
4688                                         state: "default" 0.0;
4689                                         visible: 0;
4690                                         rel1.to: "elm.bg.bottom";
4691                                         rel1.relative: 0.0 0.2;
4692                                         rel2.to: "elm.bg.bottom";
4693                                         color: 0 0 0 0;
4694                                 }
4695                                 description {
4696                                         state: "visible" 0.0;
4697                                         inherit: "default" 0.0;
4698                                         visible: 1;
4699                                 }
4700                         }
4701
4702                         part {
4703                                 name: "elm.img.ani";
4704                                 mouse_events: 0;
4705                                 description {
4706                                         state: "default" 0.0;
4707                                         visible: 0;
4708                                         rel1.to: "elm.bg.top";
4709                                         rel1.offset: -8 0;
4710                                         rel2.to_y: "elm.bg.top";
4711                                         rel2.offset: 7 -1;
4712                                         visible: 0;
4713                                 }
4714                                 description {
4715                                         state: "ani1" 0.0;
4716                                         inherit: "default" 0.0;
4717                                         visible: 1;
4718                                         rel1.relative: 0.0 0.063;
4719                                         image.normal: "01_picker_spinner_new_ani_01.png";
4720                                         image.border: 8 8 1 1;
4721                                 }
4722                                 description {
4723                                         state: "ani2" 0.0;
4724                                         inherit: "default" 0.0;
4725                                         visible: 1;
4726                                         rel1.relative: 0.0 0.246;
4727                                         image.normal: "01_picker_spinner_new_ani_02.png";
4728                                         image.border: 8 8 1 1;
4729                                 }
4730                                 description {
4731                                         state: "ani3" 0.0;
4732                                         inherit: "default" 0.0;
4733                                         visible: 1;
4734                                         rel1.relative: 0.0 0.521;
4735                                         image.normal: "01_picker_spinner_new_ani_03.png";
4736                                         image.border: 8 8 1 1;
4737                                 }
4738                                 description {
4739                                         state: "ani4" 0.0;
4740                                         inherit: "default" 0.0;
4741                                         visible: 1;
4742                                         rel1.to: "elm.bg.bottom";
4743                                         rel1.relative: 0.0 0.0;
4744                                         rel2.to_y: "elm.bg.bottom";
4745                                         rel2.relative: 1.0 0.479;
4746                                         image.normal: "01_picker_spinner_new_ani_04.png";
4747                                         image.border: 8 8 1 1;
4748                                 }
4749                                 description {
4750                                         state: "ani5" 0.0;
4751                                         inherit: "default" 0.0;
4752                                         visible: 1;
4753                                         rel1.to: "elm.bg.bottom";
4754                                         rel1.relative: 0.0 0.0;
4755                                         rel2.to_y: "elm.bg.bottom";
4756                                         rel2.relative: 1.0 0.754;
4757                                         image.normal: "01_picker_spinner_new_ani_05.png";
4758                                         image.border: 8 8 1 1;
4759                                 }
4760                                 description {
4761                                         state: "ani6" 0.0;
4762                                         inherit: "default" 0.0;
4763                                         visible: 1;
4764                                         rel1.to: "elm.bg.bottom";
4765                                         rel1.relative: 0.0 0.0;
4766                                         rel2.to_y: "elm.bg.bottom";
4767                                         rel2.relative: 1.0 0.937;
4768                                         image.normal: "01_picker_spinner_new_ani_06.png";
4769                                         image.border: 8 8 1 1;
4770                                 }
4771                         }
4772                 }
4773                 programs {
4774                         program {
4775                                 name: "button_show";
4776                                 signal: "elm,state,button,visible";
4777                                 source: "elm";
4778                                 action: STATE_SET "visible" 0.0;
4779                                 target: "elm.img.button.up";
4780                                 target: "elm.rect.button.up";
4781                                 target: "elm.img.button.down";
4782                                 target: "elm.rect.button.down";
4783                         }
4784
4785                         program {
4786                                 name: "button_hide";
4787                                 signal: "elm,state,button,hidden";
4788                                 source: "elm";
4789                                 action: STATE_SET "default" 0.0;
4790                                 target: "elm.img.button.up";
4791                                 target: "elm.rect.button.up";
4792                                 target: "elm.img.button.down";
4793                                 target: "elm.rect.button.down";
4794                         }
4795
4796                         program {
4797                                 name: "text_show";
4798                                 signal: "elm,state,text,visible";
4799                                 source: "elm";
4800                                 action: STATE_SET "visible" 0.0;
4801                                 target: "elm.text.top";
4802                                 target: "elm.text.bottom";
4803                         }
4804                         program {
4805                                 name: "text_hide";
4806                                 signal: "elm,state,text,hidden";
4807                                 source: "elm";
4808                                 action: STATE_SET "default" 0.0;
4809                                 target: "elm.text.top";
4810                                 target: "elm.text.bottom";
4811                         }
4812                 }
4813         }
4814
4815         group { name: "elm/picker/base/no_button";
4816                 images {
4817                         image: "01_picker_spinner_panel_bg_top.png" COMP;
4818                         image: "01_picker_spinner_panel_bg_bottom.png" COMP;
4819                         image: "01_picker_spinner_new_ani_01.png" COMP;
4820                         image: "01_picker_spinner_new_ani_02.png" COMP;
4821                         image: "01_picker_spinner_new_ani_03.png" COMP;
4822                         image: "01_picker_spinner_new_ani_04.png" COMP;
4823                         image: "01_picker_spinner_new_ani_05.png" COMP;
4824                         image: "01_picker_spinner_new_ani_06.png" COMP;
4825                 }
4826                 script {
4827                         public ani_state; // 0: up, 1: down
4828                         public ani_lock;
4829                         public animator(val) {
4830                                 new s[8], next;
4831                                 if (get_int(ani_lock) == 0)
4832                                         return 0;
4833
4834                                 if (val == ELM_PICKER_ANIM_MAX) {
4835                                         set_state(PART:"elm.img.ani", "default", 0.0);
4836                                         if (get_int(ani_state) == 0)
4837                                                 emit("pressed", "up");
4838                                         else
4839                                                 emit("pressed", "down");
4840                                         set_int(ani_lock, 0);
4841                                         return 0;
4842                                 }
4843
4844                                 if (get_int(ani_state) == 1)
4845                                         next = val;
4846                                 else
4847                                         next = ELM_PICKER_ANIM_MAX-val;
4848
4849                                 snprintf(s, 8, "ani%d", next);
4850                                 set_state(PART:"elm.img.ani", s, 0.0);
4851
4852                                 if (val == ELM_PICKER_ANIM_HALF) {
4853                                         if (get_int(ani_state) == 0)
4854                                                 emit("half", "up");
4855                                         else
4856                                                 emit("half", "down");
4857                                 }
4858                                 return 0;
4859                         }
4860                         public message(Msg_Type:type, id, ...) {
4861                                 if ((type == MSG_FLOAT) && (id == 1)) {
4862                                         new Float:v;
4863                                         new Float:t = 0;
4864                                         new i;
4865
4866                                         if (get_int(ani_lock) == 1)
4867                                                 return;
4868                                         set_int(ani_lock, 1);
4869
4870                                         v = getfarg(2)/ELM_PICKER_ANIM_MAX;
4871                                         if (v < 0)
4872                                                 set_int(ani_state, 1);
4873                                         else
4874                                                 set_int(ani_state, 0);
4875                                         v = abs(v);
4876
4877                                         for (i = 0; i <= ELM_PICKER_ANIM_MAX; i++) {
4878                                                 t += v;
4879                                                 timer(t, "animator", i);
4880                                         }
4881                                 }
4882                         }
4883                 }
4884
4885                 parts {
4886                         part {
4887                                 name: "elm.base";
4888                                 type: RECT;
4889                                 description {
4890                                         state: "default" 0.0;
4891                                         color: 0 0 0 0;
4892                                 }
4893                         }
4894
4895                         part {
4896                                 name: "elm.rect.pad.middle";
4897                                 mouse_events: 0;
4898                                 scale: 1;
4899                                 description {
4900                                         min: 0 3;
4901                                         fixed: 0 1;
4902                                         rel1.to: "elm.base";
4903                                         rel1.relative: 0.0 0.5;
4904                                         rel2.to: "elm.base";
4905                                         rel2.relative: 1.0 0.5;
4906                                 }
4907                         }
4908
4909                         part {
4910                                 name: "elm.bg.top";
4911                                 mouse_events: 1;
4912                                 description {
4913                                         state: "default" 0.0;
4914                                         rel1.to: "elm.base";
4915                                         rel1.offset: 0 0;
4916                                         rel2.to: "elm.rect.pad.middle";
4917                                         rel2.relative: 1.0 0.0;
4918                                         image.normal: "01_picker_spinner_panel_bg_top.png";
4919                                         image.border: 4 4 1 1;
4920                                 }
4921                         }
4922                         part {
4923                                 name: "elm.bg.bottom";
4924                                 mouse_events: 1;
4925                                 description {
4926                                         state: "default" 0.0;
4927                                         rel1.to: "elm.rect.pad.middle";
4928                                         rel1.relative: 0.0 1.0;
4929                                         rel2.to: "elm.base";
4930                                         image.normal: "01_picker_spinner_panel_bg_bottom.png";
4931                                         image.border: 4 4 1 1;
4932                                 }
4933                         }
4934
4935                         part {
4936                                 type: RECT;
4937                                 name: "elm.clip.top";
4938                                 description {
4939                                         state: "default" 0.0;
4940                                         rel1.to: "elm.bg.top";
4941                                         rel2.to: "elm.bg.top";
4942                                         color: 255 255 255 255;
4943                                 }
4944                         }
4945
4946                         part {
4947                                 type: RECT;
4948                                 name: "elm.clip.bottom";
4949                                 description {
4950                                         state: "default" 0.0;
4951                                         rel1.to: "elm.bg.bottom";
4952                                         rel2.to: "elm.bg.bottom";
4953                                         color: 255 255 255 255;
4954                                 }
4955                         }
4956
4957                         part {
4958                                 name: "elm.text.top";
4959                                 type: TEXT;
4960                                 mouse_events:  0;
4961                                 clip_to: "elm.clip.top";
4962                                 scale: 1;
4963                                 description {
4964                                         state: "default" 0.0;
4965                                         visible: 0;
4966                                         rel1.to: "elm.bg.top";
4967                                         rel1.relative: 0.0 0.0;
4968                                         rel1.offset: 13 12;
4969                                         rel2.to: "elm.bg.bottom";
4970                                         rel2.relative: 1.0 1.0;
4971                                         rel2.offset: -12 -11;
4972                                         color: 0 0 0 255;
4973                                         color2: 0 0 0 255;
4974                                         fixed: 1 1;
4975                                         text {
4976                                                 font: "SLP:style=Roman";
4977                                                 size: 80;
4978                                                 min: 1 1;
4979                                                 align: 0.5 0.5;
4980                                         }
4981                                 }
4982                                 description {
4983                                         state: "visible" 0.0;
4984                                         inherit: "default" 0.0;
4985                                         visible: 1;
4986                                 }
4987                         }
4988
4989                         part {
4990                                 name: "elm.text.bottom";
4991                                 type: TEXT;
4992                                 mouse_events:  0;
4993                                 clip_to: "elm.clip.bottom";
4994                                 scale: 1;
4995                                 description {
4996                                         state: "default" 0.0;
4997                                         visible: 0;
4998                                         rel1.to: "elm.text.top";
4999                                         rel2.to: "elm.text.top";
5000                                         color: 0 0 0 255;
5001                                         color2: 0 0 0 255;
5002                                         fixed: 1 1;
5003                                         text {
5004                                                 font: "SLP:style=Roman";
5005                                                 size: 80;
5006                                                 min: 1 1;
5007                                                 align: 0.5 0.5;
5008                                         }
5009                                 }
5010                                 description {
5011                                         state: "visible" 0.0;
5012                                         inherit: "default" 0.0;
5013                                         visible: 1;
5014                                 }
5015                         }
5016                         part {
5017                                 name: "elm.rect.flick";
5018                                 type: RECT;
5019                                 mouse_events: 1;
5020                                 description {
5021                                         state: "default" 0.0;
5022                                         rel1.to: "elm.bg.top";
5023                                         rel1.relative: 0.0 0.0;
5024                                         rel2.to: "elm.bg.bottom";
5025                                         rel2.relative: 1.0 1.0;
5026                                         color: 0 0 0 0;
5027                                 }
5028                         }
5029
5030                         part {
5031                                 name: "elm.img.ani";
5032                                 mouse_events: 0;
5033                                 description {
5034                                         state: "default" 0.0;
5035                                         visible: 0;
5036                                         rel1.to: "elm.bg.top";
5037                                         rel1.offset: -8 0;
5038                                         rel2.to_y: "elm.bg.top";
5039                                         rel2.offset: 7 -1;
5040                                         visible: 0;
5041                                 }
5042                                 description {
5043                                         state: "ani1" 0.0;
5044                                         inherit: "default" 0.0;
5045                                         visible: 1;
5046                                         rel1.relative: 0.0 0.063;
5047                                         image.normal: "01_picker_spinner_new_ani_01.png";
5048                                         image.border: 8 8 1 1;
5049                                 }
5050                                 description {
5051                                         state: "ani2" 0.0;
5052                                         inherit: "default" 0.0;
5053                                         visible: 1;
5054                                         rel1.relative: 0.0 0.246;
5055                                         image.normal: "01_picker_spinner_new_ani_02.png";
5056                                         image.border: 8 8 1 1;
5057                                 }
5058                                 description {
5059                                         state: "ani3" 0.0;
5060                                         inherit: "default" 0.0;
5061                                         visible: 1;
5062                                         rel1.relative: 0.0 0.521;
5063                                         image.normal: "01_picker_spinner_new_ani_03.png";
5064                                         image.border: 8 8 1 1;
5065                                 }
5066                                 description {
5067                                         state: "ani4" 0.0;
5068                                         inherit: "default" 0.0;
5069                                         visible: 1;
5070                                         rel1.to: "elm.bg.bottom";
5071                                         rel1.relative: 0.0 0.0;
5072                                         rel2.to_y: "elm.bg.bottom";
5073                                         rel2.relative: 1.0 0.479;
5074                                         image.normal: "01_picker_spinner_new_ani_04.png";
5075                                         image.border: 8 8 1 1;
5076                                 }
5077                                 description {
5078                                         state: "ani5" 0.0;
5079                                         inherit: "default" 0.0;
5080                                         visible: 1;
5081                                         rel1.to: "elm.bg.bottom";
5082                                         rel1.relative: 0.0 0.0;
5083                                         rel2.to_y: "elm.bg.bottom";
5084                                         rel2.relative: 1.0 0.754;
5085                                         image.normal: "01_picker_spinner_new_ani_05.png";
5086                                         image.border: 8 8 1 1;
5087                                 }
5088                                 description {
5089                                         state: "ani6" 0.0;
5090                                         inherit: "default" 0.0;
5091                                         visible: 1;
5092                                         rel1.to: "elm.bg.bottom";
5093                                         rel1.relative: 0.0 0.0;
5094                                         rel2.to_y: "elm.bg.bottom";
5095                                         rel2.relative: 1.0 0.937;
5096                                         image.normal: "01_picker_spinner_new_ani_06.png";
5097                                         image.border: 8 8 1 1;
5098                                 }
5099                         }
5100                 }
5101                 programs {
5102                         program {
5103                                 name: "text_show";
5104                                 signal: "elm,state,text,visible";
5105                                 source: "elm";
5106                                 action: STATE_SET "visible" 0.0;
5107                                 target: "elm.text.top";
5108                                 target: "elm.text.bottom";
5109                         }
5110                         program {
5111                                 name: "text_hide";
5112                                 signal: "elm,state,text,hidden";
5113                                 source: "elm";
5114                                 action: STATE_SET "default" 0.0;
5115                                 target: "elm.text.top";
5116                                 target: "elm.text.bottom";
5117                         }
5118                 }
5119         }
5120         group { name: "elm/picker/base/timepicker/ampm";
5121                 images {
5122                         image: "01_picker_spinner_panel_bg_top.png" COMP;
5123                         image: "01_picker_spinner_panel_bg_bottom.png" COMP;
5124                         image: "01_picker_spinner_new_ani_01.png" COMP;
5125                         image: "01_picker_spinner_new_ani_02.png" COMP;
5126                         image: "01_picker_spinner_new_ani_03.png" COMP;
5127                         image: "01_picker_spinner_new_ani_04.png" COMP;
5128                         image: "01_picker_spinner_new_ani_05.png" COMP;
5129                         image: "01_picker_spinner_new_ani_06.png" COMP;
5130                 }
5131                 script {
5132                         public ani_state; // 0: up, 1: down
5133                         public ani_lock;
5134                         public animator(val) {
5135                                 new s[8], next;
5136                                 if (get_int(ani_lock) == 0)
5137                                         return 0;
5138
5139                                 if (val == ELM_PICKER_ANIM_MAX) {
5140                                         set_state(PART:"elm.img.ani", "default", 0.0);
5141                                         if (get_int(ani_state) == 0)
5142                                                 emit("pressed", "up");
5143                                         else
5144                                                 emit("pressed", "down");
5145                                         set_int(ani_lock, 0);
5146                                         return 0;
5147                                 }
5148
5149                                 if (get_int(ani_state) == 1)
5150                                         next = val;
5151                                 else
5152                                         next = ELM_PICKER_ANIM_MAX-val;
5153
5154                                 snprintf(s, 8, "ani%d", next);
5155                                 set_state(PART:"elm.img.ani", s, 0.0);
5156
5157                                 if (val == ELM_PICKER_ANIM_HALF) {
5158                                         if (get_int(ani_state) == 0)
5159                                                 emit("half", "up");
5160                                         else
5161                                                 emit("half", "down");
5162                                 }
5163                                 return 0;
5164                         }
5165                         public message(Msg_Type:type, id, ...) {
5166                                 if ((type == MSG_FLOAT) && (id == 1)) {
5167                                         new Float:v;
5168                                         new Float:t = 0;
5169                                         new i;
5170
5171                                         if (get_int(ani_lock) == 1)
5172                                                 return;
5173                                         set_int(ani_lock, 1);
5174
5175                                         v = getfarg(2)/ELM_PICKER_ANIM_MAX;
5176                                         if (v < 0)
5177                                                 set_int(ani_state, 1);
5178                                         else
5179                                                 set_int(ani_state, 0);
5180                                         v = abs(v);
5181
5182                                         for (i = 0; i <= ELM_PICKER_ANIM_MAX; i++) {
5183                                                 t += v;
5184                                                 timer(t, "animator", i);
5185                                         }
5186                                 }
5187                         }
5188                 }
5189
5190                 parts {
5191                         part {
5192                                 name: "elm.base";
5193                                 type: RECT;
5194                                 description {
5195                                         state: "default" 0.0;
5196                                         color: 0 0 0 0;
5197                                 }
5198                         }
5199
5200                         part {
5201                                 name: "elm.rect.pad.middle";
5202                                 mouse_events: 0;
5203                                 scale: 1;
5204                                 description {
5205                                         min: 0 3;
5206                                         fixed: 0 1;
5207                                         rel1.to: "elm.base";
5208                                         rel1.relative: 0.0 0.5;
5209                                         rel2.to: "elm.base";
5210                                         rel2.relative: 1.0 0.5;
5211                                 }
5212                         }
5213
5214                         part {
5215                                 name: "elm.bg.top";
5216                                 mouse_events: 1;
5217                                 description {
5218                                         state: "default" 0.0;
5219                                         rel1.to: "elm.base";
5220                                         rel1.offset: 0 0;
5221                                         rel2.to: "elm.rect.pad.middle";
5222                                         rel2.relative: 1.0 0.0;
5223                                         image.normal: "01_picker_spinner_panel_bg_top.png";
5224                                         image.border: 4 4 1 1;
5225                                 }
5226                         }
5227                         part {
5228                                 name: "elm.bg.bottom";
5229                                 mouse_events: 1;
5230                                 description {
5231                                         state: "default" 0.0;
5232                                         rel1.to: "elm.rect.pad.middle";
5233                                         rel1.relative: 0.0 1.0;
5234                                         rel2.to: "elm.base";
5235                                         image.normal: "01_picker_spinner_panel_bg_bottom.png";
5236                                         image.border: 4 4 1 1;
5237                                 }
5238                         }
5239
5240                         part {
5241                                 type: RECT;
5242                                 name: "elm.clip.top";
5243                                 description {
5244                                         state: "default" 0.0;
5245                                         rel1.to: "elm.bg.top";
5246                                         rel2.to: "elm.bg.top";
5247                                         color: 255 255 255 255;
5248                                 }
5249                         }
5250
5251                         part {
5252                                 type: RECT;
5253                                 name: "elm.clip.bottom";
5254                                 description {
5255                                         state: "default" 0.0;
5256                                         rel1.to: "elm.bg.bottom";
5257                                         rel2.to: "elm.bg.bottom";
5258                                         color: 255 255 255 255;
5259                                 }
5260                         }
5261
5262                         part {
5263                                 name: "elm.text.top";
5264                                 type: TEXT;
5265                                 mouse_events:  0;
5266                                 clip_to: "elm.clip.top";
5267                                 scale: 1;
5268                                 description {
5269                                         state: "default" 0.0;
5270                                         visible: 0;
5271                                         rel1.to: "elm.bg.top";
5272                                         rel1.relative: 0.0 0.0;
5273                                         rel1.offset: 13 9;
5274                                         rel2.to: "elm.bg.bottom";
5275                                         rel2.relative: 1.0 1.0;
5276                                         rel2.offset: -12 -10;
5277                                         color: 0 0 0 255;
5278                                         color2: 0 0 0 255;
5279                                         fixed: 1 1;
5280                                         text {
5281                                                 font: "SLP:style=Roman";
5282                                                 size: 48;
5283                                                 min: 1 1;
5284                                                 align: 0.5 0.5;
5285                                         }
5286                                 }
5287                                 description {
5288                                         state: "visible" 0.0;
5289                                         inherit: "default" 0.0;
5290                                         visible: 1;
5291                                 }
5292                         }
5293
5294                         part {
5295                                 name: "elm.text.bottom";
5296                                 type: TEXT;
5297                                 mouse_events:  0;
5298                                 clip_to: "elm.clip.bottom";
5299                                 scale: 1;
5300                                 description {
5301                                         state: "default" 0.0;
5302                                         visible: 0;
5303                                         rel1.to: "elm.text.top";
5304                                         rel2.to: "elm.text.top";
5305                                         color: 0 0 0 255;
5306                                         color2: 0 0 0 255;
5307                                         fixed: 1 1;
5308                                         text {
5309                                                 font: "SLP:style=Roman";
5310                                                 size: 48;
5311                                                 min: 1 1;
5312                                                 align: 0.5 0.5;
5313                                         }
5314                                 }
5315                                 description {
5316                                         state: "visible" 0.0;
5317                                         inherit: "default" 0.0;
5318                                         visible: 1;
5319                                 }
5320                         }
5321                         part {
5322                                 name: "elm.rect.flick";
5323                                 type: RECT;
5324                                 mouse_events: 1;
5325                                 description {
5326                                         state: "default" 0.0;
5327                                         rel1.to: "elm.bg.top";
5328                                         rel1.relative: 0.0 0.0;
5329                                         rel2.to: "elm.bg.bottom";
5330                                         rel2.relative: 1.0 1.0;
5331                                         color: 0 0 0 0;
5332                                 }
5333                         }
5334
5335                         part {
5336                                 name: "elm.rect.button.up";
5337                                 type: RECT;
5338                                 mouse_events: 1;
5339                                 repeat_events: 1;
5340                                 description {
5341                                         state: "default" 0.0;
5342                                         visible: 0;
5343                                         rel1.to: "elm.bg.top";
5344                                         rel2.to: "elm.bg.top";
5345                                         rel2.relative: 1.0 0.8;
5346                                         color: 0 0 0 0;
5347                                 }
5348                                 description {
5349                                         state: "visible" 0.0;
5350                                         inherit: "default" 0.0;
5351                                         visible: 1;
5352                                 }
5353                         }
5354
5355                         part {
5356                                 name: "elm.rect.button.down";
5357                                 type: RECT;
5358                                 mouse_events: 1;
5359                                 repeat_events: 1;
5360                                 description {
5361                                         state: "default" 0.0;
5362                                         visible: 0;
5363                                         rel1.to: "elm.bg.bottom";
5364                                         rel1.relative: 0.0 0.2;
5365                                         rel2.to: "elm.bg.bottom";
5366                                         color: 0 0 0 0;
5367                                 }
5368                                 description {
5369                                         state: "visible" 0.0;
5370                                         inherit: "default" 0.0;
5371                                         visible: 1;
5372                                 }
5373                         }
5374
5375                         part {
5376                                 name: "elm.img.ani";
5377                                 mouse_events: 0;
5378                                 description {
5379                                         state: "default" 0.0;
5380                                         visible: 0;
5381                                         rel1.to: "elm.bg.top";
5382                                         rel1.offset: -8 0;
5383                                         rel2.to_y: "elm.bg.top";
5384                                         rel2.offset: 7 -1;
5385                                         visible: 0;
5386                                 }
5387                                 description {
5388                                         state: "ani1" 0.0;
5389                                         inherit: "default" 0.0;
5390                                         visible: 1;
5391                                         rel1.relative: 0.0 0.063;
5392                                         image.normal: "01_picker_spinner_new_ani_01.png";
5393                                         image.border: 8 8 1 1;
5394                                 }
5395                                 description {
5396                                         state: "ani2" 0.0;
5397                                         inherit: "default" 0.0;
5398                                         visible: 1;
5399                                         rel1.relative: 0.0 0.246;
5400                                         image.normal: "01_picker_spinner_new_ani_02.png";
5401                                         image.border: 8 8 1 1;
5402                                 }
5403                                 description {
5404                                         state: "ani3" 0.0;
5405                                         inherit: "default" 0.0;
5406                                         visible: 1;
5407                                         rel1.relative: 0.0 0.521;
5408                                         image.normal: "01_picker_spinner_new_ani_03.png";
5409                                         image.border: 8 8 1 1;
5410                                 }
5411                                 description {
5412                                         state: "ani4" 0.0;
5413                                         inherit: "default" 0.0;
5414                                         visible: 1;
5415                                         rel1.to: "elm.bg.bottom";
5416                                         rel1.relative: 0.0 0.0;
5417                                         rel2.to_y: "elm.bg.bottom";
5418                                         rel2.relative: 1.0 0.479;
5419                                         image.normal: "01_picker_spinner_new_ani_04.png";
5420                                         image.border: 8 8 1 1;
5421                                 }
5422                                 description {
5423                                         state: "ani5" 0.0;
5424                                         inherit: "default" 0.0;
5425                                         visible: 1;
5426                                         rel1.to: "elm.bg.bottom";
5427                                         rel1.relative: 0.0 0.0;
5428                                         rel2.to_y: "elm.bg.bottom";
5429                                         rel2.relative: 1.0 0.754;
5430                                         image.normal: "01_picker_spinner_new_ani_05.png";
5431                                         image.border: 8 8 1 1;
5432                                 }
5433                                 description {
5434                                         state: "ani6" 0.0;
5435                                         inherit: "default" 0.0;
5436                                         visible: 1;
5437                                         rel1.to: "elm.bg.bottom";
5438                                         rel1.relative: 0.0 0.0;
5439                                         rel2.to_y: "elm.bg.bottom";
5440                                         rel2.relative: 1.0 0.937;
5441                                         image.normal: "01_picker_spinner_new_ani_06.png";
5442                                         image.border: 8 8 1 1;
5443                                 }
5444                         }
5445                 }
5446                 programs {
5447                         program {
5448                                 name: "button_show";
5449                                 signal: "elm,state,button,visible";
5450                                 source: "elm";
5451                                 action: STATE_SET "visible" 0.0;
5452                                 target: "elm.rect.button.up";
5453                                 target: "elm.rect.button.down";
5454                         }
5455
5456                         program {
5457                                 name: "button_hide";
5458                                 signal: "elm,state,button,hidden";
5459                                 source: "elm";
5460                                 action: STATE_SET "default" 0.0;
5461                                 target: "elm.rect.button.up";
5462                                 target: "elm.rect.button.down";
5463                         }
5464                         program {
5465                                 name: "text_show";
5466                                 signal: "elm,state,text,visible";
5467                                 source: "elm";
5468                                 action: STATE_SET "visible" 0.0;
5469                                 target: "elm.text.top";
5470                                 target: "elm.text.bottom";
5471                         }
5472                         program {
5473                                 name: "text_hide";
5474                                 signal: "elm,state,text,hidden";
5475                                 source: "elm";
5476                                 action: STATE_SET "default" 0.0;
5477                                 target: "elm.text.top";
5478                                 target: "elm.text.bottom";
5479                         }
5480                 }
5481         }
5482
5483 ///////////////////////////////////////////////////////////////////////////////
5484         group { name: "elm/timepicker/base/default";
5485                 images {
5486                         image: "01_hybrid_spinner_num_time_colon.png" COMP;
5487                 }
5488
5489                 parts {
5490                         part {
5491                                 name: "elm.rect.bg";
5492                                 type: RECT;
5493                                 description {
5494                                         state: "default" 0.0;
5495                                         color: 0 0 0 0;
5496                                 }
5497                         }
5498                         part {
5499                                 name: "elm.rect.bg.time";
5500                                 type: RECT;
5501                                 description {
5502                                         state: "default" 0.0;
5503                                         color: 0 0 0 0;
5504                                         rel2.to_x: "elm.swallow.ampm";
5505                                         rel2.relative: (-12/90) 1.0;
5506                                         color: 0 0 0 0;
5507                                 }
5508                         }
5509
5510                         part {
5511                                 name: "elm.img.colon.1";
5512                                 description {
5513                                         state: "default" 0.0;
5514                                         rel1.to: "elm.swallow.hour";
5515                                         rel1.relative: 1.0 0.246;
5516                                         rel2.to: "elm.swallow.min";
5517                                         rel2.relative: 0.0 0.754;
5518                                         image.normal: "01_hybrid_spinner_num_time_colon.png";
5519                                         aspect: 0.34 1.0;
5520                                         aspect_preference: HORIZONTAL;
5521                                 }
5522                         }
5523                         part {
5524                                 name: "elm.img.colon.2";
5525                                 description {
5526                                         state: "default" 0.0;
5527                                         rel1.to: "elm.swallow.min";
5528                                         rel1.relative: 1.0 0.246;
5529                                         rel2.to: "elm.swallow.sub";
5530                                         rel2.relative: 0.0 0.754;
5531                                         image.normal: "01_hybrid_spinner_num_time_colon.png";
5532                                         aspect: 0.34 1.0;
5533                                         aspect_preference: HORIZONTAL;
5534                                         visible: 0;
5535                                 }
5536                                 description {
5537                                         state: "with_sec" 0.0;
5538                                         inherit: "default" 0.0;
5539                                         visible: 1;
5540                                 }
5541                         }
5542
5543                         part {
5544                                 name: "elm.text.hour";
5545                                 type: TEXT;
5546                                 mouse_events:  0;
5547                                 scale: 1;
5548                                 description {
5549                                         state: "default" 0.0;
5550                                         visible: 1;
5551                                         rel1.to_x: "elm.swallow.hour";
5552                                         rel1.to_y: "elm.rect.bg.time";
5553                                         rel2.to_x: "elm.swallow.hour";
5554                                         rel2.to_y: "elm.rect.bg.time";
5555                                         rel2.relative: 1.0 (24/317);
5556                                         color: 255 255 255 255;
5557                                         color2: 0 0 0 255;
5558                                         fixed: 1 1;
5559                                         text {
5560                                                 font: "SLP:style=Roman";
5561                                                 text: "Hour";
5562                                                 size: 24;
5563                                                 min: 1 1;
5564                                                 align: 0.5 0.5;
5565                                         }
5566                                 }
5567                         }
5568
5569                         part {
5570                                 name: "elm.swallow.hour";
5571                                 type: SWALLOW;
5572                                 mouse_events: 1;
5573                                 description {
5574                                         state: "default" 0.0;
5575                                         rel1.to_x: "elm.rect.bg.time";
5576                                         rel1.to_y: "elm.text.hour";
5577                                         rel1.relative: 0.0 (32/24);
5578                                         rel2.to: "elm.rect.bg.time";
5579                                         rel2.relative: 0.380 1.0;
5580                                 }
5581                                 description {
5582                                         state: "with_sec" 0.0;
5583                                         inherit: "default" 0.0;
5584                                         rel2.relative: 0.283 1.0;
5585                                 }
5586                         }
5587
5588                         part {
5589                                 name: "elm.text.min";
5590                                 type: TEXT;
5591                                 mouse_events:  0;
5592                                 scale: 1;
5593                                 description {
5594                                         state: "default" 0.0;
5595                                         visible: 1;
5596                                         rel1.to_x: "elm.swallow.min";
5597                                         rel1.to_y: "elm.rect.bg.time";
5598                                         rel2.to_x: "elm.swallow.sub";
5599                                         rel2.to_y: "elm.rect.bg.time";
5600                                         rel2.relative: 1.0 (24/317);
5601                                         color: 255 255 255 255;
5602                                         color2: 0 0 0 255;
5603                                         fixed: 1 1;
5604                                         text {
5605                                                 font: "SLP:style=Roman";
5606                                                 text: "Minute";
5607                                                 size: 24;
5608                                                 min: 1 1;
5609                                                 align: 0.5 0.5;
5610                                         }
5611                                 }
5612                                 description {
5613                                         state: "with_sec" 0.0;
5614                                         inherit: "default" 0.0;
5615                                         rel2.to_x: "elm.swallow.min";
5616                                 }
5617                         }
5618
5619                         part {
5620                                 name: "elm.swallow.min";
5621                                 type: SWALLOW;
5622                                 mouse_events: 1;
5623                                 description {
5624                                         state: "default" 0.0;
5625                                         rel1.to_x: "elm.rect.bg.time";
5626                                         rel1.to_y: "elm.swallow.hour";
5627                                         rel1.relative: 0.482 0.0;
5628                                         rel2.to: "elm.rect.bg.time";
5629                                         rel2.relative: 0.729 1.0;
5630                                 }
5631                                 description {
5632                                         state: "with_sec" 0.0;
5633                                         inherit: "default" 0.0;
5634                                         rel1.relative: 0.358 0.0;
5635                                         rel2.relative: 0.641 1.0;
5636                                 }
5637                         }
5638
5639                         part {
5640                                 name: "elm.text.sec";
5641                                 type: TEXT;
5642                                 mouse_events:  0;
5643                                 scale: 1;
5644                                 description {
5645                                         state: "default" 0.0;
5646                                         visible: 0;
5647                                         rel1.to_x: "elm.swallow.sub";
5648                                         rel1.to_y: "elm.rect.bg.time";
5649                                         rel2.to_x: "elm.swallow.sub";
5650                                         rel2.to_y: "elm.rect.bg.time";
5651                                         rel2.relative: 1.0 (24/317);
5652                                         color: 255 255 255 255;
5653                                         color2: 0 0 0 255;
5654                                         fixed: 1 1;
5655                                         text {
5656                                                 font: "SLP:style=Roman";
5657                                                 text: "Sec";
5658                                                 size: 24;
5659                                                 min: 1 1;
5660                                                 align: 0.5 0.5;
5661                                         }
5662                                 }
5663                                 description {
5664                                         state: "with_sec" 0.0;
5665                                         inherit: "default" 0.0;
5666                                         visible: 1;
5667                                 }
5668                         }
5669
5670                         part {
5671                                 name: "elm.swallow.sub";
5672                                 type: SWALLOW;
5673                                 mouse_events: 1;
5674                                 description {
5675                                         state: "default" 0.0;
5676                                         rel1.to_x: "elm.rect.bg.time";
5677                                         rel1.to_y: "elm.swallow.hour";
5678                                         rel1.relative: 0.753 0.0;
5679                                         rel2.to: "elm.rect.bg.time";
5680                                 }
5681                                 description {
5682                                         state: "with_sec" 0.0;
5683                                         inherit: "default" 0.0;
5684                                         rel1.relative: 0.717 0.0;
5685                                 }
5686                         }
5687
5688                         part {
5689                                 name: "elm.swallow.ampm";
5690                                 type: SWALLOW;
5691                                 mouse_events: 1;
5692                                 description {
5693                                         state: "default" 0.0;
5694                                         rel1.to_x: "elm.rect.bg";
5695                                         rel1.to_y: "elm.swallow.hour";
5696                                         rel1.relative: (492/480) 0.0;
5697                                         rel2.to: "elm.rect.bg";
5698                                         rel2.relative: 1.232 1.0;
5699                                         visible: 0;
5700                                 }
5701                                 description {
5702                                         state: "visible" 0.0;
5703                                         rel1.to_x: "elm.rect.bg";
5704                                         rel1.to_y: "elm.swallow.hour";
5705                                         rel1.relative: 0.793 0.0;
5706                                         rel2.to: "elm.rect.bg";
5707                                         rel2.relative: 1.0 1.0;
5708                                         visible: 1;
5709                                 }
5710                         }
5711                 }
5712
5713                 programs {
5714                         program {
5715                                 name: "sec_hide";
5716                                 signal: "elm,state,sec,hidden";
5717                                 source: "elm";
5718                                 action: STATE_SET "default" 0.0;
5719                                 target: "elm.swallow.hour";
5720                                 target: "elm.swallow.min";
5721                                 target: "elm.swallow.sub";
5722                                 target: "elm.img.colon.2";
5723                                 target: "elm.text.min";
5724                                 target: "elm.text.sec";
5725                         }
5726                         program {
5727                                 name: "sec_show";
5728                                 signal: "elm,state,sec,visible";
5729                                 source: "elm";
5730                                 action: STATE_SET "with_sec" 0.0;
5731                                 target: "elm.swallow.hour";
5732                                 target: "elm.swallow.min";
5733                                 target: "elm.swallow.sub";
5734                                 target: "elm.img.colon.2";
5735                                 target: "elm.text.min";
5736                                 target: "elm.text.sec";
5737                         }
5738                         program {
5739                                 name: "ampm_hide";
5740                                 signal: "elm,state,ampm,hidden";
5741                                 source: "elm";
5742                                 action: STATE_SET "default" 0.0;
5743                                 target: "elm.swallow.ampm";
5744                         }
5745                         program {
5746                                 name: "ampm_show";
5747                                 signal: "elm,state,ampm,visible";
5748                                 source: "elm";
5749                                 action: STATE_SET "visible" 0.0;
5750                                 target: "elm.swallow.ampm";
5751                         }
5752                 }
5753         }
5754
5755 ///////////////////////////////////////////////////////////////////////////////
5756         group { name: "elm/datepicker/base/default";
5757
5758                 parts {
5759                         part {
5760                                 name: "elm.rect.bg";
5761                                 type: RECT;
5762                                 description {
5763                                         state: "default" 0.0;
5764                                         color: 0 0 0 0;
5765                                 }
5766                         }
5767
5768                         part {
5769                                 name: "elm.text.year";
5770                                 type: TEXT;
5771                                 mouse_events:  0;
5772                                 scale: 1;
5773                                 description {
5774                                         state: "default" 0.0;
5775                                         visible: 1;
5776                                         rel1.to_x: "elm.swallow.year";
5777                                         rel1.to_y: "elm.rect.bg";
5778                                         rel2.to_x: "elm.swallow.year";
5779                                         rel2.to_y: "elm.rect.bg";
5780                                         rel2.relative: 1.0 (24/317);
5781                                         color: 255 255 255 255;
5782                                         color2: 0 0 0 255;
5783                                         fixed: 1 1;
5784                                         text {
5785                                                 font: "SLP:style=Roman";
5786                                                 text: "Year";
5787                                                 size: 24;
5788                                                 min: 1 1;
5789                                                 align: 0.5 0.5;
5790                                         }
5791                                 }
5792                         }
5793
5794                         part {
5795                                 name: "elm.swallow.year";
5796                                 type: SWALLOW;
5797                                 mouse_events: 1;
5798                                 description {
5799                                         state: "default" 0.0;
5800                                         rel1.to_x: "elm.rect.bg";
5801                                         rel1.to_y: "elm.text.year";
5802                                         rel1.relative: 0.549 (32/24);
5803                                         rel2.to: "elm.rect.bg";
5804                                         visible: 0;
5805                                 }
5806                                 description {
5807                                         state: "ddmmyy" 0.0;
5808                                         inherit: "default" 0.0;
5809                                         visible: 1;
5810                                 }
5811                                 description {
5812                                         state: "mmddyy" 0.0;
5813                                         inherit: "default" 0.0;
5814                                         visible: 1;
5815                                 }
5816                                 description {
5817                                         state: "mmyydd" 0.0;
5818                                         inherit: "default" 0.0;
5819                                         visible: 1;
5820                                         rel1.relative: 0.274 (32/24);
5821                                         rel2.relative: 0.725 1.0;
5822                                 }
5823                                 description {
5824                                         state: "ddyymm" 0.0;
5825                                         inherit: "default" 0.0;
5826                                         visible: 1;
5827                                         rel1.relative: 0.274 (32/24);
5828                                         rel2.relative: 0.725 1.0;
5829                                 }
5830                                 description {
5831                                         state: "yyddmm" 0.0;
5832                                         inherit: "default" 0.0;
5833                                         visible: 1;
5834                                         rel1.relative: 0.0 (32/24);
5835                                         rel2.relative: 0.451 1.0;
5836                                 }
5837                                 description {
5838                                         state: "yymmdd" 0.0;
5839                                         inherit: "default" 0.0;
5840                                         visible: 1;
5841                                         rel1.relative: 0.0 (32/24);
5842                                         rel2.relative: 0.451 1.0;
5843                                 }
5844                         }
5845
5846                         part {
5847                                 name: "elm.text.mon";
5848                                 type: TEXT;
5849                                 mouse_events:  0;
5850                                 scale: 1;
5851                                 description {
5852                                         state: "default" 0.0;
5853                                         visible: 1;
5854                                         rel1.to_x: "elm.swallow.mon";
5855                                         rel1.to_y: "elm.rect.bg";
5856                                         rel2.to_x: "elm.swallow.mon";
5857                                         rel2.to_y: "elm.rect.bg";
5858                                         rel2.relative: 1.0 (24/317);
5859                                         color: 255 255 255 255;
5860                                         color2: 0 0 0 255;
5861                                         fixed: 1 1;
5862                                         text {
5863                                                 font: "SLP:style=Roman";
5864                                                 text: "Month";
5865                                                 size: 24;
5866                                                 min: 1 1;
5867                                                 align: 0.5 0.5;
5868                                         }
5869                                 }
5870                         }
5871
5872                         part {
5873                                 name: "elm.swallow.mon";
5874                                 type: SWALLOW;
5875                                 mouse_events: 1;
5876                                 description {
5877                                         state: "default" 0.0;
5878                                         rel1.to_x: "elm.rect.bg";
5879                                         rel1.to_y: "elm.text.mon";
5880                                         rel1.relative: 0.270 (32/24);
5881                                         rel2.to: "elm.rect.bg";
5882                                         rel2.relative: 0.503 1.0;
5883                                         visible: 0;
5884                                 }
5885                                 description {
5886                                         state: "ddmmyy" 0.0;
5887                                         inherit: "default" 0.0;
5888                                         visible: 1;
5889                                 }
5890                                 description {
5891                                         state: "mmddyy" 0.0;
5892                                         inherit: "default" 0.0;
5893                                         rel1.relative: 0.0 (32/24);
5894                                         rel2.relative: 0.233 1.0;
5895                                         visible: 1;
5896                                 }
5897                                 description {
5898                                         state: "mmyydd" 0.0;
5899                                         inherit: "default" 0.0;
5900                                         visible: 1;
5901                                         rel1.relative: 0.0 (32/24);
5902                                         rel2.relative: 0.233 1.0;
5903                                 }
5904                                 description {
5905                                         state: "ddyymm" 0.0;
5906                                         inherit: "default" 0.0;
5907                                         visible: 1;
5908                                         rel1.relative: 0.767 (32/24);
5909                                         rel2.relative: 1.0 1.0;
5910                                 }
5911                                 description {
5912                                         state: "yyddmm" 0.0;
5913                                         inherit: "default" 0.0;
5914                                         visible: 1;
5915                                         rel1.relative: 0.767 (32/24);
5916                                         rel2.relative: 1.0 1.0;
5917                                 }
5918                                 description {
5919                                         state: "yymmdd" 0.0;
5920                                         inherit: "default" 0.0;
5921                                         visible: 1;
5922                                         rel1.relative: 0.497 (32/24);
5923                                         rel2.relative: 0.730 1.0;
5924                                 }
5925                         }
5926
5927                         part {
5928                                 name: "elm.text.day";
5929                                 type: TEXT;
5930                                 mouse_events:  0;
5931                                 scale: 1;
5932                                 description {
5933                                         state: "default" 0.0;
5934                                         visible: 1;
5935                                         rel1.to_x: "elm.swallow.day";
5936                                         rel1.to_y: "elm.rect.bg";
5937                                         rel2.to_x: "elm.swallow.day";
5938                                         rel2.to_y: "elm.rect.bg";
5939                                         rel2.relative: 1.0 (24/317);
5940                                         color: 255 255 255 255;
5941                                         color2: 0 0 0 255;
5942                                         fixed: 1 1;
5943                                         text {
5944                                                 font: "SLP:style=Roman";
5945                                                 text: "Day";
5946                                                 size: 24;
5947                                                 min: 1 1;
5948                                                 align: 0.5 0.5;
5949                                         }
5950                                 }
5951                         }
5952
5953                         part {
5954                                 name: "elm.swallow.day";
5955                                 type: SWALLOW;
5956                                 mouse_events: 1;
5957                                 description {
5958                                         state: "default" 0.0;
5959                                         rel1.to_x: "elm.rect.bg";
5960                                         rel1.to_y: "elm.text.day";
5961                                         rel1.relative: 0.0 (32/24);
5962                                         rel2.to: "elm.rect.bg";
5963                                         rel2.relative: 0.233 1.0;
5964                                         visible: 0;
5965                                 }
5966                                 description {
5967                                         state: "ddmmyy" 0.0;
5968                                         inherit: "default" 0.0;
5969                                         visible: 1;
5970                                 }
5971                                 description {
5972                                         state: "mmddyy" 0.0;
5973                                         inherit: "default" 0.0;
5974                                         rel1.relative: 0.270 (32/24);
5975                                         rel2.relative: 0.503 1.0;
5976                                         visible: 1;
5977                                 }
5978                                 description {
5979                                         state: "mmyydd" 0.0;
5980                                         inherit: "default" 0.0;
5981                                         rel1.relative: 0.767 (32/24);
5982                                         rel2.relative: 1.0 1.0;
5983                                         visible: 1;
5984                                 }
5985                                 description {
5986                                         state: "ddyymm" 0.0;
5987                                         inherit: "default" 0.0;
5988                                         visible: 1;
5989                                         rel1.relative: 0.0 (32/24);
5990                                         rel2.relative: 0.233 1.0;
5991                                 }
5992                                 description {
5993                                         state: "yyddmm" 0.0;
5994                                         inherit: "default" 0.0;
5995                                         visible: 1;
5996                                         rel1.relative: 0.497 (32/24);
5997                                         rel2.relative: 0.730 1.0;
5998                                 }
5999                                 description {
6000                                         state: "yymmdd" 0.0;
6001                                         inherit: "default" 0.0;
6002                                         visible: 1;
6003                                         rel1.relative: 0.767 (32/24);
6004                                         rel2.relative: 1.0 1.0;
6005                                 }
6006                         }
6007
6008                 }
6009
6010                 programs {
6011                         program {
6012                                 name: "yymmdd";
6013                                 signal: "elm,state,yymmdd";
6014                                 source: "elm";
6015                                 action: STATE_SET "yymmdd" 0.0;
6016                                 target: "elm.swallow.year";
6017                                 target: "elm.swallow.mon";
6018                                 target: "elm.swallow.day";
6019                         }
6020                         program {
6021                                 name: "yyddmm";
6022                                 signal: "elm,state,yyddmm";
6023                                 source: "elm";
6024                                 action: STATE_SET "yyddmm" 0.0;
6025                                 target: "elm.swallow.year";
6026                                 target: "elm.swallow.mon";
6027                                 target: "elm.swallow.day";
6028                         }
6029                         program {
6030                                 name: "mmyydd";
6031                                 signal: "elm,state,mmyydd";
6032                                 source: "elm";
6033                                 action: STATE_SET "mmyydd" 0.0;
6034                                 target: "elm.swallow.year";
6035                                 target: "elm.swallow.mon";
6036                                 target: "elm.swallow.day";
6037                         }
6038                         program {
6039                                 name: "mmddyy";
6040                                 signal: "elm,state,mmddyy";
6041                                 source: "elm";
6042                                 action: STATE_SET "mmddyy" 0.0;
6043                                 target: "elm.swallow.year";
6044                                 target: "elm.swallow.mon";
6045                                 target: "elm.swallow.day";
6046                         }
6047                         program {
6048                                 name: "ddyymm";
6049                                 signal: "elm,state,ddyymm";
6050                                 source: "elm";
6051                                 action: STATE_SET "ddyymm" 0.0;
6052                                 target: "elm.swallow.year";
6053                                 target: "elm.swallow.mon";
6054                                 target: "elm.swallow.day";
6055                         }
6056                         program {
6057                                 name: "ddmmyy";
6058                                 signal: "elm,state,ddmmyy";
6059                                 source: "elm";
6060                                 action: STATE_SET "ddmmyy" 0.0;
6061                                 target: "elm.swallow.year";
6062                                 target: "elm.swallow.mon";
6063                                 target: "elm.swallow.day";
6064                         }
6065                 }
6066         }
6067
6068 ///////////////////////////////////////////////////////////////////////////////
6069         group { name: "elm/datepicker2/base/default";
6070                 images {
6071                         image: "DatePicker_frame_up_bg.9.png" COMP;
6072                 }
6073
6074                 parts {
6075                         part {
6076                                 name: "elm.rect.bg";
6077                                 description {
6078                                         state: "default" 0.0;
6079                                         image.normal: "DatePicker_frame_up_bg.9.png";
6080                                 }
6081                         }
6082
6083                         part {
6084                                 name: "elm.swallow.year";
6085                                 type: SWALLOW;
6086                                 mouse_events: 1;
6087                                 description {
6088                                         state: "default" 0.0;
6089                                         rel1.relative: 0.715 0.03;
6090                                         rel2.relative: 0.96 0.97;
6091                                         visible: 0;
6092                                 }
6093                                 description {
6094                                         state: "ddmmyy" 0.0;
6095                                         inherit: "default" 0.0;
6096                                         visible: 1;
6097                                 }
6098                                 description {
6099                                         state: "mmddyy" 0.0;
6100                                         inherit: "default" 0.0;
6101                                         visible: 1;
6102                                 }
6103                                 description {
6104                                         state: "mmyydd" 0.0;
6105                                         inherit: "default" 0.0;
6106                                         visible: 1;
6107                                         rel1.relative: 0.57 0.03;
6108                                         rel2.relative: 0.815 0.97;
6109                                 }
6110                                 description {
6111                                         state: "ddyymm" 0.0;
6112                                         inherit: "default" 0.0;
6113                                         visible: 1;
6114                                         rel1.relative: 0.185 0.03;
6115                                         rel2.relative: 0.43 0.97;
6116                                 }
6117                                 description {
6118                                         state: "yyddmm" 0.0;
6119                                         inherit: "default" 0.0;
6120                                         visible: 1;
6121                                         rel1.relative: 0.04 0.03;
6122                                         rel2.relative: 0.285 0.97;
6123                                 }
6124                                 description {
6125                                         state: "yymmdd" 0.0;
6126                                         inherit: "default" 0.0;
6127                                         visible: 1;
6128                                         rel1.relative: 0.04 0.03;
6129                                         rel2.relative: 0.285 0.97;
6130                                 }
6131                         }
6132
6133                         part {
6134                                 name: "elm.swallow.mon";
6135                                 type: SWALLOW;
6136                                 mouse_events: 1;
6137                                 description {
6138                                         state: "default" 0.0;
6139                                         rel1.relative: 0.185 0.03;
6140                                         rel2.relative: 0.715 0.97;
6141                                         visible: 0;
6142                                 }
6143                                 description {
6144                                         state: "ddmmyy" 0.0;
6145                                         inherit: "default" 0.0;
6146                                         visible: 1;
6147                                 }
6148                                 description {
6149                                         state: "mmddyy" 0.0;
6150                                         inherit: "default" 0.0;
6151                                         rel1.relative: 0.04 0.03;
6152                                         rel2.relative: 0.57 0.97;
6153                                         visible: 1;
6154                                 }
6155                                 description {
6156                                         state: "mmyydd" 0.0;
6157                                         inherit: "default" 0.0;
6158                                         visible: 1;
6159                                         rel1.relative: 0.04 0.03;
6160                                         rel2.relative: 0.57 0.97;
6161                                 }
6162                                 description {
6163                                         state: "ddyymm" 0.0;
6164                                         inherit: "default" 0.0;
6165                                         visible: 1;
6166                                         rel1.relative: 0.43 0.03;
6167                                         rel2.relative: 0.96 0.97;
6168                                 }
6169                                 description {
6170                                         state: "yyddmm" 0.0;
6171                                         inherit: "default" 0.0;
6172                                         visible: 1;
6173                                         rel1.relative: 0.43 0.03;
6174                                         rel2.relative: 0.96 0.97;
6175                                 }
6176                                 description {
6177                                         state: "yymmdd" 0.0;
6178                                         inherit: "default" 0.0;
6179                                         visible: 1;
6180                                         rel1.relative: 0.285 0.03;
6181                                         rel2.relative: 0.815 0.97;
6182                                 }
6183                         }
6184
6185                         part {
6186                                 name: "elm.swallow.day";
6187                                 type: SWALLOW;
6188                                 mouse_events: 1;
6189                                 description {
6190                                         state: "default" 0.0;
6191                                         rel1.relative: 0.04 0.03;
6192                                         rel2.relative: 0.185 0.97;
6193                                         visible: 0;
6194                                 }
6195                                 description {
6196                                         state: "ddmmyy" 0.0;
6197                                         inherit: "default" 0.0;
6198                                         visible: 1;
6199                                 }
6200                                 description {
6201                                         state: "mmddyy" 0.0;
6202                                         inherit: "default" 0.0;
6203                                         rel1.relative: 0.57 0.03;
6204                                         rel2.relative: 0.715 0.97;
6205                                         visible: 1;
6206                                 }
6207                                 description {
6208                                         state: "mmyydd" 0.0;
6209                                         inherit: "default" 0.0;
6210                                         rel1.relative: 0.815 0.03;
6211                                         rel2.relative: 0.96 0.97;
6212                                         visible: 1;
6213                                 }
6214                                 description {
6215                                         state: "ddyymm" 0.0;
6216                                         inherit: "default" 0.0;
6217                                         visible: 1;
6218                                         rel1.relative: 0.04 0.03;
6219                                         rel2.relative: 0.185 0.97;
6220                                 }
6221                                 description {
6222                                         state: "yyddmm" 0.0;
6223                                         inherit: "default" 0.0;
6224                                         visible: 1;
6225                                         rel1.relative: 0.285 0.03;
6226                                         rel2.relative: 0.43 0.97;
6227                                 }
6228                                 description {
6229                                         state: "yymmdd" 0.0;
6230                                         inherit: "default" 0.0;
6231                                         visible: 1;
6232                                         rel1.relative: 0.815 0.03;
6233                                         rel2.relative: 0.96 0.97;
6234                                 }
6235                         }
6236
6237                 }
6238
6239                 programs {
6240                         program {
6241                                 name: "yymmdd";
6242                                 signal: "elm,state,yymmdd";
6243                                 source: "elm";
6244                                 action: STATE_SET "yymmdd" 0.0;
6245                                 target: "elm.swallow.year";
6246                                 target: "elm.swallow.mon";
6247                                 target: "elm.swallow.day";
6248                         }
6249                         program {
6250                                 name: "yyddmm";
6251                                 signal: "elm,state,yyddmm";
6252                                 source: "elm";
6253                                 action: STATE_SET "yyddmm" 0.0;
6254                                 target: "elm.swallow.year";
6255                                 target: "elm.swallow.mon";
6256                                 target: "elm.swallow.day";
6257                         }
6258                         program {
6259                                 name: "mmyydd";
6260                                 signal: "elm,state,mmyydd";
6261                                 source: "elm";
6262                                 action: STATE_SET "mmyydd" 0.0;
6263                                 target: "elm.swallow.year";
6264                                 target: "elm.swallow.mon";
6265                                 target: "elm.swallow.day";
6266                         }
6267                         program {
6268                                 name: "mmddyy";
6269                                 signal: "elm,state,mmddyy";
6270                                 source: "elm";
6271                                 action: STATE_SET "mmddyy" 0.0;
6272                                 target: "elm.swallow.year";
6273                                 target: "elm.swallow.mon";
6274                                 target: "elm.swallow.day";
6275                         }
6276                         program {
6277                                 name: "ddyymm";
6278                                 signal: "elm,state,ddyymm";
6279                                 source: "elm";
6280                                 action: STATE_SET "ddyymm" 0.0;
6281                                 target: "elm.swallow.year";
6282                                 target: "elm.swallow.mon";
6283                                 target: "elm.swallow.day";
6284                         }
6285                         program {
6286                                 name: "ddmmyy";
6287                                 signal: "elm,state,ddmmyy";
6288                                 source: "elm";
6289                                 action: STATE_SET "ddmmyy" 0.0;
6290                                 target: "elm.swallow.year";
6291                                 target: "elm.swallow.mon";
6292                                 target: "elm.swallow.day";
6293                         }
6294                 }
6295         }
6296 ///////////////////////////////////////////////////////////////////////////////
6297         group { name: "elm/discpicker/base/default";
6298                 images {
6299                         image: "DatePicker_frame_up.9.png" COMP;
6300                 }
6301
6302                 parts {
6303                         part {
6304                                 name: "elm.base";
6305                                 type: RECT;
6306                                 description {
6307                                         state: "default" 0.0;
6308                                         color: 0 0 0 0;
6309                                 }
6310                         }
6311
6312                         part {
6313                                 name: "elm.bg";
6314                                 mouse_events: 1;
6315                                 description {
6316                                         state: "default" 0.0;
6317                                         rel1.to: "elm.base";
6318                                         rel2.to: "elm.base";
6319                                         image.normal: "DatePicker_frame_up.9.png";
6320                                         image.border: 4 4 4 4;
6321                                 }
6322                         }
6323                 }
6324         }
6325
6326         group { name: "elm/discpicker/item/base/default";
6327                 parts {
6328                         part { name: "elm.label";
6329                                 type: TEXT;
6330                                 mouse_events: 0;
6331                                 scale: 1;
6332                                 description { state: "default" 0.0;
6333                                         align: 0.5 0.5;
6334                                         color: 0 0 0 255;
6335                                         text {
6336                                                 font: "SLP:style=Bold";
6337                                                 size: 35;
6338                                                 align: 0.5 0.5;
6339                                                 min: 1 1;
6340                                         }
6341                                 }
6342                                 description { state: "selected" 0.0;
6343                                         inherit: "default" 0.0;
6344                                         color:  0 0 139 255;
6345                                 }
6346                                 description { state: "disabled" 0.0;
6347                                         inherit: "default" 0.0;
6348                                         color:  170 170 170 255;
6349                                 }
6350                         }
6351                 }
6352
6353                 programs {
6354                         program {
6355                                 name: "unselect";
6356                                 signal: "elm,item,unselected";
6357                                 source: "elm";
6358                                 action: STATE_SET "default" 0.0;
6359                                 target: "elm.label";
6360                         }
6361                         program {
6362                                 name: "select";
6363                                 signal: "elm,item,selected";
6364                                 source: "elm";
6365                                 action: STATE_SET "selected" 0.0;
6366                                 target: "elm.label";
6367                         }
6368
6369                         program {
6370                                 name: "disable";
6371                                 signal: "elm,item,disabled";
6372                                 source: "elm";
6373                                 action: STATE_SET "disabled" 0.0;
6374                                 target: "elm.label";
6375                         }
6376                         // FIXME: plz check item is selected or not
6377                         program {
6378                                 name: "enable";
6379                                 signal: "elm,item,enabled";
6380                                 source: "elm";
6381                                 action: STATE_SET "default" 0.0;
6382                                 target: "elm.label";
6383                         }
6384                 }
6385         }
6386
6387         group { name: "elm/discpicker/indicator/base/default";
6388                 images {
6389                         image: "DatePicker_frame_center.9.png" COMP;
6390                 }
6391
6392                 parts {
6393                         part { name: "elm.label";
6394                                 description {
6395                                         state: "default" 0.0;
6396                                         image.normal: "DatePicker_frame_center.9.png";
6397                                         image.border: 3 3 10 20;
6398                                 }
6399                         }
6400                 }
6401         }
6402
6403 ////////////////////////////////////////////////////////////////////////////////////////
6404 //
6405 // check default textblock style
6406 //
6407 ///////////////////////////////////////////////////////////////////////////////////////
6408         styles {
6409                 style { name: "check_label_textblock_style";
6410                         base: "font=SLP:style=Roman font_size="CHECK_DEFAULT_TEXT_FONT_SIZE_INC" color=#ffffff wrap=char";
6411                         tag: "br" "\n";
6412                         tag: "ps" "ps";
6413                         tag: "hilight" "+ font=SLP:style=Bold";
6414                         tag: "b" "+ font=SLP:style=Bold";
6415                         tag: "whitecolor" "+ color=#ffffff";
6416                         tag: "tab" "\t";
6417                 }
6418         }
6419
6420 ////////////////////////////////////////////////////////////////////////////////////////
6421 //
6422 // check default with small touch area style
6423 //
6424 ///////////////////////////////////////////////////////////////////////////////////////
6425
6426         group {
6427                 name: "elm/check/base/default-small-touch";
6428
6429                 images {
6430                         image: "01_check_bg.png" COMP;
6431                         image: "01_check_select_icon.png" COMP;
6432                 }
6433
6434                 parts {
6435                         part {
6436                                 name: "back_bg";
6437                                 mouse_events: 0;
6438                                 type: RECT;
6439                                 scale: 1;
6440                                 description {
6441                                         state: "default" 0.0;
6442                                         rel1 { relative: 0.0 0.0; offset: 1 1; }
6443                                         rel2 { relative: 0.0 1.0; offset: 1 -2; }
6444                                         align: 0 0.5;
6445                                         min: 50 50;
6446                                         fixed: 1 1;
6447                                         aspect: 1.0 1.0;
6448                                         aspect_preference: VERTICAL;
6449                                         color: 0 0 0 0;
6450                                 }
6451                         }
6452                         part {
6453                                 name: "bg";
6454                                 mouse_events: 0;
6455                                 scale: 1;
6456                                 description {
6457                                         state: "default" 0.0;
6458                                         rel1 { relative: 0 0; offset: 1 1; to: "back_bg"; }
6459                                         rel2 { relative: 1 1; offset: 1 -2; to: "back_bg"; }
6460                                         align: 0.5 0.5;
6461                                         min: 50 50;
6462                                         max: 50 50;
6463                                         aspect: 1.0 1.0;
6464                                         aspect_preference: VERTICAL;
6465                                         image {
6466                                                 normal: "01_check_bg.png";
6467                                                 border: 1 1 1 1;
6468                                                 middle: 1;
6469                                         }
6470                                         fill.smooth : 0;
6471                                 }
6472                         }
6473                         part {
6474                                 name: "check";
6475                                 mouse_events: 0;
6476                                 scale: 1;
6477                                 description {
6478                                         state: "default" 0.0;
6479                                         rel1 { offset: 0 0; to: "bg"; }
6480                                         rel2 { offset: -2 -2; to: "bg"; }
6481                                         visible: 0;
6482                                         image.normal: "01_check_select_icon.png";
6483                                 }
6484                                 description {
6485                                         state: "visible" 0.0;
6486                                         inherit: "default" 0.0;
6487                                         visible: 1;
6488                                 }
6489                                 description {
6490                                         state: "disabled" 0.0;
6491                                         inherit: "default" 0.0;
6492                                         visible: 0;
6493                                         color: 128 128 128 128;
6494                                 }
6495                                 description {
6496                                         state: "disabled_visible" 0.0;
6497                                         inherit: "default" 0.0;
6498                                         color: 128 128 128 128;
6499                                         visible: 1;
6500                                 }
6501                         }
6502                         part {
6503                                 name: "elm.swallow.content";
6504                                 type: SWALLOW;
6505                                 description {
6506                                         state: "default" 0.0;
6507                                         fixed: 1 0;
6508                                         visible: 0;
6509                                         color: 255 255 255 255;
6510                                         align: 0.0 0.5;
6511                                         rel1 { relative: 1.0 0.0; offset: 1 1; to_x: "bg"; }
6512                                         rel2 { relative: 1.0 1.0; offset: 2 -2; to_x: "bg"; }
6513                                 }
6514                                 description {
6515                                         state: "visible" 0.0;
6516                                         inherit: "default" 0.0;
6517                                         fixed: 1 1;
6518                                         visible: 1;
6519                                         aspect: 1.0 1.0;
6520                                         aspect_preference: VERTICAL;
6521                                 }
6522                                 description {
6523                                         state: "disabled" 0.0;
6524                                         inherit: "default" 0.0;
6525                                         color: 128 128 128 128;
6526                                 }
6527                                 description {
6528                                         state: "disabled_visible" 0.0;
6529                                         inherit: "default" 0.0;
6530                                         color: 128 128 128 128;
6531                                         fixed: 1 1;
6532                                         visible: 1;
6533                                         aspect: 1.0 1.0;
6534                                 }
6535                         }
6536                         part {
6537                                 name: "elm.text";
6538                                 type: TEXTBLOCK;
6539                                 mouse_events: 0;
6540                                 scale: 1;
6541                                 description {
6542                                         state: "default" 0.0;
6543                                         visible: 0;
6544                                         fixed: 0 1;
6545                                         rel1 { relative: 1.0 0.5; offset: 1 1; to_x: "elm.swallow.content"; }
6546                                         rel2 { relative: 1.0 0.5; offset: -2 -2; }
6547                                         color: 255 255 255 255;
6548                                         align: 0.0 0.5;
6549                                         text {
6550                                                 style: "check_label_textblock_style";
6551                                                 min: 0 0;
6552                                         }
6553                color: CHECK_DEFAULT_TEXT_NORMAL_COLOR_INC;
6554                                 }
6555                                 description {
6556                                         state: "visible" 0.0;
6557                                         inherit: "default" 0.0;
6558                                         text.min: 1 1;
6559                                         visible: 1;
6560                                 }
6561                                 description {
6562                                         state: "disabled" 0.0;
6563                                         inherit: "default" 0.0;
6564                                         color: 0 0 0 128;
6565                                         color3: 0 0 0 0;
6566                                 }
6567                                 description {
6568                                         state: "disabled_visible" 0.0;
6569                                         inherit: "default" 0.0;
6570                                         color: 0 0 0 128;
6571                                         color3: 0 0 0 0;
6572                                         visible: 1;
6573                                         text.min: 1 1;
6574                                 }
6575                         }
6576                         part {
6577                                 name: "events";
6578                                 type: RECT;
6579                                 ignore_flags: ON_HOLD;
6580                                 description {
6581                                         state: "default" 0.0;
6582                                         rel1 { to: "back_bg"; }
6583                                         rel2 { to: "back_bg"; }
6584                                         color: 0 0 0 0;
6585                                 }
6586                         }
6587                         part {
6588                                 name: "disabler";
6589                                 type: RECT;
6590                                 description {
6591                                         state: "default" 0.0;
6592                                         color: 0 0 0 0;
6593                                         visible: 0;
6594                                 }
6595                                 description {
6596                                         state: "disabled" 0.0;
6597                                 inherit: "default" 0.0;
6598                                 visible: 1;
6599                                 }
6600                         }
6601                 }
6602                 programs {
6603                         program {
6604                                 name: "click";
6605                                 signal: "mouse,up,1";
6606                                 source: "events";
6607                                 action: SIGNAL_EMIT "elm,action,check,toggle" "";
6608                         }
6609                         program {
6610                                 name: "check_on";
6611                                 signal: "elm,state,check,on";
6612                                 source: "elm";
6613                                 action: STATE_SET "visible" 0.0;
6614                                 target: "check";
6615                         }
6616                         program {
6617                                 name: "check_off";
6618                                 signal: "elm,state,check,off";
6619                                 source: "elm";
6620                                 action: STATE_SET "default" 0.0;
6621                                 target: "check";
6622                         }
6623                         program {
6624                                 name: "text_show";
6625                                 signal: "elm,state,text,visible";
6626                                 source: "elm";
6627                                 action: STATE_SET "visible" 0.0;
6628                                 target: "elm.text";
6629                         }
6630                         program {
6631                                 name: "text_hide";
6632                                 signal: "elm,state,text,hidden";
6633                                 source: "elm";
6634                                 action: STATE_SET "default" 0.0;
6635                                 target: "elm.text";
6636                         }
6637                         program {
6638                                 name: "icon_show";
6639                                 signal: "elm,state,icon,visible";
6640                                 source: "elm";
6641                                 action: STATE_SET "visible" 0.0;
6642                                 target: "elm.swallow.content";
6643                         }
6644                         program {
6645                                 name: "icon_hide";
6646                                 signal: "elm,state,icon,hidden";
6647                                 source: "elm";
6648                                 action: STATE_SET "default" 0.0;
6649                                 target: "elm.swallow.content";
6650                         }
6651                         program {
6652                                 name: "disable";
6653                                 signal: "elm,state,disabled";
6654                                 source: "elm";
6655                                 action: STATE_SET "disabled" 0.0;
6656                                 target: "disabler";
6657                                 after: "disable_text";
6658                         }
6659                         program {
6660                                 name: "disable_text";
6661                                 script {
6662                                         new st[31];
6663                                         new Float:vl;
6664                                         get_state(PART:"elm.text", st, 30, vl);
6665                                         if (!strcmp(st, "visible"))
6666                                                 set_state(PART:"elm.text", "disabled_visible", 0.0);
6667                                         else
6668                                                 set_state(PART:"elm.text", "disabled", 0.0);
6669
6670                                         get_state(PART:"elm.swallow.content", st, 30, vl);
6671                                         if (!strcmp(st, "visible"))
6672                                                 set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
6673                                         else
6674                                                 set_state(PART:"elm.swallow.content", "disabled", 0.0);
6675
6676                                         get_state(PART:"check", st, 30, vl);
6677                                         if (!strcmp(st, "visible"))
6678                                                 set_state(PART:"check", "disabled_visible", 0.0);
6679                                         else
6680                                                 set_state(PART:"check", "disabled", 0.0);
6681                                 }
6682                         }
6683                         program {
6684                                 name: "enable";
6685                                 signal: "elm,state,enabled";
6686                                 source: "elm";
6687                                 action: STATE_SET "default" 0.0;
6688                                 target: "disabler";
6689                                 after: "enable_text";
6690                         }
6691                         program {
6692                                 name: "enable_text";
6693                                 script {
6694                                         new st[31];
6695                                         new Float:vl;
6696                                         get_state(PART:"elm.text", st, 30, vl);
6697                                         if (!strcmp(st, "disabled_visible"))
6698                                                 set_state(PART:"elm.text", "visible", 0.0);
6699                                         else
6700                                                 set_state(PART:"elm.text", "default", 0.0);
6701
6702                                         get_state(PART:"elm.swallow.content", st, 30, vl);
6703                                         if (!strcmp(st, "visible"))
6704                                                 set_state(PART:"elm.swallow.content", "visible", 0.0);
6705                                         else
6706                                                 set_state(PART:"elm.swallow.content", "default", 0.0);
6707
6708                                         get_state(PART:"check", st, 30, vl);
6709                                         if (!strcmp(st, "visible"))
6710                                                 set_state(PART:"check", "visible", 0.0);
6711                                         else
6712                                                 set_state(PART:"check", "default", 0.0);
6713                                 }
6714                         }
6715                 }
6716         }
6717
6718
6719 ////////////////////////////////////////////////////////////////////////////////////////
6720 //
6721 // check default-divided style
6722 //
6723 ///////////////////////////////////////////////////////////////////////////////////////
6724         group {
6725                 name: "elm/check/base/default-divided";
6726
6727                 images {
6728                         image: "01_button_on_lighting.png" COMP;
6729                         image: "01_check_bg.png" COMP;
6730                         image: "01_check_select_icon.png" COMP;
6731                 }
6732
6733                 parts {
6734                         part {
6735                                 name: "back_bg";
6736                                 mouse_events: 0;
6737                                 scale: 1;
6738                                 description {
6739                                         state: "default" 0.0;
6740                                         rel1 { relative: 0.0 0.0; offset: 1 1; }
6741                                         rel2 { relative: 0.0 1.0; offset: 1 -2; }
6742                                         align: 0 0.5;
6743                                         min: 93 92;
6744                                         fixed: 1 1;
6745                                         aspect: 1.0 1.0;
6746                                         aspect_preference: VERTICAL;
6747                                         image {
6748                                                 normal: "01_button_on_lighting.png";
6749                                                 border: 0 0 0 0;
6750                                                 middle: 1;
6751                                         }
6752                                         fill.smooth : 0;
6753                                 }
6754                         }
6755                         part {
6756                                 name: "bg";
6757                                 mouse_events: 0;
6758                                 scale: 1;
6759                                 description {
6760                                         state: "default" 0.0;
6761                                         rel1 { relative: 0 0; offset: 1 1; to: "back_bg"; }
6762                                         rel2 { relative: 1 1; offset: 1 -2; to: "back_bg"; }
6763                                         align: 0.5 0.5;
6764                                         min: 50 50;
6765                                         max: 50 50;
6766                                         aspect: 1.0 1.0;
6767                                         aspect_preference: VERTICAL;
6768                                         image {
6769                                                 normal: "01_check_bg.png";
6770                                                 border: 5 5 5 5;
6771                                                 middle: 1;
6772                                         }
6773                                         fill.smooth : 0;
6774                                 }
6775                         }
6776                         part {
6777                                 name: "check";
6778                                 mouse_events: 0;
6779                                 scale: 1;
6780                                 description {
6781                                         state: "default" 0.0;
6782                                         rel1 { offset: 0 0; to: "bg"; }
6783                                         rel2 { offset: -2 -2; to: "bg"; }
6784                                         visible: 0;
6785                                         image.normal: "01_check_select_icon.png";
6786                                 }
6787                                 description {
6788                                         state: "visible" 0.0;
6789                                         inherit: "default" 0.0;
6790                                         visible: 1;
6791                                 }
6792                                 description {
6793                                         state: "disabled" 0.0;
6794                                         inherit: "default" 0.0;
6795                                         visible: 0;
6796                                         color: 128 128 128 128;
6797                                 }
6798                                 description {
6799                                         state: "disabled_visible" 0.0;
6800                                         inherit: "default" 0.0;
6801                                         color: 128 128 128 128;
6802                                         visible: 1;
6803                                 }
6804                         }
6805                         part {
6806                                 name: "elm.swallow.content";
6807                                 type: SWALLOW;
6808                                 description {
6809                                         state: "default" 0.0;
6810                                         fixed: 1 0;
6811                                         visible: 0;
6812                                         color: 255 255 255 255;
6813                                         align: 0.0 0.5;
6814                                         rel1 { relative: 1.0 0.0; offset: 1 1; to_x: "bg"; }
6815                                         rel2 { relative: 1.0 1.0; offset: 2 -2; to_x: "bg"; }
6816                                 }
6817                                 description {
6818                                         state: "visible" 0.0;
6819                                         inherit: "default" 0.0;
6820                                         fixed: 1 1;
6821                                         visible: 1;
6822                                         aspect: 1.0 1.0;
6823                                         aspect_preference: VERTICAL;
6824                                 }
6825                                 description {
6826                                         state: "disabled" 0.0;
6827                                         inherit: "default" 0.0;
6828                                         color: 128 128 128 128;
6829                                 }
6830                                 description {
6831                                         state: "disabled_visible" 0.0;
6832                                         inherit: "default" 0.0;
6833                                         color: 128 128 128 128;
6834                                         fixed: 1 1;
6835                                         visible: 1;
6836                                         aspect: 1.0 1.0;
6837                                 }
6838                         }
6839                         part {
6840                                 name: "elm.text";
6841                                 type: TEXTBLOCK;
6842                                 mouse_events: 0;
6843                                 scale: 1;
6844                                 description {
6845                                         state: "default" 0.0;
6846                                         visible: 0;
6847                                         fixed: 0 1;
6848                                         rel1 { relative: 1.0 0.5; offset: 1 1; to_x: "elm.swallow.content"; }
6849                                         rel2 { relative: 1.0 0.5; offset: -2 -2; }
6850                                         color: 255 255 255 255;
6851                                         align: 0.0 0.5;
6852                                         text {
6853                                                 style: "check_label_textblock_style";
6854                                                 min: 0 0;
6855                                         }
6856                color: CHECK_DEFAULT_TEXT_NORMAL_COLOR_INC;
6857                                 }
6858                                 description {
6859                                         state: "visible" 0.0;
6860                                         inherit: "default" 0.0;
6861                                         text.min: 1 1;
6862                                         visible: 1;
6863                                 }
6864                                 description {
6865                                         state: "disabled" 0.0;
6866                                         inherit: "default" 0.0;
6867                                         color: 0 0 0 128;
6868                                         color3: 0 0 0 0;
6869                                 }
6870                                 description {
6871                                         state: "disabled_visible" 0.0;
6872                                         inherit: "default" 0.0;
6873                                         color: 0 0 0 128;
6874                                         color3: 0 0 0 0;
6875                                         visible: 1;
6876                                         text.min: 1 1;
6877                                 }
6878                         }
6879                         part {
6880                                 name: "events";
6881                                 type: RECT;
6882                                 ignore_flags: ON_HOLD;
6883                                 description {
6884                                         state: "default" 0.0;
6885                                         rel1 { to: "back_bg"; }
6886                                         rel2 { to: "back_bg"; }
6887                                         color: 0 0 0 0;
6888                                 }
6889                         }
6890                         part {
6891                                 name: "disabler";
6892                                 type: RECT;
6893                                 description {
6894                                         state: "default" 0.0;
6895                                         color: 0 0 0 0;
6896                                         visible: 0;
6897                                 }
6898                                 description {
6899                                         state: "disabled" 0.0;
6900                                 inherit: "default" 0.0;
6901                                 visible: 1;
6902                                 }
6903                         }
6904                 }
6905                 programs {
6906                         program {
6907                                 name: "click";
6908                                 signal: "mouse,up,1";
6909                                 source: "events";
6910                                 action: SIGNAL_EMIT "elm,action,check,toggle" "";
6911                         }
6912                         program {
6913                                 name: "check_on";
6914                                 signal: "elm,state,check,on";
6915                                 source: "elm";
6916                                 action: STATE_SET "visible" 0.0;
6917                                 target: "check";
6918                         }
6919                         program {
6920                                 name: "check_off";
6921                                 signal: "elm,state,check,off";
6922                                 source: "elm";
6923                                 action: STATE_SET "default" 0.0;
6924                                 target: "check";
6925                         }
6926                         program {
6927                                 name: "text_show";
6928                                 signal: "elm,state,text,visible";
6929                                 source: "elm";
6930                                 action: STATE_SET "visible" 0.0;
6931                                 target: "elm.text";
6932                         }
6933                         program {
6934                                 name: "text_hide";
6935                                 signal: "elm,state,text,hidden";
6936                                 source: "elm";
6937                                 action: STATE_SET "default" 0.0;
6938                                 target: "elm.text";
6939                         }
6940                         program {
6941                                 name: "icon_show";
6942                                 signal: "elm,state,icon,visible";
6943                                 source: "elm";
6944                                 action: STATE_SET "visible" 0.0;
6945                                 target: "elm.swallow.content";
6946                         }
6947                         program {
6948                                 name: "icon_hide";
6949                                 signal: "elm,state,icon,hidden";
6950                                 source: "elm";
6951                                 action: STATE_SET "default" 0.0;
6952                                 target: "elm.swallow.content";
6953                         }
6954                         program {
6955                                 name: "disable";
6956                                 signal: "elm,state,disabled";
6957                                 source: "elm";
6958                                 action: STATE_SET "disabled" 0.0;
6959                                 target: "disabler";
6960                                 after: "disable_text";
6961                         }
6962                         program {
6963                                 name: "disable_text";
6964                                 script {
6965                                         new st[31];
6966                                         new Float:vl;
6967                                         get_state(PART:"elm.text", st, 30, vl);
6968                                         if (!strcmp(st, "visible"))
6969                                                 set_state(PART:"elm.text", "disabled_visible", 0.0);
6970                                         else
6971                                                 set_state(PART:"elm.text", "disabled", 0.0);
6972
6973                                         get_state(PART:"elm.swallow.content", st, 30, vl);
6974                                         if (!strcmp(st, "visible"))
6975                                                 set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
6976                                         else
6977                                                 set_state(PART:"elm.swallow.content", "disabled", 0.0);
6978
6979                                         get_state(PART:"check", st, 30, vl);
6980                                         if (!strcmp(st, "visible"))
6981                                                 set_state(PART:"check", "disabled_visible", 0.0);
6982                                         else
6983                                                 set_state(PART:"check", "disabled", 0.0);
6984                                 }
6985                         }
6986                         program {
6987                                 name: "enable";
6988                                 signal: "elm,state,enabled";
6989                                 source: "elm";
6990                                 action: STATE_SET "default" 0.0;
6991                                 target: "disabler";
6992                                 after: "enable_text";
6993                         }
6994                         program {
6995                                 name: "enable_text";
6996                                 script {
6997                                         new st[31];
6998                                         new Float:vl;
6999                                         get_state(PART:"elm.text", st, 30, vl);
7000                                         if (!strcmp(st, "disabled_visible"))
7001                                                 set_state(PART:"elm.text", "visible", 0.0);
7002                                         else
7003                                                 set_state(PART:"elm.text", "default", 0.0);
7004
7005                                         get_state(PART:"elm.swallow.content", st, 30, vl);
7006                                         if (!strcmp(st, "visible"))
7007                                                 set_state(PART:"elm.swallow.content", "visible", 0.0);
7008                                         else
7009                                                 set_state(PART:"elm.swallow.content", "default", 0.0);
7010
7011                                         get_state(PART:"check", st, 30, vl);
7012                                         if (!strcmp(st, "visible"))
7013                                                 set_state(PART:"check", "visible", 0.0);
7014                                         else
7015                                                 set_state(PART:"check", "default", 0.0);
7016                                 }
7017                         }
7018                 }
7019         }
7020
7021 ////////////////////////////////////////////////////////////////////////////////////////
7022 //
7023 // check onoff style
7024 //
7025 ///////////////////////////////////////////////////////////////////////////////////////
7026         group {
7027                 name: "elm/check/base/onoff";
7028
7029                 images {
7030                         image: "01_on_off_button.png" COMP;
7031                         image: "01_on_off_button_on.png" COMP;
7032                         image: "01_check_bg.png" COMP;
7033                         image: "01_check_select_icon.png" COMP;
7034                 }
7035
7036                 parts {
7037                         part {
7038                                 name: "back_bg";
7039                                 mouse_events: 0;
7040                                 type: RECT;
7041                                 scale: 1;
7042                                 description {
7043                                         state: "default" 0.0;
7044                                         rel1 { relative: 0.0 0.0; offset: 1 1; }
7045                                         rel2 { relative: 0.0 1.0; offset: 1 -2; }
7046                                         align: 0 0.5;
7047                                         min: 93 92;
7048                                         fixed: 1 1;
7049                                         aspect: 1.0 1.0;
7050                                         aspect_preference: VERTICAL;
7051                                         color: 0 0 0 0;
7052                                 }
7053                         }
7054                         part {
7055                                 name: "check";
7056                                 mouse_events: 0;
7057                                 scale: 1;
7058                                 description {
7059                                         state: "default" 0.0;
7060                                         rel1 { relative: 0 0; offset: 1 1; to: "back_bg"; }
7061                                         rel2 { relative: 1 1; offset: 1 -2; to: "back_bg"; }
7062                                         align: 0.5 0.5;
7063                                         min: 50 50;
7064                                         max: 50 50;
7065                                         aspect: 1.0 1.0;
7066                                         aspect_preference: VERTICAL;
7067                                         image.normal: "01_on_off_button.png";
7068                                 }
7069                                 description {
7070                                         state: "visible" 0.0;
7071                                         inherit: "default" 0.0;
7072                                         image.normal: "01_on_off_button_on.png";
7073                                         visible: 1;
7074                                 }
7075                                 description {
7076                                         state: "disabled" 0.0;
7077                                         inherit: "default" 0.0;
7078                                         visible: 0;
7079                                         color: 128 128 128 128;
7080                                 }
7081                                 description {
7082                                         state: "disabled_visible" 0.0;
7083                                         inherit: "default" 0.0;
7084                                         color: 128 128 128 128;
7085                                         visible: 1;
7086                                 }
7087                         }
7088                         part {
7089                                 name: "elm.swallow.content";
7090                                 type: SWALLOW;
7091                                 description {
7092                                         state: "default" 0.0;
7093                                         fixed: 1 0;
7094                                         visible: 0;
7095                                         color: 255 255 255 255;
7096                                         align: 0.0 0.5;
7097                                         rel1 { relative: 1.0 0.0; offset: 1 1; to_x: "check"; }
7098                                         rel2 { relative: 1.0 1.0; offset: 2 -2; to_x: "check"; }
7099                                 }
7100                                 description {
7101                                         state: "visible" 0.0;
7102                                         inherit: "default" 0.0;
7103                                         fixed: 1 1;
7104                                         visible: 1;
7105                                         aspect: 1.0 1.0;
7106                                         aspect_preference: VERTICAL;
7107                                 }
7108                                 description {
7109                                         state: "disabled" 0.0;
7110                                         inherit: "default" 0.0;
7111                                         color: 128 128 128 128;
7112                                 }
7113                                 description {
7114                                         state: "disabled_visible" 0.0;
7115                                         inherit: "default" 0.0;
7116                                         color: 128 128 128 128;
7117                                         fixed: 1 1;
7118                                         visible: 1;
7119                                         aspect: 1.0 1.0;
7120                                 }
7121                         }
7122                         part {
7123                                 name: "elm.text";
7124                                 type: TEXTBLOCK;
7125                                 mouse_events: 0;
7126                                 scale: 1;
7127                                 description {
7128                                         state: "default" 0.0;
7129                                         visible: 0;
7130                                         fixed: 0 1;
7131                                         rel1 { relative: 1.0 0.5; offset: 1 1; to_x: "elm.swallow.content"; }
7132                                         rel2 { relative: 1.0 0.5; offset: -2 -2; }
7133                                         color: 255 255 255 255;
7134                                         align: 0.0 0.5;
7135                                         text {
7136                                                 style: "check_label_textblock_style";
7137                                                 min: 0 0;
7138                                         }
7139                color: CHECK_DEFAULT_TEXT_NORMAL_COLOR_INC;
7140                                 }
7141                                 description {
7142                                         state: "visible" 0.0;
7143                                         inherit: "default" 0.0;
7144                                         text.min: 1 1;
7145                                         visible: 1;
7146                                 }
7147                                 description {
7148                                         state: "disabled" 0.0;
7149                                         inherit: "default" 0.0;
7150                                         color: 0 0 0 128;
7151                                         color3: 0 0 0 0;
7152                                 }
7153                                 description {
7154                                         state: "disabled_visible" 0.0;
7155                                         inherit: "default" 0.0;
7156                                         color: 0 0 0 128;
7157                                         color3: 0 0 0 0;
7158                                         visible: 1;
7159                                         text.min: 1 1;
7160                                 }
7161                         }
7162                         part {
7163                                 name: "events";
7164                                 type: RECT;
7165                                 ignore_flags: ON_HOLD;
7166                                 description {
7167                                         state: "default" 0.0;
7168                                         rel1 { to: "back_bg"; }
7169                                         rel2 { to: "back_bg"; }
7170                                         color: 0 0 0 0;
7171                                 }
7172                         }
7173                         part {
7174                                 name: "disabler";
7175                                 type: RECT;
7176                                 description {
7177                                         state: "default" 0.0;
7178                                         color: 0 0 0 0;
7179                                         visible: 0;
7180                                 }
7181                                 description {
7182                                         state: "disabled" 0.0;
7183                                 inherit: "default" 0.0;
7184                                 visible: 1;
7185                                 }
7186                         }
7187                 }
7188                 programs {
7189                         program {
7190                                 name: "click";
7191                                 signal: "mouse,up,1";
7192                                 source: "events";
7193                                 action: SIGNAL_EMIT "elm,action,check,toggle" "";
7194                         }
7195                         program {
7196                                 name: "check_on";
7197                                 signal: "elm,state,check,on";
7198                                 source: "elm";
7199                                 action: STATE_SET "visible" 0.0;
7200                                 target: "check";
7201                         }
7202                         program {
7203                                 name: "check_off";
7204                                 signal: "elm,state,check,off";
7205                                 source: "elm";
7206                                 action: STATE_SET "default" 0.0;
7207                                 target: "check";
7208                         }
7209                         program {
7210                                 name: "text_show";
7211                                 signal: "elm,state,text,visible";
7212                                 source: "elm";
7213                                 action: STATE_SET "visible" 0.0;
7214                                 target: "elm.text";
7215                         }
7216                         program {
7217                                 name: "text_hide";
7218                                 signal: "elm,state,text,hidden";
7219                                 source: "elm";
7220                                 action: STATE_SET "default" 0.0;
7221                                 target: "elm.text";
7222                         }
7223                         program {
7224                                 name: "icon_show";
7225                                 signal: "elm,state,icon,visible";
7226                                 source: "elm";
7227                                 action: STATE_SET "visible" 0.0;
7228                                 target: "elm.swallow.content";
7229                         }
7230                         program {
7231                                 name: "icon_hide";
7232                                 signal: "elm,state,icon,hidden";
7233                                 source: "elm";
7234                                 action: STATE_SET "default" 0.0;
7235                                 target: "elm.swallow.content";
7236                         }
7237                         program {
7238                                 name: "disable";
7239                                 signal: "elm,state,disabled";
7240                                 source: "elm";
7241                                 action: STATE_SET "disabled" 0.0;
7242                                 target: "disabler";
7243                                 after: "disable_text";
7244                         }
7245                         program {
7246                                 name: "disable_text";
7247                                 script {
7248                                         new st[31];
7249                                         new Float:vl;
7250                                         get_state(PART:"elm.text", st, 30, vl);
7251                                         if (!strcmp(st, "visible"))
7252                                                 set_state(PART:"elm.text", "disabled_visible", 0.0);
7253                                         else
7254                                                 set_state(PART:"elm.text", "disabled", 0.0);
7255
7256                                         get_state(PART:"elm.swallow.content", st, 30, vl);
7257                                         if (!strcmp(st, "visible"))
7258                                                 set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
7259                                         else
7260                                                 set_state(PART:"elm.swallow.content", "disabled", 0.0);
7261
7262                                         get_state(PART:"check", st, 30, vl);
7263                                         if (!strcmp(st, "visible"))
7264                                                 set_state(PART:"check", "disabled_visible", 0.0);
7265                                         else
7266                                                 set_state(PART:"check", "disabled", 0.0);
7267                                 }
7268                         }
7269                         program {
7270                                 name: "enable";
7271                                 signal: "elm,state,enabled";
7272                                 source: "elm";
7273                                 action: STATE_SET "default" 0.0;
7274                                 target: "disabler";
7275                                 after: "enable_text";
7276                         }
7277                         program {
7278                                 name: "enable_text";
7279                                 script {
7280                                         new st[31];
7281                                         new Float:vl;
7282                                         get_state(PART:"elm.text", st, 30, vl);
7283                                         if (!strcmp(st, "disabled_visible"))
7284                                                 set_state(PART:"elm.text", "visible", 0.0);
7285                                         else
7286                                                 set_state(PART:"elm.text", "default", 0.0);
7287
7288                                         get_state(PART:"elm.swallow.content", st, 30, vl);
7289                                         if (!strcmp(st, "visible"))
7290                                                 set_state(PART:"elm.swallow.content", "visible", 0.0);
7291                                         else
7292                                                 set_state(PART:"elm.swallow.content", "default", 0.0);
7293
7294                                         get_state(PART:"check", st, 30, vl);
7295                                         if (!strcmp(st, "visible"))
7296                                                 set_state(PART:"check", "visible", 0.0);
7297                                         else
7298                                                 set_state(PART:"check", "default", 0.0);
7299                                 }
7300                         }
7301                 }
7302         }
7303
7304 ////////////////////////////////////////////////////////////////////////////////////////
7305 //
7306 // check onoff with small touch area style
7307 //
7308 ///////////////////////////////////////////////////////////////////////////////////////
7309         group {
7310                 name: "elm/check/base/onoff-small-touch";
7311
7312                 images {
7313                         image: "01_on_off_button.png" COMP;
7314                         image: "01_on_off_button_on.png" COMP;
7315                         image: "01_check_bg.png" COMP;
7316                         image: "01_check_select_icon.png" COMP;
7317                 }
7318
7319                 parts {
7320                         part {
7321                                 name: "back_bg";
7322                                 mouse_events: 0;
7323                                 type: RECT;
7324                                 scale: 1;
7325                                 description {
7326                                         state: "default" 0.0;
7327                                         rel1 { relative: 0.0 0.0; offset: 1 1; }
7328                                         rel2 { relative: 0.0 1.0; offset: 1 -2; }
7329                                         align: 0 0.5;
7330                                         min: 50 50;
7331                                         fixed: 1 1;
7332                                         aspect: 1.0 1.0;
7333                                         aspect_preference: VERTICAL;
7334                                         color: 0 0 0 0;
7335                                 }
7336                         }
7337                         part {
7338                                 name: "check";
7339                                 mouse_events: 0;
7340                                 scale: 1;
7341                                 description {
7342                                         state: "default" 0.0;
7343                                         rel1 { relative: 0 0; offset: 1 1; to: "back_bg"; }
7344                                         rel2 { relative: 1 1; offset: 1 -2; to: "back_bg"; }
7345                                         align: 0.5 0.5;
7346                                         min: 50 50;
7347                                         max: 50 50;
7348                                         aspect: 1.0 1.0;
7349                                         aspect_preference: VERTICAL;
7350                                         image.normal: "01_on_off_button.png";
7351                                 }
7352                                 description {
7353                                         state: "visible" 0.0;
7354                                         inherit: "default" 0.0;
7355                                         image.normal: "01_on_off_button_on.png";
7356                                         visible: 1;
7357                                 }
7358                                 description {
7359                                         state: "disabled" 0.0;
7360                                         inherit: "default" 0.0;
7361                                         visible: 0;
7362                                         color: 128 128 128 128;
7363                                 }
7364                                 description {
7365                                         state: "disabled_visible" 0.0;
7366                                         inherit: "default" 0.0;
7367                                         color: 128 128 128 128;
7368                                         visible: 1;
7369                                 }
7370                         }
7371                         part {
7372                                 name: "elm.swallow.content";
7373                                 type: SWALLOW;
7374                                 description {
7375                                         state: "default" 0.0;
7376                                         fixed: 1 0;
7377                                         visible: 0;
7378                                         color: 255 255 255 255;
7379                                         align: 0.0 0.5;
7380                                         rel1 { relative: 1.0 0.0; offset: 1 1; to_x: "check"; }
7381                                         rel2 { relative: 1.0 1.0; offset: 2 -2; to_x: "check"; }
7382                                 }
7383                                 description {
7384                                         state: "visible" 0.0;
7385                                         inherit: "default" 0.0;
7386                                         fixed: 1 1;
7387                                         visible: 1;
7388                                         aspect: 1.0 1.0;
7389                                         aspect_preference: VERTICAL;
7390                                 }
7391                                 description {
7392                                         state: "disabled" 0.0;
7393                                         inherit: "default" 0.0;
7394                                         color: 128 128 128 128;
7395                                 }
7396                                 description {
7397                                         state: "disabled_visible" 0.0;
7398                                         inherit: "default" 0.0;
7399                                         color: 128 128 128 128;
7400                                         fixed: 1 1;
7401                                         visible: 1;
7402                                         aspect: 1.0 1.0;
7403                                 }
7404                         }
7405                         part {
7406                                 name: "elm.text";
7407                                 type: TEXTBLOCK;
7408                                 mouse_events: 0;
7409                                 scale: 1;
7410                                 description {
7411                                         state: "default" 0.0;
7412                                         visible: 0;
7413                                         fixed: 0 1;
7414                                         rel1 { relative: 1.0 0.5; offset: 1 1; to_x: "elm.swallow.content"; }
7415                                         rel2 { relative: 1.0 0.5; offset: -2 -2; }
7416                                         color: 255 255 255 255;
7417                                         align: 0.0 0.5;
7418                                         text {
7419                                                 style: "check_label_textblock_style";
7420                                                 min: 0 0;
7421                                         }
7422                color: CHECK_DEFAULT_TEXT_NORMAL_COLOR_INC;
7423                                 }
7424                                 description {
7425                                         state: "visible" 0.0;
7426                                         inherit: "default" 0.0;
7427                                         text.min: 1 1;
7428                                         visible: 1;
7429                                 }
7430                                 description {
7431                                         state: "disabled" 0.0;
7432                                         inherit: "default" 0.0;
7433                                         color: 0 0 0 128;
7434                                         color3: 0 0 0 0;
7435                                 }
7436                                 description {
7437                                         state: "disabled_visible" 0.0;
7438                                         inherit: "default" 0.0;
7439                                         color: 0 0 0 128;
7440                                         color3: 0 0 0 0;
7441                                         visible: 1;
7442                                         text.min: 1 1;
7443                                 }
7444                         }
7445                         part {
7446                                 name: "events";
7447                                 type: RECT;
7448                                 ignore_flags: ON_HOLD;
7449                                 description {
7450                                         state: "default" 0.0;
7451                                         rel1 { to: "back_bg"; }
7452                                         rel2 { to: "back_bg"; }
7453                                         color: 0 0 0 0;
7454                                 }
7455                         }
7456                         part {
7457                                 name: "disabler";
7458                                 type: RECT;
7459                                 description {
7460                                         state: "default" 0.0;
7461                                         color: 0 0 0 0;
7462                                         visible: 0;
7463                                 }
7464                                 description {
7465                                         state: "disabled" 0.0;
7466                                 inherit: "default" 0.0;
7467                                 visible: 1;
7468                                 }
7469                         }
7470                 }
7471                 programs {
7472                         program {
7473                                 name: "click";
7474                                 signal: "mouse,up,1";
7475                                 source: "events";
7476                                 action: SIGNAL_EMIT "elm,action,check,toggle" "";
7477                         }
7478                         program {
7479                                 name: "check_on";
7480                                 signal: "elm,state,check,on";
7481                                 source: "elm";
7482                                 action: STATE_SET "visible" 0.0;
7483                                 target: "check";
7484                         }
7485                         program {
7486                                 name: "check_off";
7487                                 signal: "elm,state,check,off";
7488                                 source: "elm";
7489                                 action: STATE_SET "default" 0.0;
7490                                 target: "check";
7491                         }
7492                         program {
7493                                 name: "text_show";
7494                                 signal: "elm,state,text,visible";
7495                                 source: "elm";
7496                                 action: STATE_SET "visible" 0.0;
7497                                 target: "elm.text";
7498                         }
7499                         program {
7500                                 name: "text_hide";
7501                                 signal: "elm,state,text,hidden";
7502                                 source: "elm";
7503                                 action: STATE_SET "default" 0.0;
7504                                 target: "elm.text";
7505                         }
7506                         program {
7507                                 name: "icon_show";
7508                                 signal: "elm,state,icon,visible";
7509                                 source: "elm";
7510                                 action: STATE_SET "visible" 0.0;
7511                                 target: "elm.swallow.content";
7512                         }
7513                         program {
7514                                 name: "icon_hide";
7515                                 signal: "elm,state,icon,hidden";
7516                                 source: "elm";
7517                                 action: STATE_SET "default" 0.0;
7518                                 target: "elm.swallow.content";
7519                         }
7520                         program {
7521                                 name: "disable";
7522                                 signal: "elm,state,disabled";
7523                                 source: "elm";
7524                                 action: STATE_SET "disabled" 0.0;
7525                                 target: "disabler";
7526                                 after: "disable_text";
7527                         }
7528                         program {
7529                                 name: "disable_text";
7530                                 script {
7531                                         new st[31];
7532                                         new Float:vl;
7533                                         get_state(PART:"elm.text", st, 30, vl);
7534                                         if (!strcmp(st, "visible"))
7535                                                 set_state(PART:"elm.text", "disabled_visible", 0.0);
7536                                         else
7537                                                 set_state(PART:"elm.text", "disabled", 0.0);
7538
7539                                         get_state(PART:"elm.swallow.content", st, 30, vl);
7540                                         if (!strcmp(st, "visible"))
7541                                                 set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
7542                                         else
7543                                                 set_state(PART:"elm.swallow.content", "disabled", 0.0);
7544
7545                                         get_state(PART:"check", st, 30, vl);
7546                                         if (!strcmp(st, "visible"))
7547                                                 set_state(PART:"check", "disabled_visible", 0.0);
7548                                         else
7549                                                 set_state(PART:"check", "disabled", 0.0);
7550                                 }
7551                         }
7552                         program {
7553                                 name: "enable";
7554                                 signal: "elm,state,enabled";
7555                                 source: "elm";
7556                                 action: STATE_SET "default" 0.0;
7557                                 target: "disabler";
7558                                 after: "enable_text";
7559                         }
7560                         program {
7561                                 name: "enable_text";
7562                                 script {
7563                                         new st[31];
7564                                         new Float:vl;
7565                                         get_state(PART:"elm.text", st, 30, vl);
7566                                         if (!strcmp(st, "disabled_visible"))
7567                                                 set_state(PART:"elm.text", "visible", 0.0);
7568                                         else
7569                                                 set_state(PART:"elm.text", "default", 0.0);
7570
7571                                         get_state(PART:"elm.swallow.content", st, 30, vl);
7572                                         if (!strcmp(st, "visible"))
7573                                                 set_state(PART:"elm.swallow.content", "visible", 0.0);
7574                                         else
7575                                                 set_state(PART:"elm.swallow.content", "default", 0.0);
7576
7577                                         get_state(PART:"check", st, 30, vl);
7578                                         if (!strcmp(st, "visible"))
7579                                                 set_state(PART:"check", "visible", 0.0);
7580                                         else
7581                                                 set_state(PART:"check", "default", 0.0);
7582                                 }
7583                         }
7584                 }
7585         }
7586
7587
7588 ////////////////////////////////////////////////////////////////////////////////////////
7589 //
7590 // check onoff-divided style
7591 //
7592 ///////////////////////////////////////////////////////////////////////////////////////
7593         group {
7594                 name: "elm/check/base/onoff-divided";
7595
7596                 images {
7597                         image: "01_button_on_lighting.png" COMP;
7598                         image: "01_on_off_button.png" COMP;
7599                         image: "01_on_off_button_on.png" COMP;
7600                 }
7601
7602                 parts {
7603                         part {
7604                                 name: "back_bg";
7605                                 mouse_events: 0;
7606                                 scale: 1;
7607                                 description {
7608                                         state: "default" 0.0;
7609                                         rel1 { relative: 0.0 0.0; offset: 1 1; }
7610                                         rel2 { relative: 0.0 1.0; offset: 1 -2; }
7611                                         align: 0 0.5;
7612                                         min: 93 92;
7613                                         fixed: 1 1;
7614                                         aspect: 1.0 1.0;
7615                                         aspect_preference: VERTICAL;
7616                                         image {
7617                                                 normal: "01_button_on_lighting.png";
7618                                                 border: 0 0 0 0;
7619                                                 middle: 1;
7620                                         }
7621                                         fill.smooth : 0;
7622                                 }
7623                         }
7624                         part {
7625                                 name: "check";
7626                                 mouse_events: 0;
7627                                 scale: 1;
7628                                 description {
7629                                         state: "default" 0.0;
7630                                         rel1 { relative: 0 0; offset: 1 1; to: "back_bg"; }
7631                                         rel2 { relative: 1 1; offset: 1 -2; to: "back_bg"; }
7632                                         align: 0.5 0.5;
7633                                         min: 50 50;
7634                                         max: 50 50;
7635                                         aspect: 1.0 1.0;
7636                                         aspect_preference: VERTICAL;
7637                                         image.normal: "01_on_off_button.png";
7638                                 }
7639                                 description { state: "visible" 0.0;
7640                                         inherit: "default" 0.0;
7641                                         image.normal: "01_on_off_button_on.png";
7642                                 }
7643                                 description { state: "disabled" 0.0;
7644                                         inherit: "default" 0.0;
7645                                         visible: 0;
7646                                         color: 128 128 128 128;
7647                                 }
7648                                 description { state: "disabled_visible" 0.0;
7649                                         inherit: "default" 0.0;
7650                                         color: 128 128 128 128;
7651                                         visible: 1;
7652                                 }
7653                         }
7654                         part {
7655                                 name: "elm.swallow.content";
7656                                 type: SWALLOW;
7657                                 description {
7658                                         state: "default" 0.0;
7659                                         fixed: 1 0;
7660                                         visible: 0;
7661                                         color: 255 255 255 255;
7662                                         align: 0.0 0.5;
7663                                         rel1 { relative: 1.0 0.0; offset: 1 1; to_x: "check"; }
7664                                         rel2 { relative: 1.0 1.0; offset: 2 -2; to_x: "check"; }
7665                                 }
7666                                 description {
7667                                         state: "visible" 0.0;
7668                                         inherit: "default" 0.0;
7669                                         fixed: 1 1;
7670                                         visible: 1;
7671                                         aspect: 1.0 1.0;
7672                                         aspect_preference: VERTICAL;
7673                                 }
7674                                 description {
7675                                         state: "disabled" 0.0;
7676                                         inherit: "default" 0.0;
7677                                         color: 128 128 128 128;
7678                                 }
7679                                 description {
7680                                         state: "disabled_visible" 0.0;
7681                                         inherit: "default" 0.0;
7682                                         color: 128 128 128 128;
7683                                         fixed: 1 1;
7684                                         visible: 1;
7685                                         aspect: 1.0 1.0;
7686                                 }
7687                         }
7688                         part {
7689                                 name: "elm.text";
7690                                 type: TEXTBLOCK;
7691                                 mouse_events: 0;
7692                                 scale: 1;
7693                                 description {
7694                                         state: "default" 0.0;
7695                                         visible: 0;
7696                                         fixed: 0 1;
7697                                         rel1 { relative: 1.0 0.5; offset: 1 1; to_x: "elm.swallow.content"; }
7698                                         rel2 { relative: 1.0 0.5; offset: -2 -2; }
7699                                         color: 255 255 255 255;
7700                                         align: 0.0 0.5;
7701                                         text {
7702                                                 style: "check_label_textblock_style";
7703                                                 min: 0 0;
7704                                         }
7705                color: CHECK_DEFAULT_TEXT_NORMAL_COLOR_INC;
7706                                 }
7707                                 description {
7708                                         state: "visible" 0.0;
7709                                         inherit: "default" 0.0;
7710                                         text.min: 1 1;
7711                                         visible: 1;
7712                                 }
7713                                 description {
7714                                         state: "disabled" 0.0;
7715                                         inherit: "default" 0.0;
7716                                         color: 0 0 0 128;
7717                                         color3: 0 0 0 0;
7718                                 }
7719                                 description {
7720                                         state: "disabled_visible" 0.0;
7721                                         inherit: "default" 0.0;
7722                                         color: 0 0 0 128;
7723                                         color3: 0 0 0 0;
7724                                         visible: 1;
7725                                         text.min: 1 1;
7726                                 }
7727                         }
7728                         part {
7729                                 name: "events";
7730                                 type: RECT;
7731                                 ignore_flags: ON_HOLD;
7732                                 description {
7733                                         state: "default" 0.0;
7734                                         rel1 { to: "back_bg"; }
7735                                         rel2 { to: "back_bg"; }
7736                                         color: 0 0 0 0;
7737                                 }
7738                         }
7739                         part {
7740                                 name: "disabler";
7741                                 type: RECT;
7742                                 description {
7743                                         state: "default" 0.0;
7744                                         color: 0 0 0 0;
7745                                         visible: 0;
7746                                 }
7747                                 description {
7748                                         state: "disabled" 0.0;
7749                                 inherit: "default" 0.0;
7750                                 visible: 1;
7751                                 }
7752                         }
7753                 }
7754                 programs {
7755                         program {
7756                                 name: "click";
7757                                 signal: "mouse,up,1";
7758                                 source: "events";
7759                                 action: SIGNAL_EMIT "elm,action,check,toggle" "";
7760                         }
7761                         program {
7762                                 name: "check_on";
7763                                 signal: "elm,state,check,on";
7764                                 source: "elm";
7765                                 action: STATE_SET "visible" 0.0;
7766                                 target: "check";
7767                         }
7768                         program {
7769                                 name: "check_off";
7770                                 signal: "elm,state,check,off";
7771                                 source: "elm";
7772                                 action: STATE_SET "default" 0.0;
7773                                 target: "check";
7774                         }
7775                         program {
7776                                 name: "text_show";
7777                                 signal: "elm,state,text,visible";
7778                                 source: "elm";
7779                                 action: STATE_SET "visible" 0.0;
7780                                 target: "elm.text";
7781                         }
7782                         program {
7783                                 name: "text_hide";
7784                                 signal: "elm,state,text,hidden";
7785                                 source: "elm";
7786                                 action: STATE_SET "default" 0.0;
7787                                 target: "elm.text";
7788                         }
7789                         program {
7790                                 name: "icon_show";
7791                                 signal: "elm,state,icon,visible";
7792                                 source: "elm";
7793                                 action: STATE_SET "visible" 0.0;
7794                                 target: "elm.swallow.content";
7795                         }
7796                         program {
7797                                 name: "icon_hide";
7798                                 signal: "elm,state,icon,hidden";
7799                                 source: "elm";
7800                                 action: STATE_SET "default" 0.0;
7801                                 target: "elm.swallow.content";
7802                         }
7803                         program {
7804                                 name: "disable";
7805                                 signal: "elm,state,disabled";
7806                                 source: "elm";
7807                                 action: STATE_SET "disabled" 0.0;
7808                                 target: "disabler";
7809                                 after: "disable_text";
7810                         }
7811                         program {
7812                                 name: "disable_text";
7813                                 script {
7814                                         new st[31];
7815                                         new Float:vl;
7816                                         get_state(PART:"elm.text", st, 30, vl);
7817                                         if (!strcmp(st, "visible"))
7818                                                 set_state(PART:"elm.text", "disabled_visible", 0.0);
7819                                         else
7820                                                 set_state(PART:"elm.text", "disabled", 0.0);
7821
7822                                         get_state(PART:"elm.swallow.content", st, 30, vl);
7823                                         if (!strcmp(st, "visible"))
7824                                                 set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
7825                                         else
7826                                                 set_state(PART:"elm.swallow.content", "disabled", 0.0);
7827
7828                                         get_state(PART:"check", st, 30, vl);
7829                                         if (!strcmp(st, "visible"))
7830                                                 set_state(PART:"check", "disabled_visible", 0.0);
7831                                         else
7832                                                 set_state(PART:"check", "disabled", 0.0);
7833                                 }
7834                         }
7835                         program {
7836                                 name: "enable";
7837                                 signal: "elm,state,enabled";
7838                                 source: "elm";
7839                                 action: STATE_SET "default" 0.0;
7840                                 target: "disabler";
7841                                 after: "enable_text";
7842                         }
7843                         program {
7844                                 name: "enable_text";
7845                                 script {
7846                                         new st[31];
7847                                         new Float:vl;
7848                                         get_state(PART:"elm.text", st, 30, vl);
7849                                         if (!strcmp(st, "disabled_visible"))
7850                                                 set_state(PART:"elm.text", "visible", 0.0);
7851                                         else
7852                                                 set_state(PART:"elm.text", "default", 0.0);
7853
7854                                         get_state(PART:"elm.swallow.content", st, 30, vl);
7855                                         if (!strcmp(st, "visible"))
7856                                                 set_state(PART:"elm.swallow.content", "visible", 0.0);
7857                                         else
7858                                                 set_state(PART:"elm.swallow.content", "default", 0.0);
7859
7860                                         get_state(PART:"check", st, 30, vl);
7861                                         if (!strcmp(st, "visible"))
7862                                                 set_state(PART:"check", "visible", 0.0);
7863                                         else
7864                                                 set_state(PART:"check", "default", 0.0);
7865                                 }
7866                         }
7867                 }
7868         }
7869
7870 ////////////////////////////////////////////////////////////////////////////////////////
7871 //
7872 // check favorite style
7873 //
7874 ///////////////////////////////////////////////////////////////////////////////////////
7875 /*
7876         group {
7877                 name: "elm/check/base/favorite";
7878
7879                 images {
7880                         image: "01_rate_icon_default.png" COMP;
7881                         image: "01_rate_small_fill.png" COMP;
7882                 }
7883
7884                 parts {
7885                         part {
7886                                 name: "back_bg";
7887                                 mouse_events: 0;
7888                                 type: RECT;
7889                                 scale: 1;
7890                                 description {
7891                                         state: "default" 0.0;
7892                                         rel1 { relative: 0.0 0.0; offset: 1 1; }
7893                                         rel2 { relative: 0.0 1.0; offset: 1 -2; }
7894                                         align: 0 0.5;
7895                                         min: 93 92;
7896                                         fixed: 1 1;
7897                                         aspect: 1.0 1.0;
7898                                         aspect_preference: VERTICAL;
7899                                         color: 0 0 0 0;
7900                                 }
7901                         }
7902                         part {
7903                                 name: "check";
7904                                 mouse_events: 0;
7905                                 scale: 1;
7906                                 description {
7907                                         state: "default" 0.0;
7908                                         rel1 { relative: 0 0; offset: 1 1; to: "back_bg"; }
7909                                         rel2 { relative: 1 1; offset: 1 -2; to: "back_bg"; }
7910                                         align: 0.5 0.5;
7911                                         min: 50 50;
7912                                         max: 50 50;
7913                                         aspect: 1.0 1.0;
7914                                         aspect_preference: VERTICAL;
7915                                         image.normal: "01_rate_icon_default.png";
7916                                 }
7917                                 description {
7918                                         state: "visible" 0.0;
7919                                         inherit: "default" 0.0;
7920                                         image.normal: "01_rate_small_fill.png";
7921                                         visible: 1;
7922                                 }
7923                                 description {
7924                                         state: "disabled" 0.0;
7925                                         inherit: "default" 0.0;
7926                                         visible: 0;
7927                                         color: 128 128 128 128;
7928                                 }
7929                                 description {
7930                                         state: "disabled_visible" 0.0;
7931                                         inherit: "default" 0.0;
7932                                         color: 128 128 128 128;
7933                                         visible: 1;
7934                                 }
7935                         }
7936                         part {
7937                                 name: "elm.swallow.content";
7938                                 type: SWALLOW;
7939                                 description {
7940                                         state: "default" 0.0;
7941                                         fixed: 1 0;
7942                                         visible: 0;
7943                                         color: 255 255 255 255;
7944                                         align: 0.0 0.5;
7945                                         rel1 { relative: 1.0 0.0; offset: 1 1; to_x: "check"; }
7946                                         rel2 { relative: 1.0 1.0; offset: 2 -2; to_x: "check"; }
7947                                 }
7948                                 description {
7949                                         state: "visible" 0.0;
7950                                         inherit: "default" 0.0;
7951                                         fixed: 1 1;
7952                                         visible: 1;
7953                                         aspect: 1.0 1.0;
7954                                         aspect_preference: VERTICAL;
7955                                 }
7956                                 description {
7957                                         state: "disabled" 0.0;
7958                                         inherit: "default" 0.0;
7959                                         color: 128 128 128 128;
7960                                 }
7961                                 description {
7962                                         state: "disabled_visible" 0.0;
7963                                         inherit: "default" 0.0;
7964                                         color: 128 128 128 128;
7965                                         fixed: 1 1;
7966                                         visible: 1;
7967                                         aspect: 1.0 1.0;
7968                                 }
7969                         }
7970                         part {
7971                                 name: "elm.text";
7972                                 type: TEXTBLOCK;
7973                                 mouse_events: 0;
7974                                 scale: 1;
7975                                 description {
7976                                         state: "default" 0.0;
7977                                         visible: 0;
7978                                         fixed: 0 1;
7979                                         rel1 { relative: 1.0 0.5; offset: 1 1; to_x: "elm.swallow.content"; }
7980                                         rel2 { relative: 1.0 0.5; offset: -2 -2; }
7981                                         color: 255 255 255 255;
7982                                         align: 0.0 0.5;
7983                                         text {
7984                                                 style: "check_label_textblock_style";
7985                                                 min: 0 0;
7986                                         }
7987                color: CHECK_DEFAULT_TEXT_NORMAL_COLOR_INC;
7988                                 }
7989                                 description {
7990                                         state: "visible" 0.0;
7991                                         inherit: "default" 0.0;
7992                                         text.min: 1 1;
7993                                         visible: 1;
7994                                 }
7995                                 description {
7996                                         state: "disabled" 0.0;
7997                                         inherit: "default" 0.0;
7998                                         color: 0 0 0 128;
7999                                         color3: 0 0 0 0;
8000                                 }
8001                                 description {
8002                                         state: "disabled_visible" 0.0;
8003                                         inherit: "default" 0.0;
8004                                         color: 0 0 0 128;
8005                                         color3: 0 0 0 0;
8006                                         visible: 1;
8007                                         text.min: 1 1;
8008                                 }
8009                         }
8010                         part {
8011                                 name: "events";
8012                                 type: RECT;
8013                                 ignore_flags: ON_HOLD;
8014                                 description {
8015                                         state: "default" 0.0;
8016                                         rel1 { to: "back_bg"; }
8017                                         rel2 { to: "back_bg"; }
8018                                         color: 0 0 0 0;
8019                                 }
8020                         }
8021                         part {
8022                                 name: "disabler";
8023                                 type: RECT;
8024                                 description {
8025                                         state: "default" 0.0;
8026                                         color: 0 0 0 0;
8027                                         visible: 0;
8028                                 }
8029                                 description {
8030                                         state: "disabled" 0.0;
8031                                 inherit: "default" 0.0;
8032                                 visible: 1;
8033                                 }
8034                         }
8035                 }
8036                 programs {
8037                         program {
8038                                 name: "click";
8039                                 signal: "mouse,up,1";
8040                                 source: "events";
8041                                 action: SIGNAL_EMIT "elm,action,check,toggle" "";
8042                         }
8043                         program {
8044                                 name: "check_on";
8045                                 signal: "elm,state,check,on";
8046                                 source: "elm";
8047                                 action: STATE_SET "visible" 0.0;
8048                                 target: "check";
8049                         }
8050                         program {
8051                                 name: "check_off";
8052                                 signal: "elm,state,check,off";
8053                                 source: "elm";
8054                                 action: STATE_SET "default" 0.0;
8055                                 target: "check";
8056                         }
8057                         program {
8058                                 name: "text_show";
8059                                 signal: "elm,state,text,visible";
8060                                 source: "elm";
8061                                 action: STATE_SET "visible" 0.0;
8062                                 target: "elm.text";
8063                         }
8064                         program {
8065                                 name: "text_hide";
8066                                 signal: "elm,state,text,hidden";
8067                                 source: "elm";
8068                                 action: STATE_SET "default" 0.0;
8069                                 target: "elm.text";
8070                         }
8071                         program {
8072                                 name: "icon_show";
8073                                 signal: "elm,state,icon,visible";
8074                                 source: "elm";
8075                                 action: STATE_SET "visible" 0.0;
8076                                 target: "elm.swallow.content";
8077                         }
8078                         program {
8079                                 name: "icon_hide";
8080                                 signal: "elm,state,icon,hidden";
8081                                 source: "elm";
8082                                 action: STATE_SET "default" 0.0;
8083                                 target: "elm.swallow.content";
8084                         }
8085                         program {
8086                                 name: "disable";
8087                                 signal: "elm,state,disabled";
8088                                 source: "elm";
8089                                 action: STATE_SET "disabled" 0.0;
8090                                 target: "disabler";
8091                                 after: "disable_text";
8092                         }
8093                         program {
8094                                 name: "disable_text";
8095                                 script {
8096                                         new st[31];
8097                                         new Float:vl;
8098                                         get_state(PART:"elm.text", st, 30, vl);
8099                                         if (!strcmp(st, "visible"))
8100                                                 set_state(PART:"elm.text", "disabled_visible", 0.0);
8101                                         else
8102                                                 set_state(PART:"elm.text", "disabled", 0.0);
8103
8104                                         get_state(PART:"elm.swallow.content", st, 30, vl);
8105                                         if (!strcmp(st, "visible"))
8106                                                 set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
8107                                         else
8108                                                 set_state(PART:"elm.swallow.content", "disabled", 0.0);
8109
8110                                         get_state(PART:"check", st, 30, vl);
8111                                         if (!strcmp(st, "visible"))
8112                                                 set_state(PART:"check", "disabled_visible", 0.0);
8113                                         else
8114                                                 set_state(PART:"check", "disabled", 0.0);
8115                                 }
8116                         }
8117                         program {
8118                                 name: "enable";
8119                                 signal: "elm,state,enabled";
8120                                 source: "elm";
8121                                 action: STATE_SET "default" 0.0;
8122                                 target: "disabler";
8123                                 after: "enable_text";
8124                         }
8125                         program {
8126                                 name: "enable_text";
8127                                 script {
8128                                         new st[31];
8129                                         new Float:vl;
8130                                         get_state(PART:"elm.text", st, 30, vl);
8131                                         if (!strcmp(st, "disabled_visible"))
8132                                                 set_state(PART:"elm.text", "visible", 0.0);
8133                                         else
8134                                                 set_state(PART:"elm.text", "default", 0.0);
8135
8136                                         get_state(PART:"elm.swallow.content", st, 30, vl);
8137                                         if (!strcmp(st, "visible"))
8138                                                 set_state(PART:"elm.swallow.content", "visible", 0.0);
8139                                         else
8140                                                 set_state(PART:"elm.swallow.content", "default", 0.0);
8141
8142                                         get_state(PART:"check", st, 30, vl);
8143                                         if (!strcmp(st, "visible"))
8144                                                 set_state(PART:"check", "visible", 0.0);
8145                                         else
8146                                                 set_state(PART:"check", "default", 0.0);
8147                                 }
8148                         }
8149                 }
8150         }
8151 */
8152 ////////////////////////////////////////////////////////////////////////////////////////
8153 //
8154 // check favorite-divided style
8155 //
8156 ///////////////////////////////////////////////////////////////////////////////////////
8157         group {
8158                 name: "elm/check/base/favorite-divided";
8159
8160                 images {
8161                         image: "01_button_on_lighting.png" COMP;
8162                         image: "01_rate_icon_default.png" COMP;
8163                         image: "01_rate_small_fill.png" COMP;
8164                 }
8165
8166                 parts {
8167                         part {
8168                                 name: "back_bg";
8169                                 mouse_events: 0;
8170                                 scale: 1;
8171                                 description {
8172                                         state: "default" 0.0;
8173                                         rel1 { relative: 0.0 0.0; offset: 1 1; }
8174                                         rel2 { relative: 0.0 1.0; offset: 1 -2; }
8175                                         align: 0 0.5;
8176                                         min: 93 92;
8177                                         fixed: 1 1;
8178                                         aspect: 1.0 1.0;
8179                                         aspect_preference: VERTICAL;
8180                                         image {
8181                                                 normal: "01_button_on_lighting.png";
8182                                                 border: 0 0 0 0;
8183                                                 middle: 1;
8184                                         }
8185                                         fill.smooth : 0;
8186                                 }
8187                         }
8188                         part {
8189                                 name: "check";
8190                                 mouse_events: 0;
8191                                 scale: 1;
8192                                 description {
8193                                         state: "default" 0.0;
8194                                         rel1 { relative: 0 0; offset: 1 1; to: "back_bg"; }
8195                                         rel2 { relative: 1 1; offset: 1 -2; to: "back_bg"; }
8196                                         align: 0.5 0.5;
8197                                         min: 50 50;
8198                                         max: 50 50;
8199                                         aspect: 1.0 1.0;
8200                                         aspect_preference: VERTICAL;
8201                                         image.normal: "01_rate_icon_default.png";
8202                                 }
8203                                 description { state: "visible" 0.0;
8204                                         inherit: "default" 0.0;
8205                                         image.normal: "01_rate_small_fill.png";
8206                                 }
8207                                 description { state: "disabled" 0.0;
8208                                         inherit: "default" 0.0;
8209                                         visible: 0;
8210                                         color: 128 128 128 128;
8211                                 }
8212                                 description { state: "disabled_visible" 0.0;
8213                                         inherit: "default" 0.0;
8214                                         color: 128 128 128 128;
8215                                         visible: 1;
8216                                 }
8217                         }
8218                         part {
8219                                 name: "elm.swallow.content";
8220                                 type: SWALLOW;
8221                                 description {
8222                                         state: "default" 0.0;
8223                                         fixed: 1 0;
8224                                         visible: 0;
8225                                         color: 255 255 255 255;
8226                                         align: 0.0 0.5;
8227                                         rel1 { relative: 1.0 0.0; offset: 1 1; to_x: "check"; }
8228                                         rel2 { relative: 1.0 1.0; offset: 2 -2; to_x: "check"; }
8229                                 }
8230                                 description {
8231                                         state: "visible" 0.0;
8232                                         inherit: "default" 0.0;
8233                                         fixed: 1 1;
8234                                         visible: 1;
8235                                         aspect: 1.0 1.0;
8236                                         aspect_preference: VERTICAL;
8237                                 }
8238                                 description {
8239                                         state: "disabled" 0.0;
8240                                         inherit: "default" 0.0;
8241                                         color: 128 128 128 128;
8242                                 }
8243                                 description {
8244                                         state: "disabled_visible" 0.0;
8245                                         inherit: "default" 0.0;
8246                                         color: 128 128 128 128;
8247                                         fixed: 1 1;
8248                                         visible: 1;
8249                                         aspect: 1.0 1.0;
8250                                 }
8251                         }
8252                         part {
8253                                 name: "elm.text";
8254                                 type: TEXTBLOCK;
8255                                 mouse_events: 0;
8256                                 scale: 1;
8257                                 description {
8258                                         state: "default" 0.0;
8259                                         visible: 0;
8260                                         fixed: 0 1;
8261                                         rel1 { relative: 1.0 0.5; offset: 1 1; to_x: "elm.swallow.content"; }
8262                                         rel2 { relative: 1.0 0.5; offset: -2 -2; }
8263                                         color: 255 255 255 255;
8264                                         align: 0.0 0.5;
8265                                         text {
8266                                                 style: "check_label_textblock_style";
8267                                                 min: 0 0;
8268                                         }
8269                color: CHECK_DEFAULT_TEXT_NORMAL_COLOR_INC;
8270                                 }
8271                                 description {
8272                                         state: "visible" 0.0;
8273                                         inherit: "default" 0.0;
8274                                         text.min: 1 1;
8275                                         visible: 1;
8276                                 }
8277                                 description {
8278                                         state: "disabled" 0.0;
8279                                         inherit: "default" 0.0;
8280                                         color: 0 0 0 128;
8281                                         color3: 0 0 0 0;
8282                                 }
8283                                 description {
8284                                         state: "disabled_visible" 0.0;
8285                                         inherit: "default" 0.0;
8286                                         color: 0 0 0 128;
8287                                         color3: 0 0 0 0;
8288                                         visible: 1;
8289                                         text.min: 1 1;
8290                                 }
8291                         }
8292                         part {
8293                                 name: "events";
8294                                 type: RECT;
8295                                 ignore_flags: ON_HOLD;
8296                                 description {
8297                                         state: "default" 0.0;
8298                                         rel1 { to: "back_bg"; }
8299                                         rel2 { to: "back_bg"; }
8300                                         color: 0 0 0 0;
8301                                 }
8302                         }
8303                         part {
8304                                 name: "disabler";
8305                                 type: RECT;
8306                                 description {
8307                                         state: "default" 0.0;
8308                                         color: 0 0 0 0;
8309                                         visible: 0;
8310                                 }
8311                                 description {
8312                                         state: "disabled" 0.0;
8313                                 inherit: "default" 0.0;
8314                                 visible: 1;
8315                                 }
8316                         }
8317                 }
8318                 programs {
8319                         program {
8320                                 name: "click";
8321                                 signal: "mouse,up,1";
8322                                 source: "events";
8323                                 action: SIGNAL_EMIT "elm,action,check,toggle" "";
8324                         }
8325                         program {
8326                                 name: "check_on";
8327                                 signal: "elm,state,check,on";
8328                                 source: "elm";
8329                                 action: STATE_SET "visible" 0.0;
8330                                 target: "check";
8331                         }
8332                         program {
8333                                 name: "check_off";
8334                                 signal: "elm,state,check,off";
8335                                 source: "elm";
8336                                 action: STATE_SET "default" 0.0;
8337                                 target: "check";
8338                         }
8339                         program {
8340                                 name: "text_show";
8341                                 signal: "elm,state,text,visible";
8342                                 source: "elm";
8343                                 action: STATE_SET "visible" 0.0;
8344                                 target: "elm.text";
8345                         }
8346                         program {
8347                                 name: "text_hide";
8348                                 signal: "elm,state,text,hidden";
8349                                 source: "elm";
8350                                 action: STATE_SET "default" 0.0;
8351                                 target: "elm.text";
8352                         }
8353                         program {
8354                                 name: "icon_show";
8355                                 signal: "elm,state,icon,visible";
8356                                 source: "elm";
8357                                 action: STATE_SET "visible" 0.0;
8358                                 target: "elm.swallow.content";
8359                         }
8360                         program {
8361                                 name: "icon_hide";
8362                                 signal: "elm,state,icon,hidden";
8363                                 source: "elm";
8364                                 action: STATE_SET "default" 0.0;
8365                                 target: "elm.swallow.content";
8366                         }
8367                         program {
8368                                 name: "disable";
8369                                 signal: "elm,state,disabled";
8370                                 source: "elm";
8371                                 action: STATE_SET "disabled" 0.0;
8372                                 target: "disabler";
8373                                 after: "disable_text";
8374                         }
8375                         program {
8376                                 name: "disable_text";
8377                                 script {
8378                                         new st[31];
8379                                         new Float:vl;
8380                                         get_state(PART:"elm.text", st, 30, vl);
8381                                         if (!strcmp(st, "visible"))
8382                                                 set_state(PART:"elm.text", "disabled_visible", 0.0);
8383                                         else
8384                                                 set_state(PART:"elm.text", "disabled", 0.0);
8385
8386                                         get_state(PART:"elm.swallow.content", st, 30, vl);
8387                                         if (!strcmp(st, "visible"))
8388                                                 set_state(PART:"elm.swallow.content", "disabled_visible", 0.0);
8389                                         else
8390                                                 set_state(PART:"elm.swallow.content", "disabled", 0.0);
8391
8392                                         get_state(PART:"check", st, 30, vl);
8393                                         if (!strcmp(st, "visible"))
8394                                                 set_state(PART:"check", "disabled_visible", 0.0);
8395                                         else
8396                                                 set_state(PART:"check", "disabled", 0.0);
8397                                 }
8398                         }
8399                         program {
8400                                 name: "enable";
8401                                 signal: "elm,state,enabled";
8402                                 source: "elm";
8403                                 action: STATE_SET "default" 0.0;
8404                                 target: "disabler";
8405                                 after: "enable_text";
8406                         }
8407                         program {
8408                                 name: "enable_text";
8409                                 script {
8410                                         new st[31];
8411                                         new Float:vl;
8412                                         get_state(PART:"elm.text", st, 30, vl);
8413                                         if (!strcmp(st, "disabled_visible"))
8414                                                 set_state(PART:"elm.text", "visible", 0.0);
8415                                         else
8416                                                 set_state(PART:"elm.text", "default", 0.0);
8417
8418                                         get_state(PART:"elm.swallow.content", st, 30, vl);
8419                                         if (!strcmp(st, "visible"))
8420                                                 set_state(PART:"elm.swallow.content", "visible", 0.0);
8421                                         else
8422                                                 set_state(PART:"elm.swallow.content", "default", 0.0);
8423
8424                                         get_state(PART:"check", st, 30, vl);
8425                                         if (!strcmp(st, "visible"))
8426                                                 set_state(PART:"check", "visible", 0.0);
8427                                         else
8428                                                 set_state(PART:"check", "default", 0.0);
8429                                 }
8430                         }
8431                 }
8432         }
8433         group{
8434                 name:"elm/fileindexer/base";
8435                 parts{
8436                         part{
8437                                 name: "base";
8438                                 type: RECT;
8439                                 scale: 1;
8440
8441                                 description{
8442                                         state: "default" 0.0;
8443                                         rel1{
8444                                                 relative: 0.0 0.0;
8445                                         }
8446                                         rel2{
8447                                                 relative: 1.0 1.0;
8448                                         }
8449                                         align: 0.0 0.0;
8450                                         color: 0 0 0 0;
8451                                 }
8452                         }
8453                 }
8454         }
8455 ///////////////////////////////////////////////////////////////////////////////
8456         group { name: "elm/cabinet/base/default";
8457                 parts {
8458                         part {
8459                                 name: "elm.rect";
8460                                 type: RECT;
8461                                 repeat_events: 1;
8462                                 description {
8463                                         state: "default" 0.0;
8464                                         color: 0 0 0 0;
8465                                 }
8466                         }
8467                 }
8468         }
8469
8470         group { name: "elm/cabinet/item/base/default";
8471                 images {
8472                         image: "cross_mark_black.png" COMP;
8473                         image: "cross_mark_black_pressed.png" COMP;
8474                 }
8475                 parts {
8476                         part { name: "shadow";
8477                                 type: RECT;
8478                                 description {
8479                                         state: "default" 0.0;
8480                                         color: 120 120 120 100;
8481                                         rel1.offset: 0 -3;
8482                                 }
8483                         }
8484                         part { name: "elm.bg";
8485                                 type: RECT;
8486                                 mouse_events: 1;
8487                                 ignore_flags: ON_HOLD;
8488                                 description {
8489                                         state: "default" 0.0;
8490                                         color: 243 238 219 255;
8491                                 }
8492                         }
8493
8494                         part { name: "elm.pad.l";
8495                                 type: RECT;
8496                                 scale: 1;
8497                                 mouse_events: 0;
8498                                 description {
8499                                         state: "default" 0.0;
8500                                         min: 20 0;
8501                                         fixed: 1 0;
8502                                         rel2.relative: 0.0 1.0;
8503                                         align: 0.0 0.5;
8504                                         visible: 0;
8505                                 }
8506                         }
8507
8508                         part { name: "elm.label";
8509                                 type: TEXT;
8510                                 mouse_events: 0;
8511                                 scale: 1;
8512                                 description {
8513                                         state: "default" 0.0;
8514                                         rel1 {
8515                                                 relative: 1.0 0.0;
8516                                                 to_x: "elm.pad.l";
8517                                         }
8518                                         rel2 {
8519                                                 relative: 0.0 1.0;
8520                                                 to_x: "elm.info_label";
8521                                         }
8522
8523                                         text {
8524                                                 font: "SLP:style=Bold";
8525                                                 size: 32;
8526                                                 align: 0.0 0.5;
8527                                                 min: 0 1;
8528                                         }
8529                                         color: 0 0 0 255;
8530                                 }
8531                         }
8532
8533                         part { name: "elm.info_label";
8534                                 type: TEXT;
8535                                 mouse_events: 0;
8536                                 scale: 1;
8537                                 description {
8538                                         state: "default" 0.0;
8539                                         rel1.to_x: "elm.pad.c";
8540                                         rel2 {
8541                                                 relative: 0.0 1.0;
8542                                                 to_x: "elm.pad.c";
8543                                         }
8544
8545                                         text {
8546                                                 font: "SLP:style=Bold";
8547                                                 size: 26;
8548                                                 align: 1.0 0.5;
8549                                                 min: 1 1;
8550                                         }
8551                                         color: 209 74 0 255;
8552                                         align: 1.0 0.0;
8553                                 }
8554                                 description {
8555                                         state: "disabled" 0.0;
8556                                         inherit: "default" 0.0;
8557                                         visible: 0;
8558                                 }
8559                         }
8560
8561                         part { name: "elm.pad.c";
8562                                 type: RECT;
8563                                 mouse_events: 0;
8564                                 scale: 1;
8565                                 description {
8566                                         state: "default" 0.0;
8567                                         min: 15 0;
8568                                         fixed: 1 0;
8569                                         rel1.to_x: "elm.img.btn";
8570                                         rel2.to_x: "elm.img.btn";
8571                                         rel2.relative: 0.0 1.0;
8572                                         align: 1.0 0.5;
8573                                         visible: 0;
8574                                 }
8575                         }
8576
8577                         part { name: "elm.img.btn";
8578                                 scale: 1;
8579                                 ignore_flags: ON_HOLD;
8580                                 description {
8581                                         state: "default" 0.0;
8582                                         min: 65 0;
8583                                         fixed: 1 0;
8584                                         rel1.relative: 1.0 0.0;
8585                                         align: 1.0 0.5;
8586                                         image.normal: "cross_mark_black.png";
8587                                 }
8588                                 description { state: "pressed" 0.0;
8589                                         inherit: "default" 0.0;
8590                                         image.normal: "cross_mark_black_pressed.png";
8591                                 }
8592                                 description {
8593                                         state: "disabled" 0.0;
8594                                         inherit: "default" 0.0;
8595                                         visible: 0;
8596                                 }
8597                         }
8598
8599                         part { name: "btn_over";
8600                                 type: RECT;
8601                                 repeat_events: 1;
8602                                 description {
8603                                         state: "default" 0.0;
8604                                         rel1.to: "elm.img.btn";
8605                                         rel2.to: "elm.img.btn";
8606                                         color: 0 0 0 0;
8607                                 }
8608                                 description {
8609                                         state: "disabled" 0.0;
8610                                         inherit: "default" 0.0;
8611                                         visible: 0;
8612                                 }
8613                         }
8614
8615                         part { name: "elm.border.bottom";
8616                                 type: RECT;
8617                                 scale: 1;
8618                                 description {
8619                                         state: "default" 0.0;
8620                                         rel1 {
8621                                                 relative: 0.0 1.0;
8622                                                 offset: 0 -1;
8623                                         }
8624                                         align: 0.0 0.5;
8625                                         color: 188 184 168 255;
8626                                 }
8627                         }
8628
8629                         part { name: "elm.border.middle";
8630                                 type: RECT;
8631                                 scale: 1;
8632                                 description {
8633                                         state: "default" 0.0;
8634                                         rel1.to: "elm.img.btn";
8635                                         rel2 {
8636                                                 relative: 0.0 1.0;
8637                                                 to: "elm.img.btn";
8638                                                 offset: 0 -1;
8639                                         }
8640                                         align: 0.0 0.5;
8641                                         color: 188 184 168 255;
8642                                 }
8643                                 description {
8644                                         state: "disabled" 0.0;
8645                                         inherit: "default" 0.0;
8646                                         visible: 0;
8647                                 }
8648                         }
8649                 }
8650                 programs {
8651                         program {
8652                                 name: "btn_clicked";
8653                                 signal: "mouse,clicked,1";
8654                                 source: "elm.img.btn";
8655                                 action: SIGNAL_EMIT "elm,action,del" "";
8656                         }
8657                         program {
8658                                 name: "btn_pressed";
8659                                 signal: "mouse,down,1";
8660                                 source: "btn_over";
8661                                 action: STATE_SET "pressed" 0.0;
8662                                 target: "elm.img.btn";
8663                         }
8664                         program {
8665                                 name: "btn_released";
8666                                 signal: "mouse,up,1";
8667                                 source: "btn_over";
8668                                 action: STATE_SET "default" 0.0;
8669                                 target: "elm.img.btn";
8670                         }
8671
8672                         program {
8673                                 name: "item_clicked";
8674                                 signal: "mouse,clicked,1";
8675                                 source: "elm.bg";
8676                                 action: SIGNAL_EMIT "elm,action,clicked" "";
8677                         }
8678
8679                         program {
8680                                 name: "btn_disable";
8681                                 signal: "btn_disable";
8682                                 source: "elm";
8683                                 action: STATE_SET "disabled" 0.0;
8684                                 target: "elm.img.btn";
8685                                 target: "elm.border.middle";
8686                                 target: "btn_over";
8687                         }
8688
8689                         program {
8690                                 name: "btn_enable";
8691                                 signal: "btn_enable";
8692                                 source: "elm";
8693                                 action: STATE_SET "default" 0.0;
8694                                 target: "elm.img.btn";
8695                                 target: "elm.border.middle";
8696                                 target: "btn_over";
8697                         }
8698
8699                         program {
8700                                 name: "info_lbl_hide";
8701                                 signal: "info_disable";
8702                                 source: "elm";
8703                                 action: STATE_SET "disabled" 0.0;
8704                                 target: "elm.info_label";
8705                         }
8706
8707                         program {
8708                                 name: "info_lbl_show";
8709                                 signal: "info_enable";
8710                                 source: "elm";
8711                                 action: STATE_SET "default" 0.0;
8712                                 target: "elm.info_label";
8713                         }
8714                 }
8715         }
8716
8717 }
8718