Tizen 2.1 base
[framework/web/webkit-efl.git] / Source / WebKit2 / UIProcess / API / efl / tizen / control.edc
1 /*
2  * Copyright (c) 2011 Samsung Electronics Co., Ltd.
3  * All rights reserved.
4  */
5 #define DATEFIELD_PADDING_HEIGHT 10
6 #define DATEFIELD_TEXT_SIZE 24
7 #define PICKER_TEXT_COLOR 63 112 173 255
8
9 collections {
10     group { name: "elm/datepicker";
11             parts{
12                 part { name: "title_text";
13                 type: TEXT;
14                 scale : 1;
15                 description { state: "default" 0.0;
16                     align: 0.0 0.0;
17                     min: 0 DATEFIELD_PADDING_HEIGHT;
18                     fixed: 0 1;
19                     color: PICKER_TEXT_COLOR;
20                     rel1 {relative: 1.0 0.0; to_x: "pad_l";}
21                     rel2 {relative: 0.0 0.0; to_x: "pad_r";}
22                     text {
23                         font: "SLP:style=Roman";
24                         size: DATEFIELD_TEXT_SIZE;
25                         min:  1 0;
26                         align: 0.0 0.0;
27                     }
28                 }
29             }
30             part { name: "pad_l";
31                 scale: 1;
32                 description { state: "default" 0.0;
33                     min : 10 0;
34                     fixed: 1 0;
35                     align: 0.0 0.0;
36                     rel1 {relative: 0.0 0.0;}
37                     rel2 {relative: 0.0 1.0;}
38                 }
39             }
40                 part { name: "pad_r";
41                 scale: 1;
42                 description { state: "default" 0.0;
43                     min : 10 0;
44                     fixed: 1 0;
45                     align: 1.0 0.0;
46                     rel1 {relative: 1.0 0.0;}
47                     rel2 { relative: 1.0 1.0;}
48                 }
49             }
50             part{ name:"elm.swallow.content.date";
51                 type: SWALLOW;
52                 scale : 1;
53                 description { state: "default" 0.0;
54                     min: 500 100;
55                     align: 0.0 0.0;
56                     fixed: 1 0;
57                     rel1 {relative: 0.0 1.0;to: "title_text";}
58                     rel2 {relative: 1.0 1.0;to: "title_text";}
59                 }
60             }
61             part{ name:"elm.swallow.content.time";
62                 type: SWALLOW;
63                 scale : 1;
64                 description { state: "default" 0.0;
65                     min: 500 100;
66                     align: 0.0 0.0;
67                     fixed: 1 0;
68                     rel1 {relative: 0.0 1.0;to: "elm.swallow.content.date";}
69                     rel2 {relative: 1.0 1.0;to: "elm.swallow.content.date";}
70                 }
71             }
72             part { name: "pad_b";
73                 scale : 1;
74                 mouse_events: 0;
75                 repeat_events: 1;
76                 description { state: "default" 0.0;
77                     align: 0.5 1.0;
78                     min: 0 10;
79                     fixed: 0 1;
80                     rel1 {relative: 1.0 1.0;to_x: "pad_l";}
81                     rel2 {relative: 0.0 1.0;to_x: "pad_r";}
82                 }
83             }
84         }
85     }
86     group { name: "datepicker_popup";
87         parts{
88             part { name: "pad_t";
89                 type: TEXT;
90                 scale : 1;
91                 description { state: "default" 0.0;
92                     align: 0.0 0.0;
93                     min: 0 DATEFIELD_PADDING_HEIGHT;
94                     fixed: 0 1;
95                     color: PICKER_TEXT_COLOR;
96                     rel1 {relative: 1.0 0.0; to_x: "pad_l";}
97                     rel2 {relative: 0.0 0.0; to_x: "pad_r";}
98                     text {
99                         font: "SLP:style=Roman";
100                         size: DATEFIELD_TEXT_SIZE;
101                         min: 1 0;
102                         align: 0.0 0.0;
103                         text: "Date (Default format) :";
104                     }
105                 }
106             }
107             part { name: "pad_l";
108                 scale: 1;
109                 description { state: "default" 0.0;
110                     min : 10 0;
111                     fixed: 1 0;
112                     align: 0.0 0.0;
113                     rel1 {relative: 0.0 0.0;}
114                     rel2 {relative: 0.0 1.0;}
115                 }
116             }
117             part { name: "pad_r";
118                 scale: 1;
119                 description { state: "default" 0.0;
120                     min : 10 0;
121                     fixed: 1 0;
122                     align: 1.0 0.0;
123                     rel1 {relative: 1.0 0.0;}
124                     rel2 {relative: 1.0 1.0;}
125                 }
126             }
127             part{ name:"elm.swallow.content.date";
128                 type: SWALLOW;
129                 scale : 1;
130                 description { state: "default" 0.0;
131                     min: 500 100;
132                     align: 0.0 0.0;
133                     fixed: 1 0;
134                     rel1 {relative: 0.0 1.0;to: "pad_t";}
135                     rel2 {relative: 1.0 1.0;to: "pad_t";}
136                 }
137             }
138             //time
139             part { name: "time_text";
140                 type: TEXT;
141                 scale : 1;
142                 description { state: "default" 0.0;
143                     align: 0.0 0.0;
144                     min: 0 DATEFIELD_PADDING_HEIGHT;
145                     fixed: 0 1;
146                     color: PICKER_TEXT_COLOR;
147                     rel1 {relative: 0.0 1.0; to: "elm.swallow.content.date";}
148                     rel2 {relative: 1.0 1.0; to: "elm.swallow.content.date";}
149                     text {
150                         font: "SLP:style=Roman";
151                         size: DATEFIELD_TEXT_SIZE;
152                         min:  1 0;
153                         align: 0.0 0.0;
154                         text: "Time (Default format) :";
155                     }
156                 }
157             }
158             part{ name:"elm.swallow.content.time";
159                 type: SWALLOW;
160                 scale : 1;
161                 description { state: "default" 0.0;
162                     min: 500 100;
163                     align: 0.0 0.0;
164                     fixed: 1 0;
165                     rel1 {relative: 0.0 1.0; to: "time_text";}
166                     rel2 {relative: 1.0 1.0; to: "time_text";}
167                 }
168             }
169             //time&date
170             part { name: "datetime_text";
171                 type: TEXT;
172                 scale : 1;
173                 description { state: "default" 0.0;
174                     align: 0.0 0.0;
175                     min: 0 DATEFIELD_PADDING_HEIGHT;
176                     fixed: 0 1;
177                     visible: 0;
178                     color: PICKER_TEXT_COLOR;
179                     rel1 {relative: 0.0 1.0; to: "elm.swallow.content.time";}
180                     rel2 {relative: 1.0 1.0; to: "elm.swallow.content.time";}
181                     text {
182                         font: "SLP:style=Roman";
183                         size: DATEFIELD_TEXT_SIZE;
184                         min:  1 0;
185                         align: 0.0 0.0;
186                         text: "Date & Time (Default format) :";
187                     }
188                 }
189             }
190             part{ name:"elm.swallow.content.datetime";
191                 type: SWALLOW;
192                 scale : 1;
193                 description { state: "default" 0.0;
194                     min: 400 100;
195                     align: 0.0 0.0;
196                     fixed: 1 0;
197                     rel1 {relative: 0.0 1.0;to: "datetime_text";}
198                     rel2 {relative: 1.0 1.0;to: "datetime_text";}
199                 }
200              }
201             //format
202             part { name: "format_text";
203                 type: TEXT;
204                 scale : 1;
205                 description { state: "default" 0.0;
206                     align: 0.0 0.0;
207                     min: 0 DATEFIELD_PADDING_HEIGHT;
208                     fixed: 0 1;
209                     visible: 0;
210                     color: PICKER_TEXT_COLOR;
211                     rel1 {relative: 0.0 1.0; to: "elm.swallow.content.datetime";}
212                     rel2 {relative: 1.0 1.0; to: "elm.swallow.content.datetime";}
213                     text {
214                         font: "SLP:style=Roman";
215                         size: DATEFIELD_TEXT_SIZE;
216                         min:  1 0;
217                         align: 0.0 0.0;
218                         text: "User Format (%d/%b/%Y  %H : %M) :";
219                     }
220                 }
221             }
222             part{ name:"elm.swallow.content.format";
223                 type: SWALLOW;
224                 scale : 1;
225                 description { state: "default" 0.0;
226                     min: 500 100;
227                     align: 0.0 0.0;
228                     fixed: 1 0;
229                     rel1 {relative: 0.0 1.0; to: "format_text";}
230                     rel2 {relative: 0.0 1.0; to: "pad_b"; }
231                 }
232             }
233             part { name: "pad_b";
234                 scale : 1;
235                 mouse_events: 0;
236                 repeat_events: 1;
237                 description { state: "default" 0.0;
238                     align: 0.5 1.0;
239                     min: 0 10;
240                     fixed: 0 1;
241                     rel1 {relative: 1.0 1.0;to_x: "pad_l";}
242                     rel2 {relative: 0.0 1.0;to_x: "pad_r";}
243                 }
244             }
245         }
246     }
247     group { name: "color_picker";
248         parts {
249             part { name: "bg";
250                 scale: 1;
251                 type: RECT;
252                 description { state: "default" 0.0;
253                     visible: 0;
254                     min : 0 320;
255                     fixed: 0 0;
256                     align: 0.0 0.0;
257                     rel1 {relative: 0.0 0.0;}
258                     rel2 {relative: 1.0 1.0;}
259                 }
260             }
261             part { name: "color_rect_bg";
262                 scale: 1;
263                 type: RECT;
264                 description { state: "default" 0.0;
265                     visible: 0;
266                     min : 0 150;
267                     fixed: 0 0;
268                     align: 0.0 0.0;
269                     rel1 {relative: 0.0 0.0; to: "bg"; }
270                     rel2 {relative: 1.0 0.0; to: "bg"; }
271                 }
272             }
273             part { name: "color_palette_bg";
274                 scale: 1;
275                 type: RECT;
276                 description { state: "default" 0.0;
277                     visible: 0;
278                     fixed: 1 0;
279                     align: 0.0 0.0;
280                     rel1 {relative: 0.0 1.0; to_x: "bg"; to_y: "color_rect_bg"; }
281                     rel2 {relative: 1.0 1.0; to: "bg"; }
282                 }
283             }
284             part { name: "pad_l";
285                 scale: 1;
286                 description { state: "default" 0.0;
287                     min : 20 0;
288                     fixed: 1 0;
289                     align: 0.0 0.0;
290                     rel1 {relative: 0.0 0.0; to: "bg"; }
291                     rel2 {relative: 0.0 1.0; to: "bg"; }
292                 }
293             }
294             part { name: "pad_r";
295                 scale: 1;
296                 description { state: "default" 0.0;
297                     min : 10 0;
298                     fixed: 1 0;
299                     align: 1.0 0.0;
300                     rel1 {relative: 1.0 0.0; to: "bg"; }
301                     rel2 {relative: 1.0 1.0; to: "bg"; }
302                 }
303             }
304             part { name: "pad_b";
305                 scale: 1;
306                 description { state: "default" 0.0;
307                     min : 0 10;
308                     fixed: 0 1;
309                     align: 0.0 1.0;
310                     rel1 {relative: 0.0 1.0; to: "bg"; }
311                     rel2 {relative: 1.0 1.0; to: "bg"; }
312                 }
313             }
314             part { name: "elm.swallow.color_rect";
315                 scale: 1;
316                 type: SWALLOW;
317                 description { state: "default" 0.0;
318                     visible: 1;
319                     min: 200 80;
320                     max: 200 80;
321                     fixed: 1 1;
322                     align: 0.5 0.3;
323                     rel1 {relative: 0.0 0.0; to: "color_rect_bg"; }
324                     rel2 {relative: 1.0 1.0; to: "color_rect_bg"; }
325                 }
326             }
327             part { name: "elm.swallow.color1";
328                 scale: 1;
329                 type: SWALLOW;
330                 description { state: "default" 0.0;
331                     visible: 1;
332                     min: 70 70;
333                     max: 70 70;
334                     fixed: 1 1;
335                     align: 0.0 0.0;
336                     rel1 {relative: 1.0 0.0; to_x: "pad_l"; to_y: "color_palette_bg"; }
337                     rel2 {relative: 1.0 0.0; to_x: "pad_l"; to_y: "color_palette_bg"; }
338                 }
339             }
340             part { name: "pad_color1_r";
341                 scale: 1;
342                 description { state: "default" 0.0;
343                     min : 10 0;
344                     fixed: 1 0;
345                     align: 0.0 0.5;
346                     rel1 {relative: 1.0 0.0; to: "elm.swallow.color1"; }
347                     rel2 {relative: 1.0 1.0; to: "elm.swallow.color1"; }
348                 }
349             }
350             part { name: "elm.swallow.color2";
351                 scale: 1;
352                 type: SWALLOW;
353                 description { state: "default" 0.0;
354                     visible: 1;
355                     min: 70 70;
356                     max: 70 70;
357                     fixed: 1 1;
358                     align: 0.0 0.0;
359                     rel1 {relative: 1.0 0.0; to_x: "pad_color1_r"; to_y: "color_palette_bg"; }
360                     rel2 {relative: 1.0 0.0; to_x: "pad_color1_r"; to_y: "color_palette_bg"; }
361                 }
362             }
363             part { name: "pad_color2_r";
364                 scale: 1;
365                 description { state: "default" 0.0;
366                     min : 10 0;
367                     fixed: 1 0;
368                     align: 0.0 0.5;
369                     rel1 {relative: 1.0 0.0; to: "elm.swallow.color2"; }
370                     rel2 {relative: 1.0 1.0; to: "elm.swallow.color2"; }
371                 }
372             }
373             part { name: "elm.swallow.color3";
374                 scale: 1;
375                 type: SWALLOW;
376                 description { state: "default" 0.0;
377                     visible: 1;
378                     min: 70 70;
379                     max: 70 70;
380                     fixed: 1 1;
381                     align: 0.0 0.0;
382                     rel1 {relative: 1.0 0.0; to_x: "pad_color2_r"; to_y: "color_palette_bg"; }
383                     rel2 {relative: 1.0 0.0; to_x: "pad_color2_r"; to_y: "color_palette_bg"; }
384                 }
385             }
386             part { name: "pad_color3_r";
387                 scale: 1;
388                 description { state: "default" 0.0;
389                     min : 10 0;
390                     fixed: 1 0;
391                     align: 0.0 0.5;
392                     rel1 {relative: 1.0 0.0; to: "elm.swallow.color3"; }
393                     rel2 {relative: 1.0 1.0; to: "elm.swallow.color3"; }
394                 }
395             }
396             part { name: "elm.swallow.color4";
397                 scale: 1;
398                 type: SWALLOW;
399                 description { state: "default" 0.0;
400                     visible: 1;
401                     min: 70 70;
402                     max: 70 70;
403                     fixed: 1 1;
404                     align: 0.0 0.0;
405                     rel1 {relative: 1.0 0.0; to_x: "pad_color3_r"; to_y: "color_palette_bg"; }
406                     rel2 {relative: 1.0 0.0; to_x: "pad_color3_r"; to_y: "color_palette_bg"; }
407                 }
408             }
409             part { name: "pad_color4_r";
410                 scale: 1;
411                 description { state: "default" 0.0;
412                     min : 10 0;
413                     fixed: 1 0;
414                     align: 0.0 0.5;
415                     rel1 {relative: 1.0 0.0; to: "elm.swallow.color4"; }
416                     rel2 {relative: 1.0 1.0; to: "elm.swallow.color4"; }
417                 }
418             }
419             part { name: "elm.swallow.color5";
420                 scale: 1;
421                 type: SWALLOW;
422                 description { state: "default" 0.0;
423                     visible: 1;
424                     min: 70 70;
425                     max: 70 70;
426                     fixed: 1 1;
427                     align: 0.0 0.0;
428                     rel1 {relative: 1.0 0.0; to_x: "pad_color4_r"; to_y: "color_palette_bg"; }
429                     rel2 {relative: 1.0 0.0; to_x: "pad_color4_r"; to_y: "color_palette_bg"; }
430                 }
431             }
432             part { name: "pad_color5_r";
433                 scale: 1;
434                 description { state: "default" 0.0;
435                     min : 10 0;
436                     fixed: 1 0;
437                     align: 0.0 0.5;
438                     rel1 {relative: 1.0 0.0; to: "elm.swallow.color5"; }
439                     rel2 {relative: 1.0 1.0; to: "elm.swallow.color5"; }
440                 }
441             }
442             part { name: "elm.swallow.color6";
443                 scale: 1;
444                 type: SWALLOW;
445                 description { state: "default" 0.0;
446                     visible: 1;
447                     min: 70 70;
448                     max: 70 70;
449                     fixed: 1 1;
450                     align: 0.0 0.0;
451                     rel1 {relative: 1.0 0.0; to_x: "pad_color5_r"; to_y: "color_palette_bg"; }
452                     rel2 {relative: 1.0 0.0; to_x: "pad_color5_r"; to_y: "color_palette_bg"; }
453                 }
454             }
455             part { name: "pad_color6_r";
456                 scale: 1;
457                 description { state: "default" 0.0;
458                     min : 10 0;
459                     fixed: 1 0;
460                     align: 0.0 0.5;
461                     rel1 {relative: 1.0 0.0; to: "elm.swallow.color6"; }
462                     rel2 {relative: 1.0 1.0; to: "elm.swallow.color6"; }
463                 }
464             }
465             part { name: "elm.swallow.color7";
466                 scale: 1;
467                 type: SWALLOW;
468                 description { state: "default" 0.0;
469                     visible: 1;
470                     min: 70 70;
471                     max: 70 70;
472                     fixed: 1 1;
473                     align: 0.0 0.0;
474                     rel1 {relative: 1.0 0.0; to_x: "pad_color6_r"; to_y: "color_palette_bg"; }
475                     rel2 {relative: 1.0 0.0; to_x: "pad_color6_r"; to_y: "color_palette_bg"; }
476                 }
477             }
478             part { name: "elm.swallow.color8";
479                 scale: 1;
480                 type: SWALLOW;
481                 description { state: "default" 0.0;
482                     visible: 1;
483                     min: 70 70;
484                     max: 70 70;
485                     fixed: 1 1;
486                     align: 0.0 1.0;
487                     rel1 {relative: 1.0 1.0; to_x: "pad_l"; to_y: "pad_b"; }
488                     rel2 {relative: 1.0 1.0; to_x: "pad_l"; to_y: "pad_b"; }
489                 }
490             }
491             part { name: "pad_color8_r";
492                 scale: 1;
493                 description { state: "default" 0.0;
494                     min : 10 0;
495                     fixed: 1 0;
496                     align: 0.0 0.5;
497                     rel1 {relative: 1.0 0.0; to: "elm.swallow.color8"; }
498                     rel2 {relative: 1.0 1.0; to: "elm.swallow.color8"; }
499                 }
500             }
501             part { name: "elm.swallow.color9";
502                 scale: 1;
503                 type: SWALLOW;
504                 description { state: "default" 0.0;
505                     visible: 1;
506                     min: 70 70;
507                     max: 70 70;
508                     fixed: 1 1;
509                     align: 0.0 1.0;
510                     rel1 {relative: 1.0 1.0; to_x: "pad_color8_r"; to_y: "pad_b"; }
511                     rel2 {relative: 1.0 1.0; to_x: "pad_color8_r"; to_y: "pad_b"; }
512                 }
513             }
514             part { name: "pad_color9_r";
515                 scale: 1;
516                 description { state: "default" 0.0;
517                     min : 10 0;
518                     fixed: 1 0;
519                     align: 0.0 0.5;
520                     rel1 {relative: 1.0 0.0; to: "elm.swallow.color9"; }
521                     rel2 {relative: 1.0 1.0; to: "elm.swallow.color9"; }
522                 }
523             }
524             part { name: "elm.swallow.color10";
525                 scale: 1;
526                 type: SWALLOW;
527                 description { state: "default" 0.0;
528                     visible: 1;
529                     min: 70 70;
530                     max: 70 70;
531                     fixed: 1 1;
532                     align: 0.0 1.0;
533                     rel1 {relative: 1.0 1.0; to_x: "pad_color9_r"; to_y: "pad_b"; }
534                     rel2 {relative: 1.0 1.0; to_x: "pad_color9_r"; to_y: "pad_b"; }
535                 }
536             }
537             part { name: "pad_color10_r";
538                 scale: 1;
539                 description { state: "default" 0.0;
540                     min : 10 0;
541                     fixed: 1 0;
542                     align: 0.0 0.5;
543                     rel1 {relative: 1.0 0.0; to: "elm.swallow.color10"; }
544                     rel2 {relative: 1.0 1.0; to: "elm.swallow.color10"; }
545                 }
546             }
547             part { name: "elm.swallow.color11";
548                 scale: 1;
549                 type: SWALLOW;
550                 description { state: "default" 0.0;
551                     visible: 1;
552                     min: 70 70;
553                     max: 70 70;
554                     fixed: 1 1;
555                     align: 0.0 1.0;
556                     rel1 {relative: 1.0 1.0; to_x: "pad_color10_r"; to_y: "pad_b"; }
557                     rel2 {relative: 1.0 1.0; to_x: "pad_color10_r"; to_y: "pad_b"; }
558                 }
559             }
560             part { name: "pad_color11_r";
561                 scale: 1;
562                 description { state: "default" 0.0;
563                     min : 10 0;
564                     fixed: 1 0;
565                     align: 0.0 0.5;
566                     rel1 {relative: 1.0 0.0; to: "elm.swallow.color11"; }
567                     rel2 {relative: 1.0 1.0; to: "elm.swallow.color11"; }
568                 }
569             }
570             part { name: "elm.swallow.color12";
571                 scale: 1;
572                 type: SWALLOW;
573                 description { state: "default" 0.0;
574                     visible: 1;
575                     min: 70 70;
576                     max: 70 70;
577                     fixed: 1 1;
578                     align: 0.0 1.0;
579                     rel1 {relative: 1.0 1.0; to_x: "pad_color11_r"; to_y: "pad_b"; }
580                     rel2 {relative: 1.0 1.0; to_x: "pad_color11_r"; to_y: "pad_b"; }
581                 }
582             }
583             part { name: "pad_color12_r";
584                 scale: 1;
585                 description { state: "default" 0.0;
586                     min : 10 0;
587                     fixed: 1 0;
588                     align: 0.0 0.5;
589                     rel1 {relative: 1.0 0.0; to: "elm.swallow.color12"; }
590                     rel2 {relative: 1.0 1.0; to: "elm.swallow.color12"; }
591                 }
592             }
593             part { name: "elm.swallow.color13";
594                 scale: 1;
595                 type: SWALLOW;
596                 description { state: "default" 0.0;
597                     visible: 1;
598                     min: 70 70;
599                     max: 70 70;
600                     fixed: 1 1;
601                     align: 0.0 1.0;
602                     rel1 {relative: 1.0 1.0; to_x: "pad_color12_r"; to_y: "pad_b"; }
603                     rel2 {relative: 1.0 1.0; to_x: "pad_color12_r"; to_y: "pad_b"; }
604                 }
605             }
606             part { name: "pad_color13_r";
607                 scale: 1;
608                 description { state: "default" 0.0;
609                     min : 10 0;
610                     fixed: 1 0;
611                     align: 0.0 0.5;
612                     rel1 {relative: 1.0 0.0; to: "elm.swallow.color13"; }
613                     rel2 {relative: 1.0 1.0; to: "elm.swallow.color13"; }
614                 }
615             }
616             part { name: "elm.swallow.color14";
617                 scale: 1;
618                 type: SWALLOW;
619                 description { state: "default" 0.0;
620                     visible: 1;
621                     min: 70 70;
622                     max: 70 70;
623                     fixed: 1 1;
624                     align: 0.0 1.0;
625                     rel1 {relative: 1.0 1.0; to_x: "pad_color13_r"; to_y: "pad_b"; }
626                     rel2 {relative: 1.0 1.0; to_x: "pad_color13_r"; to_y: "pad_b"; }
627                 }
628             }
629         }
630     }
631     group { name: "data_list_picker";
632         parts {
633             part { name: "bg";
634                 type: RECT;
635                 mouse_events: 1;
636                 repeat_events: 0;
637                 scale: 1;
638                 description { state: "default" 0.0;
639                     min : 0 400;
640                     fixed: 0 0;
641                     align: 0.0 0.0;
642                     rel1 { relative: 0.0 0.0; }
643                     rel2 { relative: 1.0 1.0; }
644                     color: 0 0 0 0;
645                 }
646             }
647             part { name: "selected_item";
648                 type: SWALLOW;
649                 mouse_events: 1;
650                 repeat_events: 0;
651                 scale: 1;
652                 description { state: "default" 0.0;
653                     align: 0.0 1.0;
654                     min: 0 80;
655                     fixed: 0 1;
656                     rel1 { relative: 0.0 1.0; to: "bg"; }
657                     rel2 { relative: 1.0 1.0; to: "bg"; }
658                 }
659             }
660             part { name: "data_list";
661                 type: SWALLOW;
662                 mouse_events: 1;
663                 repeat_events: 0;
664                 scale: 1;
665                 description { state: "default" 0.0;
666                     align: 0.0 0.0;
667                     rel1 { relative: 0.0 0.0; to: "bg"; }
668                     rel2 { relative: 1.0 0.0; to_x: "bg"; to_y: "selected_item"; }
669                 }
670             }
671         }
672     }
673     group { name: "elm/picker";
674         images {
675             image: "I01_picker_panel_bg.png" COMP;
676             image: "I01_picker_btn_02_normal.png" COMP;
677             image: "I01_picker_btn_02_press.png" COMP;
678             image: "I01_picker_btn_normal.png" COMP;
679             image: "I01_picker_arrow_left.png" COMP;
680             image: "I01_picker_arrow_right.png" COMP;
681         }
682         parts {
683             part { name: "dimm";
684                 type: RECT;
685                 mouse_events: 1;
686                 repeat_events: 0;
687                 scale: 1;
688                 description { state: "default" 0.0;
689                     rel1 { relative: 0.0 0.0; }
690                     rel2 { relative: 1.0 1.0; }
691                     color: 0 0 0 0;
692                 }
693             }
694             part { name: "bg";
695                 type: RECT;
696                 mouse_events: 0;
697                 scale: 1;
698                 description { state: "default" 0.0;
699                     rel1 { relative: 0.0 1.0; }
700                     rel2 { relative: 1.0 1.5; }
701                     color: 255 255 255 255;
702                 }
703                 description { state: "show" 0.0;
704                     inherit: "default" 0.0;
705                     rel1 { relative: 0.0 0.48;}
706                     rel2 { relative: 1.0 1.0; offset: 0 2; }
707                 }
708                 description { state: "imf_panel" 0.0;
709                     inherit: "show" 0.0;
710                     visible: 0;
711                 }
712             }
713             part { name: "elm.image.panel";
714                 type: IMAGE;
715                 mouse_events: 1;
716                 scale: 1;
717                 description { state: "default" 0.0;
718                     min: 0 86;
719                     fixed: 0 1;
720                     align: 0.0 0.0;
721                     rel1 { relative: 0.0 0.0; to: "bg"; }
722                     rel2 { relative: 1.0 0.0; to: "bg"; }
723                     image.normal: "I01_picker_panel_bg.png";
724                 }
725                 description { state: "show" 0.0;
726                     inherit: "default" 0.0;
727                 }
728                 description { state: "imf_panel" 0.0;
729                     inherit: "default" 0.0;
730                     align: 0.0 1.0;
731                     rel1 { relative: 0.0 1.0; to: "bg"; offset: 0 2; }
732                     rel2 { relative: 1.0 1.0; to: "bg"; offset: 0 2; }
733                 }
734             }
735             part { name: "padding.prev_bg.left";
736                 type: RECT;
737                 mouse_events: 1;
738                 scale: 1;
739                 description { state: "default" 0.0;
740                     visible: 0;
741                     min: 10 0;
742                     fixed: 1 0;
743                     align: 0.0 0.0;
744                     rel1 { relative: 0.0 0.0; to: "elm.image.panel"; }
745                     rel2 { relative: 0.0 1.0; to: "elm.image.panel"; }
746                 }
747             }
748             part { name: "elm.image.prev_bg";
749                 type: IMAGE;
750                 mouse_events: 1;
751                 scale: 1;
752                 description { state: "default" 0.0;
753                     visible: 0;
754                     min: 72 64;
755                     max: 72 64;
756                     fixed: 1 1;
757                     align: 0.0 0.5;
758                     rel1 { relative: 1.0 0.0; to_x: "padding.prev_bg.left"; to_y: "elm.image.panel"; }
759                     rel2 { relative: 1.0 1.0; to_x: "padding.prev_bg.left"; to_y: "elm.image.panel"; }
760                     image.normal: "I01_picker_btn_02_normal.png";
761                     image.border: 6 6 6 6;
762                 }
763                 description { state: "press" 0.0;
764                     inherit: "default" 0.0;
765                     visible: 1;
766                     image.normal: "I01_picker_btn_02_press.png";
767                 }
768                 description { state: "visible" 0.0;
769                     inherit: "default" 0.0;
770                     visible: 1;
771                 }
772             }
773             part { name: "elm.image.prev_arrow";
774                 type: IMAGE;
775                 mouse_events: 1;
776                 repeat_events: 1;
777                 scale: 1;
778                 description { state: "default" 0.0;
779                     visible: 0;
780                     min: 32 32;
781                     max: 32 32;
782                     fixed: 1 1;
783                     align: 0.5 0.5;
784                     rel1 { relative: 0.0 0.0; to: "elm.image.prev_bg"; }
785                     rel2 { relative: 1.0 1.0; to: "elm.image.prev_bg"; }
786                     image.normal: "I01_picker_arrow_left.png";
787                 }
788                 description { state: "visible" 0.0;
789                     inherit: "default" 0.0;
790                     visible: 1;
791                 }
792             }
793             part { name: "padding.prev_bg.right";
794                 type: RECT;
795                 mouse_events: 1;
796                 scale: 1;
797                 description { state: "default" 0.0;
798                     visible: 0;
799                     min: 16 0;
800                     fixed: 1 0;
801                     align: 0.0 0.0;
802                     rel1 { relative: 1.0 0.0; to: "elm.image.prev_bg"; }
803                     rel2 { relative: 1.0 1.0; to: "elm.image.prev_bg"; }
804                 }
805             }
806             part { name: "elm.image.next_bg";
807                 type: IMAGE;
808                 mouse_events: 1;
809                 scale: 1;
810                 description { state: "default" 0.0;
811                     visible: 0;
812                     min: 72 64;
813                     max: 72 64;
814                     fixed: 1 1;
815                     align: 0.0 0.5;
816                     rel1 { relative: 1.0 0.0; to_x: "padding.prev_bg.right"; to_y: "elm.image.panel"; }
817                     rel2 { relative: 1.0 1.0; to_x: "padding.prev_bg.right"; to_y: "elm.image.panel"; }
818                     image.normal: "I01_picker_btn_02_normal.png";
819                     image.border: 6 6 6 6;
820                 }
821                 description { state: "press" 0.0;
822                     inherit: "default" 0.0;
823                     visible: 1;
824                     image.normal: "I01_picker_btn_02_press.png";
825                 }
826                 description { state: "visible" 0.0;
827                     inherit: "default" 0.0;
828                     visible: 1;
829                 }
830             }
831             part { name: "elm.image.next_arrow";
832                 type: IMAGE;
833                 mouse_events: 1;
834                 repeat_events: 1;
835                 scale: 1;
836                 description { state: "default" 0.0;
837                     visible: 0;
838                     min: 32 32;
839                     max: 32 32;
840                     fixed: 1 1;
841                     align: 0.5 0.5;
842                     rel1 { relative: 0.0 0.0; to: "elm.image.next_bg"; }
843                     rel2 { relative: 1.0 1.0; to: "elm.image.next_bg"; }
844                     image.normal: "I01_picker_arrow_right.png";
845                 }
846                 description { state: "visible" 0.0;
847                     inherit: "default" 0.0;
848                     visible: 1;
849                 }
850             }
851             part { name: "padding.done_bg.right";
852                 type: RECT;
853                 mouse_events: 1;
854                 scale: 1;
855                 description { state: "default" 0.0;
856                     visible: 0;
857                     min: 10 0;
858                     fixed: 1 0;
859                     align: 1.0 0.0;
860                     rel1 { relative: 1.0 0.0; to: "elm.image.panel"; }
861                     rel2 { relative: 1.0 1.0; to: "elm.image.panel"; }
862                 }
863             }
864             part { name: "elm.image.done_bg";
865                 type: IMAGE;
866                 mouse_events: 1;
867                 scale: 1;
868                 description { state: "default" 0.0;
869                     min: 132 64;
870                     max: 132 64;
871                     fixed: 1 1;
872                     align: 1.0 0.5;
873                     rel1 { relative: 0.0 0.0; to_x: "padding.done_bg.right"; to_y: "elm.image.panel"; }
874                     rel2 { relative: 0.0 1.0; to_x: "padding.done_bg.right"; to_y: "elm.image.panel"; }
875                     image.normal: "I01_picker_btn_02_normal.png";
876                     image.border: 6 6 6 6;
877                 }
878                 description { state: "press" 0.0;
879                     inherit: "default" 0.0;
880                     image.normal: "I01_picker_btn_02_press.png";
881                 }
882             }
883             part { name: "elm.text.done";
884                 type: TEXT;
885                 repeat_events: 1;
886                 scale: 1;
887                 description { state: "default" 0.0;
888                    visible: 1;
889                    fixed: 1 1;
890                    rel1.to: "elm.image.done_bg";
891                    rel2.to: "elm.image.done_bg";
892                    color: 255 255 255 255;
893                    text {
894                       font: "SLP:style=Medium";
895                       size: 32;
896                       min: 1 1;
897                       align: 0.5 0.5;
898                    }
899                 }
900             }
901             part { name: "elm.swallow.content";
902                 type: SWALLOW;
903                 mouse_events: 1;
904                 scale: 1;
905                 description { state: "default" 0.0;
906                     align: 0.0 0.0;
907                     rel1 { relative: 0.0 1.0; to: "elm.image.panel"; }
908                     rel2 { relative: 1.0 1.0;}
909                 }
910                 description { state: "show" 0.0;
911                     inherit: "default" 0.0;
912                 }
913                 description { state: "imf_panel" 0.0;
914                     inherit: "default" 0.0;
915                     visible: 0;
916                 }
917             }
918         }
919
920         programs {
921             program {
922                 name: "prev_button_press";
923                 signal: "mouse,down,1";
924                 source: "elm.image.prev_bg";
925                 script {
926                     new st[31];
927                     new Float:vl;
928                     get_state(PART:"elm.image.prev_bg", st, 30, vl);
929                     if (!strcmp(st, "visible"))
930                         set_state(PART:"elm.image.prev_bg", "press", 0.0);
931                 }
932             }
933             program {
934                 name: "prev_button_release";
935                 signal: "mouse,up,1";
936                 source: "elm.image.prev_bg";
937                 script {
938                     new st[31];
939                     new Float:vl;
940                     get_state(PART:"elm.image.prev_bg", st, 30, vl);
941                     if (!strcmp(st, "press"))
942                         set_state(PART:"elm.image.prev_bg", "visible", 0.0);
943                 }
944             }
945             program {
946                 name: "next_button_press";
947                 signal: "mouse,down,1";
948                 source: "elm.image.next_bg";
949                 script {
950                     new st[31];
951                     new Float:vl;
952                     get_state(PART:"elm.image.next_bg", st, 30, vl);
953                     if (!strcmp(st, "visible"))
954                          set_state(PART:"elm.image.next_bg", "press", 0.0);
955                 }
956             }
957             program {
958                 name: "next_button_release";
959                 signal: "mouse,up,1";
960                 source: "elm.image.next_bg";
961                 script {
962                     new st[31];
963                     new Float:vl;
964                     get_state(PART:"elm.image.next_bg", st, 30, vl);
965                     if (!strcmp(st, "press"))
966                         set_state(PART:"elm.image.next_bg", "visible", 0.0);
967                 }
968             }
969             program {
970                 name: "done_button_press";
971                 signal: "mouse,down,1";
972                 source: "elm.image.done_bg";
973                 script {
974                     new st[31];
975                     new Float:vl;
976                     get_state(PART:"elm.image.done_bg", st, 30, vl);
977                     if (!strcmp(st, "default"))
978                         set_state(PART:"elm.image.done_bg", "press", 0.0);
979                 }
980             }
981             program {
982                 name: "done_button_release";
983                 signal: "mouse,up,1";
984                 source: "elm.image.done_bg";
985                 script {
986                     new st[31];
987                     new Float:vl;
988                     get_state(PART:"elm.image.done_bg", st, 30, vl);
989                     if (!strcmp(st, "press"))
990                         set_state(PART:"elm.image.done_bg", "default", 0.0);
991                 }
992             }
993             program { name: "show,picker";
994                 signal: "show,picker,signal";
995                 transition: LINEAR 0.3;
996                 action: STATE_SET "show" 0.0;
997                 target: "bg";
998                 target: "elm.image.panel";
999                 target: "elm.swallow.content";
1000             }
1001             program { name: "show,picker_delay";
1002                 signal: "show,picker_delay,signal";
1003                 action: STATE_SET "show" 0.0;
1004                 in: 0.5 0.0;
1005                 target: "bg";
1006                 target: "elm.image.panel";
1007                 target: "elm.swallow.content";
1008             }
1009             program { name: "hide,picker";
1010                 signal: "hide,picker,signal";
1011                 action: STATE_SET "default" 0.0;
1012                 target: "bg";
1013                 target: "elm.image.panel";
1014                 target: "elm.swallow.content";
1015             }
1016             program { name: "show,prev_button";
1017                 signal: "show,prev_button,signal";
1018                 action: STATE_SET "visible" 0.0;
1019                 target: "elm.image.prev_bg";
1020                 target: "elm.image.prev_arrow";
1021             }
1022             program { name: "hide,prev_button";
1023                 signal: "hide,prev_button,signal";
1024                 action: STATE_SET "default" 0.0;
1025                 target: "elm.image.prev_bg";
1026                 target: "elm.image.prev_arrow";
1027             }
1028             program { name: "show,next_button";
1029                 signal: "show,next_button,signal";
1030                 action: STATE_SET "visible" 0.0;
1031                 target: "elm.image.next_bg";
1032                 target: "elm.image.next_arrow";
1033             }
1034             program { name: "hide,next_button";
1035                 signal: "hide,next_button,signal";
1036                 action: STATE_SET "default" 0.0;
1037                 target: "elm.image.next_bg";
1038                 target: "elm.image.next_arrow";
1039             }
1040             program { name: "show,imf_panel";
1041                 signal: "show,imf_panel,signal";
1042                 action: STATE_SET "imf_panel" 0.0;
1043                 target: "bg";
1044                 target: "elm.image.panel";
1045                 target: "elm.swallow.content";
1046             }
1047         }
1048     }
1049 }
1050