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