merge with master
[profile/ivi/efl-theme-tizen.git] / themes / widgets / genlist / genlist_expandable.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.5.1.1
25    group { GENLIST_NAME("dialogue/2text/expandable/default")
26       GENLIST_PROLOG_DIALOGUE
27       data.item: "texts" "elm.text.1 elm.text.2";
28
29       GENLIST_IMAGES_EXPANDABLE_BTN
30       parts {
31          GENLIST_PART_BG_DIALOGUE
32          GENLIST_PART_BASE
33          GENLIST_PART_PADDING_TOP_2LINE
34          GENLIST_PART_PADDING_BOTTOM_2LINE
35          GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT)
36          GENLIST_PART_PADDING_RIGHT_EDIT
37
38          GENLIST_PART_LISTITEM("elm.text.1",
39             GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.arrow.left",
40                "elm.padding.top", "elm.text.2",
41                min: 0 GENLIST_HEIGHT_2LINE_MAIN;
42                GENLIST_PARAM_LISTITEM
43             )
44          )
45          GENLIST_PART_SUBITEM("elm.text.2",
46             GENLIST_DESCRIPTION_LRB("elm.padding.left", "elm.padding.arrow.left", "elm.padding.bottom",
47                fixed: 0 1;
48                min: 0 GENLIST_HEIGHT_2LINE_SUB;
49                GENLIST_PARAM_SUBITEM_DEFAULT
50             )
51          )
52          GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow")
53          GENLIST_PART_EXPANDABLE_ARROW
54          GENLIST_PART_FLIP
55       }
56       GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; )
57       programs {
58          GENLIST_PROGRAM_SELECT_ARROW
59          GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; )
60       }
61    }
62
63 // 2.5.1.2
64    group { GENLIST_NAME("dialogue/2text.2/expandable/default")
65       GENLIST_PROLOG_DIALOGUE
66       data.item: "texts" "elm.text.1 elm.text.2";
67
68       GENLIST_IMAGES_EXPANDABLE_BTN
69       parts {
70          GENLIST_PART_BG_DIALOGUE
71          GENLIST_PART_BASE
72          GENLIST_PART_PADDING_TOP_2LINE
73          GENLIST_PART_PADDING_BOTTOM_2LINE
74          GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT)
75          GENLIST_PART_PADDING_RIGHT_EDIT
76
77          GENLIST_PART_SUBITEM("elm.text.2",
78             GENLIST_DESCRIPTION_LRT("elm.padding.left", "elm.padding.arrow.left",
79                "elm.padding.top",
80                fixed: 1 1;
81                min: 0 GENLIST_HEIGHT_2LINE_SUB;
82                GENLIST_PARAM_SUBITEM_DEFAULT
83             )
84          )
85          GENLIST_PART_LISTITEM("elm.text.1",
86             GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.arrow.left",
87                "elm.text.2", "elm.padding.bottom",
88                min: 0 GENLIST_HEIGHT_2LINE_MAIN;
89                GENLIST_PARAM_LISTITEM
90             )
91          )
92          GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow")
93          GENLIST_PART_EXPANDABLE_ARROW
94          GENLIST_PART_FLIP
95       }
96       GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; )
97       programs {
98          GENLIST_PROGRAM_SELECT_ARROW
99          GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; )
100       }
101    }
102
103 // 2.5.1.3
104    group { GENLIST_NAME("dialogue/2text.3/expandable/default")
105       GENLIST_PROLOG_DIALOGUE
106       data.item: "texts" "elm.text.1 elm.text.2";
107
108       GENLIST_IMAGES_EXPANDABLE_BTN
109       parts {
110          GENLIST_PART_BG_DIALOGUE
111          GENLIST_PART_BASE
112          GENLIST_PART_PADDING_TOP_2LINE
113          GENLIST_PART_PADDING_BOTTOM_2LINE
114          GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT)
115          GENLIST_PART_PADDING_RIGHT_EDIT
116
117          GENLIST_PART_LISTITEM("elm.text.1",
118             GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.arrow.left",
119                "elm.padding.top", "elm.text.2",
120                min: 0 GENLIST_HEIGHT_2LINE_MAIN;
121                GENLIST_PARAM_LISTITEM
122             )
123          )
124          GENLIST_PART_SUBITEM("elm.text.2",
125             GENLIST_DESCRIPTION_LRB("elm.padding.left", "elm.padding.arrow.left", "elm.padding.bottom",
126                min: 0 GENLIST_HEIGHT_2LINE_SUB;
127                fixed: 1 1;
128                GENLIST_PARAM_SUBITEM_SETTINGS
129             )
130          )
131          GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow")
132          GENLIST_PART_EXPANDABLE_ARROW
133          GENLIST_PART_FLIP
134       }
135       GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; )
136       programs {
137          GENLIST_PROGRAM_SELECT_ARROW
138          GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; )
139       }
140    }
141
142 // 2.5.1.4
143    group { GENLIST_NAME("dialogue/2text.1icon/expandable/default")
144       GENLIST_PROLOG_DIALOGUE
145       data.item: "texts" "elm.text.1 elm.text.2";
146       data.item: "contents" "elm.icon";
147
148       images {
149          image: "00_button_expand_closed.png" COMP;
150          image: "00_button_expand_opened.png" COMP;
151       }
152       GENLIST_IMAGES_EXPANDABLE_BTN
153       parts {
154          GENLIST_PART_BG_DIALOGUE
155          GENLIST_PART_BASE
156          GENLIST_PART_PADDING_TOP_2LINE
157          GENLIST_PART_PADDING_BOTTOM_2LINE
158          GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT)
159          GENLIST_PART_PADDING_RIGHT_EDIT
160          GENLIST_PART_ICON("elm.icon",
161             GENLIST_DESCRIPTION_L("elm.padding.left",
162                GENLIST_PARAM_ICON_CHECK_RADIO)
163          )
164          GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon")
165          GENLIST_PART_LISTITEM("elm.text.1",
166             GENLIST_DESCRIPTION("elm.padding.icon.right", "elm.padding.arrow.left",
167                "elm.padding.top", "elm.text.2",
168                min: 0 GENLIST_HEIGHT_2LINE_MAIN;
169                GENLIST_PARAM_LISTITEM
170             )
171          )
172          GENLIST_PART_SUBITEM("elm.text.2",
173             GENLIST_DESCRIPTION_LRB("elm.padding.icon.right", "elm.padding.arrow.left", "elm.padding.bottom",
174                min: 0 GENLIST_HEIGHT_2LINE_SUB;
175                fixed: 1 1;
176                GENLIST_PARAM_SUBITEM_DEFAULT
177             )
178          )
179          GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow")
180          GENLIST_PART_EXPANDABLE_ARROW
181          GENLIST_PART_FLIP
182       }
183       GENLIST_PROGRAMS_DIALOGUE( target: "elm.text.1"; target: "elm.text.2"; )
184       programs {
185          GENLIST_PROGRAM_SELECT_ARROW
186          GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; )
187       }
188    }
189
190 // 2.5.1.5
191    group { GENLIST_NAME("dialogue/3text.1icon/expandable/default")
192       GENLIST_PROLOG_DIALOGUE
193
194       data.item: "texts" "elm.text.1 elm.text.2 elm.text.3";
195       data.item: "contents" "elm.swallow.colorbar elm.icon";
196
197       images {
198          image: "00_button_expand_closed.png" COMP;
199          image: "00_button_expand_opened.png" COMP;
200       }
201
202       GENLIST_IMAGES_EXPANDABLE_BTN
203       parts {
204          GENLIST_PART_BG_DIALOGUE
205          GENLIST_PART_BASE
206          GENLIST_PART_PADDING_TOP_2LINE
207          GENLIST_PART_PADDING_BOTTOM_2LINE
208          GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT)
209          GENLIST_PART_PADDING_RIGHT_EDIT
210          GENLIST_PART_COLORBAR
211
212          GENLIST_PART_ICON_BIG_L("elm.icon", "elm.padding.left")
213          GENLIST_PART_PADDING_L("elm.padding.icon.right", "elm.icon")
214          GENLIST_PART_LISTITEM("elm.text.1",
215             GENLIST_DESCRIPTION("elm.padding.icon.right", "elm.text.3",
216                "elm.padding.top", "elm.text.2",
217                min: 0 GENLIST_HEIGHT_2LINE_MAIN;
218                GENLIST_PARAM_LISTITEM
219             )
220          )
221          GENLIST_PART_SUBITEM_RTB("elm.text.3", GENLIST_HEIGHT_2LINE_MAIN,
222             "elm.padding.arrow.left", "elm.padding.top", "elm.text.2"
223          )
224          GENLIST_PART_SUBITEM("elm.text.2",
225             GENLIST_DESCRIPTION_LRB("elm.padding.icon.right", "elm.padding.arrow.left", "elm.padding.bottom",
226                min: 0 GENLIST_HEIGHT_2LINE_SUB;
227                fixed: 1 1;
228                GENLIST_PARAM_SUBITEM_DEFAULT
229             )
230          )
231          GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow")
232          GENLIST_PART_EXPANDABLE_ARROW
233          GENLIST_PART_FLIP
234       }
235       GENLIST_PROGRAMS_DIALOGUE( target: "elm.icon"; target: "elm.text.1"; target: "elm.text.2"; target: "elm.text.3"; )
236       programs {
237          GENLIST_PROGRAM_SELECT_ARROW
238          GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; )
239       }
240    }
241
242 // 2.5.1.6
243    group { GENLIST_NAME("dialogue/1text/expandable/default")
244
245       // FIXME: deprecated, only for backward compatibility
246       alias: "elm/genlist/tree/dialogue/1text/expandable2/default";
247       alias: "elm/genlist/tree_odd/dialogue/1text/expandable2/default";
248       alias: "elm/genlist/tree_compress/dialogue/1text/expandable2/default";
249       alias: "elm/genlist/tree_compress_odd/dialogue/1text/expandable2/default";
250
251       GENLIST_PROLOG_DIALOGUE
252       data.item: "texts" "elm.text";
253
254       GENLIST_IMAGES_EXPANDABLE_BTN
255       parts {
256          GENLIST_PART_BG_DIALOGUE
257          GENLIST_PART_BASE
258          GENLIST_PART_PADDING_LEFT_SIZE(DIALOGUE_PADDING_SIZE_LEFT)
259          GENLIST_PART_PADDING_TOP_SIZE(0)
260          GENLIST_PART_PADDING_BOTTOM_SIZE(0)
261          GENLIST_PART_PADDING_RIGHT_EDIT
262
263          GENLIST_PART_LISTITEM("elm.text",
264             GENLIST_DESCRIPTION("elm.padding.left", "elm.padding.arrow.left",
265                "elm.padding.top", "elm.padding.bottom",
266                min: 0 GENLIST_HEIGHT_1LINE;
267                GENLIST_PARAM_LISTITEM
268             )
269          )
270          GENLIST_PART_PADDING_R("elm.padding.arrow.left", "arrow")
271          GENLIST_PART_EXPANDABLE_ARROW
272          GENLIST_PART_FLIP
273       }
274       GENLIST_PROGRAMS_DIALOGUE( target: "elm.text"; )
275       programs {
276          GENLIST_PROGRAM_SELECT_ARROW
277          GENLIST_PROGRAM_EXPAND_ROOT( target: "arrow"; )
278       }
279    }
280 #if 0
281    group { name: "elm/genlist/tree/1text.2/expandable_n_depth/default";
282       alias: "elm/genlist/tree_odd/1text.2/expandable_n_depth/default";
283       alias: "elm/genlist/tree_compress/1text.2/expandable_n_depth/default";
284       alias: "elm/genlist/tree_compress_odd/1text.2/expandable_n_depth/default";
285       alias: "elm/genlist/item/1text.2/expandable_n_depth/default";
286       alias: "elm/genlist/item_odd/1text.2/expandable_n_depth/default";
287       alias: "elm/genlist/item_compress/1text.2/expandable_n_depth/default";
288       alias: "elm/genlist/item_compress_odd/1text.2/expandable_n_depth/default";
289
290       data.item: "texts" "elm.text";
291       data.item: "contents" "elm.icon elm.icon.edit";
292
293       parts {
294          GENLIST_PART_BG_NORMAL
295          GENLIST_PART_BASE
296          GENLIST_PART_BOTTOM_LINE
297          GENLIST_PART_PADDING_LEFT
298          GENLIST_PART_PADDING_RIGHT
299
300          GENLIST_PART_ICON_BIG_L("elm.icon", "elm.swallow.pad")
301          GENLIST_PART_PADDING_L("elm.icon.right", "elm.icon")
302          GENLIST_PART_LISTITEM("elm.text",
303             GENLIST_DESCRIPTION_LR("elm.icon.right", "elm.padding.right",
304                min: 0 GENLIST_HEIGHT_1LINE;
305                GENLIST_PARAM_LISTITEM
306             )
307          )
308       }
309       programs {
310          GENLIST_PROGRAM_DISABLED
311          GENLIST_PROGRAM_SELECT_BOTTOMLINE( target: "elm.text"; )
312          GENLIST_PROGRAM_EXPAND_FADE( target: "elm.text"; target: "elm.icon"; )
313       }
314    }
315
316    group { name: "elm/genlist/item/1text.1/expandable_n_depth/default";
317       alias: "elm/genlist/item_odd/1text.1/expandable_n_depth/default";
318       alias: "elm/genlist/item_compress/1text.1/expandable_n_depth/default";
319       alias: "elm/genlist/item_compress_odd/1text.1/expandable_n_depth/default";
320       alias: "elm/genlist/tree/1text.1/expandable_n_depth/default";
321       alias: "elm/genlist/tree_odd/1text.1/expandable_n_depth/default";
322       alias: "elm/genlist/tree_compress/1text.1/expandable_n_depth/default";
323       alias: "elm/genlist/tree_compress_odd/1text.1/expandable_n_depth/default";
324
325       data.item: "texts" "elm.text";
326       data.item: "contents" "elm.icon elm.icon.edit";
327
328       parts {
329          GENLIST_PART_BG_NORMAL
330          GENLIST_PART_BASE
331          GENLIST_PART_BOTTOM_LINE
332          GENLIST_PART_PADDING_LEFT
333          GENLIST_PART_PADDING_RIGHT
334
335          GENLIST_PART_IMAGE("elm.icon", "elm.swallow.pad")
336          GENLIST_PART_PADDING_L("elm.icon.right", "elm.icon")
337          GENLIST_PART_LISTITEM("elm.text",
338             GENLIST_DESCRIPTION_LR("elm.icon.right", "elm.padding.right",
339                min: 0 GENLIST_HEIGHT_1LINE;
340                GENLIST_PARAM_LISTITEM
341             )
342          )
343       }
344       programs {
345          GENLIST_PROGRAM_DISABLED
346          GENLIST_PROGRAM_SELECT_BOTTOMLINE( target: "elm.text"; )
347          GENLIST_PROGRAM_EXPAND_FADE( target: "elm.text"; target: "elm.icon"; target: "bottom_line"; target: "bottom_line2";)
348       }
349    }
350
351
352       data.item: "texts" "elm.text";
353       data.item: "treesize" "26";
354
355       broadcast_signal: 1;
356       parts {
357          alias: "base" "group:base";
358          alias: "arrow" "group:arrow";
359          alias: "elm.text" "group:elm.text";
360          alias: "bottom_line" "group:bottom_line";
361          alias: "elm.padding.left" "group:elm.padding.left";
362          alias: "elm.padding.right" "group:elm.padding.right";
363          alias: "elm.swallow.pad" "group:elm.swallow.pad";
364
365          GENLIST_PART_PERSPECTIVE_POINT
366          part { name: "event";
367             type: RECT;
368             description {
369                state: "default" 0.0;
370                color: 0 0 0 0;
371             }
372          }
373          part { name: "group";
374             type: GROUP;
375             scale: 1;
376             source: "elm/genlist/tree/1text.1/expandable_n_depth/effect_parts/default";
377             description {
378                min: 16 GENLIST_HEIGHT_1LINE;
379                state: "default" 0.0;
380             }
381             GENLIST_DESCRIPTION_ROTATE(-90.0, 0, 0)
382          }
383       }
384       programs {
385          program {
386             name: "expand";
387             signal: "mouse,up,1";
388             source: "group:touch_arrow";
389             action:  SIGNAL_EMIT "elm,action,expand,toggle" "elm";
390          }
391          GENLIST_PROGRAM_ROTATE(0.2, 0.3,
392             target: "group";
393          )
394          program {
395             name: "show";
396             signal: "elm,state,show";
397             action: STATE_SET "default" 0.0;
398             target: "group";
399          }
400          program {
401             name: "hide";
402             signal: "elm,state,hide";
403             action: STATE_SET "hide" 0.0;
404             target: "group";
405          }
406       }
407    }
408
409    /* internally used in 2.5.3.1 */
410    group { name: "elm/genlist/tree/1text.1/expandable_n_depth/effect_parts/default";
411       images {
412          image: "00_expandable_icon_folder_plus.png" COMP;
413          image: "00_expandable_icon_folder_minus.png" COMP;
414       }
415       parts {
416          GENLIST_PART_BASE
417          GENLIST_PART_PADDING_LEFT
418          GENLIST_PART_PADDING_RIGHT_EDIT
419
420          part { name: "touch_arrow";
421             type: RECT;
422             ignore_flags: ON_HOLD;
423             scale: 1;
424             description { state: "default" 0.0;
425                min: 112 128;
426                fixed: 1 1;
427                align: 0.5 0.5;
428                rel1 {
429                   relative: 0.5 0.5;
430                   to: "arrow";
431                }
432                rel2 {
433                   relative: 0.5 0.5;
434                   to: "arrow";
435                }
436                color: 0 0 0 0;
437             }
438          }
439          part { name: "elm.padding.arrow.right";
440             type: RECT;
441             scale: 1;
442             description { state: "default" 0.0;
443                min: 16 0;
444                fixed: 1 0;
445                visible: 0;
446                align: 0.0 0.5;
447                rel1 {
448                   relative: 1.0 0.0;
449                   to: "arrow";
450                }
451                rel2.to: "arrow";
452             }
453          }
454          part { name: "arrow";
455             ignore_flags: ON_HOLD;
456             mouse_events: 0;
457             scale: 1;
458             description { state: "default" 0.0;
459                min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
460                max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
461                fixed: 1 1;
462                align: 0.0 0.5;
463                aspect: 1.0 1.0;
464                rel1 {
465                   relative: 1.0 0.0;
466                   to_x: "elm.swallow.pad";
467                }
468                rel2.to_x: "elm.swallow.pad";
469                image.normal: "00_expandable_icon_folder_plus.png";
470             }
471             description { state: "active" 0.0;
472                inherit: "default" 0.0;
473                image.normal: "00_expandable_icon_folder_minus.png";
474             }
475          }
476          part { name: "elm.text";
477             type: TEXT;
478             mouse_events: 0;
479             scale: 1;
480             description { state: "default" 0.0;
481                align: 0.5 0.5;
482                rel1 {
483                   relative: 1.0 0.0;
484                   to_x: "elm.padding.arrow.right";
485                }
486                rel2 {
487                   relative: 0.0 1.0;
488                   to_x: "elm.padding.right";
489                }
490                color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
491                text {
492                   font: "Tizen:style=Roman";
493                   size: GENLIST_LIST_MAIN_TEXT_SIZE;
494                   min: 0 1;
495                   align: 0.0 0.5;
496                   text_class: "list_item";
497                }
498             }
499             description { state: "selected" 0.0;
500                inherit: "default" 0.0;
501                color: GENLIST_LIST_TEXT_FOCUS_COLOR;
502             }
503          }
504          GENLIST_PART_DISCLIP
505       }
506       programs {
507          program {
508             name: "go_expanded";
509             signal: "elm,state,expanded";
510             source: "elm";
511             action: STATE_SET "active" 0.0;
512             target: "arrow";
513          }
514          program {
515             name: "go_contracted";
516             signal: "elm,state,contracted";
517             source: "elm";
518             action: STATE_SET "default" 0.0;
519             target: "arrow";
520          }
521
522          program {
523             name: "go_active";
524             signal: "elm,state,selected";
525             source: "elm";
526             action: STATE_SET "selected" 0.0;
527             target: "base";
528             target: "elm.text";
529          }
530          program {
531             name: "go_passive";
532             signal: "elm,state,unselected";
533             source: "elm";
534             action: STATE_SET "default" 0.0;
535             target: "base";
536             target: "elm.text";
537             transition: LINEAR 0.1;
538          }
539          program {
540             name: "go_disabled";
541             signal: "elm,state,disabled";
542             source: "elm";
543             action: STATE_SET "disabled" 0.0;
544             target: "disclip";
545          }
546          program {
547             name: "go_enabled";
548             signal: "elm,state,enabled";
549             source: "elm";
550             action: STATE_SET "default" 0.0;
551             target: "disclip";
552          }
553       }
554    }
555
556    /* 2.5.3.2 */
557    group { name: "elm/genlist/item/1text.2/expandable_n_depth/default";
558       alias: "elm/genlist/item_odd/1text.2/expandable_n_depth/default";
559       alias: "elm/genlist/item_compress/1text.2/expandable_n_depth/default";
560       alias: "elm/genlist/item_compress_odd/1text.2/expandable_n_depth/default";
561       inherit: "elm/genlist/tree/1text.1/expandable_n_depth/default";
562       broadcast_signal: 1;
563       parts {
564          alias: "base" "group:base";
565          alias: "arrow" "group:arrow";
566          alias: "elm.text" "group:elm.text";
567          alias: "bottom_line" "group:bottom_line";
568          alias: "elm.padding.left" "group:elm.padding.left";
569          alias: "elm.padding.right" "group:elm.padding.right";
570          alias: "elm.swallow.pad" "group:elm.swallow.pad";
571          part { name: "group";
572             type: GROUP;
573             scale: 1;
574             source: "elm/genlist/tree/1text.2/expandable_n_depth/effect_parts/default";
575             description {
576                min: 16 GENLIST_HEIGHT_1LINE;
577                state: "default" 0.0;
578             }
579             GENLIST_DESCRIPTION_ROTATE(-90.0, 0, 0)
580          }
581       }
582    }
583
584    /* internally used in 2.5.3.2 */
585    group { name: "elm/genlist/tree/1text.2/expandable_n_depth/effect_parts/default";
586       inherit: "elm/genlist/tree/1text.1/expandable_n_depth/effect_parts/default";
587       images {
588          image: "00_expandable_icon_folder.png" COMP;
589       }
590       parts {
591          part { name: "touch_arrow";
592             mouse_events: 0;
593          }
594          part { name: "arrow";
595             description { state: "default" 0.0;
596                image.normal: "00_expandable_icon_folder.png";
597             }
598             description { state: "active" 0.0;
599                image.normal: "00_expandable_icon_folder.png";
600             }
601          }
602       }
603    }
604 #endif
605
606
607 #if 0
608 // 2.5.2.7
609    group { name: "elm/genlist/item/dialogue/1text.2icon/expandable2/default";
610       alias: "elm/genlist/item_odd/dialogue/1text.2icon/expandable2/default";
611       alias: "elm/genlist/item_compress/dialogue/1text.2icon/expandable2/default";
612       alias: "elm/genlist/item_compress_odd/dialogue/1text.2icon/expandable2/default";
613       data.item: "stacking" "above";
614       data.item: "selectraise" "on";
615       data.item: "texts" "elm.text";
616       data.item: "contents" "elm.icon.1 elm.icon.2";
617       data.item: "treesize" "GENLIST_TREESIZE_16_INC";
618
619       parts {
620          GENLIST_PART_BASE
621          GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC )
622          GENLIST_PART_PADDING_RIGHT_EDIT
623          part { name: "elm.padding.icon1.right";
624             type: RECT;
625             scale: 1;
626             description { state: "default" 0.0;
627                min: GENLIST_PADDING_16_INC 0;
628                fixed: 1 0;
629                visible: 0;
630                rel1 {
631                   relative: 1.0 0.0;
632                   to_x: "elm.icon.1";
633                }
634                rel2.to_x: "elm.icon.1";
635                align: 0.0 0.0;
636             }
637          }
638          part { name: "elm.icon.1";
639             type: SWALLOW;
640             scale: 1;
641             description { state: "default" 0.0;
642                min: GENLIST_SIZE_60_INC GENLIST_SIZE_60_INC;
643                max: GENLIST_SIZE_60_INC GENLIST_SIZE_60_INC;
644                fixed: 1 1;
645                align: 0.0 0.5;
646                rel1 {
647                   relative: 1.0 0.0;
648                   to_x: "elm.swallow.pad";
649                }
650                rel2 {
651                   relative: 1.0 1.0;
652                   to_x: "elm.swallow.pad";
653                }
654             }
655             GENLIST_DESCRIPTION_FADEOUT
656          }
657          part { name: "elm.padding.icon2.right";
658             type: RECT;
659             scale: 1;
660             description { state: "default" 0.0;
661                min: GENLIST_PADDING_16_INC 0;
662                fixed: 1 0;
663                visible: 0;
664                rel1 {
665                   relative: 1.0 0.0;
666                   to_x: "elm.icon.2";
667                }
668                rel2.to_x: "elm.icon.2";
669                align: 0.0 0.0;
670             }
671          }
672          part { name: "elm.icon.2";
673             type: SWALLOW;
674             scale: 1;
675             description { state: "default" 0.0;
676                min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
677                max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
678                fixed: 1 1;
679                align: 0.0 0.5;
680                rel1 {
681                   relative: 1.0 0.0;
682                   to_x: "elm.padding.icon1.right";
683                }
684                rel2 {
685                   relative: 1.0 1.0;
686                   to_x: "elm.padding.icon1.right";
687                }
688             }
689             GENLIST_DESCRIPTION_FADEOUT
690          }
691          part { name: "elm.text";
692             type: TEXT;
693             mouse_events: 0;
694             scale: 1;
695             description { state: "default" 0.0;
696                rel1 {
697                   relative: 1.0  0.0;
698                   to_x: "elm.padding.icon2.right";
699                }
700                rel2 {
701                   relative: 0.0  1.0;
702                   to_x: "elm.padding.right";
703                }
704                color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
705                text {
706                   font: "Tizen:style=Regular";
707                   size: GENLIST_LIST_MAIN_TEXT_SIZE;
708                   min: 0 1;
709                   align: 0.0 0.5;
710                   text_class: "list_item";
711                }
712             }
713             description { state: "selected" 0.0;
714                inherit: "default" 0.0;
715                color: GENLIST_LIST_TEXT_FOCUS_COLOR;
716             }
717             GENLIST_DESCRIPTION_FADEOUT
718          }
719          GENLIST_PART_DISCLIP
720       }
721       programs {
722          program { name: "go_active";
723             signal: "elm,state,selected";
724             source: "elm";
725             action: STATE_SET "selected" 0.0;
726             target: "base";
727             target: "elm.text";
728          }
729          program { name: "go_passive";
730             signal: "elm,state,unselected";
731             source: "elm";
732             action: STATE_SET "default" 0.0;
733             target: "base";
734             target: "elm.text";
735             transition: LINEAR 0.1;
736          }
737          program { name: "go_disabled";
738             signal: "elm,state,disabled";
739             source: "elm";
740             action: STATE_SET "disabled" 0.0;
741             target: "disclip";
742          }
743          program { name: "go_enabled";
744             signal: "elm,state,enabled";
745             source: "elm";
746             action: STATE_SET "default" 0.0;
747             target: "disclip";
748          }
749          GENLIST_PROGRAM_ROTATE(0.2, 0.3,
750             target: "base";
751             target: "elm.text";
752             target: "elm.swallow.pad";
753             target: "elm.icon.1";
754             target: "elm.icon.2";
755          )
756          program {
757             name: "show";
758             signal: "elm,state,show";
759             action: STATE_SET "default" 0.0;
760             target: "base";
761             target: "elm.text";
762             target: "elm.icon.1";
763             target: "elm.icon.2";
764             target: "elm.swallow.pad";
765          }
766          program {
767             name: "hide";
768             signal: "elm,state,hide";
769             action: STATE_SET "hide" 0.0;
770             target: "base";
771             target: "elm.text";
772             target: "elm.icon.1";
773             target: "elm.icon.2";
774             target: "elm.swallow.pad";
775          }
776       }
777    }
778
779 //removed
780 // 3.10.21
781    group { name: "elm/genlist/item/dialogue/1text/expandable3/default";
782       alias: "elm/genlist/item_odd/dialogue/1text/expandable3/default";
783       alias: "elm/genlist/item_compress/dialogue/1text/expandable3/default";
784       alias: "elm/genlist/item_compress_odd/dialogue/1text/expandable3/default";
785       data.item: "stacking" "above";
786       data.item: "selectraise" "on";
787       data.item: "texts" "elm.text";
788       data.item: "treesize" "10";
789
790       parts {
791          GENLIST_PART_BASE
792          GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC )
793          GENLIST_PART_PADDING_RIGHT_EDIT
794          part { name: "elm.text";
795             type: TEXT;
796             mouse_events: 0;
797             scale: 1;
798             description { state: "default" 0.0;
799                rel1 {
800                   relative: 1.0  0.0;
801                   offset: 0 0;
802                   to_x: "elm.swallow.pad";
803                }
804                rel2 {
805                   to_x: "elm.padding.right";
806                   relative: 0.0  1.0;
807                   offset:   0   0;
808                }
809                color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
810                text {
811                   font: "Tizen:style=Regular";
812                   size: GENLIST_LIST_MAIN_TEXT_SIZE;
813                   min: 0 1;
814                   align: 0.0 0.5;
815                   text_class: "list_item";
816                }
817             }
818             description { state: "selected" 0.0;
819                inherit: "default" 0.0;
820                color: GENLIST_LIST_TEXT_FOCUS_COLOR;
821             }
822             GENLIST_DESCRIPTION_FADEOUT
823          }
824          GENLIST_PART_DISCLIP
825       }
826       programs {
827          program { name: "go_active";
828             signal: "elm,state,selected";
829             source: "elm";
830             action: STATE_SET "selected" 0.0;
831             target: "base";
832             target: "elm.text";
833          }
834          program { name: "go_passive";
835             signal: "elm,state,unselected";
836             source: "elm";
837             action: STATE_SET "default" 0.0;
838             target: "base";
839             target: "elm.text";
840             transition: LINEAR 0.1;
841          }
842          program { name: "go_disabled";
843             signal: "elm,state,disabled";
844             source: "elm";
845             action: STATE_SET "disabled" 0.0;
846             target: "disclip";
847          }
848          program { name: "go_enabled";
849             signal: "elm,state,enabled";
850             source: "elm";
851             action: STATE_SET "default" 0.0;
852             target: "disclip";
853          }
854          GENLIST_PROGRAM_ROTATE(0.2, 0.3,
855             target: "base";
856             target: "elm.text";
857             target: "elm.swallow.pad";
858          )
859          program {
860             name: "show";
861             signal: "elm,state,show";
862             action: STATE_SET "default" 0.0;
863             target: "base";
864             target: "elm.text";
865             target: "elm.swallow.pad";
866          }
867          program {
868             name: "hide";
869             signal: "elm,state,hide";
870             action: STATE_SET "hide" 0.0;
871             target: "base";
872             target: "elm.text";
873             target: "elm.swallow.pad";
874          }
875       }
876    }
877
878 //removed
879 /* B01.3.10.20 */
880    group { name: "elm/genlist/item/dialogue/1text.2/expandable3/default";
881       alias: "elm/genlist/item_odd/dialogue/1text.2/expandable3/default";
882       alias: "elm/genlist/item_compress/dialogue/1text.2/expandable3/default";
883       alias: "elm/genlist/item_compress_odd/dialogue/1text.2/expandable3/default";
884       data.item: "stacking" "above";
885       data.item: "selectraise" "on";
886       data.item: "texts" "elm.text";
887       data.item: "treesize" "GENLIST_TREESIZE_16_INC";
888
889       parts {
890          GENLIST_PART_BASE
891          GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_SIZE_48_INC )
892          GENLIST_PART_PADDING_RIGHT_EDIT( GENLIST_SIZE_16_INC )
893          part { name: "elm.text";
894             type: TEXT;
895             mouse_events: 0;
896             scale: 1;
897             description { state: "default" 0.0;
898                rel1 {
899                   relative: 1.0  0.0;
900                   offset: 0 0;
901                   to_x: "elm.swallow.pad";
902                }
903                rel2 {
904                   to_x: "elm.padding.right";
905                   relative: 0.0  1.0;
906                   offset:   0   0;
907                }
908                color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
909                text {
910                   font: "Tizen:style=Regular";
911                   size: GENLIST_LIST_MAIN_TEXT_SIZE;
912                   min: 0 1;
913                   align: 0.0 0.5;
914                   text_class: "list_item";
915                }
916             }
917             description { state: "selected" 0.0;
918                inherit: "default" 0.0;
919                color: GENLIST_LIST_TEXT_FOCUS_COLOR;
920             }
921             GENLIST_DESCRIPTION_FADEOUT
922          }
923          GENLIST_PART_DISCLIP
924       }
925       programs {
926          program { name: "go_active";
927             signal: "elm,state,selected";
928             source: "elm";
929             action: STATE_SET "selected" 0.0;
930             target: "base";
931             target: "elm.text";
932          }
933          program { name: "go_passive";
934             signal: "elm,state,unselected";
935             source: "elm";
936             action: STATE_SET "default" 0.0;
937             target: "base";
938             target: "elm.text";
939             transition: LINEAR 0.1;
940          }
941          program { name: "go_disabled";
942             signal: "elm,state,disabled";
943             source: "elm";
944             action: STATE_SET "disabled" 0.0;
945             target: "disclip";
946          }
947          program { name: "go_enabled";
948             signal: "elm,state,enabled";
949             source: "elm";
950             action: STATE_SET "default" 0.0;
951             target: "disclip";
952          }
953          GENLIST_PROGRAM_ROTATE(0.2, 0.3,
954             target: "base";
955             target: "elm.text";
956             target: "elm.swallow.pad";
957          )
958          program {
959             name: "show";
960             signal: "elm,state,show";
961             action: STATE_SET "default" 0.0;
962             target: "base";
963             target: "elm.text";
964             target: "elm.swallow.pad";
965          }
966          program {
967             name: "hide";
968             signal: "elm,state,hide";
969             action: STATE_SET "hide" 0.0;
970             target: "base";
971             target: "elm.text";
972             target: "elm.swallow.pad";
973          }
974       }
975    }
976
977    /
978 // 2.5.1.5 (Deprecated)
979    group { name: "elm/genlist/tree/dialogue/2text.2icon/expandable/default";
980       alias: "elm/genlist/tree_odd/dialogue/2text.2icon/expandable/default";
981       alias: "elm/genlist/tree_compress/dialogue/2text.2icon/expandable/default";
982       alias: "elm/genlist/tree_compress_odd/dialogue/2text.2icon/expandable/default";
983       data.item: "stacking" "above";
984       data.item: "selectraise" "on";
985       data.item: "texts" "elm.text.1 elm.text.2";
986       data.item: "contents" "elm.icon elm.swallow.colorbar";
987       data.item: "treesize" "GENLIST_TREESIZE_16_INC";
988       images {
989          image: "00_button_expand_closed.png" COMP;
990          image: "00_button_expand_opened.png" COMP;
991       }
992       parts {
993          GENLIST_PART_BASE
994          GENLIST_PART_PADDING_TOP_SIZE( GENLIST_PADDING_10_INC )
995          GENLIST_PART_PADDING_BOTTOM_SIZE( GENLIST_PADDING_10_INC )
996          GENLIST_PART_PADDING_LEFT_SIZE( GENLIST_PADDING_32_INC )
997          GENLIST_PART_PADDING_RIGHT_EDIT
998          part { name: "elm.swallow.colorbar";
999             clip_to: "disclip";
1000             type: SWALLOW;
1001             scale: 1;
1002             description { state: "default" 0.0;
1003                min: GENLIST_SIZE_10_INC GENLIST_SIZE_21_INC;
1004                fixed: 1 1;
1005                rel2.relative: 0.0 0.0;
1006                align: 0.0 0.0;
1007             }
1008          }
1009          part { name: "touch_arrow";
1010             type: RECT;
1011             clip_to: "disclip";
1012             ignore_flags: ON_HOLD;
1013             scale: 1;
1014             description { state: "default" 0.0;
1015                min: GENLIST_SIZE_112_INC GENLIST_SIZE_128_INC;
1016                fixed: 1 1;
1017                align: 0.5 0.5;
1018                rel1 {
1019                   relative: 0.5 0.5;
1020                   to: "arrow";
1021                }
1022                rel2 {
1023                   relative: 0.5 0.5;
1024                   to: "arrow";
1025                }
1026                color: 0 0 0 0;
1027             }
1028          }
1029          part { name: "arrow";
1030             clip_to: "disclip";
1031             ignore_flags: ON_HOLD;
1032             mouse_events: 0;
1033             scale: 1;
1034             description { state: "default" 0.0;
1035                min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
1036                max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
1037                fixed: 1 1;
1038                align: 1.0 0.5;
1039                aspect: 1.0 1.0;
1040                rel1.to_x: "elm.padding.right";
1041                rel2 {
1042                   relative: 0.0 1.0;
1043                   offset: 0 0;
1044                   to_x: "elm.padding.right";
1045                }
1046                image.normal: "00_button_expand_closed.png";
1047             }
1048             description { state: "active" 0.0;
1049                inherit: "default" 0.0;
1050                image.normal: "00_button_expand_opened.png";
1051             }
1052             GENLIST_DESCRIPTION_FADEOUT
1053          }
1054          part { name: "elm.padding.arrow.left";
1055             type: RECT;
1056             scale: 1;
1057             description { state: "default" 0.0;
1058                min: GENLIST_SIZE_8_INC 0;
1059                fixed: 1 0;
1060                visible: 0;
1061                align: 1.0 0.5;
1062                rel1.to: "arrow";
1063                rel2 {
1064                   relative: 0.0 1.0;
1065                   to: "arrow";
1066                }
1067             }
1068          }
1069          part { name: "elm.padding.icon.right";
1070             type: RECT;
1071             scale: 1;
1072             description { state: "default" 0.0;
1073                min: GENLIST_SIZE_16_INC 0;
1074                fixed: 1 0;
1075                visible: 0;
1076                rel1 {
1077                   relative: 1.0 0.0;
1078                   to_x: "elm.icon";
1079                }
1080                rel2.to_x: "elm.icon";
1081                align: 0.0 0.0;
1082             }
1083          }
1084          part { name: "elm.icon";
1085             clip_to: "disclip";
1086             type: SWALLOW;
1087             scale: 1;
1088             description { state: "default" 0.0;
1089                min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
1090                max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE;
1091                fixed: 1 1;
1092                align: 0.0 0.5;
1093                rel1 {
1094                   relative: 1.0 0.0;
1095                   to_x: "elm.swallow.pad";
1096                }
1097                rel2 {
1098                   relative: 1.0 1.0;
1099                   to_x: "elm.swallow.pad";
1100                }
1101             }
1102          }
1103          part { name: "elm.text.1";
1104             clip_to: "disclip";
1105             type: TEXT;
1106             mouse_events: 0;
1107             scale: 1;
1108             description { state: "default" 0.0;
1109                min: 0 GENLIST_SIZE_61_INC;
1110                fixed: 0 1;
1111                align: 0.0 0.0;
1112                rel1 {
1113                   relative: 1.0 1.0;
1114                   to_x: "elm.padding.icon.right";
1115                   to_y: "elm.padding.top";
1116                }
1117                rel2 {
1118                   relative: 0.0 1.0;
1119                   to_x: "elm.padding.arrow.left";
1120                   to_y: "elm.padding.top";
1121                }
1122                color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR;
1123                text {
1124                   font: "Tizen:style=Regular";
1125                   size: GENLIST_LIST_MAIN_TEXT_SIZE;
1126                   min: 0 1;
1127                   align: 0.0 0.5;
1128                   text_class: "list_item";
1129                }
1130             }
1131             description { state: "selected" 0.0;
1132                inherit: "default" 0.0;
1133                color: GENLIST_LIST_TEXT_FOCUS_COLOR;
1134             }
1135             GENLIST_DESCRIPTION_FADEOUT
1136          }
1137          part { name: "elm.text.2";
1138             clip_to: "disclip";
1139             type: TEXT;
1140             mouse_events: 0;
1141             scale: 1;
1142             description { state: "default" 0.0;
1143                rel1 {
1144                   relative: 1.0 1.0;
1145                   to_x: "elm.padding.icon.right";
1146                   to_y: "elm.text.1";
1147                }
1148                rel2 {
1149                   relative: 0.0 0.0;
1150                   offset: 0 0;
1151                   to_x: "elm.padding.arrow.left";
1152                   to_y: "elm.padding.bottom";
1153                }
1154                color: GENLIST_LIST_SUB_TEXT_DEFAULT_COLOR;
1155                text {
1156                   font: "Tizen:style=Medium";
1157                   size: GENLIST_FONT_32_INC;
1158                   min: 0 1;
1159                   align: 0.0 0.5;
1160                   text_class: "tizen";
1161                }
1162             }
1163             description { state: "selected" 0.0;
1164                inherit: "default" 0.0;
1165                color: GENLIST_LIST_TEXT_FOCUS_COLOR;
1166             }
1167             GENLIST_DESCRIPTION_FADEOUT
1168          }
1169          GENLIST_PART_DISCLIP
1170       }
1171       programs {
1172          program {
1173             name: "go_active";
1174             signal: "elm,state,selected";
1175             source: "elm";
1176             action: STATE_SET "selected" 0.0;
1177             target: "base";
1178             target: "elm.text.1";
1179             target: "elm.text.2";
1180          }
1181          program {
1182             name: "go_passive";
1183             signal: "elm,state,unselected";
1184             source: "elm";
1185             action: STATE_SET "default" 0.0;
1186             target: "base";
1187             target: "elm.text.1";
1188             target: "elm.text.2";
1189             transition: LINEAR 0.1;
1190          }
1191          program {
1192             name: "go_disabled";
1193             signal: "elm,state,disabled";
1194             source: "elm";
1195             action: STATE_SET "disabled" 0.0;
1196             target: "disclip";
1197          }
1198          program {
1199             name: "go_enabled";
1200             signal: "elm,state,enabled";
1201             source: "elm";
1202             action: STATE_SET "default" 0.0;
1203             target: "disclip";
1204          }
1205          program {
1206             name: "expand";
1207             signal: "mouse,up,1";
1208             source: "touch_arrow";
1209             action: SIGNAL_EMIT "elm,action,expand,toggle" "elm";
1210          }
1211          program {
1212             name: "go_expanded";
1213             signal: "elm,state,expanded";
1214             source: "elm";
1215             action: STATE_SET "active" 0.0;
1216             target: "arrow";
1217          }
1218          program {
1219             name: "go_contracted";
1220             signal: "elm,state,contracted";
1221             source: "elm";
1222             action: STATE_SET "default" 0.0;
1223             target: "arrow";
1224          }
1225          GENLIST_PROGRAM_ROTATE(0.2, 0.3,
1226             target: "base";
1227             target: "elm.text.1";
1228             target: "elm.text.2";
1229             target: "elm.icon";
1230             target: "elm.swallow.colorbar";
1231             target: "arrow";
1232             target: "elm.swallow.pad";
1233          )
1234          program {
1235             name: "show";
1236             signal: "elm,state,show";
1237             action: STATE_SET "default" 0.0;
1238             target: "base";
1239             target: "elm.text.1";
1240             target: "elm.text.2";
1241             target: "elm.icon";
1242             target: "elm.swallow.colorbar";
1243             target: "arrow";
1244             target: "elm.swallow.pad";
1245          }
1246          program {
1247             name: "hide";
1248             signal: "elm,state,hide";
1249             action: STATE_SET "hide" 0.0;
1250             target: "base";
1251             target: "elm.text.1";
1252             target: "elm.text.2";
1253             target: "elm.icon";
1254             target: "elm.swallow.colorbar";
1255             target: "arrow";
1256             target: "elm.swallow.pad";
1257          }
1258       }
1259    }
1260
1261 #define GENLIST_EXPANDABLE_TREE_GROUP(GE_STYLE_NAME, GE_COLOR, GE_LEFT) \
1262    group { name: "elm/genlist/tree/"GE_STYLE_NAME"/default"; \
1263       alias: "elm/genlist/tree_odd/"GE_STYLE_NAME"/default"; \
1264       data.item: "stacking" "above"; \
1265       data.item: "selectraise" "on"; \
1266       data.item: "texts" "elm.text"; \
1267       data.item: "contents" "elm.swallow.icon elm.swallow.end"; \
1268       data.item: "treesize" "GENLIST_TREESIZE_16_INC"; \
1269       images { \
1270          image: "00_button_expand_closed.png" COMP; \
1271          image: "00_button_expand_opened.png" COMP; \
1272       } \
1273       parts { \
1274          GENLIST_PART_BASE \
1275          GENLIST_PART_PADDING_LEFT_SIZE( GE_LEFT ) \
1276          GENLIST_PART_PADDING_RIGHT_EDIT \
1277          part { name: "touch_arrow"; \
1278             type: RECT; \
1279             clip_to: "disclip"; \
1280             ignore_flags: ON_HOLD; \
1281             scale: 1; \
1282             description { state: "default" 0.0; \
1283                min: GENLIST_SIZE_112_INC GENLIST_SIZE_128_INC; \
1284                fixed: 1 1; \
1285                align: 0.5 0.5; \
1286                rel1 { \
1287                   relative: 0.5 0.5; \
1288                   to: "arrow"; \
1289                } \
1290                rel2 { \
1291                   relative: 0.5 0.5; \
1292                   to: "arrow"; \
1293                } \
1294                color: 0 0 0 0; \
1295             } \
1296          } \
1297          part { name: "arrow"; \
1298             clip_to: "disclip"; \
1299             ignore_flags: ON_HOLD; \
1300             mouse_events: 0; \
1301             scale: 1; \
1302             description { state: "default" 0.0; \
1303                min: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE; \
1304                max: GENLIST_ICON_BIG_SIZE GENLIST_ICON_BIG_SIZE; \
1305                fixed: 1 1; \
1306                align: 1.0 0.5; \
1307                aspect: 1.0 1.0; \
1308                rel1.to_x: "elm.padding.right"; \
1309                rel2 { \
1310                   relative: 0.0 1.0; \
1311                   offset: 0 0; \
1312                   to_x: "elm.padding.right"; \
1313                } \
1314                image.normal: "00_button_expand_closed.png"; \
1315             } \
1316             description { state: "active" 0.0; \
1317                inherit: "default" 0.0; \
1318                image.normal: "00_button_expand_opened.png"; \
1319             } \
1320             GENLIST_DESCRIPTION_FADEOUT \
1321          } \
1322          part { name: "elm.padding.arrow.left"; \
1323             type: RECT; \
1324             scale: 1; \
1325             description { state: "default" 0.0; \
1326                min: GENLIST_SIZE_8_INC 0; \
1327                fixed: 1 0; \
1328                visible: 0; \
1329                align: 1.0 0.5; \
1330                rel1.to: "arrow"; \
1331                rel2 { \
1332                   relative: 0.0 1.0; \
1333                   to: "arrow"; \
1334                } \
1335             } \
1336          } \
1337          part { name: "elm.text"; \
1338             clip_to: "disclip"; \
1339             type: TEXT; \
1340             mouse_events: 0; \
1341             scale: 1; \
1342             description { state: "default" 0.0; \
1343                align: 0.5 0.5; \
1344                rel1 { \
1345                   relative: 1.0 0.0; \
1346                   to_x: "elm.swallow.pad"; \
1347                } \
1348                rel2 { \
1349                   relative: 0.0 1.0; \
1350                   to_x: "elm.padding.arrow.left"; \
1351                } \
1352                color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR; \
1353                text { \
1354                   font: "Tizen:style=Roman"; \
1355                   size: GENLIST_LIST_MAIN_TEXT_SIZE; \
1356                   min: 0 1; \
1357                   align: 0.0 0.5; \
1358                   text_class: "list_item"; \
1359                } \
1360             } \
1361             description { state: "selected" 0.0; \
1362                inherit: "default" 0.0; \
1363                color: GENLIST_LIST_TEXT_FOCUS_COLOR; \
1364             } \
1365             GENLIST_DESCRIPTION_FADEOUT \
1366          } \
1367          GENLIST_PART_DISCLIP \
1368       } \
1369       programs { \
1370          program { \
1371             name: "go_active"; \
1372             signal: "elm,state,selected"; \
1373             source: "elm"; \
1374             action: STATE_SET "selected" 0.0; \
1375             target: "base"; \
1376             target: "elm.text"; \
1377          } \
1378          program { \
1379             name: "go_passive"; \
1380             signal: "elm,state,unselected"; \
1381             source: "elm"; \
1382             action: STATE_SET "default" 0.0; \
1383             target: "base"; \
1384             target: "elm.text"; \
1385             transition: LINEAR 0.1; \
1386          } \
1387          program { \
1388             name: "go_disabled"; \
1389             signal: "elm,state,disabled"; \
1390             source: "elm"; \
1391             action: STATE_SET "disabled" 0.0; \
1392             target: "disclip"; \
1393          } \
1394          program { \
1395             name: "go_enabled"; \
1396             signal: "elm,state,enabled"; \
1397             source: "elm"; \
1398             action: STATE_SET "default" 0.0; \
1399             target: "disclip"; \
1400          } \
1401          program { \
1402             name: "expand"; \
1403             signal: "mouse,up,1"; \
1404             source: "touch_arrow"; \
1405             action: SIGNAL_EMIT "elm,action,expand,toggle" "elm"; \
1406          } \
1407          program { \
1408             name: "go_expanded"; \
1409             signal: "elm,state,expanded"; \
1410             source: "elm"; \
1411             action: STATE_SET "active" 0.0; \
1412             target: "arrow"; \
1413          } \
1414          program { \
1415             name: "go_contracted"; \
1416             signal: "elm,state,contracted"; \
1417             source: "elm"; \
1418             action: STATE_SET "default" 0.0; \
1419             target: "arrow"; \
1420          } \
1421          GENLIST_PROGRAM_ROTATE(0.2, 0.3, \
1422             target: "base"; \
1423             target: "elm.text"; \
1424             target: "arrow"; \
1425             target: "elm.swallow.pad"; \
1426          ) \
1427          program { \
1428             name: "show"; \
1429             signal: "elm,state,show"; \
1430             action: STATE_SET "default" 0.0; \
1431             target: "base"; \
1432             target: "elm.text"; \
1433             target: "arrow"; \
1434             target: "elm.swallow.pad"; \
1435          } \
1436          program { \
1437             name: "hide"; \
1438             signal: "elm,state,hide"; \
1439             action: STATE_SET "hide" 0.0; \
1440             target: "base"; \
1441             target: "elm.text"; \
1442             target: "arrow"; \
1443             target: "elm.swallow.pad"; \
1444          } \
1445       } \
1446    }
1447
1448 #define GENLIST_EXPANDABLE_ITEM_GROUP(GE_STYLE_NAME, GE_COLOR, GE_LEFT) \
1449    group { name: "elm/genlist/item/"GE_STYLE_NAME"/default"; \
1450       alias: "elm/genlist/item_odd/"GE_STYLE_NAME"/default"; \
1451       data.item: "stacking" "above"; \
1452       data.item: "selectraise" "on"; \
1453       data.item: "texts" "elm.text"; \
1454       data.item: "contents" "elm.swallow.icon elm.swallow.end"; \
1455       data.item: "treesize" "GENLIST_TREESIZE_16_INC"; \
1456       parts { \
1457          GENLIST_PART_BASE  \
1458          GENLIST_PART_PADDING_LEFT_SIZE( GE_LEFT ) \
1459          GENLIST_PART_PADDING_RIGHT_EDIT \
1460          part { name: "elm.swallow.end"; \
1461             type: SWALLOW; \
1462             scale: 1; \
1463             description { state: "default" 0.0; \
1464                fixed: 1 0; \
1465                align: 1.0 0.5; \
1466                rel1.to_x: "elm.padding.right"; \
1467                rel2 { \
1468                   relative: 0.0  1.0; \
1469                   to_x: "elm.padding.right"; \
1470                } \
1471             } \
1472             GENLIST_DESCRIPTION_FADEOUT \
1473          } \
1474         part { name: "elm.text"; \
1475             clip_to: "disclip"; \
1476             type: TEXT; \
1477             mouse_events: 0; \
1478             scale: 1; \
1479             description { state: "default" 0.0; \
1480                rel1 { \
1481                   relative: 1.0  0.0; \
1482                   offset: 0 0; \
1483                   to_x: "elm.swallow.pad"; \
1484                } \
1485                rel2 { \
1486                   to_x: "elm.padding.right"; \
1487                   relative: 0.0  1.0; \
1488                   offset:   0   0; \
1489                } \
1490                color: GENLIST_LIST_MAIN_TEXT_UNREAD_COLOR; \
1491                text { \
1492                   font: "Tizen:style=Roman"; \
1493                   size: GENLIST_LIST_MAIN_TEXT_SIZE; \
1494                   min: 0 1; \
1495                   align: 0.0 0.5; \
1496                   text_class: "list_item"; \
1497                } \
1498             } \
1499             description { state: "selected" 0.0; \
1500                inherit: "default" 0.0; \
1501                color: GENLIST_LIST_TEXT_FOCUS_COLOR; \
1502             } \
1503             GENLIST_DESCRIPTION_FADEOUT \
1504          } \
1505          GENLIST_PART_DISCLIP \
1506       } \
1507       programs { \
1508          program { name: "go_active"; \
1509             signal: "elm,state,selected"; \
1510             source: "elm"; \
1511             action: STATE_SET "selected" 0.0; \
1512             target: "base"; \
1513             target: "elm.text"; \
1514          } \
1515          program { name: "go_passive"; \
1516             signal: "elm,state,unselected"; \
1517             source: "elm"; \
1518             action: STATE_SET "default" 0.0; \
1519             target: "base"; \
1520             target: "elm.text"; \
1521             transition: LINEAR 0.1; \
1522          } \
1523          program { name: "go_disabled"; \
1524             signal: "elm,state,disabled"; \
1525             source: "elm"; \
1526             action: STATE_SET "disabled" 0.0; \
1527             target: "disclip"; \
1528          } \
1529          program { name: "go_enabled"; \
1530             signal: "elm,state,enabled"; \
1531             source: "elm"; \
1532             action: STATE_SET "default" 0.0; \
1533             target: "disclip"; \
1534          } \
1535          GENLIST_PROGRAM_ROTATE(0.2, 0.3,  \
1536             target: "base"; \
1537             target: "elm.text"; \
1538             target: "elm.swallow.pad"; \
1539             target: "elm.swallow.end"; \
1540          ) \
1541          program { \
1542             name: "show"; \
1543             signal: "elm,state,show"; \
1544             action: STATE_SET "default" 0.0; \
1545             target: "base"; \
1546             target: "elm.text"; \
1547             target: "elm.swallow.end"; \
1548             target: "elm.swallow.pad"; \
1549          } \
1550          program { \
1551             name: "hide"; \
1552             signal: "elm,state,hide"; \
1553             action: STATE_SET "hide" 0.0; \
1554             target: "base"; \
1555             target: "elm.text"; \
1556             target: "elm.swallow.end"; \
1557             target: "elm.swallow.pad"; \
1558          } \
1559       } \
1560    }
1561
1562 /* legacy styles */
1563 GENLIST_EXPANDABLE_TREE_GROUP("expandable", GENLIST_PART_DIALOGUE_GROUP_BG_COLOR, GENLIST_PADDING_32_INC)
1564 GENLIST_EXPANDABLE_TREE_GROUP("expandable2", GENLIST_PART_EXPANDABLE_2ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_32_INC)
1565
1566 GENLIST_EXPANDABLE_ITEM_GROUP("expandable", GENLIST_PART_DIALOGUE_GROUP_BG_COLOR, GENLIST_PADDING_16_INC)
1567 GENLIST_EXPANDABLE_ITEM_GROUP("expandable2", GENLIST_PART_EXPANDABLE_2ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_16_INC)
1568 GENLIST_EXPANDABLE_ITEM_GROUP("expandable3", GENLIST_PART_EXPANDABLE_3ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_16_INC)
1569
1570 // 2.5.2.6
1571 GENLIST_EXPANDABLE_TREE_GROUP("1text/expandable2", GENLIST_PART_EXPANDABLE_2ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_32_INC)
1572 GENLIST_EXPANDABLE_ITEM_GROUP("1text/expandable2", GENLIST_PART_EXPANDABLE_2ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_16_INC)
1573
1574 //removed
1575 /* B01.3.10.21 */
1576 GENLIST_EXPANDABLE_TREE_GROUP("1text/expandable3", GENLIST_PART_EXPANDABLE_3ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_48_INC)
1577 GENLIST_EXPANDABLE_ITEM_GROUP("1text/expandable3", GENLIST_PART_EXPANDABLE_3ND_DEPTH_BG_COLOR_INC, GENLIST_PADDING_48_INC)
1578 #endif