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