Add the feature to select multi input type
[platform/core/uifw/inputdelegator.git] / res / edje / w-input-selector.edc
1 #define FONT_NAME "GP45_ArabCJK_TouchWiz"
2
3 #define BTN_W 120
4 #define BTN_H 120
5 #define BTN_PAD_W 1
6 #define BTN_PAD_H 1
7
8 collections {
9    base_scale: 1.3;
10    group { name: "main";
11           parts {
12                  part { name: "background";
13                         type: RECT;
14                         description {
15                            state: "default" 0.0;
16                            color: 0 0 0 255;
17                         }
18                  }
19
20                  part { name: "txt_title";
21                         type: TEXT;
22                         mouse_events: 0;
23                         description { state: "default" 0.0;
24                                   rel1 { relative: 0.0 0.0; to: background; }
25                                   rel2 { relative: 1.0 0.35; to: background; }
26                            text { font: FONT_NAME; size: 35; }
27                            color: 0 140 239 255;
28                            fixed: 1 1;
29                         }
30                  }
31
32                  part { name: "btn1";
33                         type: SWALLOW;
34                         scale: 1;
35                         description { state: "default" 0.0;
36                                   rel1 { relative: 0.0 0.0; to: background; }
37                                   rel2 { relative: 1.0 1.0; to: background; }
38                            min: BTN_W BTN_H;
39                            max: BTN_W BTN_H;
40                            align: 0 0.5;
41                            fixed: 1 1;
42                         }
43                  }
44
45                  part { name: "padding";
46                         type: SPACER;
47                         scale: 1;
48                         mouse_events: 0;
49                         description { state: "default" 0.0;
50                            rel1 {
51                                   to_x: "btn1";
52                                   relative: 1.0 0.0;
53                            }
54                            rel2 {
55                                   to_y: "btn1";
56                                   relative: 1.0 1.0;
57                            }
58                            align: 0.0 1.0;
59                            min: BTN_PAD_W BTN_H;
60                            max: BTN_PAD_W BTN_H;
61                            fixed: 1 1;
62                         }
63                  }
64
65                  part { name: "btn2";
66                         type: SWALLOW;
67                         scale: 1;
68                         description { state: "default" 0.0;
69                            rel1 {
70                                   to_x: "padding";
71                                   relative: 1.0 0.0;
72                            }
73                            rel2 {
74                                   to_y: "padding";
75                                   relative: 1.0 1.0;
76                            }
77                            align: 0.0 1.0;
78                            min: (BTN_W - BTN_PAD_W) BTN_H;
79                            max: (BTN_W - BTN_PAD_W) BTN_H;
80                            fixed: 1 1;
81                         }
82                  }
83                  part { name: "padding2";
84                         type: SPACER;
85                         scale: 1;
86                         mouse_events: 0;
87                         description { state: "default" 0.0;
88                            rel1 {
89                                   to_x: "btn2";
90                                   relative: 1.0 0.0;
91                            }
92                            rel2 {
93                                   to_y: "btn2";
94                                   relative: 1.0 1.0;
95                            }
96                            align: 0.0 1.0;
97                            min: BTN_PAD_W BTN_H;
98                            max: BTN_PAD_W BTN_H;
99                            fixed: 1 1;
100                         }
101                  }
102
103                  part { name: "btn3";
104                         type: SWALLOW;
105                         scale: 1;
106                         description { state: "default" 0.0;
107                            rel1 {
108                                   to_x: "padding2";
109                                   relative: 1.0 0.0;
110                            }
111                            rel2 {
112                                   to_y: "padding2";
113                                   relative: 1.0 1.0;
114                            }
115                            align: 0.0 1.0;
116                            min: (BTN_W - BTN_PAD_W) BTN_H;
117                            max: (BTN_W - BTN_PAD_W) BTN_H;
118                            fixed: 1 1;
119                         }
120                  }
121
122                  part { name: "template_list";
123                         type: SWALLOW;
124                         scale: 1;
125                         description { state: "default" 0.0;
126                            rel1 { relative: 0.0 0.0; to: background; }
127                            rel2 { relative: 1.0 1.0; to: background; }
128                            align: 0.0 0.0;
129                         }
130                  }
131           }
132    }
133
134 #define LIST_BUTTON_PADDING_LEFT_SIZE_INC 0
135 #define LIST_BUTTON_PADDING_RIGHT_SIZE_INC 0
136 #define LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC 1
137 #define LIST_BUTTON_PADDING_BOTTOM_SIZE_INC 1
138 #define BUTTON_2BUTTON_WIDTH_INC 180
139 #define BUTTON_2BUTTON_RIGHT_WIDTH_INC 179
140 #define LIST_BUTTON_PADDING_CENTER_SIZE_INC 1
141
142 #define PART(TYPE, NAME, DESCRIPION) \
143         part { name: NAME; \
144                 scale: 1; \
145                 type: TYPE; \
146                 DESCRIPION \
147         }
148
149 #define DESC_LTB( LEFT, TOP, BOTTOM, PARAM ) \
150            description { state: "default" 0.0; \
151                   align: 0 0.5; \
152                   rel1 { \
153                          relative: 1 1; \
154                          to_x: LEFT; \
155                          to_y: TOP; \
156                   } \
157                   rel2 { \
158                          relative: 1 0; \
159                          to_x: LEFT; \
160                          to_y: BOTTOM; \
161                   } \
162                   PARAM \
163            }
164
165 #define DESC_TB( TOP, BOTTOM, PARAM ) \
166            description { state: "default" 0.0; \
167                   align: 0.5 0.5; \
168                   rel1 { \
169                          relative: 0 1; \
170                          to_y: TOP; \
171                   } \
172                   rel2 { \
173                          relative: 1 0; \
174                          to_y: BOTTOM; \
175                   } \
176                   PARAM \
177            }
178
179 #define DESC_LRTB( LEFT, RIGHT, TOP, BOTTOM, PARAM ) \
180            description { state: "default" 0.0; \
181                   rel1 { \
182                          relative: 1 1; \
183                          to_x: LEFT; \
184                          to_y: TOP; \
185                   } \
186                   rel2 { \
187                          relative: 0 0; \
188                          to_x: RIGHT; \
189                          to_y: BOTTOM; \
190                   } \
191                   PARAM \
192            }
193
194 #define DESC_FROM_L( PARAM ) \
195         description { state: "default" 0.0; \
196                 fixed: 1 0; \
197                 align: 0.0 0.5; \
198                 rel2.relative: 0.0 1.0; \
199                 PARAM \
200         }
201
202 #define DESC_FROM_R( PARAM ) \
203         description { state: "default" 0.0; \
204                 fixed: 1 0; \
205                 align: 1.0 0.5; \
206                 rel1.relative: 1 0; \
207                 PARAM \
208         }
209
210 #define DESC_FROM_T( PARAM ) \
211         description { state: "default" 0.0; \
212                 fixed: 0 1; \
213                 align: 0.5 0.0; \
214                 rel2.relative: 1.0 0.0; \
215                 PARAM \
216         }
217
218 #define DESC_FROM_B( PARAM ) \
219         description { state: "default" 0.0; \
220                 fixed: 0 1; \
221                 rel1.relative: 0.0 1.0; \
222                 align: 0.5 1.0; \
223                 PARAM \
224         }
225
226 #define DESC_L( LEFT, PARAM ) \
227         description { state: "default" 0.0; \
228                 align: 0 0.5; \
229                 fixed: 1 0; \
230                 rel1 { \
231                         relative: 1 0; \
232                         to_x: LEFT; \
233                 } \
234                 rel2 { \
235                         relative: 1 1; \
236                         to_x: LEFT; \
237                 } \
238                 PARAM \
239         }
240
241
242
243 #define PART_LIST_PADDINGS(LEFT_SIZE, RIGHT_SIZE, TOP_SIZE, BOTTOM_SIZE) \
244            PART(SWALLOW, "elm.swallow.pad", \
245                   mouse_events: 0; \
246                   DESC_FROM_L( ; ) \
247            ) \
248            PART(SWALLOW, "elm.swallow.colorbar", \
249                   mouse_events: 0; \
250                   DESC_L("elm.swallow.pad", ) \
251            ) \
252            PART(SPACER, "elm.padding.left", \
253                   scale: 0; \
254                   DESC_L("elm.swallow.pad", \
255                          min: LEFT_SIZE 0; \
256                          max: LEFT_SIZE -1; \
257                   ) \
258            ) \
259            PART(SPACER, "elm.padding.right", \
260                   scale: 0; \
261                   DESC_FROM_R( \
262                          min: RIGHT_SIZE 0; \
263                          max: RIGHT_SIZE -1; \
264                   ) \
265            ) \
266            PART(SPACER, "elm.padding.top", \
267                   scale: 0; \
268                   DESC_FROM_T( \
269                          min: 0 TOP_SIZE; \
270                          max: -1 TOP_SIZE; \
271                   ) \
272            ) \
273            PART(SPACER, "elm.padding.bottom", \
274                   scale: 0; \
275                   DESC_FROM_B( \
276                          min: 0 BOTTOM_SIZE; \
277                          max: -1 BOTTOM_SIZE; \
278                   ) \
279            )
280
281 #define PROGRAM_LIST_DEFAULT( TARGET ) \
282         program { name: "default"; \
283                 signal: "elm,state,default"; \
284                 source: "elm"; \
285                 action: STATE_SET "default" 0.0; \
286                 TARGET \
287         }
288
289 #define PROGRAM_LIST_DISABLE( TARGET ) \
290         program { name: "enabled"; \
291                 signal: "elm,state,enabled"; \
292                 source: "elm"; \
293                 action: STATE_SET "default" 0.0; \
294                 TARGET \
295         } \
296         program { name: "disabled"; \
297                 signal: "elm,state,disabled"; \
298                 source: "elm"; \
299                 action: STATE_SET "disabled" 0.0; \
300                 TARGET \
301         }
302
303 #define PROGRAM_LIST_SELECT( TARGET ) \
304         program { name: "selected"; \
305                 signal: "elm,state,selected"; \
306                 source: "elm"; \
307                 action: STATE_SET "selected" 0.0; \
308                 TARGET \
309         } \
310         program { name: "unselected"; \
311                 signal: "elm,state,unselected"; \
312                 source: "elm"; \
313                 action: STATE_SET "default" 0.0; \
314                 TARGET \
315         }
316
317 #define PROGRAM_LIST_HIGHLIGHT( TARGET ) \
318         program { name: "highlighted"; \
319                 signal: "elm,state,highlighted"; \
320                 source: "elm"; \
321                 action: STATE_SET "highlighted" 0.0; \
322                 TARGET \
323                 transition: LINEAR 1.0; \
324         } \
325         program { name: "unhighlighted"; \
326                 signal: "elm,state,unhighlighted"; \
327                 source: "elm"; \
328                 action: STATE_SET "default" 0.0; \
329                 TARGET \
330                 transition: LINEAR 1.0; \
331         }
332
333 #define PROGRAMS_LIST_BUTTON( TARGET ) \
334         programs { \
335                 PROGRAM_LIST_DEFAULT( TARGET \
336                         target: "elm.padding.left"; \
337                         target: "elm.padding.right"; \
338                 ) \
339                 PROGRAM_LIST_DISABLE( TARGET \
340                 ) \
341                 PROGRAM_LIST_SELECT( TARGET \
342                 ) \
343                 PROGRAM_LIST_HIGHLIGHT( TARGET ) \
344                 PROGRAM_LIST_SOUND \
345         }
346
347 #define PROGRAM_LIST_SOUND \
348            program { name: "play_sound"; \
349                   signal: "elm,state,clicked"; \
350                   source: "elm"; \
351                   script { \
352                          run_program(PROGRAM:"play_sample"); \
353                   } \
354            } \
355            program { \
356                   name: "play_sample"; \
357                   action: RUN_PLUGIN "touch_sound"; \
358            }
359
360
361 #define BUTTON_HEIGHT_INC       122
362
363 #define PART_LIST_BG \
364                    PART(RECT, "bg",  \
365                           description { state: "default" 0.0; \
366                                  color: 0 0 0 0; \
367                                  visible: 1; \
368                                 } \
369                         )
370
371         group {
372                 name: "elm/genlist/item/3button/default";
373                 data.item: "treesize" 0;
374                 data.item: "flips" "elm.flip.icon elm.flip.content";
375                 data.item: "contents" "base elm.icon.1.touch_area elm.icon.2.touch_area elm.icon.3.touch_area elm.icon.1 elm.icon.2 elm.icon.3 elm.swallow.center_check";
376                 data.item: "vi_effect" "off";
377
378                 parts {
379                         PART_LIST_BG
380                         PART_LIST_PADDINGS(
381                                 LIST_BUTTON_PADDING_LEFT_SIZE_INC, LIST_BUTTON_PADDING_RIGHT_SIZE_INC,
382                                 LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC, LIST_BUTTON_PADDING_BOTTOM_SIZE_INC
383                         )
384                         PART(SWALLOW, "base",
385                                 DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom",
386                                         min: 360 0;
387                                         fixed: 1 0;
388                                         visible: 1;
389                                 )
390                         )
391                         part { name: "elm.icon.1.touch_area"; // left icon
392 //                         type: RECT;
393                            type: SWALLOW;
394                            repeat_events, 0;
395                            description {
396                                   state: "default" 0.0;
397                                   color: 255 0 0 100;
398                                   visible: 1;
399                                   align: 0.5 0.5;
400                                   fixed: 1 1;
401                                   rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -5 -5;}
402                                   rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +5 +5;}
403                            }
404                            description {
405                                   state: "default" 0.1;
406                                   inherit: "default" 0.0;
407                                   rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -7 -7;}
408                                   rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +7 +7;}
409                            }
410                            description {
411                                   state: "default" 0.9;
412                                   inherit: "default" 0.0;
413                                   rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -8 -8;}
414                                   rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +8 +8;}
415                            }
416                         }
417                         part { name: "elm.icon.2.touch_area"; // center icon
418 //                         type: RECT;
419                            type: SWALLOW;
420                            repeat_events, 0;
421                            description {
422                                   state: "default" 0.0;
423                                   color: 0 255 0 100;
424                                   visible: 1;
425                                   align: 0.5 0.5;
426                                   fixed: 1 1;
427                                   rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -5 -5;}
428                                   rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +5 +5;}
429                            }
430                            description {
431                                   state: "default" 0.1;
432                                   inherit: "default" 0.0;
433                                   rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -7 -7;}
434                                   rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +7 +7;}
435                            }
436                            description {
437                                   state: "default" 0.9;
438                                   inherit: "default" 0.0;
439                                   rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -8 -8;}
440                                   rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +8 +8;}
441                            }
442
443                         }
444                         part { name: "elm.icon.3.touch_area"; // right icon
445 //                         type: RECT;
446                            type: SWALLOW;
447                            repeat_events, 0;
448                            description {
449                                   state: "default" 0.0;
450                                   color: 0 0 255 100;
451                                   visible: 1;
452                                   align: 0.5 0.5;
453                                   fixed: 1 1;
454                                   rel1 { relative: 0.0 0.0; to: "elm.icon.3"; offset: -6 -5;}
455                                   rel2 { relative: 1.0 1.0; to: "elm.icon.3"; offset: +6 +5;}
456                            }
457                            description {
458                                   state: "default" 0.1;
459                                   inherit: "default" 0.0;
460                                   rel1 { relative: 0.0 0.0; to: "elm.icon.3"; offset: -7 -7;}
461                                   rel2 { relative: 1.0 1.0; to: "elm.icon.3"; offset: +7 +7;}
462                            }
463                            description {
464                                   state: "default" 0.9;
465                                   inherit: "default" 0.0;
466                                   rel1 { relative: 0.0 0.0; to: "elm.icon.3"; offset: -9 -8;}
467                                   rel2 { relative: 1.0 1.0; to: "elm.icon.3"; offset: +9 +8;}
468                            }
469                         }
470                         part { name: "elm.icon.1"; // left icon
471                            type: SWALLOW;
472                            repeat_events, 1;
473                            description {
474                                   state: "default" 0.0;
475                                   //color: 255 0 0 255;
476                                   visible: 1;
477                                   align: 0.5 0;
478                                   fixed: 1 1;
479                                   min: 57 57;
480                                   max: 57 57;
481                                   rel1 { relative: 112/360 0; to: "base"; offset: 0 35;}
482                                   rel2 { relative: 112/360 0; to: "base"; offset: 0 35;}
483                            }
484                            description {
485                                   state: "default" 0.1;
486                                   inherit: "default" 0.0;
487                                   min: 57+(99-57)/2 57+(99-57)/2;
488                                   max: 57+(99-57)/2 57+(99-57)/2;
489                                   rel1 { relative: ((64+112)/2)/360 0; to: "base"; offset: 0 (35+12)/2;}
490                                   rel2 { relative: ((64+112)/2)/360 0; to: "base"; offset: 0 (35+12)/2;}
491                            }
492                            description {
493                                   state: "default" 0.9;
494                                   inherit: "default" 0.0;
495                                   min: 99 99;
496                                   max: 99 99;
497                                   rel1 { relative: 64/360 0; to: "base"; offset: 0 12;}
498                                   rel2 { relative: 64/360 0; to: "base"; offset: 0 12;}
499                            }
500                         }
501                         part { name: "elm.icon.2"; // center icon
502                            type: SWALLOW;
503                            repeat_events, 1;
504                            description {
505                                   state: "default" 0.0;
506                                   visible: 1;
507                                   align: 0.5 0;
508                                   fixed: 1 1;
509                                   min: 57 57;
510                                   max: 57 57;
511                                   rel1 { relative: 0.5 0; to: "bg"; offset: 0 20;}
512                                   rel2 { relative: 0.5 0; to: "bg"; offset: 0 20;}
513                            }
514                            description {
515                                   state: "default" 0.1;
516                                   inherit: "default" 0.0;
517                                   min: 57+(99-57)/2 57+(99-57)/2;
518                                   max: 57+(99-57)/2 57+(99-57)/2;
519                                   rel1 { relative: 0.5 0; to: "bg"; offset: 0 (20+12)/2;}
520                                   rel2 { relative: 0.5 0; to: "bg"; offset: 0 (20+12)/2;}
521                            }
522                            description {
523                                   state: "default" 0.9;
524                                   inherit: "default" 0.0;
525                                   min: 99 99;
526                                   max: 99 99;
527                                   rel1 { relative: 0.5 0; to: "base"; offset: 0 12;}
528                                   rel2 { relative: 0.5 0; to: "base"; offset: 0 12;}
529                            }
530                         }
531                         part { name: "elm.icon.3"; // right icon
532                            type: SWALLOW;
533                            repeat_events, 1;
534                            description {
535                                   state: "default" 0.0;
536                                   //color: 255 0 0 255;
537                                   visible: 1;
538                                   align: 0.5 0;
539                                   fixed: 1 1;
540                                   min: 57 57;
541                                   max: 57 57;
542                                   rel1 { relative: 249/360 0; to: "base"; offset: 0 35;}
543                                   rel2 { relative: 249/360 0; to: "base"; offset: 0 35;}
544                            }
545                            description {
546                                   state: "default" 0.1;
547                                   inherit: "default" 0.0;
548                                   min: 57+(99-57)/2 57+(99-57)/2;
549                                   max: 57+(99-57)/2 57+(99-57)/2;
550                                   rel1 { relative: ((249+297)/2)/360 0; to: "base"; offset: 0 (35+12)/2;}
551                                   rel2 { relative: ((249+297)/2)/360 0; to: "base"; offset: 0 (35+12)/2;}
552                            }
553                            description {
554                                   state: "default" 0.9;
555                                   inherit: "default" 0.0;
556                                   min: 99 99;
557                                   max: 99 99;
558                                   rel1 { relative: 297/360 0; to: "base"; offset: 0 12;}
559                                   rel2 { relative: 297/360 0; to: "base"; offset: 0 12;}
560                            }
561                         }
562
563                         PART(SPACER, "elm.padding.fake",
564                                 DESC_TB("elm.padding.top","elm.padding.bottom",
565                                         min: LIST_BUTTON_PADDING_CENTER_SIZE_INC 0;
566                                         max: LIST_BUTTON_PADDING_CENTER_SIZE_INC -1;
567                                         fixed: 1 0;
568                                 )
569                         )
570                         PART(SPACER, "elm.padding.center",
571                                 DESC_LTB("elm.padding.fake", "elm.padding.top", "elm.padding.bottom",
572                                         min: LIST_BUTTON_PADDING_CENTER_SIZE_INC 0;
573                                         max: LIST_BUTTON_PADDING_CENTER_SIZE_INC -1;
574                                         fixed: 1 0;
575                                 )
576                         )
577                         PART(SWALLOW, "elm.swallow.center_check",
578                                 description { state: "default" 0.0;
579                                         align: 0.5 0.5;
580                                 }
581                         )
582                 }
583
584 //Gesture VI
585                 program { name: "do_start_expand_0.0";
586                         action: STATE_SET "default" 0.0;
587                         target: "elm.icon.1";
588                         target: "elm.icon.2";
589                         target: "elm.icon.3";
590                         target: "elm.icon.1.touch_area";
591                         target: "elm.icon.2.touch_area";
592                         target: "elm.icon.3.touch_area";
593                         transition: LINEAR 0.3;
594                 }
595                 program { name: "do_start_expand_0.1";
596                         action: STATE_SET "default" 0.1;
597                         target: "elm.icon.1";
598                         target: "elm.icon.2";
599                         target: "elm.icon.3";
600                         target: "elm.icon.1.touch_area";
601                         target: "elm.icon.2.touch_area";
602                         target: "elm.icon.3.touch_area";
603                         transition: LINEAR 0.3;
604                 }
605                 program { name: "do_start_expand_0.9";
606                         action: STATE_SET "default" 0.9;
607                         target: "elm.icon.1";
608                         target: "elm.icon.2";
609                         target: "elm.icon.3";
610                         target: "elm.icon.1.touch_area";
611                         target: "elm.icon.2.touch_area";
612                         target: "elm.icon.3.touch_area";
613                         transition: LINEAR 0.3;
614                 }
615                 program { name: "start_expand_0.0";
616                    source: "elm";
617                    signal: "elm,action,ime,0.0";
618                    script {
619                           run_program(PROGRAM:"do_start_expand_0.0");
620                    }
621                 }
622                 program { name: "start_expand_0.1";
623                    source: "elm";
624                    signal: "elm,action,ime,0.1";
625                    script {
626                           run_program(PROGRAM:"do_start_expand_0.1");
627                    }
628                 }
629                 program { name: "start_expand_0.9";
630                    source: "elm";
631                    signal: "elm,action,ime,0.9";
632                    script {
633                           run_program(PROGRAM:"do_start_expand_0.9");
634                    }
635                 }
636
637 //Rotary VI
638                 program { name: "do_rotary_start_expand_0.9";
639                         action: STATE_SET "default" 0.9;
640                         target: "elm.icon.1";
641                         target: "elm.icon.2";
642                         target: "elm.icon.3";
643                         target: "elm.icon.1.touch_area";
644                         target: "elm.icon.2.touch_area";
645                         target: "elm.icon.3.touch_area";
646                         transition: LINEAR 0.5;
647                 }
648                 program { name: "do_rotary_start_expand_0.0";
649                         action: STATE_SET "default" 0.0;
650                         target: "elm.icon.1";
651                         target: "elm.icon.2";
652                         target: "elm.icon.3";
653                         target: "elm.icon.1.touch_area";
654                         target: "elm.icon.2.touch_area";
655                         target: "elm.icon.3.touch_area";
656                         transition: LINEAR 0.5;
657                 }
658                 program { name: "rotary_start_expand_0.9";
659                    source: "elm";
660                    signal: "elm,action,rotary,ime,0.9";
661                    script {
662                           run_program(PROGRAM:"do_rotary_start_expand_0.9");
663                    }
664                 }
665                 program { name: "rotary_start_expand_0.0";
666                    source: "elm";
667                    signal: "elm,action,rotary,ime,0.0";
668                    script {
669                           run_program(PROGRAM:"do_rotary_start_expand_0.0");
670                    }
671                 }
672
673         }
674
675         group {
676                 name: "elm/genlist/item/2button/default";
677                 data.item: "treesize" 0;
678                 data.item: "flips" "elm.flip.icon elm.flip.content";
679                 data.item: "contents" "base elm.icon.1.touch_area elm.icon.2.touch_area elm.icon.1 elm.icon.2 elm.swallow.center_check";
680                 data.item: "vi_effect" "off";
681
682                 parts {
683                         PART_LIST_BG
684                         PART_LIST_PADDINGS(
685                                 LIST_BUTTON_PADDING_LEFT_SIZE_INC, LIST_BUTTON_PADDING_RIGHT_SIZE_INC,
686                                 LIST_BUTTON_PADDING_2BUTTON_TOP_SIZE_INC, LIST_BUTTON_PADDING_BOTTOM_SIZE_INC
687                         )
688                         PART(SWALLOW, "base",
689                                 DESC_LRTB("elm.padding.left", "elm.padding.right", "elm.padding.top", "elm.padding.bottom",
690                                         min: 360 0;
691                                         fixed: 1 0;
692                                         visible: 1;
693                                 )
694                         )
695                         part { name: "elm.icon.1.touch_area";
696                                 type: SWALLOW;
697                                 repeat_events, 0;
698                                 description {
699                                         state: "default" 0.0;
700                                         color: 255 0 0 100;
701                                         visible: 1;
702                                         align: 0.5 0.5;
703                                         fixed: 1 1;
704                                         rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -5 -5;}
705                                         rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +5 +5;}
706                                 }
707                                 description {
708                                         state: "default" 0.1;
709                                         inherit: "default" 0.0;
710                                         rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -7 -7;}
711                                         rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +7 +7;}
712                                 }
713                                 description {
714                                         state: "default" 0.9;
715                                         inherit: "default" 0.0;
716                                         rel1 { relative: 0.0 0.0; to: "elm.icon.1"; offset: -8 -8;}
717                                         rel2 { relative: 1.0 1.0; to: "elm.icon.1"; offset: +8 +8;}
718                                 }
719                         }
720                         part { name: "elm.icon.2.touch_area";
721                                 type: SWALLOW;
722                                 repeat_events, 0;
723                                 description {
724                                         state: "default" 0.0;
725                                         color: 0 0 255 100;
726                                         visible: 1;
727                                         align: 0.5 0.5;
728                                         fixed: 1 1;
729                                         rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -6 -5;}
730                                         rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +6 +5;}
731                                 }
732                                 description {
733                                         state: "default" 0.1;
734                                         inherit: "default" 0.0;
735                                         rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -7 -7;}
736                                         rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +7 +7;}
737                                 }
738                                 description {
739                                         state: "default" 0.9;
740                                         inherit: "default" 0.0;
741                                         rel1 { relative: 0.0 0.0; to: "elm.icon.2"; offset: -9 -8;}
742                                         rel2 { relative: 1.0 1.0; to: "elm.icon.2"; offset: +9 +8;}
743                                 }
744                         }
745                         part { name: "elm.icon.1";
746                                 type: SWALLOW;
747                                 repeat_events, 1;
748                                 description {
749                                         state: "default" 0.0;
750                                         visible: 1;
751                                         align: 0.5 0;
752                                         fixed: 1 1;
753                                         min: 114 114;
754                                         max: 114 114;
755                                         rel1 { relative: 112/360 0; to: "base"; offset: 0 35;}
756                                         rel2 { relative: 112/360 0; to: "base"; offset: 0 35;}
757                                 }
758                                 description {
759                                         state: "default" 0.1;
760                                         inherit: "default" 0.0;
761                                         min: 114+(198-114)/2 114+(198-114)/2;
762                                         max: 114+(198-114)/2 114+(198-114)/2;
763                                         rel1 { relative: ((64+112)/2)/360 0; to: "base"; offset: 0 (35+12)/2;}
764                                         rel2 { relative: ((64+112)/2)/360 0; to: "base"; offset: 0 (35+12)/2;}
765                                 }
766                                 description {
767                                         state: "default" 0.9;
768                                         inherit: "default" 0.0;
769                                         min: 198 198;
770                                         max: 198 198;
771                                         rel1 { relative: 128/360 0; to: "base"; offset: 0 12;}
772                                         rel2 { relative: 128/360 0; to: "base"; offset: 0 12;}
773                                 }
774                         }
775                         part { name: "elm.icon.2";
776                                 type: SWALLOW;
777                                 repeat_events, 1;
778                                 description {
779                                         state: "default" 0.0;
780                                         visible: 1;
781                                         align: 0.5 0;
782                                         fixed: 1 1;
783                                         min: 114 114;
784                                         max: 114 114;
785                                         rel1 { relative: 249/360 0; to: "base"; offset: 0 35;}
786                                         rel2 { relative: 249/360 0; to: "base"; offset: 0 35;}
787                                 }
788                                 description {
789                                         state: "default" 0.1;
790                                         inherit: "default" 0.0;
791                                         min: 114+(198-114)/2 114+(99-114)/2;
792                                         max: 114+(198-114)/2 114+(198-114)/2;
793                                         rel1 { relative: ((249+297)/2)/360 0; to: "base"; offset: 0 (35+12)/2;}
794                                         rel2 { relative: ((249+297)/2)/360 0; to: "base"; offset: 0 (35+12)/2;}
795                                 }
796                                 description {
797                                         state: "default" 0.9;
798                                         inherit: "default" 0.0;
799                                         min: 198 198;
800                                         max: 198 198;
801                                         rel1 { relative: 297/360 0; to: "base"; offset: 0 12;}
802                                         rel2 { relative: 297/360 0; to: "base"; offset: 0 12;}
803                                 }
804                         }
805
806                         PART(SPACER, "elm.padding.fake",
807                                 DESC_TB("elm.padding.top","elm.padding.bottom",
808                                         min: LIST_BUTTON_PADDING_CENTER_SIZE_INC 0;
809                                         max: LIST_BUTTON_PADDING_CENTER_SIZE_INC -1;
810                                         fixed: 1 0;
811                                 )
812                         )
813                         PART(SPACER, "elm.padding.center",
814                                 DESC_LTB("elm.padding.fake", "elm.padding.top", "elm.padding.bottom",
815                                         min: LIST_BUTTON_PADDING_CENTER_SIZE_INC 0;
816                                         max: LIST_BUTTON_PADDING_CENTER_SIZE_INC -1;
817                                         fixed: 1 0;
818                                 )
819                         )
820                         PART(SWALLOW, "elm.swallow.center_check",
821                                 description { state: "default" 0.0;
822                                         align: 0.5 0.5;
823                                 }
824                         )
825                 }
826 }