Fix reorder mode for new UX & Change macors & Fix some incorrect text
[framework/uifw/efl-theme-tizen.git] / themes / widgets / genlist / genlist_groupindex.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/groupindex/default";
23       alias: "elm/genlist/item_odd/groupindex/default";
24       alias: "elm/genlist/item_compress/groupindex/default";
25       alias: "elm/genlist/item_compress_odd/groupindex/default";
26           alias: "elm/genlist/item/grouptitle/default";
27       alias: "elm/genlist/item_odd/grouptitle/default";
28       alias: "elm/genlist/item_compress/grouptitle/default";
29       alias: "elm/genlist/item_compress_odd/grouptitle/default";
30
31       data.item: "stacking" "above";
32       data.item: "selectraise" "on";
33       data.item: "texts" "elm.text";
34       data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
35
36       images {
37          image: "00_index list_bg.png" COMP;
38       }
39       parts {
40          GENLIST_PART_BASE_EVENT_OFF
41          GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_SIZE_LEFT )
42          GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_SIZE_RIGHT )
43          part { name: "rect";
44             type: RECT;
45             repeat_events: 1;
46             scale: 1;
47             description { state: "default" 0.0;
48                min: 0 GENLIST_HEIGHT_49_INC;
49                color: GENLIST_DIALOGUE_GROUP_BG_COLOR_INC;
50             }
51             description { state: "alpha_off" 0.0;
52                min: 0 GENLIST_SIZE_48_INC;
53                color: GENLIST_DIALOGUE_GROUP_BG_COLOR_INC;
54             }
55          }
56          GENLIST_PART_INDEX_LIST_BASE_IMAGE_INC
57
58          part { name: "elm.text";
59             type: TEXT;
60             scale: 1;
61             description { state: "default" 0.0;
62                align: 0.0 0.5;
63                rel1 {
64                   relative: 1.0 0.0;
65                   to_x: "elm.padding.left";
66                }
67                rel2 {
68                   relative: 0.0 1.0;
69                   offset: 0 0;
70                   to_x: "elm.padding.right";
71                }
72                color: GENLIST_INDEX_LIST_COLOR;
73                text {
74                   font: "SLP:style=Medium";
75                   size: GENLIST_INDEX_LIST_SIZE;
76                   min: 1 1;
77                   align: 0.0 0.5;
78                   text_class: "list_item";
79                }
80             }
81          }
82       }
83        program {
84           name:    "enable_alpha";
85           signal:  "elm,state,alpha,enable";
86           source:  "elm";
87           action:  STATE_SET "default" 0.0;
88           target:  "rect";
89        }
90        program {
91           name:    "disable_alpha";
92           signal:  "elm,state,alpha,disable";
93           source:  "elm";
94           action:  STATE_SET "alpha_off" 0.0;
95           target:  "rect";
96        }
97       program {
98           name: "selected";
99          source: "rect";
100          signal: "mouse,clicked,1";
101          action:  SIGNAL_EMIT "elm,title_action,item,click" "elm";
102       }
103    }
104
105
106 // FIXME: it seems that belows are not used anymore.
107    group { name : "elm/genlist/item/grouptitle.readmessage/default";
108       alias: "elm/genlist/item_odd/grouptitle.readmessage/default";
109       alias: "elm/genlist/item_compress/grouptitle.readmessage/default";
110       alias: "elm/genlist/item_compress_odd/grouptitle.readmessage/default";
111
112       data.item: "stacking" "above";
113       data.item: "selectraise" "on";
114       data.item: "texts" "elm.text";
115       data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
116
117       parts {
118          part { name: "base";
119             type: RECT;
120             repeat_events: 1;
121             scale: 1;
122             description { state: "default" 0.0;
123                min: 0 GENLIST_HEIGHT_62_INC;
124                color: GENLIST_PART_LIST_BG_COLOR;
125             }
126          }
127          GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_24_INC )
128          GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_24_INC )
129          part { name: "text_base";
130             type: RECT;
131             repeat_events: 1;
132             scale: 1;
133             description { state: "default" 0.0;
134                color: GENLIST_PART_BUBBLE_DATE_BG_COLOR_INC;
135                rel2.relative: 1.0 0.62;
136             }
137          }
138          part { name: "elm.text";
139             type: TEXT;
140             scale: 1;
141             description { state: "default" 0.0;
142                rel1 {
143                   relative: 1.0 0.0;
144                   to_x: "elm.padding.left";
145                   to_y: "text_base";
146                }
147                rel2 {
148                   relative: 0.0 1.0;
149                   to_x: "elm.padding.right";
150                   to_y: "text_base";
151                }
152                color: GENLIST_TEXT_COLOR_BUBBLE_READ_MESSAGE;
153                text {
154                   font: "SLP:style=Regular";
155                   size: GENLIST_FONT_28_INC;
156                   min: 0 1;
157                   align: 0.0 0.5;
158                   text_class: "list_item";
159                }
160             }
161          }
162       }
163       programs {
164       }
165    }
166    group { name : "elm/genlist/item/grouptitle.sentmessage/default";
167       alias: "elm/genlist/item_odd/grouptitle.sentmessage/default";
168       alias: "elm/genlist/item_compress/grouptitle.sentmessage/default";
169       alias: "elm/genlist/item_compress_odd/grouptitle.sentmessage/default";
170
171       data.item: "stacking" "above";
172       data.item: "selectraise" "on";
173       data.item: "texts" "elm.text";
174       data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
175
176       parts {
177          part { name: "base";
178             type: RECT;
179             repeat_events: 1;
180             scale: 1;
181             description { state: "default" 0.0;
182                min: 0 GENLIST_HEIGHT_62_INC;
183                color: GENLIST_PART_LIST_BG_COLOR;
184             }
185          }
186          GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_24_INC )
187          GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_24_INC )
188          part { name: "text_base";
189             type: RECT;
190             repeat_events: 1;
191             scale: 1;
192             description { state: "default" 0.0;
193                color: GENLIST_PART_BUBBLE_DATE_BG_COLOR_INC;
194                rel2.relative: 1.0 0.62;
195             }
196          }
197          part { name: "elm.text";
198             type: TEXT;
199             scale: 1;
200             description { state: "default" 0.0;
201                rel1 {
202                   relative: 1.0 0.0;
203                   to_x: "elm.padding.left";
204                   to_y: "text_base";
205                }
206                rel2 {
207                   relative: 0.0 1.0;
208                   to_x: "elm.padding.right";
209                   to_y: "text_base";
210                }
211                color: GENLIST_TEXT_COLOR_BUBBLE_READ_MESSAGE;
212                text {
213                   font: "SLP:style=Regular";
214                   size: GENLIST_FONT_28_INC;
215                   min: 0 1;
216                   align: 1.0 0.5;
217                   text_class: "list_item";
218                }
219             }
220          }
221       }
222       programs {
223       }
224    }
225
226    /////////// will be removed ////////
227    group { name : "elm/genlist/item/grouptitle.dialogue/default";
228       alias: "elm/genlist/item_odd/grouptitle.dialogue/default";
229       alias: "elm/genlist/item_compress/grouptitle.dialogue/default";
230       alias: "elm/genlist/item_compress_odd/grouptitle.dialogue/default";
231
232       data.item: "stacking" "above";
233       data.item: "selectraise" "on";
234       data.item: "texts" "elm.text";
235       data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
236
237       parts {
238          GENLIST_PART_DIALOGUE_BASE( GENLIST_HEIGHT_65_INC )
239          GENLIST_PART_PADDING_LEFT( GENLIST_PADDING_SIZE_LEFT )
240          GENLIST_PART_PADDING_RIGHT( GENLIST_PADDING_SIZE_RIGHT )
241
242          part { name: "elm.text";
243             type: TEXT;
244             scale: 1;
245             description { state: "default" 0.0;
246                rel1 {
247                   relative: 1.0 0.5;
248                   to_x: "elm.padding.left";
249                }
250                rel2 {
251                   relative: 0.0 1.0;
252                   to_x: "elm.padding.right";
253                }
254                color: GENLIST_DIALOGUE_GT_TEXT_COLOR;
255                text {
256                   font: "SLP:style=Medium";
257                   size: GENLIST_FONT_28_INC;
258                   min: 0 1;
259                   align: 0.0 0.0;
260                   text_class: "list_item";
261                }
262             }
263          }
264          part { name: "bottom_line";
265             type: RECT;
266             description { state: "default" 0.0;
267                min: 0 1;
268                fixed: 0 1;
269                color: GENLIST_PART_LIST_LINE_COLOR_INC;
270                rel1 {
271                   relative: 0.0 1.0;
272                   offset: 0 -1;
273                }
274             }
275          }
276          GENLIST_PART_DISCLIP
277       }
278    }
279    group { name : "elm/genlist/item/grouptitle.dialogue.seperator/default";
280       alias: "elm/genlist/item_odd/grouptitle.dialogue.seperator/default";
281       alias: "elm/genlist/item_compress/grouptitle.dialogue.seperator/default";
282       alias: "elm/genlist/item_compress_odd/grouptitle.dialogue.seperator/default";
283
284       data.item: "stacking" "above";
285       data.item: "selectraise" "on";
286       data.item: "treesize" "GENLIST_TREESIZE_DEFAULT";
287
288       parts {
289          GENLIST_PART_DIALOGUE_BASE( GENLIST_HEIGHT_33_INC )
290          part { name: "bottom_line";
291             type: RECT;
292             description { state: "default" 0.0;
293                min: 0 1;
294                fixed: 0 1;
295                color: GENLIST_PART_LIST_LINE_COLOR_INC;
296                rel1 {
297                   relative: 0.0 1.0;
298                   offset: 0 -1;
299                }
300             }
301          }
302          GENLIST_PART_DISCLIP
303       }
304    }
305    /////////////////////////////////////////////////