[genlist, gen, gen_common] merge upstream except for elm_genlist.c
[framework/uifw/elementary.git] / data / objects / cursors.edc
1 /////////////////////////////////////////////////////////////////////////////
2 // CURSOR
3 /////////////////////////////////////////////////////////////////////////////
4 collections {
5    group { name: "elm/cursor/hand2/default";
6        min: 30 30;
7        max: 30 30;
8        data {
9            item: "hot_x" "0";
10            item: "hot_y" "0";
11        }
12       parts {
13          part { name: "base";
14             type: RECT;
15             mouse_events: 0;
16             description { state: "default" 0.0;
17                color: 0 255 0 255;
18             }
19          }
20       }
21    }
22
23    group { name: "elm/cursor/hand3/default";
24        min: 30 30;
25        max: 30 30;
26        data {
27            item: "hot_x" "0";
28            item: "hot_y" "0";
29        }
30       parts {
31          part { name: "base";
32             type: RECT;
33             mouse_events: 0;
34             description { state: "default" 0.0;
35                color: 255 0 0 255;
36             }
37             description { state: "blue" 0.0;
38                color: 0 0 255 255;
39             }
40          }
41       }
42       programs {
43          program { name: "load";
44             signal: "load";
45             source: "";
46             after: "go_blue";
47          }
48          program { name: "go_blue";
49             action: STATE_SET "blue" 0.0;
50             transition: LINEAR 1;
51             target: "base";
52             after: "go_red";
53          }
54          program { name: "go_red";
55             action: STATE_SET "default" 0.0;
56             transition: LINEAR 1;
57             target: "base";
58             after: "go_blue";
59          }
60       }
61    }
62
63    group { name: "elm/cursor/hand3/transparent";
64        min: 30 30;
65        max: 30 30;
66        data {
67            item: "hot_x" "0";
68            item: "hot_y" "0";
69        }
70       parts {
71          part { name: "base";
72             type: RECT;
73             mouse_events: 0;
74             description { state: "default" 0.0;
75                color: 255 0 0 120;
76             }
77          }
78       }
79    }
80
81    group { name: "test/layout/events";
82       parts {
83          part { name: "events";
84             type: RECT;
85             mouse_events: 1;
86             description { state: "default" 0.0;
87                color: 0 255 0 255;
88                rel2.relative: 0.5 1;
89             }
90          }
91          part { name: "noevents";
92             type: RECT;
93             mouse_events: 0;
94             description { state: "default" 0.0;
95                color: 200 255 200 255;
96                rel1.relative: 0.5 0;
97             }
98          }
99       }
100    }
101
102    group { name: "test/layout/noevents";
103       parts {
104          part { name: "base";
105             type: RECT;
106             mouse_events: 0;
107             description { state: "default" 0.0;
108                color: 255 255 255 255;
109             }
110          }
111          part { name: "top-left";
112             type: RECT;
113             mouse_events: 1;
114             description { state: "default" 0.0;
115                rel1.relative: 0.1 0.1;
116                rel2.relative: 0.5 0.5;
117                color: 0 0 255 255;
118             }
119          }
120          part { name: "top-right";
121             type: RECT;
122             mouse_events: 1;
123             description { state: "default" 0.0;
124                rel1.relative: 0.5 0.1;
125                rel2.relative: 0.9 0.5;
126                color: 0 255 255 255;
127             }
128          }
129          part { name: "bottom-left";
130             type: RECT;
131             mouse_events: 0;
132             description { state: "default" 0.0;
133                rel1.relative: 0.1 0.5;
134                rel2.relative: 0.5 0.9;
135                color: 255 0 255 255;
136             }
137          }
138          part { name: "bottom-right";
139             type: RECT;
140             mouse_events: 0;
141             description { state: "default" 0.0;
142                rel1.relative: 0.5 0.5;
143                rel2.relative: 0.9 0.9;
144                color: 255 255 0 255;
145             }
146          }
147       }
148    }
149
150    group { name: "test/layout/parts";
151       alias: "test/layout/parts2";
152       parts {
153          part { name: "base";
154             type: RECT;
155             mouse_events: 1;
156             description { state: "default" 0.0;
157                color: 0 0 0 255;
158             }
159          }
160          part { name: "top-left";
161             type: RECT;
162             mouse_events: 1;
163             description { state: "default" 0.0;
164                rel1.relative: 0.1 0.1;
165                rel2.relative: 0.5 0.5;
166                color: 0 0 255 255;
167             }
168          }
169          part { name: "top-right";
170             type: RECT;
171             mouse_events: 1;
172             description { state: "default" 0.0;
173                rel1.relative: 0.5 0.1;
174                rel2.relative: 0.9 0.5;
175                color: 0 255 255 255;
176             }
177          }
178          part { name: "bottom-left";
179             type: RECT;
180             mouse_events: 0;
181             description { state: "default" 0.0;
182                rel1.relative: 0.1 0.5;
183                rel2.relative: 0.5 0.9;
184                color: 255 0 255 255;
185             }
186          }
187          part { name: "bottom-right";
188             type: RECT;
189             mouse_events: 0;
190             description { state: "default" 0.0;
191                rel1.relative: 0.5 0.5;
192                rel2.relative: 0.9 0.9;
193                color: 255 255 0 255;
194             }
195          }
196       }
197    }
198
199    group { name: "test/layout/swallow";
200       parts {
201          part { name: "base";
202             type: RECT;
203             mouse_events: 1;
204             description { state: "default" 0.0;
205                color: 255 255 255 255;
206             }
207          }
208          part { name: "swallow1";
209             type: SWALLOW;
210             mouse_events: 1;
211             description { state: "default" 0.0;
212                rel1.relative: 0.1 0.1;
213                rel2.relative: 0.9 0.5;
214             }
215          }
216          part { name: "swallow2";
217             type: SWALLOW;
218             mouse_events: 1;
219             description { state: "default" 0.0;
220                rel1.relative: 0.1 0.5;
221                rel2.relative: 0.9 0.9;
222             }
223          }
224       }
225    }
226 }