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