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