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