[Genlist] Fix some sound macro
[platform/core/uifw/efl-theme-tizen.git] / themes / widgets / genlist / genlist_decorate.edc
1 /*
2  * efl-theme-tizen
3  * Copyright (c) 2012-2013 Samsung Electronics Co., Ltd.
4  *
5  * Licensed under the Apache License, Version 2.0 (the License);
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an AS IS BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17
18
19
20 /*
21  * vim:ts=3
22  */
23
24 // 2.2.7.1 edit mode select all style
25    group { GENLIST_NAME("select_all/default")
26       alias: "elm/layout/select_all/default";
27
28       GENLIST_PROLOG
29
30       data.item: "texts" "elm.text";
31       data.item: "contents" "elm.icon";
32
33       parts {
34          part { name: "bg";
35             type: RECT;
36             description { state: "default" 0.0;
37               color: GENLIST_SELECT_ALL_BG_COLOR;
38             }
39          }
40          GENLIST_PART_BASE
41          GENLIST_PART_PADDING_LEFT
42          GENLIST_PART_PADDING_RIGHT
43          GENLIST_PART_PADDING_TOP_SIZE( 1 )    // (82-80)/2
44          GENLIST_PART_PADDING_BOTTOM_SIZE( 1 ) // (82-80)/2
45          GENLIST_PART_ICON_CHECK_RADIO_L("elm.icon", "elm.padding.left")
46          GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon")
47          GENLIST_PART_LISTITEM_("elm.text", 80,
48             "elm.padding.icon.right", "elm.padding.right", "elm.padding.top", "elm.padding.bottom",
49          )
50       }
51       programs {
52          GENLIST_PROGRAM_DISABLED( target: "elm.icon"; target: "elm.text"; )
53          GENLIST_PROGRAM_SOUND("bg")
54       }
55    }
56
57 // 2.2.7. Genlist Edit mode (rename)
58 // Should be used as decorate all item style
59    group { GENLIST_NAME("edit_default/default")
60
61       GENLIST_PROLOG_NORMAL
62
63       data.item: "contents" "elm.edit.icon.1 elm.edit.icon.2";
64
65       parts {
66          GENLIST_PART_BASE
67          GENLIST_PART_BG_NORMAL
68          GENLIST_PART_EXPANDED_PAD
69          GENLIST_PART_SPACER("elm.padding.left",
70             GENLIST_DESCRIPTION_L("elm.swallow.pad",
71                min: GENLIST_PADDING_SIZE_LEFT 0;
72                max: GENLIST_PADDING_SIZE_LEFT -1;
73                fixed: 1 0;
74             )
75             description { state: "reorder" 0.0;
76                inherit: "default" 0.0;
77                min: DIALOGUE_PADDING_SIZE_LEFT 0;
78                max: DIALOGUE_PADDING_SIZE_LEFT -1;
79             }
80          )
81          GENLIST_PART_SPACER("elm.padding.right",
82             description { state: "default" 0.0;
83                min: GENLIST_PADDING_SIZE_RIGHT 0;
84                max: GENLIST_PADDING_SIZE_RIGHT -1;
85                fixed: 1 0;
86                align: 1.0 0.5;
87                rel1.to: "base";
88                rel2.to: "base";
89                rel1.relative: 1 0;
90             }
91             description { state: "reorder" 0.0;
92                inherit: "default" 0.0;
93                min: DIALOGUE_PADDING_SIZE_RIGHT 0;
94                max: DIALOGUE_PADDING_SIZE_RIGHT -1;
95             }
96          )
97          GENLIST_PART_ICON("elm.edit.icon.1",
98             GENLIST_DESCRIPTION_L("elm.padding.left",
99                align: 1 0.5;
100                GENLIST_PARAM_ICON_CHECK_RADIO
101             )
102             description { state: "decorate" 0.0;
103                inherit: "default" 0.0;
104                align: 0 0.5;
105             }
106             description { state: "flipped" 0.0;
107                inherit: "default" 0.0;
108                rel1.relative: 0 0;
109                rel2.relative: 0 1;
110                align: 1 0.5;
111             }
112          )
113          GENLIST_PART_PADDING_L("elm.edit.icon1.right", "elm.edit.icon.1")
114          GENLIST_PART_ICON("elm.swallow.decorate.content",
115             GENLIST_DESCRIPTION_LR("elm.edit.icon1.right", "elm.edit.icon.2",
116                min: 0 GENLIST_HEIGHT_1LINE;
117             )
118          )
119          GENLIST_PART_BOTTOM_LINE
120          GENLIST_PART_ICON("elm.edit.icon.2",
121             GENLIST_DESCRIPTION_R("elm.padding.right",
122               align: 0 0.5;
123               max: 48 48;
124             )
125             description { state: "decorate" 0.0;
126                inherit: "default" 0.0;
127                align: 1 0.5;
128             }
129             description { state: "flipped" 0.0;
130                inherit: "default" 0.0;
131                rel1.relative: 1 0;
132                rel2.relative: 1 1;
133                align: 0 0.5;
134             }
135          )
136       }
137       programs {
138          GENLIST_PROGRAM_DISABLED(
139             target: "bg";
140             target: "bg_reorder";
141             target: "bottom_line";
142             target: "bottom_line2";
143          )
144          GENLIST_PROGRAM_SELECT(
145             target: "bg";
146             target: "bg_reorder";
147             target: "bottom_line";
148             target: "bottom_line2";
149          )
150          // BG of swallowed VIEW(it) is visible 0
151          GENLIST_PROGRAM_SOUND("bg")
152          GENLIST_PROGRAM_SOUND("bg_reorder")
153          GENLIST_PROGRAM_REORDER(
154            target: "bg_clip";
155            target: "bg_reorder_clip";
156            target: "bottom_line_clip";
157            target: "elm.padding.left";
158            target: "elm.padding.right";
159          )
160          GENLIST_PROGRAMS_DECORATE_EFFECT(
161             target: "elm.edit.icon.1";
162             target: "elm.edit.icon.2";
163          )
164          GENLIST_PROGRAM_FLIP_EFFECT_TARGET(
165             target: "elm.edit.icon.1";
166             target: "elm.edit.icon.2";
167          )
168          program { name: "flip_enabled";
169             signal:  "elm,state,flip,enabled";
170             source:  "elm";
171             script {
172                new st[31];
173                new Float:vl;
174                get_state(PART:"bg_reorder_clip", st, 30, vl);
175                if (!strcmp(st, "reorder") || !strcmp(st, "reorder_flip")) {
176                   set_state(PART:"bg_reorder_clip", "reorder_flip", 0.0);
177                 }
178             }
179          }
180          program { name: "flip_disabled";
181             signal:  "elm,state,flip,disabled";
182             source:  "elm";
183             script {
184                new st[31];
185                new Float:vl;
186                get_state(PART:"bg_reorder_clip", st, 30, vl);
187                if (!strcmp(st, "reorder") || !strcmp(st, "reorder_flip")) {
188                   set_state(PART:"bg_reorder_clip", "reorder", 0.0);
189                }
190             }
191          }
192       }
193    }
194
195 #if 0
196
197    group { name: "elm/genlist/item/edit_default_transparency/default";
198       alias: "elm/genlist/item_odd/edit_default_transparency/default";
199       alias: "elm/genlist/item_compress/edit_default_transparency/default";
200       alias: "elm/genlist/item_compress_odd/edit_default_transparency/default";
201       data.item: "stacking" "above";
202       data.item: "decorate_contents" "elm.edit.icon.1 elm.edit.icon.2";
203
204       images {
205          image: "01_list_reorder_bg_above.png" COMP;
206          image: "01_list_reorder_bg_below.png" COMP;
207       }
208       parts {
209          part { name: "base";
210             type: RECT;
211             repeat_events: 1;
212             scale: 1;
213             description { state: "default" 0.0;
214                color: 0 0 0 0;
215             }
216          }
217          GENLIST_PART_PADDING_TOP_SIZE( 0 )
218          GENLIST_PART_PADDING_BOTTOM_SIZE( 0 )
219          GENLIST_PART_PADDING_RIGHT_EDIT
220
221          part { name: "elm.padding.reorder";
222             type: RECT;
223             scale: 1;
224             description { state: "default" 0.0;
225                min: GENLIST_SIZE_16_INC 0;
226                fixed: 1 0;
227                visible: 0;
228                rel2.relative: 0.0 1.0;
229                align: 1.0 0.0;
230             }
231             description { state: "reorder" 0.0;
232                inherit: "default" 0.0;
233                align: 0.0 0.0;
234             }
235          }
236          part { name: "elm.decorate_bg";
237             type: RECT;
238             scale: 1;
239             description { state: "default" 0.0;
240                rel1 {
241                   relative: 1.0 1.0;
242                   to_x: "elm.padding.reorder";
243                   to_y: "elm.padding.top";
244                }
245                rel2 {
246                   relative: 1.0 0.0;
247                   to_y: "elm.padding.bottom";
248                }
249              color: 0 0 0 0;
250            }
251         }
252
253         part { name: "elm.padding.left";
254            type: RECT;
255            scale: 1;
256            description { state: "default" 0.0;
257               min: GENLIST_SIZE_16_INC 0;
258               fixed: 1 0;
259               visible: 0;
260               rel1 {
261                  relative: 1.0 0.0;
262                  to_x: "elm.padding.reorder";
263               }
264               rel2.to_x: "elm.padding.reorder";
265               rel2.relative: 0.0  1.0;
266               align: 0.0 0.0;
267            }
268         }
269
270         part { name: "elm.edit.icon.1";
271             type: SWALLOW;
272             scale: 1;
273             description { state: "default" 0.0;
274                fixed: 1 1;
275                align: 1.0 0.5;
276                rel1 {
277                   relative: 1.0 1.0;
278                   offset: 0 0;
279                   to_x: "elm.padding.left";
280                   to_y: "elm.padding.top";
281                }
282                rel2 {
283                   relative: 1.0 0.0;
284                   offset: 0 0;
285                   to_x: "elm.padding.left";
286                   to_y: "elm.padding.bottom";
287                }
288             }
289           description { state: "enabled" 0.0;
290              inherit: "default" 0.0;
291                align: 0.0 0.5;
292             }
293          }
294
295          part { name: "elm.padding.icon1.right";
296             type: RECT;
297             scale: 1;
298             description { state: "default" 0.0;
299                min: GENLIST_SIZE_16_INC 0;
300                fixed: 1 0;
301                visible: 0;
302                rel1 {
303                   relative: 1.0 0.0;
304                   to_x: "elm.edit.icon.1";
305                }
306                rel2.to_x: "elm.edit.icon.1";
307                align: 0.0 0.0;
308             }
309          }
310
311          part { name: "elm.swallow.decorate.content";
312             type: SWALLOW;
313             mouse_events: 1;
314             scale: 1;
315             description { state: "default" 0.0;
316                rel1 {
317                   relative: 1.0 1.0;
318                   to_x: "elm.padding.icon1.right";
319                   to_y: "elm.padding.top";
320                }
321                rel2 {
322                   relative: 0.2 0.0;
323                   to_x: "elm.edit.icon.2";
324                   to_y: "elm.padding.bottom";
325                }
326             }
327             description { state: "disabled" 0.0;
328                inherit: "default" 0.0;
329                visible: 0;
330             }
331             description { state: "flipped" 0.0;
332                inherit: "default" 0.0;
333                rel1 {
334                   relative: 0.0 1.0;
335                   to_x: "elm.padding.left";
336                   to_y: "elm.padding.top";
337                }
338                rel2 {
339                   relative: 1.3 0.0;
340                   to_x: "elm.padding.right";
341                   to_y: "elm.padding.bottom";
342                }
343             }
344          }
345          part { name: "elm.padding.icon2.left";
346             type: RECT;
347             scale: 1;
348             description { state: "default" 0.0;
349                min: GENLIST_SIZE_16_INC 0;
350                fixed: 1 0;
351                visible: 0;
352                rel1 {
353                   relative: 1.0 0.0;
354                   to_x: "elm.swallow.decorate.content";
355                }
356                rel2.to_x: "elm.swallow.decorate.content";
357                align: 0.0 0.0;
358             }
359          }
360
361        part { name: "elm.edit.icon.2";
362             type: SWALLOW;
363             description { state: "default" 0.0;
364                fixed: 1 0;
365                align: 0.0 0.5;
366                visible: 1;
367                rel1 {
368                   relative: 1.0  0.0;
369                   offset:   -GENLIST_SIZE_16_INC    GENLIST_SIZE_6_INC;
370                }
371                rel2 {
372                   relative: 1.0  1.0;
373                   offset:   -GENLIST_SIZE_16_INC -GENLIST_SIZE_8_INC;
374                }
375             }
376           description { state: "disabled" 0.0;
377              inherit: "default" 0.0;
378              visible: 0;
379           }
380           description { state: "enabled" 0.0;
381              inherit: "default" 0.0;
382                align: 1.0 0.5;
383           }
384        }
385
386        part { name: "bottom_line";
387           type: RECT;
388           mouse_events: 0;
389           description { state: "default" 0.0;
390              min: 0 0;
391              fixed: 0 1;
392              visible: 1;
393              color: GENLIST_PART_EDIT_1PIXEL_LINE_COLOR_INC;
394              rel1 {
395                 relative: 0.0 1.0;
396                 to_x: "elm.decorate_bg";
397                 offset: 0 -1;
398              }
399           }
400           description {
401               state: "hide" 0.0;
402               inherit: "default" 0.0;
403               visible: 0;
404           }
405           description {
406               state: "enabled" 0.0;
407               inherit: "default" 0.0;
408               min: 0 1;
409               fixed: 0 1;
410           }
411        }
412        part { name: "reorder_glow_above";
413           mouse_events: 0;
414           description { state: "default" 0.0;
415              visible: 0;
416              rel1.relative: 0.0 -0.3;
417              rel2.relative: 1.0 0.0;
418              image {
419                 normal: "01_list_reorder_bg_above.png";
420              }
421              fill.smooth: 0;
422           }
423           description { state: "reorder" 0.0;
424              inherit: "default" 0.0;
425              visible: 1;
426           }
427        }
428        part { name: "reorder_glow_below";
429           mouse_events: 0;
430           description { state: "default" 0.0;
431              visible: 0;
432              rel1.relative: 0.0 1.0;
433              rel2.relative: 1.0 1.3;
434              image {
435                 normal: "01_list_reorder_bg_below.png";
436              }
437              fill.smooth: 0;
438           }
439           description { state: "reorder" 0.0;
440              inherit: "default" 0.0;
441              visible: 1;
442           }
443        }
444        GENLIST_PART_DISCLIP
445       }
446       programs {
447          program { name: "go_disabled";
448             signal: "elm,state,disabled";
449             source: "elm";
450             action: STATE_SET "disabled" 0.0;
451             target: "disclip";
452          }
453          program { name: "go_enabled";
454             signal: "elm,state,enabled";
455             source: "elm";
456             action: STATE_SET "default" 0.0;
457             target: "disclip";
458          }
459
460          // decorate mode enable signal
461          program { name: "decorate_enabled_effect";
462             signal: "elm,state,decorate,enabled,effect";
463             source: "elm";
464             action: STATE_SET "enabled" 0.0;
465             transition: DECELERATE 0.7;
466             target: "elm.edit.icon.1";
467             target: "elm.edit.icon.2";
468             target: "bottom_line";
469          }
470          program { name: "decorate_disabled_effect";
471             signal: "elm,state,decorate,disabled,effect";
472             source: "elm";
473             action: STATE_SET "default" 0.0;
474             transition: DECELERATE 0.7;
475             target: "elm.edit.icon.1";
476             target: "elm.edit.icon.2";
477             target: "bottom_line";
478          }
479          program { name: "decorate_enabled";
480             signal: "elm,state,decorate,enabled";
481             source: "elm";
482             action: STATE_SET "enabled" 0.0;
483             target: "elm.edit.icon.1";
484             target: "elm.edit.icon.2";
485             target: "bottom_line";
486          }
487          program { name: "decorate_disabled";
488             signal: "elm,state,decorate,disabled";
489             source: "elm";
490             action: STATE_SET "default" 0.0;
491             target: "elm.edit.icon.1";
492             target: "elm.edit.icon.2";
493             target: "bottom_line";
494          }
495
496          // reorder signal
497          program { name: "reorder_enabled";
498             signal: "elm,state,reorder,enabled";
499             source: "elm";
500             action: STATE_SET "reorder" 0.0;
501             target: "elm.padding.reorder";
502          }
503          program { name: "reorder_disabled";
504             signal: "elm,state,reorder,disabled";
505             source: "elm";
506             action: STATE_SET "default" 0.0;
507             target: "elm.padding.reorder";
508          }
509
510          program { name: "reorder_enabled_effect";
511             signal: "elm,state,reorder_enabled_effect";
512             source: "elm";
513             action: STATE_SET "reorder" 0.0;
514             transition: DECELERATE 0.7;
515             target: "elm.padding.reorder";
516          }
517          program { name: "reorder_disabled_effect";
518             signal: "elm,state,reorder_disabled_effect";
519             source: "elm";
520             action: STATE_SET "default" 0.0;
521             transition: DECELERATE 0.7;
522             target: "elm.padding.reorder";
523          }
524         // reorder glow
525         program {
526             name:    "show_reorder_glow";
527             signal:  "elm,action,item,reorder_start";
528             source:  "elm";
529             action:  STATE_SET "reorder" 0.0;
530             target:  "reorder_glow_above";
531             target:  "reorder_glow_below";
532         }
533         program {
534             name:    "hide_reorder_glow";
535             signal:  "elm,action,item,reorder_end";
536             source:  "elm";
537             action:  STATE_SET "default" 0.0;
538             target:  "reorder_glow_above";
539             target:  "reorder_glow_below";
540         }
541         // flip
542         program {
543             name:    "enable_flip_mode";
544             signal:  "elm,state,flip,enabled";
545             source:  "elm";
546             action:  STATE_SET "disabled" 0.0;
547             target:  "elm.edit.icon.2";
548             after:   "enable_flip_mode_next";
549         }
550         program {
551             name:    "enable_flip_mode_next";
552             action:  STATE_SET "flipped" 0.0;
553             transition: DECELERATE 0.5;
554             target:  "elm.swallow.decorate.content";
555         }
556         program {
557             name:    "disable_flip_mode";
558             signal:  "elm,state,flip,disabled";
559             source:  "elm";
560             action:  STATE_SET "default" 0.0;
561             transition: DECELERATE 0.5;
562             target:  "elm.swallow.decorate.content";
563             target:  "elm.edit.icon.2";
564         }
565       }
566    }
567
568    group { name: "elm/genlist/item/dialogue/edit/default";
569       alias: "elm/genlist/item_odd/dialogue/edit/default";
570       alias: "elm/genlist/item_compress/dialogue/edit/default";
571       alias: "elm/genlist/item_compress_odd/dialogue/edit/default";
572       alias: "elm/layout/dialogue/decorate";
573       data.item: "stacking" "above";
574       data.item: "decorate_contents" "elm.edit.icon.1 elm.edit.icon.2";
575
576       parts {
577          part { name: "base";
578             type: RECT;
579             repeat_events: 1;
580             scale: 1;
581             description { state: "default" 0.0;
582                color: 0 0 0 0;
583             }
584          }
585          GENLIST_PART_PADDING_TOP_SIZE( 0 )
586          GENLIST_PART_PADDING_BOTTOM_SIZE( 0 )
587          GENLIST_PART_PADDING_RIGHT_EDIT
588
589          part { name: "elm.decorate_bg";
590             type: RECT;
591             scale: 1;
592             description { state: "default" 0.0;
593                rel1 {
594                   relative: 1.0 1.0;
595                   to_x: "elm.rect.dialogue";
596                   to_y: "elm.padding.top";
597                }
598                rel2 {
599                   relative: 1.0 0.0;
600                   to_y: "elm.padding.bottom";
601                }
602                color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR;
603            }
604            description { state: "selected" 0.0;
605                inherit: "default" 0.0;
606                color: GENLIST_LIST_PRESS_COLOR;
607            }
608         }
609          part { name: "elm.rect.dialogue";
610             type: RECT;
611             scale: 1;
612             description { state: "default" 0.0;
613                min: GENLIST_SIZE_16_INC 0;
614                fixed: 1 0;
615                color: GENLIST_DIALOGUE_GROUP_LEFT_BG_COLOR_INC;
616                rel2.relative: 0.0 1.0;
617                align: 0.0 0.0;
618             }
619          }
620         part { name: "elm.padding.left";
621            type: RECT;
622            scale: 1;
623            description { state: "default" 0.0;
624               min: GENLIST_PADDING_5_INC 0;
625               fixed: 1 0;
626               visible: 0;
627               rel1 {
628                  relative: 1.0 0.0;
629                  to_x: "elm.rect.dialogue";
630               }
631               rel2.to_x: "elm.rect.dialogue";
632               align: 0.0 0.0;
633            }
634         }
635         part { name: "elm.edit.icon.1";
636             type: SWALLOW;
637             scale: 1;
638             description { state: "default" 0.0;
639                align: 1.0 0.5;
640                rel1 {
641                   relative: 1.0 1.0;
642                   to_x: "elm.padding.left";
643                   to_y: "elm.padding.top";
644                }
645                rel2 {
646                   relative: 1.0 0.0;
647                   to_x: "elm.padding.left";
648                   to_y: "elm.padding.bottom";
649                }
650             }
651           description { state: "enabled" 0.0;
652              inherit: "default" 0.0;
653                align: 0.0 0.5;
654             }
655          }
656          part { name: "elm.padding.icon1.right";
657             type: RECT;
658             scale: 1;
659             description { state: "default" 0.0;
660                min: GENLIST_SIZE_16_INC 0;
661                fixed: 1 0;
662                visible: 0;
663                rel1 {
664                   relative: 1.0 0.0;
665                   to_x: "elm.edit.icon.1";
666                }
667                rel2.to_x: "elm.edit.icon.1";
668                align: 0.0 0.0;
669             }
670             description { state: "disabled" 0.0;
671                inherit: "default" 0.0;
672                visible: 0;
673             }
674          }
675          part { name: "elm.swallow.decorate.content_cliprect";
676             type: RECT;
677             mouse_events: 1;
678             scale: 1;
679             description { state: "default" 0.0;
680                rel1 {
681                   relative: 1.0 1.0;
682                   to_x: "elm.edit.icon.1";
683                   to_y: "elm.padding.top";
684                }
685                rel2 {
686                   relative: 0.0 0.0;
687                   to_x: "elm.padding.icon2.left";
688                   to_y: "elm.padding.bottom";
689                }
690             }
691             description { state: "disabled" 0.0;
692                inherit: "default" 0.0;
693                visible: 0;
694             }
695             description { state: "flipped" 0.0;
696                inherit: "default" 0.0;
697                rel1 {
698                   relative: 0.0 1.0;
699                   to_x: "elm.padding.left";
700                   to_y: "elm.padding.top";
701                }
702                rel2 {
703                   relative: 1.3 0.0;
704                   to_x: "elm.padding.right";
705                   to_y: "elm.padding.bottom";
706                }
707             }
708          }
709          part { name: "elm.swallow.decorate.content";
710             clip_to: "elm.swallow.decorate.content_cliprect";
711             type: SWALLOW;
712             mouse_events: 1;
713             scale: 1;
714             description { state: "default" 0.0;
715                rel1 { relative: -1.0 0.0;
716                   to_x: "elm.padding.icon1.right";
717                   to_y: "elm.swallow.decorate.content_cliprect";
718                }
719                rel2 { to: "elm.swallow.decorate.content_cliprect"; }
720             }
721             description { state: "disabled" 0.0;
722                inherit: "default" 0.0;
723                visible: 0;
724             }
725             description { state: "flipped" 0.0;
726                rel1 { relative: 0.0 0.0;
727                   to_x: "elm.rect.dialogue";
728                   to_y: "elm.swallow.decorate.content_cliprect";
729                }
730                rel2.to: "elm.swallow.decorate.content_cliprect";
731             }
732          }
733
734          part { name: "elm.padding.icon2.left";
735             type: RECT;
736             scale: 1;
737             description { state: "default" 0.0;
738                min: GENLIST_SIZE_16_INC 0;
739                fixed: 1 0;
740                visible: 0;
741                rel1.to_x: "elm.edit.icon.2";
742                rel2 {
743                   relative: 0.0 1.0;
744                   to_x: "elm.edit.icon.2";
745                }
746                align: 0.0 0.0;
747             }
748          }
749
750        part { name: "elm.edit.icon.2";
751             type: SWALLOW;
752             description { state: "default" 0.0;
753                fixed: 1 0;
754                align: 0.0 0.5;
755                rel1.to_x: "elm.padding.right";
756                rel2 {
757                   relative: 0.0  1.0;
758                   to_x: "elm.padding.right";
759                }
760             }
761           description { state: "disabled" 0.0;
762              inherit: "default" 0.0;
763              visible: 0;
764           }
765           description { state: "enabled" 0.0;
766              inherit: "default" 0.0;
767                align: 1.0 0.5;
768           }
769        }
770
771        part { name: "bottom_line";
772           type: RECT;
773           mouse_events: 0;
774           description { state: "default" 0.0;
775              min: 0 0;
776              fixed: 0 1;
777              visible: 1;
778              color: GENLIST_LIST_LINE1_COLOR;
779              rel1 {
780                 relative: 0.0 1.0;
781                 to_x: "elm.decorate_bg";
782                 offset: 0 -1;
783              }
784           }
785           description {
786               state: "hide" 0.0;
787               inherit: "default" 0.0;
788               visible: 0;
789           }
790        }
791        GENLIST_PART_DISCLIP
792       }
793       programs {
794          program { name: "go_active";
795             signal: "elm,state,selected";
796             source: "elm";
797             action: STATE_SET "selected" 0.0;
798             target: "elm.decorate_bg";
799          }
800          program { name: "go_passive";
801             signal: "elm,state,unselected";
802             source: "elm";
803             action: STATE_SET "default" 0.0;
804             target: "elm.decorate_bg";
805             transition: LINEAR 0.1;
806          }
807
808          program { name: "go_disabled";
809             signal: "elm,state,disabled";
810             source: "elm";
811             action: STATE_SET "disabled" 0.0;
812             target: "disclip";
813          }
814          program { name: "go_enabled";
815             signal: "elm,state,enabled";
816             source: "elm";
817             action: STATE_SET "default" 0.0;
818             target: "disclip";
819          }
820
821          // decorate mode enable signal
822          program { name: "GENLIST_PART_BASE_BOTTOM_LINE";
823             signal: "elm,state,decorate,enabled,effect";
824             source: "elm";
825             action: STATE_SET "enabled" 0.0;
826             transition: DECELERATE 0.7;
827             target: "elm.edit.icon.1";
828             target: "elm.edit.icon.2";
829          }
830          program { name: "decorate_disabled_effect";
831             signal: "elm,state,decorate,disabled,effect";
832             source: "elm";
833             action: STATE_SET "default" 0.0;
834             transition: DECELERATE 0.7;
835             target: "elm.edit.icon.1";
836             target: "elm.edit.icon.2";
837          }
838          program { name: "decorate_enabled";
839             signal: "elm,state,decorate,enabled";
840             source: "elm";
841             action: STATE_SET "enabled" 0.0;
842             target: "elm.edit.icon.1";
843             target: "elm.edit.icon.2";
844          }
845          program { name: "decorate_disabled";
846             signal: "elm,state,decorate,disabled";
847             source: "elm";
848             action: STATE_SET "default" 0.0;
849             target: "elm.edit.icon.1";
850             target: "elm.edit.icon.2";
851          }
852
853         // flip
854         program {
855             name:    "enable_flip_mode";
856             signal:  "elm,state,flip,enabled";
857             source:  "elm";
858             action:  STATE_SET "disabled" 0.0;
859             target:  "elm.edit.icon.2";
860             target:  "elm.padding.icon1.right";
861             after:   "enable_flip_mode_next";
862         }
863         program {
864             name:    "enable_flip_mode_next";
865             action:  STATE_SET "flipped" 0.0;
866             //transition: DECELERATE 0.5;
867             target:  "elm.swallow.decorate.content_cliprect";
868             target:  "elm.swallow.decorate.content";
869         }
870         program {
871             name:    "disable_flip_mode";
872             signal:  "elm,state,flip,disabled";
873             source:  "elm";
874             action:  STATE_SET "default" 0.0;
875             transition: DECELERATE 0.5;
876             target:  "elm.swallow.decorate.content_cliprect";
877             target:  "elm.swallow.decorate.content";
878             target:  "elm.edit.icon.2";
879         }
880       }
881    }
882
883    group { name: "elm/genlist/item/dialogue/edit/contact/default";
884       alias: "elm/genlist/item_odd/dialogue/edit/contact/default";
885       alias: "elm/genlist/item_compress/dialogue/edit/contact/default";
886       alias: "elm/genlist/item_compress_odd/dialogue/edit/contact/default";
887       alias: "elm/layout/dialogue/edit/contact";
888       data.item: "stacking" "above";
889       data.item: "decorate_contents" "elm.edit.icon";
890
891       parts {
892          part { name: "base";
893             type: RECT;
894             repeat_events: 1;
895             scale: 1;
896             description { state: "default" 0.0;
897                color: 0 0 0 0;
898             }
899          }
900          GENLIST_PART_PADDING_TOP_SIZE( 0 )
901          GENLIST_PART_PADDING_BOTTOM_SIZE( 0 )
902          GENLIST_PART_PADDING_RIGHT_EDIT
903
904          part { name: "elm.decorate_bg";
905             type: RECT;
906             scale: 1;
907             description { state: "default" 0.0;
908                rel1 {
909                   relative: 0.0 1.0;
910                   to_y: "elm.padding.top";
911                }
912                rel2 {
913                   relative: 1.0 0.0;
914                   to_y: "elm.padding.bottom";
915                }
916                color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR;
917            }
918         }
919          part { name: "elm.swallow.decorate.content";
920             type: SWALLOW;
921             mouse_events: 1;
922             scale: 1;
923             description { state: "default" 0.0;
924                rel1 {
925                   relative: 0.0 1.0;
926                   to_y: "elm.padding.top";
927                }
928                rel2 {
929                   relative: 0.0 0.0;
930                   to_x: "elm.base.icon";
931                   to_y: "elm.padding.bottom";
932                }
933             }
934             description { state: "disabled" 0.0;
935                inherit: "default" 0.0;
936                visible: 0;
937             }
938             description { state: "flipped" 0.0;
939                inherit: "default" 0.0;
940             }
941          }
942        part { name: "vertical_line";
943           type: RECT;
944           mouse_events: 0;
945           description { state: "default" 0.0;
946              min: 1 0;
947              fixed: 1 0;
948              color: GENLIST_LIST_LINE1_COLOR;
949              rel1 {
950                 relative: 1.0 0.0;
951                 to_x: "elm.swallow.decorate.content";
952                 offset: -1 0;
953              }
954              rel2.to_x: "elm.swallow.decorate.content";
955           }
956           description {
957               state: "hide" 0.0;
958               inherit: "default" 0.0;
959               visible: 0;
960           }
961        }
962        part { name: "bottom_line";
963           type: RECT;
964           mouse_events: 0;
965           description { state: "default" 0.0;
966              min: 0 1;
967              fixed: 0 1;
968              color: GENLIST_LIST_LINE1_COLOR;
969              rel1 {
970                 relative: 0.0 1.0;
971                 to_x: "elm.decorate_bg";
972                 offset: 0 -1;
973              }
974           }
975           description {
976               state: "hide" 0.0;
977               inherit: "default" 0.0;
978               visible: 0;
979           }
980        }
981        part { name: "elm.base.icon";
982           type: RECT;
983           scale: 1;
984           description { state: "default" 0.0;
985              min: GENLIST_SIZE_90_INC 0;
986              fixed: 1 0;
987              color: LAYOUT_GROUP_LIST_BG_COLOR_INC;
988              rel1 {
989                 relative: 1.0 0.0;
990                 offset: 0 -1;
991              }
992              align: 0.0 0.5;
993           }
994           description { state: "enabled" 0.0;
995              inherit: "default" 0.0;
996              align: 1.0 0.5;
997           }
998        }
999        part { name: "elm.padding.icon.bottom";
1000            type: RECT;
1001            scale: 1;
1002            description { state: "default" 0.0;
1003               min: 0 GENLIST_SIZE_40_INC;
1004               fixed: 0 1;
1005               align: 0.5 1.0;
1006               visible: 0;
1007               rel1 {
1008                  relative: 0.0 1.0;
1009                  to_x: "elm.base.icon";
1010               }
1011               rel2.to_x: "elm.base.icon";
1012            }
1013        }
1014        part { name: "elm.edit.icon";
1015           type: SWALLOW;
1016           description { state: "default" 0.0;
1017              align: 0.0 1.0;
1018              fixed: 1 1;
1019              rel1 {
1020                 relative: 1.0  0.0;
1021                 to_y: "elm.padding.icon.bottom";
1022              }
1023              rel2 {
1024                 relative: 1.0  0.0;
1025                 to_y: "elm.padding.icon.bottom";
1026              }
1027           }
1028           description { state: "disabled" 0.0;
1029              inherit: "default" 0.0;
1030              visible: 0;
1031           }
1032           description { state: "enabled" 0.0;
1033              inherit: "default" 0.0;
1034                align: 1.0 1.0;
1035           }
1036        }
1037        GENLIST_PART_DISCLIP
1038       }
1039       programs {
1040          program { name: "go_disabled";
1041             signal: "elm,state,disabled";
1042             source: "elm";
1043             action: STATE_SET "disabled" 0.0;
1044             target: "disclip";
1045          }
1046          program { name: "go_enabled";
1047             signal: "elm,state,enabled";
1048             source: "elm";
1049             action: STATE_SET "default" 0.0;
1050             target: "disclip";
1051          }
1052
1053          // decorate mode enable signal
1054          program { name: "decorate_enabled_effect";
1055             signal: "elm,state,decorate,enabled,effect";
1056             source: "elm";
1057             action: STATE_SET "enabled" 0.0;
1058             transition: DECELERATE 0.7;
1059             target: "elm.base.icon";
1060             target: "elm.edit.icon";
1061          }
1062          program { name: "decorate_disabled_effect";
1063             signal: "elm,state,decorate,disabled,effect";
1064             source: "elm";
1065             action: STATE_SET "default" 0.0;
1066             transition: DECELERATE 0.7;
1067             target: "elm.base.icon";
1068             target: "elm.edit.icon";
1069          }
1070          program { name: "decorate_enabled";
1071             signal: "elm,state,decorate,enabled";
1072             source: "elm";
1073             action: STATE_SET "enabled" 0.0;
1074             target: "elm.base.icon";
1075             target: "elm.edit.icon";
1076          }
1077          program { name: "decorate_disabled";
1078             signal: "elm,state,decorate,disabled";
1079             source: "elm";
1080             action: STATE_SET "default" 0.0;
1081             target: "elm.base.icon";
1082             target: "elm.edit.icon";
1083          }
1084         // flip
1085         program {
1086             name:    "enable_flip_mode";
1087             signal:  "elm,state,flip,enabled";
1088             source:  "elm";
1089             after:   "enable_flip_mode_next";
1090         }
1091         program {
1092             name:    "enable_flip_mode_next";
1093             action:  STATE_SET "flipped" 0.0;
1094             transition: DECELERATE 0.5;
1095             target:  "elm.swallow.decorate.content";
1096         }
1097         program {
1098             name:    "disable_flip_mode";
1099             signal:  "elm,state,flip,disabled";
1100             source:  "elm";
1101             action:  STATE_SET "default" 0.0;
1102             transition: DECELERATE 0.5;
1103             target:  "elm.swallow.decorate.content";
1104             target:  "elm.edit.icon";
1105         }
1106       }
1107    }
1108
1109    /* this group is only for 2text.1icon.2 */
1110    group { name: "elm/genlist/item/dialogue/edit/contact.2/default";
1111       alias: "elm/genlist/item_odd/dialogue/edit/contact.2/default";
1112       alias: "elm/genlist/item_compress/dialogue/edit/contact.2/default";
1113       alias: "elm/genlist/item_compress_odd/dialogue/edit/contact.2/default";
1114       alias: "elm/layout/dialogue/edit/contact.2";
1115       data.item: "stacking" "above";
1116       data.item: "decorate_contents" "elm.edit.icon";
1117
1118       parts {
1119          part { name: "base";
1120             type: RECT;
1121             repeat_events: 1;
1122             scale: 1;
1123             description { state: "default" 0.0;
1124                color: 0 0 0 0;
1125             }
1126          }
1127          GENLIST_PART_PADDING_TOP_SIZE( 0 )
1128          GENLIST_PART_PADDING_BOTTOM_SIZE( 0 )
1129          GENLIST_PART_PADDING_RIGHT_EDIT
1130
1131          part { name: "elm.decorate_bg";
1132             type: RECT;
1133             scale: 1;
1134             description { state: "default" 0.0;
1135                rel1 {
1136                   relative: 0.0 1.0;
1137                   to_y: "elm.padding.top";
1138                }
1139                rel2 {
1140                   relative: 1.0 0.0;
1141                   to_y: "elm.padding.bottom";
1142                }
1143                color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR;
1144            }
1145         }
1146          part { name: "elm.swallow.decorate.content";
1147             type: SWALLOW;
1148             mouse_events: 1;
1149             scale: 1;
1150             description { state: "default" 0.0;
1151                rel1 {
1152                   relative: 0.0 1.0;
1153                   to_y: "elm.padding.top";
1154                }
1155                rel2 {
1156                   relative: 0.0 0.0;
1157                   to_x: "elm.base.icon";
1158                   to_y: "elm.padding.bottom";
1159                }
1160             }
1161             description { state: "disabled" 0.0;
1162                inherit: "default" 0.0;
1163                visible: 0;
1164             }
1165             description { state: "flipped" 0.0;
1166                inherit: "default" 0.0;
1167             }
1168          }
1169        part { name: "vertical_line";
1170           type: RECT;
1171           mouse_events: 0;
1172           description { state: "default" 0.0;
1173              min: 1 0;
1174              fixed: 1 0;
1175              align: 0.5 0.5;
1176              color: GENLIST_LIST_LINE1_COLOR;
1177              rel1 {
1178                 relative: 1.0 0.12;
1179                 to_x: "elm.swallow.decorate.content";
1180                 offset: -1 0;
1181              }
1182              rel2 {
1183                 relative: 1.0 0.89;
1184                 to_x: "elm.swallow.decorate.content";
1185              }
1186           }
1187           description {
1188               state: "hide" 0.0;
1189               inherit: "default" 0.0;
1190               visible: 0;
1191           }
1192        }
1193        part { name: "bottom_line";
1194           type: RECT;
1195           mouse_events: 0;
1196           description { state: "default" 0.0;
1197              min: 0 1;
1198              fixed: 0 1;
1199              color: GENLIST_LIST_LINE1_COLOR;
1200              rel1 {
1201                 relative: 0.0 1.0;
1202                 to_x: "elm.decorate_bg";
1203                 offset: 0 -1;
1204              }
1205           }
1206           description {
1207               state: "hide" 0.0;
1208               inherit: "default" 0.0;
1209               visible: 0;
1210           }
1211        }
1212        part { name: "elm.base.icon";
1213           type: RECT;
1214           scale: 1;
1215           description { state: "default" 0.0;
1216              min: GENLIST_SIZE_90_INC 0;
1217              fixed: 1 0;
1218              color: LAYOUT_GROUP_LIST_BG_COLOR_INC;
1219              rel1 {
1220                 relative: 1.0 0.0;
1221                 offset: 0 -1;
1222              }
1223              align: 0.0 0.5;
1224           }
1225           description { state: "enabled" 0.0;
1226              inherit: "default" 0.0;
1227              align: 1.0 0.5;
1228           }
1229        }
1230        part { name: "elm.padding.icon.bottom";
1231            type: RECT;
1232            scale: 1;
1233            description { state: "default" 0.0;
1234               min: 0 GENLIST_SIZE_40_INC;
1235               fixed: 0 1;
1236               align: 0.5 1.0;
1237               visible: 0;
1238               rel1 {
1239                  relative: 0.0 1.0;
1240                  to_x: "elm.base.icon";
1241               }
1242               rel2.to_x: "elm.base.icon";
1243            }
1244        }
1245        part { name: "elm.edit.icon";
1246           type: SWALLOW;
1247           description { state: "default" 0.0;
1248              align: 0.0 1.0;
1249              rel1 {
1250                 relative: 1.0  0.0;
1251                 to_y: "elm.padding.icon.bottom";
1252              }
1253              rel2 {
1254                 relative: 1.0  0.0;
1255                 to_y: "elm.padding.icon.bottom";
1256              }
1257           }
1258           description { state: "disabled" 0.0;
1259              inherit: "default" 0.0;
1260              visible: 0;
1261           }
1262           description { state: "enabled" 0.0;
1263              inherit: "default" 0.0;
1264                align: 1.0 1.0;
1265           }
1266        }
1267        GENLIST_PART_DISCLIP
1268       }
1269       programs {
1270          program { name: "go_disabled";
1271             signal: "elm,state,disabled";
1272             source: "elm";
1273             action: STATE_SET "disabled" 0.0;
1274             target: "disclip";
1275          }
1276          program { name: "go_enabled";
1277             signal: "elm,state,enabled";
1278             source: "elm";
1279             action: STATE_SET "default" 0.0;
1280             target: "disclip";
1281          }
1282
1283          // decorate mode enable signal
1284          program { name: "decorate_enabled_effect";
1285             signal: "elm,state,decorate,enabled,effect";
1286             source: "elm";
1287             action: STATE_SET "enabled" 0.0;
1288             transition: DECELERATE 0.7;
1289             target: "elm.base.icon";
1290             target: "elm.edit.icon";
1291          }
1292          program { name: "decorate_disabled_effect";
1293             signal: "elm,state,decorate,disabled,effect";
1294             source: "elm";
1295             action: STATE_SET "default" 0.0;
1296             transition: DECELERATE 0.7;
1297             target: "elm.base.icon";
1298             target: "elm.edit.icon";
1299          }
1300          program { name: "decorate_enabled";
1301             signal: "elm,state,decorate,enabled";
1302             source: "elm";
1303             action: STATE_SET "enabled" 0.0;
1304             target: "elm.base.icon";
1305             target: "elm.edit.icon";
1306          }
1307          program { name: "decorate_disabled";
1308             signal: "elm,state,decorate,disabled";
1309             source: "elm";
1310             action: STATE_SET "default" 0.0;
1311             target: "elm.base.icon";
1312             target: "elm.edit.icon";
1313          }
1314         // flip
1315         program {
1316             name:    "enable_flip_mode";
1317             signal:  "elm,state,flip,enabled";
1318             source:  "elm";
1319             after:   "enable_flip_mode_next";
1320         }
1321         program {
1322             name:    "enable_flip_mode_next";
1323             action:  STATE_SET "flipped" 0.0;
1324             transition: DECELERATE 0.5;
1325             target:  "elm.swallow.decorate.content";
1326         }
1327         program {
1328             name:    "disable_flip_mode";
1329             signal:  "elm,state,flip,disabled";
1330             source:  "elm";
1331             action:  STATE_SET "default" 0.0;
1332             transition: DECELERATE 0.5;
1333             target:  "elm.swallow.decorate.content";
1334             target:  "elm.edit.icon";
1335         }
1336       }
1337    }
1338
1339    /* this group is for non-border-line items */
1340    group { name: "elm/genlist/item/dialogue/edit/contact.3/default";
1341       alias: "elm/genlist/item_odd/dialogue/edit/contact.3/default";
1342       alias: "elm/genlist/item_compress/dialogue/edit/contact.3/default";
1343       alias: "elm/genlist/item_compress_odd/dialogue/edit/contact.3/default";
1344       alias: "elm/layout/dialogue/edit/contact.3";
1345       data.item: "stacking" "above";
1346       data.item: "decorate_contents" "elm.edit.icon";
1347
1348       parts {
1349          part { name: "base";
1350             type: RECT;
1351             repeat_events: 1;
1352             scale: 1;
1353             description { state: "default" 0.0;
1354                color: 0 0 0 0;
1355             }
1356          }
1357          GENLIST_PART_PADDING_TOP_SIZE( 0 )
1358          GENLIST_PART_PADDING_BOTTOM_SIZE( 0 )
1359          GENLIST_PART_PADDING_RIGHT_EDIT
1360
1361          part { name: "elm.decorate_bg";
1362             type: RECT;
1363             scale: 1;
1364             description { state: "default" 0.0;
1365                rel1 {
1366                   relative: 0.0 1.0;
1367                   to_y: "elm.padding.top";
1368                }
1369                rel2 {
1370                   relative: 1.0 0.0;
1371                   to_y: "elm.padding.bottom";
1372                }
1373                color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR;
1374            }
1375         }
1376          part { name: "elm.swallow.decorate.content";
1377             type: SWALLOW;
1378             mouse_events: 1;
1379             scale: 1;
1380             description { state: "default" 0.0;
1381                rel1 {
1382                   relative: 0.0 1.0;
1383                   to_y: "elm.padding.top";
1384                }
1385                rel2 {
1386                   relative: 0.0 0.0;
1387                   to_x: "elm.base.icon";
1388                   to_y: "elm.padding.bottom";
1389                }
1390             }
1391             description { state: "disabled" 0.0;
1392                inherit: "default" 0.0;
1393                visible: 0;
1394             }
1395             description { state: "flipped" 0.0;
1396                inherit: "default" 0.0;
1397             }
1398          }
1399        part { name: "elm.base.icon";
1400           type: RECT;
1401           scale: 1;
1402           description { state: "default" 0.0;
1403              min: GENLIST_SIZE_90_INC 0;
1404              fixed: 1 0;
1405              color: LAYOUT_GROUP_LIST_BG_COLOR_INC;
1406              rel1 {
1407                 relative: 1.0 0.0;
1408                 offset: 0 -1;
1409              }
1410              align: 0.0 0.5;
1411           }
1412           description { state: "enabled" 0.0;
1413              inherit: "default" 0.0;
1414              align: 1.0 0.5;
1415           }
1416        }
1417        part { name: "elm.padding.icon.bottom";
1418            type: RECT;
1419            scale: 1;
1420            description { state: "default" 0.0;
1421               min: 0 GENLIST_SIZE_40_INC;
1422               fixed: 0 1;
1423               align: 0.5 1.0;
1424               visible: 0;
1425               rel1 {
1426                  relative: 0.0 1.0;
1427                  to_x: "elm.base.icon";
1428               }
1429               rel2.to_x: "elm.base.icon";
1430            }
1431        }
1432        part { name: "elm.edit.icon";
1433           type: SWALLOW;
1434           description { state: "default" 0.0;
1435              align: 0.0 1.0;
1436              rel1 {
1437                 relative: 1.0  0.0;
1438                 to_y: "elm.padding.icon.bottom";
1439              }
1440              rel2 {
1441                 relative: 1.0  0.0;
1442                 to_y: "elm.padding.icon.bottom";
1443              }
1444           }
1445           description { state: "disabled" 0.0;
1446              inherit: "default" 0.0;
1447              visible: 0;
1448           }
1449           description { state: "enabled" 0.0;
1450              inherit: "default" 0.0;
1451                align: 1.0 1.0;
1452           }
1453        }
1454        GENLIST_PART_DISCLIP
1455       }
1456       programs {
1457          program { name: "go_disabled";
1458             signal: "elm,state,disabled";
1459             source: "elm";
1460             action: STATE_SET "disabled" 0.0;
1461             target: "disclip";
1462          }
1463          program { name: "go_enabled";
1464             signal: "elm,state,enabled";
1465             source: "elm";
1466             action: STATE_SET "default" 0.0;
1467             target: "disclip";
1468          }
1469
1470          program { name: "decorate_enabled_effect";
1471             signal: "elm,state,decorate,enabled,effect";
1472             source: "elm";
1473             action: STATE_SET "enabled" 0.0;
1474             transition: DECELERATE 0.7;
1475             target: "elm.base.icon";
1476             target: "elm.edit.icon";
1477          }
1478          program { name: "decorate_disabled_effect";
1479             signal: "elm,state,decorate,disabled,effect";
1480             source: "elm";
1481             action: STATE_SET "default" 0.0;
1482             transition: DECELERATE 0.7;
1483             target: "elm.base.icon";
1484             target: "elm.edit.icon";
1485          }
1486          program { name: "decorate_enabled";
1487             signal: "elm,state,decorate,enabled";
1488             source: "elm";
1489             action: STATE_SET "enabled" 0.0;
1490             target: "elm.base.icon";
1491             target: "elm.edit.icon";
1492          }
1493          program { name: "decorate_disabled";
1494             signal: "elm,state,decorate,disabled";
1495             source: "elm";
1496             action: STATE_SET "default" 0.0;
1497             target: "elm.base.icon";
1498             target: "elm.edit.icon";
1499          }
1500         // flip
1501         program {
1502             name:    "enable_flip_mode";
1503             signal:  "elm,state,flip,enabled";
1504             source:  "elm";
1505             after:   "enable_flip_mode_next";
1506         }
1507         program {
1508             name:    "enable_flip_mode_next";
1509             action:  STATE_SET "flipped" 0.0;
1510             transition: DECELERATE 0.5;
1511             target:  "elm.swallow.decorate.content";
1512         }
1513         program {
1514             name:    "disable_flip_mode";
1515             signal:  "elm,state,flip,disabled";
1516             source:  "elm";
1517             action:  STATE_SET "default" 0.0;
1518             transition: DECELERATE 0.5;
1519             target:  "elm.swallow.decorate.content";
1520             target:  "elm.edit.icon";
1521         }
1522       }
1523    }
1524
1525    /* this group is only for 2text.1icon.3 */
1526    group { name: "elm/genlist/item/dialogue/edit/contact.4/default";
1527       alias: "elm/genlist/item_odd/dialogue/edit/contact.4/default";
1528       alias: "elm/genlist/item_compress/dialogue/edit/contact.4/default";
1529       alias: "elm/genlist/item_compress_odd/dialogue/edit/contact.4/default";
1530       alias: "elm/layout/dialogue/edit/contact.4";
1531       data.item: "stacking" "above";
1532       data.item: "decorate_contents" "elm.edit.icon";
1533
1534       parts {
1535          part { name: "base";
1536             type: RECT;
1537             repeat_events: 1;
1538             scale: 1;
1539             description { state: "default" 0.0;
1540                color: 0 0 0 0;
1541             }
1542          }
1543          GENLIST_PART_PADDING_TOP_SIZE( 0 )
1544          GENLIST_PART_PADDING_BOTTOM_SIZE( 0 )
1545          GENLIST_PART_PADDING_RIGHT_EDIT
1546
1547          part { name: "elm.decorate_bg";
1548             type: RECT;
1549             scale: 1;
1550             description { state: "default" 0.0;
1551                rel1 {
1552                   relative: 0.0 1.0;
1553                   to_y: "elm.padding.top";
1554                }
1555                rel2 {
1556                   relative: 1.0 0.0;
1557                   to_y: "elm.padding.bottom";
1558                }
1559                color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR;
1560            }
1561         }
1562          part { name: "elm.swallow.decorate.content";
1563             type: SWALLOW;
1564             mouse_events: 1;
1565             scale: 1;
1566             description { state: "default" 0.0;
1567                rel1 {
1568                   relative: 0.0 1.0;
1569                   to_y: "elm.padding.top";
1570                }
1571                rel2 {
1572                   relative: 0.0 0.0;
1573                   to_x: "elm.base.icon";
1574                   to_y: "elm.padding.bottom";
1575                }
1576             }
1577             description { state: "disabled" 0.0;
1578                inherit: "default" 0.0;
1579                visible: 0;
1580             }
1581             description { state: "flipped" 0.0;
1582                inherit: "default" 0.0;
1583             }
1584          }
1585        part { name: "vertical_line";
1586           type: RECT;
1587           mouse_events: 0;
1588           description { state: "default" 0.0;
1589              min: 1 0;
1590              fixed: 1 0;
1591              align: 0.5 0.5;
1592              color: GENLIST_LIST_LINE1_COLOR;
1593              rel1 {
1594                 relative: 1.0 0.13;
1595                 to_x: "elm.swallow.decorate.content";
1596                 offset: -1 0;
1597              }
1598              rel2 {
1599                 relative: 1.0 1.0;
1600                 to_x: "elm.swallow.decorate.content";
1601              }
1602           }
1603           description {
1604               state: "hide" 0.0;
1605               inherit: "default" 0.0;
1606               visible: 0;
1607           }
1608        }
1609        part { name: "elm.base.icon";
1610           type: RECT;
1611           scale: 1;
1612           description { state: "default" 0.0;
1613              min: GENLIST_SIZE_90_INC 0;
1614              fixed: 1 0;
1615              color: LAYOUT_GROUP_LIST_BG_COLOR_INC;
1616              rel1 {
1617                 relative: 1.0 0.0;
1618                 offset: 0 -1;
1619              }
1620              align: 0.0 0.5;
1621           }
1622           description { state: "enabled" 0.0;
1623              inherit: "default" 0.0;
1624              align: 1.0 0.5;
1625           }
1626        }
1627        part { name: "elm.padding.icon.bottom";
1628            type: RECT;
1629            scale: 1;
1630            description { state: "default" 0.0;
1631               min: 0 GENLIST_SIZE_40_INC;
1632               fixed: 0 1;
1633               align: 0.5 1.0;
1634               visible: 0;
1635               rel1 {
1636                  relative: 0.0 1.0;
1637                  to_x: "elm.base.icon";
1638               }
1639               rel2.to_x: "elm.base.icon";
1640            }
1641        }
1642        part { name: "elm.edit.icon";
1643           type: SWALLOW;
1644           description { state: "default" 0.0;
1645              fixed: 1 1;
1646              align: 0.0 1.0;
1647              rel1 {
1648                 relative: 1.0  0.0;
1649                 to_y: "elm.padding.icon.bottom";
1650              }
1651              rel2 {
1652                 relative: 1.0  0.0;
1653                 to_y: "elm.padding.icon.bottom";
1654              }
1655           }
1656           description { state: "disabled" 0.0;
1657              inherit: "default" 0.0;
1658              visible: 0;
1659           }
1660           description { state: "enabled" 0.0;
1661              inherit: "default" 0.0;
1662                align: 1.0 1.0;
1663           }
1664        }
1665        GENLIST_PART_DISCLIP
1666       }
1667       programs {
1668          program { name: "go_disabled";
1669             signal: "elm,state,disabled";
1670             source: "elm";
1671             action: STATE_SET "disabled" 0.0;
1672             target: "disclip";
1673          }
1674          program { name: "go_enabled";
1675             signal: "elm,state,enabled";
1676             source: "elm";
1677             action: STATE_SET "default" 0.0;
1678             target: "disclip";
1679          }
1680
1681          // decorate mode enable signal
1682          program { name: "decorate_enabled_effect";
1683             signal: "elm,state,decorate,enabled,effect";
1684             source: "elm";
1685             action: STATE_SET "enabled" 0.0;
1686             transition: DECELERATE 0.7;
1687             target: "elm.base.icon";
1688             target: "elm.edit.icon";
1689          }
1690          program { name: "decorate_disabled_effect";
1691             signal: "elm,state,decorate,disabled,effect";
1692             source: "elm";
1693             action: STATE_SET "default" 0.0;
1694             transition: DECELERATE 0.7;
1695             target: "elm.base.icon";
1696             target: "elm.edit.icon";
1697          }
1698          program { name: "decorate_enabled";
1699             signal: "elm,state,decorate,enabled";
1700             source: "elm";
1701             action: STATE_SET "enabled" 0.0;
1702             target: "elm.base.icon";
1703             target: "elm.edit.icon";
1704          }
1705          program { name: "decorate_disabled";
1706             signal: "elm,state,decorate,disabled";
1707             source: "elm";
1708             action: STATE_SET "default" 0.0;
1709             target: "elm.base.icon";
1710             target: "elm.edit.icon";
1711          }
1712         // flip
1713         program {
1714             name:    "enable_flip_mode";
1715             signal:  "elm,state,flip,enabled";
1716             source:  "elm";
1717             after:   "enable_flip_mode_next";
1718         }
1719         program {
1720             name:    "enable_flip_mode_next";
1721             action:  STATE_SET "flipped" 0.0;
1722             transition: DECELERATE 0.5;
1723             target:  "elm.swallow.decorate.content";
1724         }
1725         program {
1726             name:    "disable_flip_mode";
1727             signal:  "elm,state,flip,disabled";
1728             source:  "elm";
1729             action:  STATE_SET "default" 0.0;
1730             transition: DECELERATE 0.5;
1731             target:  "elm.swallow.decorate.content";
1732             target:  "elm.edit.icon";
1733         }
1734       }
1735    }
1736
1737 /* this item for dialogue/bg/1text */
1738    group { name: "elm/genlist/item/dialogue/edit/contact.5/default";
1739       alias: "elm/genlist/item_odd/dialogue/edit/contact.5/default";
1740       alias: "elm/genlist/item_compress/dialogue/edit/contact.5/default";
1741       alias: "elm/genlist/item_compress_odd/dialogue/edit/contact.5/default";
1742       alias: "elm/layout/dialogue/edit/contact.5";
1743       data.item: "stacking" "above";
1744       data.item: "decorate_contents" "elm.edit.icon";
1745
1746       parts {
1747          part { name: "base";
1748             type: RECT;
1749             repeat_events: 1;
1750             scale: 1;
1751             description { state: "default" 0.0;
1752                color: 0 0 0 0;
1753             }
1754          }
1755          GENLIST_PART_PADDING_TOP_SIZE( 0 )
1756          GENLIST_PART_PADDING_BOTTOM_SIZE( 0 )
1757          GENLIST_PART_PADDING_RIGHT_EDIT
1758
1759          part { name: "elm.decorate_bg";
1760             type: RECT;
1761             scale: 1;
1762             description { state: "default" 0.0;
1763                rel1 {
1764                   relative: 0.0 1.0;
1765                   to_y: "elm.padding.top";
1766                }
1767                rel2 {
1768                   relative: 1.0 0.0;
1769                   to_y: "elm.padding.bottom";
1770                }
1771                color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR;
1772            }
1773         }
1774          part { name: "elm.swallow.decorate.content";
1775             type: SWALLOW;
1776             mouse_events: 1;
1777             scale: 1;
1778             description { state: "default" 0.0;
1779                rel1 {
1780                   relative: 0.0 1.0;
1781                   to_y: "elm.padding.top";
1782                }
1783                rel2 {
1784                   relative: 0.0 0.0;
1785                   to_x: "elm.base.icon";
1786                   to_y: "elm.padding.bottom";
1787                }
1788             }
1789             description { state: "disabled" 0.0;
1790                inherit: "default" 0.0;
1791                visible: 0;
1792             }
1793             description { state: "flipped" 0.0;
1794                inherit: "default" 0.0;
1795             }
1796          }
1797        part { name: "vertical_line";
1798           type: RECT;
1799           mouse_events: 0;
1800           description { state: "default" 0.0;
1801              min: 1 0;
1802              fixed: 1 0;
1803              color: GENLIST_LIST_LINE1_COLOR;
1804              rel1 {
1805                 relative: 1.0 0.0;
1806                 to_x: "elm.swallow.decorate.content";
1807                 offset: -1 0;
1808              }
1809              rel2.to_x: "elm.swallow.decorate.content";
1810           }
1811           description {
1812               state: "hide" 0.0;
1813               inherit: "default" 0.0;
1814               visible: 0;
1815           }
1816        }
1817        part { name: "bottom_line";
1818           type: RECT;
1819           mouse_events: 0;
1820           description { state: "default" 0.0;
1821              min: 0 1;
1822              fixed: 0 1;
1823              color: GENLIST_LIST_LINE1_COLOR;
1824              rel1 {
1825                 relative: 0.0 1.0;
1826                 to_x: "elm.decorate_bg";
1827                 to_y: "elm.decorate_bg";
1828                 offset: 0 -1;
1829              }
1830           }
1831           description { state: "hide" 0.0;
1832               inherit: "default" 0.0;
1833               visible: 0;
1834           }
1835        }
1836        part { name: "elm.base.icon";
1837           type: RECT;
1838           scale: 1;
1839           description { state: "default" 0.0;
1840              min: GENLIST_SIZE_90_INC 0;
1841              fixed: 1 0;
1842              color: LAYOUT_GROUP_LIST_BG_COLOR_INC;
1843              rel1 {
1844                 relative: 1.0 0.0;
1845                 offset: 0 -1;
1846              }
1847              align: 0.0 0.5;
1848           }
1849           description { state: "enabled" 0.0;
1850              inherit: "default" 0.0;
1851              align: 1.0 0.5;
1852           }
1853        }
1854        part { name: "elm.padding.icon.bottom";
1855            type: RECT;
1856            scale: 1;
1857            description { state: "default" 0.0;
1858               min: 0 GENLIST_SIZE_40_INC;
1859               fixed: 0 1;
1860               align: 0.5 1.0;
1861               visible: 0;
1862               rel1 {
1863                  relative: 0.0 1.0;
1864                  to_x: "elm.base.icon";
1865               }
1866               rel2.to_x: "elm.base.icon";
1867            }
1868        }
1869        part { name: "elm.edit.icon";
1870           type: SWALLOW;
1871           description { state: "default" 0.0;
1872              align: 0.0 1.0;
1873              fixed: 1 1;
1874              rel1 {
1875                 relative: 1.0  0.0;
1876                 to_y: "elm.padding.icon.bottom";
1877              }
1878              rel2 {
1879                 relative: 1.0  0.0;
1880                 to_y: "elm.padding.icon.bottom";
1881              }
1882           }
1883           description { state: "disabled" 0.0;
1884              inherit: "default" 0.0;
1885              visible: 0;
1886           }
1887           description { state: "enabled" 0.0;
1888              inherit: "default" 0.0;
1889                align: 1.0 1.0;
1890           }
1891        }
1892        GENLIST_PART_DISCLIP
1893       }
1894       programs {
1895          program { name: "go_disabled";
1896             signal: "elm,state,disabled";
1897             source: "elm";
1898             action: STATE_SET "disabled" 0.0;
1899             target: "disclip";
1900          }
1901          program { name: "go_enabled";
1902             signal: "elm,state,enabled";
1903             source: "elm";
1904             action: STATE_SET "default" 0.0;
1905             target: "disclip";
1906          }
1907
1908          // decorate mode enable signal
1909          program { name: "decorate_enabled_effect";
1910             signal: "elm,state,decorate,enabled,effect";
1911             source: "elm";
1912             action: STATE_SET "enabled" 0.0;
1913             transition: DECELERATE 0.7;
1914             target: "elm.base.icon";
1915             target: "elm.edit.icon";
1916          }
1917          program { name: "decorate_disabled_effect";
1918             signal: "elm,state,decorate,disabled,effect";
1919             source: "elm";
1920             action: STATE_SET "default" 0.0;
1921             transition: DECELERATE 0.7;
1922             target: "elm.base.icon";
1923             target: "elm.edit.icon";
1924          }
1925          program { name: "decorate_enabled";
1926             signal: "elm,state,decorate,enabled";
1927             source: "elm";
1928             action: STATE_SET "enabled" 0.0;
1929             target: "elm.base.icon";
1930             target: "elm.edit.icon";
1931          }
1932          program { name: "decorate_disabled";
1933             signal: "elm,state,decorate,disabled";
1934             source: "elm";
1935             action: STATE_SET "default" 0.0;
1936             target: "elm.base.icon";
1937             target: "elm.edit.icon";
1938          }
1939         // flip
1940         program {
1941             name:    "enable_flip_mode";
1942             signal:  "elm,state,flip,enabled";
1943             source:  "elm";
1944             after:   "enable_flip_mode_next";
1945         }
1946         program {
1947             name:    "enable_flip_mode_next";
1948             action:  STATE_SET "flipped" 0.0;
1949             transition: DECELERATE 0.5;
1950             target:  "elm.swallow.decorate.content";
1951         }
1952         program {
1953             name:    "disable_flip_mode";
1954             signal:  "elm,state,flip,disabled";
1955             source:  "elm";
1956             action:  STATE_SET "default" 0.0;
1957             transition: DECELERATE 0.5;
1958             target:  "elm.swallow.decorate.content";
1959             target:  "elm.edit.icon";
1960         }
1961       }
1962    }
1963
1964   group { name: "elm/genlist/item/dialogue/select_all/default";
1965       alias: "elm/genlist/item_odd/dialogue/select_all/default";
1966       alias: "elm/genlist/item_compress/dialogue/select_all/default";
1967       alias: "elm/genlist/item_compress_odd/dialogue/select_all/default";
1968
1969       data.item: "stacking" "above";
1970       data.item: "selectraise" "on";
1971       data.item: "texts" "elm.text";
1972       data.item: "contents" "elm.icon";
1973       parts {
1974          part { name: "base";
1975             type: RECT;
1976             repeat_events: 0;
1977             scale: 1;
1978             description { state: "default" 0.0;
1979                min: 0 GENLIST_HEIGHT_1LINE;
1980                color: GENLIST_SELECT_ALL_BG_COLOR;
1981             }
1982          }
1983          part { name: "bg";
1984             type: RECT;
1985             repeat_events: 0;
1986             mouse_events: 0;
1987             description { state: "default" 0.0;
1988                color: GENLIST_SELECT_ALL_BG_COLOR;
1989             }
1990          }
1991          GENLIST_PART_BG_NORMAL
1992          GENLIST_PART_PADDING_TOP_SIZE( 0 )
1993          GENLIST_PART_PADDING_BOTTOM_SIZE( 0 )
1994          GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC )
1995          GENLIST_PART_PADDING_RIGHT_EDIT
1996
1997          part { name: "elm.padding.icon.right";
1998             type: RECT;
1999             scale: 1;
2000             description { state: "default" 0.0;
2001                min: GENLIST_SIZE_16_INC 0;
2002                fixed: 1 0;
2003                visible: 0;
2004                rel1 {
2005                   relative: 1.0 0.0;
2006                   to_x: "elm.icon";
2007                }
2008                rel2.to_x: "elm.icon";
2009                align: 0.0 0.0;
2010             }
2011          }
2012          part { name: "elm.icon";
2013             type: SWALLOW;
2014             scale: 1;
2015             description { state: "default" 0.0;
2016                min: GENLIST_SIZE_80_INC GENLIST_SIZE_80_INC;
2017                max: GENLIST_SIZE_80_INC GENLIST_SIZE_80_INC;
2018                fixed: 1 1;
2019                align: 0.0 0.5;
2020                rel1 {
2021                   relative: 1.0 1.0;
2022                   offset: 0 0;
2023                   to_x: "elm.padding.left";
2024                   to_y: "elm.padding.top";
2025                }
2026                rel2 {
2027                   relative: 1.0 0.0;
2028                   offset: 0 0;
2029                   to_x: "elm.padding.left";
2030                   to_y: "elm.padding.bottom";
2031                }
2032             }
2033          }
2034          part { name: "elm.text";
2035             type: TEXT;
2036             mouse_events: 0;
2037             scale: 1;
2038             description { state: "default" 0.0;
2039                align: 0.0 0.0;
2040                rel1 {
2041                   relative: 1.0 1.0;
2042                   offset: 0 0;
2043                   to_x: "elm.padding.icon.right";
2044                   to_y: "elm.padding.top";
2045                }
2046                rel2 {
2047                   relative: 0.0 0.0;
2048                   offset: 0 0;
2049                   to_x: "elm.padding.right";
2050                   to_y: "elm.padding.bottom";
2051                }
2052                color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
2053                text {
2054                   font: "Tizen:style=Roman";
2055                   size: GENLIST_LIST_MAIN_TEXT_SIZE;
2056                   min: 0 1;
2057                   align: 0.0 0.5;
2058                   text_class: "list_item";
2059                }
2060             }
2061             description { state: "selected" 0.0;
2062                inherit: "default" 0.0;
2063                color: GENLIST_LIST_TEXT_FOCUS_COLOR;
2064             }
2065          }
2066        GENLIST_PART_DISCLIP
2067       }
2068       programs {
2069          program { name: "go_active";
2070             signal: "elm,state,selected";
2071             source: "elm";
2072             action: STATE_SET "selected" 0.0;
2073             target: "bg";
2074             target: "elm.text";
2075          }
2076          program { name: "go_passive";
2077             signal: "elm,state,unselected";
2078             source: "elm";
2079             action: STATE_SET "default" 0.0;
2080             target: "bg";
2081             target: "elm.text";
2082             transition: LINEAR 0.1;
2083          }
2084          program { name: "go_disabled";
2085             signal: "elm,state,disabled";
2086             source: "elm";
2087             action: STATE_SET "disabled" 0.0;
2088             target: "disclip";
2089          }
2090          program { name: "go_enabled";
2091             signal: "elm,state,enabled";
2092             source: "elm";
2093             action: STATE_SET "default" 0.0;
2094             target: "disclip";
2095          }
2096       }
2097    }
2098
2099
2100    /* 2.5.4 */
2101    group { name: "elm/genlist/item/edit_default2/default";
2102       alias: "elm/genlist/item_odd/edit_default2/default";
2103       alias: "elm/genlist/item_compress/edit_default2/default";
2104       alias: "elm/genlist/item_compress_odd/edit_default2/default";
2105       alias: "elm/genlist/tree/edit_default2/default";
2106       alias: "elm/genlist/tree_odd/edit_default2/default";
2107       alias: "elm/genlist/tree_compress/edit_default2/default";
2108       alias: "elm/genlist/tree_compress_odd/edit_default2/default";
2109       data.item: "stacking" "above";
2110       data.item: "decorate_contents" "elm.edit.icon.1";
2111
2112       images {
2113          image: "01_list_reorder_bg_above.png" COMP;
2114          image: "01_list_reorder_bg_below.png" COMP;
2115       }
2116       parts {
2117          part { name: "base";
2118             type: RECT;
2119             repeat_events: 1;
2120             scale: 1;
2121             description { state: "default" 0.0;
2122                color: 0 0 0 0;
2123             }
2124          }
2125          GENLIST_PART_PADDING_TOP_SIZE( 0 )
2126          GENLIST_PART_PADDING_BOTTOM_SIZE( 0 )
2127          GENLIST_PART_PADDING_RIGHT_EDIT
2128
2129          part { name: "elm.padding.reorder";
2130             type: RECT;
2131             scale: 1;
2132             description { state: "default" 0.0;
2133                min: GENLIST_SIZE_16_INC 0;
2134                fixed: 1 0;
2135                visible: 0;
2136                rel2.relative: 0.0 1.0;
2137                align: 1.0 0.0;
2138             }
2139             description { state: "reorder" 0.0;
2140                inherit: "default" 0.0;
2141                align: 0.0 0.0;
2142             }
2143          }
2144          part { name: "elm.decorate_bg";
2145             type: RECT;
2146             scale: 1;
2147             description { state: "default" 0.0;
2148                rel1 {
2149                   relative: 1.0 1.0;
2150                   to_x: "elm.padding.reorder";
2151                   to_y: "elm.padding.top";
2152                }
2153                rel2 {
2154                   relative: 1.0 0.0;
2155                   to_y: "elm.padding.bottom";
2156                }
2157              color: GENLIST_PART_DIALOGUE_GROUP_BG_COLOR;
2158             }
2159             description { state: "selected" 0.0;
2160                inherit: "default" 0.0;
2161                visible: 1;
2162                color: GENLIST_LIST_PRESS_COLOR;
2163             }
2164          }
2165          part { name: "elm.padding.left";
2166             type: RECT;
2167             scale: 1;
2168             description { state: "default" 0.0;
2169                min: GENLIST_SIZE_16_INC 0;
2170                fixed: 1 0;
2171                visible: 0;
2172                rel1 {
2173                   relative: 1.0 0.0;
2174                   to_x: "elm.padding.reorder";
2175                }
2176                rel2.to_x: "elm.padding.reorder";
2177                rel2.relative: 0.0  1.0;
2178                align: 0.0 0.0;
2179             }
2180          }
2181          part { name: "elm.edit.icon.1";
2182             type: SWALLOW;
2183             scale: 1;
2184             description { state: "default" 0.0;
2185                fixed: 1 1;
2186                align: 1.0 0.5;
2187                rel1 {
2188                   relative: 1.0 1.0;
2189                   offset: 0 0;
2190                   to_x: "elm.padding.left";
2191                   to_y: "elm.padding.top";
2192                }
2193                rel2 {
2194                   relative: 1.0 0.0;
2195                   offset: 0 0;
2196                   to_x: "elm.padding.left";
2197                   to_y: "elm.padding.bottom";
2198                }
2199             }
2200             description { state: "enabled" 0.0;
2201                inherit: "default" 0.0;
2202                align: 0.0 0.5;
2203             }
2204          }
2205          part { name: "elm.padding.icon1.right";
2206             type: RECT;
2207             scale: 1;
2208             description { state: "default" 0.0;
2209                min: GENLIST_SIZE_16_INC 0;
2210                fixed: 1 0;
2211                visible: 0;
2212                rel1 {
2213                   relative: 1.0 0.0;
2214                   to_x: "elm.edit.icon.1";
2215                }
2216                rel2.to_x: "elm.edit.icon.1";
2217                align: 0.0 0.0;
2218             }
2219          }
2220          part { name: "elm.swallow.decorate.content";
2221             type: SWALLOW;
2222             mouse_events: 1;
2223             scale: 1;
2224             description { state: "default" 0.0;
2225                rel1 {
2226                   relative: 1.0 1.0;
2227                   to_x: "elm.padding.icon1.right";
2228                   to_y: "elm.padding.top";
2229                }
2230                rel2 {
2231                   relative: 1.0 0.0;
2232                   to_y: "elm.padding.bottom";
2233                }
2234             }
2235             description { state: "disabled" 0.0;
2236                inherit: "default" 0.0;
2237                visible: 0;
2238             }
2239          }
2240          part { name: "elm.padding.icon2.left";
2241             type: RECT;
2242             scale: 1;
2243             description { state: "default" 0.0;
2244                min: GENLIST_SIZE_16_INC 0;
2245                fixed: 1 0;
2246                visible: 0;
2247                rel1 {
2248                   relative: 1.0 0.0;
2249                   to_x: "elm.swallow.decorate.content";
2250                }
2251                rel2.to_x: "elm.swallow.decorate.content";
2252                align: 0.0 0.0;
2253             }
2254          }
2255          part { name: "bottom_line";
2256             type: RECT;
2257             mouse_events: 0;
2258             description { state: "default" 0.0;
2259                min: 0 0;
2260                fixed: 0 1;
2261                visible: 1;
2262                color: GENLIST_LIST_LINE1_COLOR;
2263                rel1 {
2264                   relative: 0.0 1.0;
2265                   to_x: "elm.decorate_bg";
2266                   offset: 0 -1;
2267                }
2268             }
2269             description {
2270                state: "hide" 0.0;
2271                inherit: "default" 0.0;
2272                visible: 0;
2273             }
2274             description {
2275                state: "enabled" 0.0;
2276                inherit: "default" 0.0;
2277                min: 0 GENLIST_SIZE_8_INC;
2278                fixed: 0 1;
2279             }
2280          }
2281          part { name: "reorder_glow_above";
2282             mouse_events: 0;
2283             description { state: "default" 0.0;
2284                visible: 0;
2285                rel1.relative: 0.0 -0.3;
2286                rel2.relative: 1.0 0.0;
2287                image {
2288                   normal: "01_list_reorder_bg_above.png";
2289                }
2290                fill.smooth: 0;
2291             }
2292             description { state: "reorder" 0.0;
2293                inherit: "default" 0.0;
2294                visible: 1;
2295             }
2296          }
2297          part { name: "reorder_glow_below";
2298             mouse_events: 0;
2299             description { state: "default" 0.0;
2300                visible: 0;
2301                rel1.relative: 0.0 1.0;
2302                rel2.relative: 1.0 1.3;
2303                image {
2304                   normal: "01_list_reorder_bg_below.png";
2305                }
2306                fill.smooth: 0;
2307             }
2308             description { state: "reorder" 0.0;
2309                inherit: "default" 0.0;
2310                visible: 1;
2311             }
2312          }
2313          GENLIST_PART_DISCLIP
2314       }
2315       programs {
2316          program { name: "go_active";
2317             signal: "elm,state,selected";
2318             source: "elm";
2319             action: STATE_SET "selected" 0.0;
2320             target: "elm.decorate_bg";
2321          }
2322          program { name: "go_passive";
2323             signal: "elm,state,unselected";
2324             source: "elm";
2325             action: STATE_SET "default" 0.0;
2326             transition: LINEAR 0.1;
2327             target:  "elm.decorate_bg";
2328          }
2329          program { name: "go_disabled";
2330             signal: "elm,state,disabled";
2331             source: "elm";
2332             action: STATE_SET "disabled" 0.0;
2333             target: "disclip";
2334          }
2335          program { name: "go_enabled";
2336             signal: "elm,state,enabled";
2337             source: "elm";
2338             action: STATE_SET "default" 0.0;
2339             target: "disclip";
2340          }
2341          // decorate mode enable signal
2342          program { name: "decorate_enabled_effect";
2343             signal: "elm,state,decorate,enabled,effect";
2344             source: "elm";
2345             action: STATE_SET "enabled" 0.0;
2346             transition: DECELERATE 0.7;
2347             target: "elm.edit.icon.1";
2348             target: "bottom_line";
2349          }
2350          program { name: "decorate_disabled_effect";
2351             signal: "elm,state,decorate,disabled,effect";
2352             source: "elm";
2353             action: STATE_SET "default" 0.0;
2354             transition: DECELERATE 0.7;
2355             target: "elm.edit.icon.1";
2356             target: "bottom_line";
2357          }
2358          program { name: "decorate_enabled";
2359             signal: "elm,state,decorate,enabled";
2360             source: "elm";
2361             action: STATE_SET "enabled" 0.0;
2362             target: "elm.edit.icon.1";
2363             target: "bottom_line";
2364          }
2365          program { name: "decorate_disabled";
2366             signal: "elm,state,decorate,disabled";
2367             source: "elm";
2368             action: STATE_SET "default" 0.0;
2369             target: "elm.edit.icon.1";
2370             target: "bottom_line";
2371          }
2372
2373          // reorder signal
2374          program { name: "reorder_enabled";
2375             signal: "elm,state,reorder,enabled";
2376             source: "elm";
2377             action: STATE_SET "reorder" 0.0;
2378             target: "elm.padding.reorder";
2379          }
2380          program { name: "reorder_disabled";
2381             signal: "elm,state,reorder,disabled";
2382             source: "elm";
2383             action: STATE_SET "default" 0.0;
2384             target: "elm.padding.reorder";
2385          }
2386
2387          program { name: "reorder_enabled_effect";
2388             signal: "elm,state,reorder_enabled_effect";
2389             source: "elm";
2390             action: STATE_SET "reorder" 0.0;
2391             transition: DECELERATE 0.7;
2392             target: "elm.padding.reorder";
2393          }
2394          program { name: "reorder_disabled_effect";
2395             signal: "elm,state,reorder_disabled_effect";
2396             source: "elm";
2397             action: STATE_SET "default" 0.0;
2398             transition: DECELERATE 0.7;
2399             target: "elm.padding.reorder";
2400          }
2401         // reorder glow
2402          program {
2403             name: "show_reorder_glow";
2404             signal: "elm,action,item,reorder_start";
2405             source: "elm";
2406             action: STATE_SET "reorder" 0.0;
2407             target: "reorder_glow_above";
2408             target: "reorder_glow_below";
2409          }
2410          program {
2411             name: "hide_reorder_glow";
2412             signal: "elm,action,item,reorder_end";
2413             source: "elm";
2414             action: STATE_SET "default" 0.0;
2415             target: "reorder_glow_above";
2416             target: "reorder_glow_below";
2417          }
2418       }
2419    }
2420 #endif