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