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