tizen 2.3.1 release
[framework/uifw/elementary.git] / data / themes / widgets / actionslider.edc
1 group { name: "elm/actionslider/base/default";
2
3    images {
4       image: "shelf_inset.png" COMP;
5       image: "ilist_1.png" COMP;
6       image: "bt_bases.png" COMP;
7       image: "bt_basew.png" COMP;
8       image: "bt_hilightw.png" COMP;
9    }
10
11    parts {
12       part {
13          name: "base";
14          mouse_events: 0;
15          description {
16             state: "default" 0.0;
17             min: 75 25;
18             rel1.offset: 1 1;
19             rel2.offset: -2 -2;
20             image {
21                normal: "ilist_1.png";
22                border: 2 2 2 2;
23             }
24             fill.smooth: 0;
25          }
26       }
27       part { name: "conf_over";
28          mouse_events:  0;
29          description { state: "default" 0.0;
30             rel1.to: "base";
31             rel2.to: "base";
32             image {
33                normal: "shelf_inset.png";
34                border: 7 7 7 7;
35                middle: 0;
36             }
37             fill.smooth : 0;
38          }
39       }
40       part { name: "icon.dragable.area";
41          type: SPACER;
42          description { state: "default" 0.0;
43             rel1.to: "base";
44             rel2.to: "base";
45          }
46       }
47       part { name: "elm.text.left";
48          type: TEXT;
49          mouse_events: 0;
50          scale: 1;
51          description { state: "default" 0.0;
52             color: 0 0 0 255;
53             text {
54                font: "Sans,Edje-Vera";
55                size: 10;
56                align: 0.05 0.5;
57                min: 1 1;
58             }
59          }
60       }
61       part { name: "elm.text.center";
62          type: TEXT;
63          mouse_events: 0;
64          scale: 1;
65          description { state: "default" 0.0;
66             color: 0 0 0 255;
67             text {
68                font: "Sans,Edje-Vera";
69                size: 10;
70                align: 0.5 0.5;
71                min: 1 1;
72             }
73          }
74       }
75       part { name: "elm.text.right";
76          type: TEXT;
77          mouse_events: 0;
78          scale: 1;
79          description { state: "default" 0.0;
80             color: 0 0 0 255;
81             text {
82                font: "Sans,Edje-Vera";
83                size: 10;
84                align: 0.95 0.5;
85                min: 1 1;
86             }
87          }
88       }
89       part { name: "elm.drag_button_base";
90          type: SWALLOW;
91          mouse_events: 0;
92          scale: 1;
93          description { state: "default" 0.0;
94             fixed: 1 1;
95             min: 50 25;
96             align: 0.5 0.5;
97             rel1.to: "icon.dragable.area";
98             rel2 {
99                relative: 0.0 1.0;
100                to: "icon.dragable.area";
101             }
102          }
103          dragable {
104             confine: "icon.dragable.area";
105             x: 1 1 0;
106             y: 0 0 0;
107          }
108       }
109       part { name: "elm.drag_button";
110          type: RECT;
111          mouse_events: 1;
112          description { state: "default" 0.0;
113             min: 50 25;
114             color: 255 255 255 0;
115             rel1.to_x: "elm.drag_button_base";
116             rel1.to_y: "icon.dragable.area";
117             rel2.to_x: "elm.drag_button_base";
118             rel2.to_y: "icon.dragable.area";
119          }
120          dragable {
121             events: "elm.drag_button_base";
122          }
123       }
124       part { name: "button0";
125          mouse_events: 0;
126          description { state: "default" 0.0;
127             rel1.to: "button2";
128             rel1.offset: -4 -4;
129             rel2.to: "button2";
130             rel2.offset: 3 3;
131             image {
132                normal: "bt_bases.png";
133                border: 11 11 11 11;
134                middle: SOLID;
135             }
136             color: 255 255 255 128;
137          }
138       }
139       part { name: "button2";
140          mouse_events: 0;
141          description { state: "default" 0.0;
142             rel1.to: "elm.drag_button";
143             rel2.to: "elm.drag_button";
144             image {
145                normal: "bt_basew.png";
146                border: 7 7 7 7;
147                middle: SOLID;
148             }
149             color: 255 255 255 210;
150          }
151       }
152       part { name: "button3";
153          mouse_events: 0;
154          description { state: "default" 0.0;
155             rel1.to: "button2";
156             rel2.to: "button2";
157             rel2.relative: 1.0 0.5;
158             image {
159                normal: "bt_hilightw.png";
160                border: 4 4 4 0;
161             }
162             color: 255 255 255 190;
163          }
164       }
165       part { name: "elm.text.indicator";
166          type: TEXT;
167          scale: 1;
168          mouse_events: 0;
169          description { state: "default" 0.0;
170             rel1 {
171                to: "elm.drag_button";
172                offset: 5 0;
173             }
174             rel2 {
175                to: "elm.drag_button";
176                offset: -5 0;
177             }
178             color: 0 0 0 255;
179             text {
180                font: "Sans,Edje-Vera";
181                size: 10;
182                align: 0.5 0.5;
183                min: 0 1;
184             }
185          }
186       }
187    }
188    programs {
189       program { name: "elm.drag_button,mouse,up";
190          signal: "mouse,up,1";
191          source: "elm.drag_button";
192          action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
193       }
194       program { name: "elm.drag_button,mouse,down";
195          signal: "mouse,down,1";
196          source: "elm.drag_button";
197          action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
198       }
199       program { name: "elm.drag_button,mouse,move";
200          signal: "mouse,move";
201          source: "elm.drag_button_base";
202          action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
203       }
204    }
205 }
206
207 group { name: "elm/actionslider/base/bar";
208
209    images {
210       image: "shelf_inset.png" COMP;
211       image: "ilist_1.png" COMP;
212       image: "bt_bases.png" COMP;
213       image: "bt_basew.png" COMP;
214       image: "bt_hilightw.png" COMP;
215    }
216
217    parts {
218       part {
219          name: "base";
220          mouse_events: 0;
221          description {
222             state: "default" 0.0;
223             min: 150 30;
224             rel1.offset: 1 1;
225             rel2.offset: -2 -2;
226             image {
227                normal: "ilist_1.png";
228                border: 2 2 2 2;
229             }
230             fill.smooth: 0;
231          }
232       }
233       part { name: "conf_over";
234          mouse_events:  0;
235          description { state: "default" 0.0;
236             rel1.to: "base";
237             rel2.to: "base";
238             image {
239                normal: "shelf_inset.png";
240                border: 7 7 7 7;
241                middle: 0;
242             }
243             fill.smooth : 0;
244          }
245       }
246       part { name: "icon.dragable.area";
247          type: SPACER;
248          description { state: "default" 0.0;
249             rel1.to: "base";
250             rel2.to: "base";
251          }
252       }
253       part { name: "elm.text.left";
254          type: TEXT;
255          mouse_events: 0;
256          scale: 1;
257          description { state: "default" 0.0;
258             color: 0 0 0 255;
259             text {
260                font: "Sans,Edje-Vera";
261                size: 10;
262                align: 0.05 0.5;
263                min: 1 1;
264             }
265          }
266       }
267       part { name: "elm.text.center";
268          type: TEXT;
269          mouse_events: 0;
270          scale: 1;
271          description { state: "default" 0.0;
272             color: 0 0 0 255;
273             text {
274                font: "Sans,Edje-Vera";
275                size: 10;
276                align: 0.5 0.5;
277                min: 1 1;
278             }
279          }
280       }
281       part { name: "elm.text.right";
282          type: TEXT;
283          mouse_events: 0;
284          scale: 1;
285          description { state: "default" 0.0;
286             color: 0 0 0 255;
287             text {
288                font: "Sans,Edje-Vera";
289                size: 10;
290                align: 0.95 0.5;
291                min: 1 1;
292             }
293          }
294       }
295       part { name: "bar";
296          type: RECT;
297          mouse_events: 0;
298          description { state: "default" 0.0;
299             rel1.to: "base";
300             rel1.offset: 0 2;
301             rel2 {
302                relative: 0 1;
303                offset: 3 -3;
304                to_x: "elm.drag_button_base";
305                to_y: "base";
306             }
307             color: 0 0 0 180;
308          }
309       }
310       part { name: "elm.drag_button_base";
311          type: SWALLOW;
312          mouse_events: 1;
313          scale: 1;
314          description { state: "default" 0.0;
315             fixed: 1 1;
316             min: 50 25;
317             align: 0.5 0.5;
318             rel1.to: "icon.dragable.area";
319             rel2 {
320                relative: 0.0 1.0;
321                to: "icon.dragable.area";
322             }
323          }
324          dragable {
325             confine: "icon.dragable.area";
326             x: 1 1 0;
327             y: 0 0 0;
328          }
329       }
330       part { name: "elm.drag_button";
331          type: RECT;
332          mouse_events: 1;
333          description { state: "default" 0.0;
334             min: 50 25;
335             color: 255 255 255 0;
336             rel1.to_x: "elm.drag_button_base";
337             rel1.to_y: "icon.dragable.area";
338             rel2.to_x: "elm.drag_button_base";
339             rel2.to_y: "icon.dragable.area";
340          }
341          dragable {
342             events: "elm.drag_button_base";
343          }
344       }
345       part { name: "button0";
346          mouse_events: 0;
347          description { state: "default" 0.0;
348             rel1.to: "button2";
349             rel1.offset: -4 -4;
350             rel2.to: "button2";
351             rel2.offset: 3 3;
352             image {
353                normal: "bt_bases.png";
354                border: 11 11 11 11;
355                middle: SOLID;
356             }
357             color: 255 255 255 128;
358          }
359       }
360       part { name: "button2";
361          mouse_events: 0;
362          description { state: "default" 0.0;
363             rel1.to: "elm.drag_button";
364             rel2.to: "elm.drag_button";
365             image {
366                normal: "bt_basew.png";
367                border: 7 7 7 7;
368                middle: SOLID;
369             }
370             color: 255 255 255 210;
371          }
372       }
373       part { name: "button3";
374          mouse_events: 0;
375          description { state: "default" 0.0;
376             rel1.to: "button2";
377             rel2.to: "button2";
378             rel2.relative: 1.0 0.5;
379             image {
380                normal: "bt_hilightw.png";
381                border: 4 4 4 0;
382             }
383             color: 255 255 255 190;
384          }
385       }
386       part { name: "elm.text.indicator";
387          type: TEXT;
388          scale: 1;
389          mouse_events: 0;
390          description { state: "default" 0.0;
391             rel1 {
392                to: "elm.drag_button";
393                offset: 5 0;
394             }
395             rel2 {
396                to: "elm.drag_button";
397                offset: -5 0;
398             }
399             color: 0 0 0 255;
400             text {
401                font: "Sans,Edje-Vera";
402                size: 10;
403                align: 0.5 0.5;
404                min: 0 1;
405             }
406          }
407       }
408    }
409    programs {
410       program { name: "elm.drag_button,mouse,up";
411          signal: "mouse,up,1";
412          source: "elm.drag_button";
413          action: SIGNAL_EMIT "elm.drag_button,mouse,up" "";
414       }
415       program { name: "elm.drag_button,mouse,down";
416          signal: "mouse,down,1";
417          source: "elm.drag_button";
418          action: SIGNAL_EMIT "elm.drag_button,mouse,down" "";
419       }
420       program { name: "elm.drag_button,mouse,move";
421          signal: "mouse,move";
422          source: "elm.drag_button_base";
423          action: SIGNAL_EMIT "elm.drag_button,mouse,move" "";
424       }
425    }
426 }
427