tizen 2.4 release
[framework/uifw/elementary.git] / data / themes / edc / winlist.edc
1 group { name: "e/widgets/winlist/main";
2    images.image: "vgrad_med_lighter.png" COMP;
3    images.image: "bevel_out.png" COMP;
4    images.image: "shine.png" COMP;
5    images.image: "vert_bar_inset.png" COMP;
6    parts {
7       part { name: "base"; type: RECT; mouse_events: 0;
8          description { state: "default" 0.0;
9             rel1.relative: 0.0 1.0;
10             rel1.to_y: "top";
11             color: 64 64 64 255;
12          }
13       }
14       part { name: "top"; mouse_events: 0;
15          description { state: "default" 0.0;
16             image.normal: "vgrad_med_lighter.png";
17             rel2.to_y: "e.text.title";
18             rel2.offset: -1 1;
19             align: 0.0 0.0;
20             fill.smooth: 0;
21             TILED_HORIZ(120)
22             fixed: 0 1;
23          }
24       }
25       part { name: "e.text.title"; type: TEXT; mouse_events: 0;
26          scale: 1;
27          effect: SHADOW BOTTOM;
28          description { state: "default" 0.0;
29             rel1.relative: 0.0 0.0;
30             rel1.offset: 1 3;
31             rel2.relative: 1.0 0.0;
32             rel2.offset: -2 3;
33             align: 0.5 0.0;
34             color_class: "winlist_title";
35             color3: 255 255 255 255;
36             text { font: FNBD; size: 10;
37                text_class: "winlist_title";
38                align: 0.5 0.0;
39                min: 0 1;
40             }
41             fixed: 0 1;
42          }
43       }
44       part { name: "e.swallow.icon"; type: SWALLOW;
45          scale: 1;
46          description { state: "default" 0.0;
47             align: 0.0 0.0;
48             FIXED_SIZE(48, 48)
49             rel1.relative: 0.0 1.0;
50             rel1.offset: 6 6;
51             rel1.to_y: "top";
52             rel2.relative: 1.0 1.0;
53             rel2.offset: 6 6;
54             rel2.to_y: "top";
55         }
56       }
57       part { name: "e.text.label"; type: TEXT;
58          scale: 1;
59          effect: SHADOW BOTTOM;
60          description { state: "default" 0.0;
61             rel1.relative: 1.0 0.0;
62             rel1.offset: 6 0;
63             rel1.to: "e.swallow.icon";
64             rel2.offset: -7 -1;
65             rel2.to_y: "e.swallow.icon";
66             align: 0.0 0.5;
67             color_class: "winlist_label";
68             color3: 255 255 255 255;
69             text { font: FNBD; size: 10;
70                text_class: "winlist_label";
71                align: 0.0 0.5;
72                min: 0 1;
73             }
74             fixed: 0 1;
75          }
76       }
77       part { name: "list_clip"; type: RECT;
78          description { state: "default" 0.0;
79             color: 255 255 255 255;
80             rel1.relative: 0.0 1.0;
81             rel1.offset: 0 6;
82             rel1.to_y: "e.swallow.icon";
83             rel2.offset: -1 -7;
84          }
85       }
86       part { name: "e.swallow.list"; type: SWALLOW;
87          clip_to: "list_clip";
88          description { state: "default" 0.0;
89             rel1.to_y: "list_clip";
90             rel2.to_y: "list_clip";
91          }
92       }
93       part { name: "bevel"; mouse_events: 0;
94          description { state: "default" 0.0;
95             image.normal: "bevel_out.png";
96             image.border: 1 1 1 1;
97             image.middle: 0;
98             fill.smooth: 0;
99          }
100       }
101       part { name: "inset"; mouse_events: 0;
102          description { state: "default" 0.0;
103             rel1.offset: 0 -1;
104             rel1.to: "list_clip";
105             rel2.offset: -1 0;
106             rel2.to: "list_clip";
107             image.normal: "vert_bar_inset.png";
108             image.border: 1 1 8 6;
109             image.middle: 0;
110             fill.smooth: 0;
111          }
112       }
113       part { name: "shine"; mouse_events: 0;
114          description { state: "default" 0.0;
115             image.normal: "shine.png";
116             rel1.offset: 0 -2;
117             rel1.to: "top";
118             rel2.relative: 1.0 0.0;
119             rel2.offset: -1 2;
120             rel2.to: "top";
121             FIXED_SIZE(69, 5)
122          }
123       }
124    }
125 }
126
127 group { name: "e/widgets/winlist/item";
128    images.image: "shadow_rounded_horiz.png" COMP;
129    images.image: "vgrad_med_dark.png" COMP;
130    images.image: "bevel_horiz_out.png" COMP;
131    images.image: "shine.png" COMP;
132    parts {
133       part { name: "e.text.label"; type: TEXT; mouse_events: 0;
134          effect: SHADOW BOTTOM;
135          scale: 1;
136          description { state: "default" 0.0;
137             rel1.offset: 2 3;
138             rel1.relative: 1.0 0.0;
139             rel1.to_x: "icon";
140             rel2.offset: -3 -3;
141             color_class: "winlist_item";
142             color3: 255 255 255 255;
143             text { font: FN; size: 10;
144                min: 0 1;
145                align: 0.0 0.5;
146                text_class: "winlist_item";
147             }
148          }
149          description { state: "iconified" 0.0;
150             inherit: "default" 0.0;
151             color: FN_COL_DISABLE;
152          }
153       }
154       part { name: "sel_shadow"; mouse_events: 0;
155          description { state: "default" 0.0;
156             image.normal: "shadow_rounded_horiz.png";
157             image.border: 0 0 9 9;
158             rel1.offset: 0 -4;
159             rel2.offset: -1 5;
160             fill.smooth: 0;
161             visible: 0;
162          }
163          description { state: "selected" 0.0;
164             inherit: "default" 0.0;
165             visible: 1;
166          }
167       }
168       part { name: "sel_base"; mouse_events: 0;
169          description { state: "default" 0.0;
170             image.normal: "vgrad_med_dark.png";
171             fill.smooth: 0;
172             TILED_HORIZ(120)
173             visible: 0;
174          }
175          description { state: "selected" 0.0;
176             inherit: "default" 0.0;
177             visible: 1;
178          }
179       }
180       part { name: "sel_bevel"; mouse_events: 0;
181          description { state: "default" 0.0;
182             image.normal: "bevel_horiz_out.png";
183             image.border: 0 0 2 2;
184             image.middle: 0;
185             fill.smooth: 0;
186             visible: 0;
187          }
188          description { state: "selected" 0.0;
189             inherit: "default" 0.0;
190             visible: 1;
191          }
192       }
193       part { name: "icon"; type: SPACER;
194          description { state: "default" 0.0;
195             align: 0.0 0.5;
196             aspect: 1.0 1.0; aspect_preference: VERTICAL;
197             rel1.offset: 2 2;
198             rel2.relative: 0.0 1.0;
199             rel2.offset: 2 -3;
200          }
201       }
202       part { name: "e.swallow.icon"; type: SWALLOW; mouse_events: 0;
203          description { state: "default" 0.0;
204             align: 0.5 0.5;
205             rel1.to: "icon";
206             rel2.to: "icon";
207          }
208          description { state: "iconified" 0.0;
209             inherit: "default" 0.0;
210             rel1.relative: 0.25 0.25;
211             rel2.relative: 0.75 0.75; 
212         }
213       }
214       part { name: "label3"; type: TEXT; mouse_events: 0;
215          effect: GLOW;
216          scale: 1;
217          description { state: "default" 0.0;
218             rel1.offset: -2 -3;
219             rel1.to: "e.text.label";
220             rel2.offset: 2 1;
221             rel2.to: "e.text.label";
222             color_class: "winlist_item_active";
223             color2: 255 255 255 255;
224             color3: 255 255 255 255;
225             text { font: FN; size: 10;
226                text_source: "e.text.label";
227                align: 0.0 0.5;
228                text_class: "winlist_item_active";
229             }
230             visible: 0;
231          }
232          description { state: "selected" 0.0;
233             inherit: "default" 0.0;
234             visible: 1;
235          }
236       }
237       part { name: "sel_shine"; mouse_events: 0;
238          description { state: "default" 0.0;
239             image.normal: "shine.png";
240             rel1.offset: 0 -2;
241             rel1.to: "sel_base";
242             rel2.relative: 1.0 0.0;
243             rel2.offset: -1 2;
244             rel2.to: "sel_base";
245             FIXED_SIZE(69, 5)
246             visible: 0;
247          }
248          description { state: "selected" 0.0;
249             inherit: "default" 0.0;
250             visible: 1;
251          }
252       }
253       part { name: "event"; type: RECT;
254          description { state: "default" 0.0;
255             color: 0 0 0 0;
256          }
257          description { state: "iconified" 0.0;
258             inherit: "default" 0.0;
259             visible: 0;
260          }
261       }
262    }
263    programs {
264       program {
265          signal: "e,state,selected"; source: "e";
266          action: STATE_SET "selected" 0.0;
267          target: "sel_shadow";
268          target: "sel_base";
269          target: "sel_bevel";
270          target: "sel_shine";
271          target: "label3";
272       }
273       program {
274          signal: "e,state,unselected"; source: "e";
275          action: STATE_SET "default" 0.0;
276          target: "sel_shadow";
277          target: "sel_base";
278          target: "sel_bevel";
279          target: "sel_shine";
280          target: "label3";
281       }
282       program {
283          signal: "e,state,iconified"; source: "e";
284          action: STATE_SET "iconified" 0.0;
285          target: "e.swallow.icon";
286          target: "e.text.label";
287       }
288       program {
289          signal: "e,state,invisible"; source: "e";
290          action: STATE_SET "iconified" 0.0;
291          target: "e.swallow.icon";
292          target: "e.text.label";
293       }
294 //      program {
295 //         signal: "e,state,shaded"; source: "e";
296 //      }
297    }
298 }