a7c514a6f955e906b3b85ea410e1aa98f95d2d77
[profile/ivi/efl-theme-tizen.git] / themes / widgets / genlist / genlist_group_index.edc
1 /*
2  * Copyright (c) 2010 Samsung Electronics Co., Ltd All Rights Reserved
3  *
4  * PROPRIETARY/CONFIDENTIAL
5  *
6  * This software is the confidential and proprietary information of SAMSUNG
7  * ELECTRONICS ("Confidential Information"). You agree and acknowledge that this
8  * software is owned by Samsung and you shall not disclose such Confidential
9  * Information and shall use it only in accordance with the terms of the license
10  * agreement you entered into with SAMSUNG ELECTRONICS. SAMSUNG make no
11  * representations or warranties about the suitability of the software, either
12  * express or implied, including but not limited to the implied warranties of
13  * merchantability, fitness for a particular purpose, or non-infringement.
14  * SAMSUNG shall not be liable for any damages suffered by licensee arising out
15  * of or releated to this software.
16  *
17  */
18 /*
19  * vim:ts=3:expandtab
20 */
21 // 2.1.1
22    group { name: "elm/genlist/item/grouptitle/default";
23       alias: "elm/genlist/item_odd/grouptitle/default";
24       alias: "elm/genlist/item_compress/grouptitle/default";
25       alias: "elm/genlist/item_compress_odd/grouptitle/default";
26
27       data.item: "stacking" "above";
28       data.item: "selectraise" "on";
29       data.item: "texts" "elm.text";
30       data.item: "treesize" "GENLIST_TREESIZE_32_INC";
31
32       images {
33          image: "00_index list_bg.png" COMP;
34       }
35       parts {
36          GENLIST_PART_INDEX_LIST_BASE_EVENT_INC
37          GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_16_INC )
38          GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_16_INC )
39          part { name: "rect";
40             type: RECT;
41             repeat_events: 1;
42             scale: 1;
43             description { state: "default" 0.0;
44                min: 0 GENLIST_HEIGHT_49_INC;
45                color: GENLIST_DIALOGUE_GROUP_BG_COLOR_INC;
46             }
47             description { state: "alpha_off" 0.0;
48                min: 0 GENLIST_SIZE_48_INC;
49                color: GENLIST_DIALOGUE_GROUP_BG_COLOR_INC;
50             }
51          }
52          GENLIST_PART_INDEX_LIST_BASE_IMAGE_INC
53
54          part { name: "elm.text";
55             type: TEXT;
56             scale: 1;
57             description { state: "default" 0.0;
58                align: 0.0 0.5;
59                rel1 {
60                   relative: 1.0 0.0;
61                   to_x: "elm.padding.left";
62                }
63                rel2 {
64                   relative: 0.0 1.0;
65                   offset: 0 0;
66                   to_x: "elm.padding.right";
67                }
68                color: GENLIST_PART_FONT_INDEX_LIST_COLOR_INC;
69                text {
70                   font: "SLP:style=Medium";
71                   size: GENLIST_FONT_32_INC;
72                   min: 1 1;
73                   align: 0.0 0.5;
74                   text_class: "list_item";
75                }
76             }
77          }
78       }
79        program {
80           name:    "enable_alpha";
81           signal:  "elm,state,alpha,enable";
82           source:  "elm";
83           action:  STATE_SET "default" 0.0;
84           target:  "rect";
85        }
86        program {
87           name:    "disable_alpha";
88           signal:  "elm,state,alpha,disable";
89           source:  "elm";
90           action:  STATE_SET "alpha_off" 0.0;
91           target:  "rect";
92        }
93       program {
94           name: "selected";
95          source: "rect";
96          signal: "mouse,clicked,1";
97          action:  SIGNAL_EMIT "elm,title_action,item,click" "elm";
98       }
99    }
100
101    group { name : "elm/genlist/item/grouptitle.readmessage/default";
102       alias: "elm/genlist/item_odd/grouptitle.readmessage/default";
103       alias: "elm/genlist/item_compress/grouptitle.readmessage/default";
104       alias: "elm/genlist/item_compress_odd/grouptitle.readmessage/default";
105
106       data.item: "stacking" "above";
107       data.item: "selectraise" "on";
108       data.item: "texts" "elm.text";
109       data.item: "treesize" "GENLIST_TREESIZE_32_INC";
110
111       parts {
112          part { name: "base";
113             type: RECT;
114             repeat_events: 1;
115             scale: 1;
116             description { state: "default" 0.0;
117                min: 0 GENLIST_HEIGHT_62_INC;
118                color: GENLIST_PART_LIST_BG_COLOR_INC;
119             }
120          }
121          GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_24_INC )
122          GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_24_INC )
123          part { name: "text_base";
124             type: RECT;
125             repeat_events: 1;
126             scale: 1;
127             description { state: "default" 0.0;
128                color: GENLIST_PART_BUBBLE_DATE_BG_COLOR_INC;
129                rel2.relative: 1.0 0.62;
130             }
131          }
132          part { name: "elm.text";
133             type: TEXT;
134             scale: 1;
135             description { state: "default" 0.0;
136                rel1 {
137                   relative: 1.0 0.0;
138                   to_x: "elm.padding.left";
139                   to_y: "text_base";
140                }
141                rel2 {
142                   relative: 0.0 1.0;
143                   to_x: "elm.padding.right";
144                   to_y: "text_base";
145                }
146                color: GENLIST_PART_FONT_BUBBLE_READ_MESSAGE_COLOR_INC;
147                text {
148                   font: "SLP:style=Regular";
149                   size: GENLIST_FONT_28_INC;
150                   min: 0 1;
151                   align: 0.0 0.5;
152                   text_class: "list_item";
153                }
154             }
155          }
156       }
157       programs {
158       }
159    }
160    group { name : "elm/genlist/item/grouptitle.sentmessage/default";
161       alias: "elm/genlist/item_odd/grouptitle.sentmessage/default";
162       alias: "elm/genlist/item_compress/grouptitle.sentmessage/default";
163       alias: "elm/genlist/item_compress_odd/grouptitle.sentmessage/default";
164
165       data.item: "stacking" "above";
166       data.item: "selectraise" "on";
167       data.item: "texts" "elm.text";
168       data.item: "treesize" "GENLIST_TREESIZE_32_INC";
169
170       parts {
171          part { name: "base";
172             type: RECT;
173             repeat_events: 1;
174             scale: 1;
175             description { state: "default" 0.0;
176                min: 0 GENLIST_HEIGHT_62_INC;
177                color: GENLIST_PART_LIST_BG_COLOR_INC;
178             }
179          }
180          GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_24_INC )
181          GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_24_INC )
182          part { name: "text_base";
183             type: RECT;
184             repeat_events: 1;
185             scale: 1;
186             description { state: "default" 0.0;
187                color: GENLIST_PART_BUBBLE_DATE_BG_COLOR_INC;
188                rel2.relative: 1.0 0.62;
189             }
190          }
191          part { name: "elm.text";
192             type: TEXT;
193             scale: 1;
194             description { state: "default" 0.0;
195                rel1 {
196                   relative: 1.0 0.0;
197                   to_x: "elm.padding.left";
198                   to_y: "text_base";
199                }
200                rel2 {
201                   relative: 0.0 1.0;
202                   to_x: "elm.padding.right";
203                   to_y: "text_base";
204                }
205                color: GENLIST_PART_FONT_BUBBLE_READ_MESSAGE_COLOR_INC;
206                text {
207                   font: "SLP:style=Regular";
208                   size: GENLIST_FONT_28_INC;
209                   min: 0 1;
210                   align: 1.0 0.5;
211                   text_class: "list_item";
212                }
213             }
214          }
215       }
216       programs {
217       }
218    }
219
220    /////////// will be removed ////////
221    group { name : "elm/genlist/item/grouptitle.dialogue/default";
222       alias: "elm/genlist/item_odd/grouptitle.dialogue/default";
223       alias: "elm/genlist/item_compress/grouptitle.dialogue/default";
224       alias: "elm/genlist/item_compress_odd/grouptitle.dialogue/default";
225
226       data.item: "stacking" "above";
227       data.item: "selectraise" "on";
228       data.item: "texts" "elm.text";
229       data.item: "treesize" "GENLIST_TREESIZE_32_INC";
230
231       parts {
232          GENLIST_PART_DIALOGUE_BASE( GENLIST_HEIGHT_65_INC )
233          GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_16_INC )
234          GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_16_INC )
235
236          part { name: "elm.text";
237             type: TEXT;
238             scale: 1;
239             description { state: "default" 0.0;
240                rel1 {
241                   relative: 1.0 0.5;
242                   to_x: "elm.padding.left";
243                }
244                rel2 {
245                   relative: 0.0 1.0;
246                   to_x: "elm.padding.right";
247                }
248                color: GENLIST_DIALOGUE_FONT_SUB_TITLE_COLOR_INC;
249                text {
250                   font: "SLP:style=Medium";
251                   size: GENLIST_FONT_28_INC;
252                   min: 0 1;
253                   align: 0.0 0.0;
254                   text_class: "list_item";
255                }
256             }
257          }
258          part { name: "bottom_line";
259             type: RECT;
260             description { state: "default" 0.0;
261                min: 0 1;
262                fixed: 0 1;
263                color: GENLIST_PART_LIST_LINE_COLOR_INC;
264                rel1 {
265                   relative: 0.0 1.0;
266                   offset: 0 -1;
267                }
268             }
269          }
270          GENLIST_PART_DISCLIP
271       }
272    }
273    group { name : "elm/genlist/item/grouptitle.dialogue.seperator/default";
274       alias: "elm/genlist/item_odd/grouptitle.dialogue.seperator/default";
275       alias: "elm/genlist/item_compress/grouptitle.dialogue.seperator/default";
276       alias: "elm/genlist/item_compress_odd/grouptitle.dialogue.seperator/default";
277
278       data.item: "stacking" "above";
279       data.item: "selectraise" "on";
280       data.item: "treesize" "GENLIST_TREESIZE_32_INC";
281
282       parts {
283          GENLIST_PART_DIALOGUE_BASE( GENLIST_HEIGHT_33_INC )
284          part { name: "bottom_line";
285             type: RECT;
286             description { state: "default" 0.0;
287                min: 0 1;
288                fixed: 0 1;
289                color: GENLIST_PART_LIST_LINE_COLOR_INC;
290                rel1 {
291                   relative: 0.0 1.0;
292                   offset: 0 -1;
293                }
294             }
295          }
296          GENLIST_PART_DISCLIP
297       }
298    }
299    /////////////////////////////////////////////////