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