diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/elementary/data/themes/widgets/slideshow.edc | 396 |
1 files changed, 396 insertions, 0 deletions
diff --git a/libraries/elementary/data/themes/widgets/slideshow.edc b/libraries/elementary/data/themes/widgets/slideshow.edc new file mode 100644 index 0000000..e7b0898 --- /dev/null +++ b/libraries/elementary/data/themes/widgets/slideshow.edc | |||
@@ -0,0 +1,396 @@ | |||
1 | group { name: "elm/slideshow/base/default"; | ||
2 | data { | ||
3 | item: transitions "fade black_fade horizontal vertical square"; | ||
4 | item: layouts "fullscreen not_fullscreen"; | ||
5 | } | ||
6 | parts { | ||
7 | part { name: "whole"; | ||
8 | type: RECT; | ||
9 | description { | ||
10 | state: "default" 0.0; | ||
11 | visible: 1; | ||
12 | color: 20 20 20 255; | ||
13 | } | ||
14 | } | ||
15 | part { name: "image_1_whole"; | ||
16 | type: RECT; | ||
17 | description { | ||
18 | state: "default" 0.0; | ||
19 | color: 255 255 255 255; | ||
20 | } | ||
21 | description { | ||
22 | state: "fade_prev_next" 0.0; | ||
23 | inherit: "default" 0.0; | ||
24 | color: 255 255 255 0; | ||
25 | } | ||
26 | description { | ||
27 | state: "black_fade_prev_next_init" 0.0; | ||
28 | inherit: "default" 0.0; | ||
29 | color: 255 255 255 255; | ||
30 | } | ||
31 | description { | ||
32 | state: "black_fade_prev_next" 0.0; | ||
33 | inherit: "default" 0.0; | ||
34 | color: 0 0 0 255; | ||
35 | } | ||
36 | description { | ||
37 | state: "horizontal_next_init" 0.0; | ||
38 | inherit: "default" 0.0; | ||
39 | } | ||
40 | description { | ||
41 | state: "horizontal_next" 0.0; | ||
42 | inherit: "default" 0.0; | ||
43 | rel1.relative: -1.0 0.0; | ||
44 | rel2.relative: 0.0 1.0; | ||
45 | } | ||
46 | description { | ||
47 | state: "horizontal_prev_init" 0.0; | ||
48 | inherit: "default" 0.0; | ||
49 | } | ||
50 | description { | ||
51 | state: "horizontal_prev" 0.0; | ||
52 | inherit: "default" 0.0; | ||
53 | rel1.relative: 1.0 0.0; | ||
54 | rel2.relative: 2.0 1.0; | ||
55 | } | ||
56 | description { | ||
57 | state: "vertical_next_init" 0.0; | ||
58 | inherit: "default" 0.0; | ||
59 | } | ||
60 | description { | ||
61 | state: "vertical_next" 0.0; | ||
62 | inherit: "default" 0.0; | ||
63 | rel1.relative: 0.0 -1.0; | ||
64 | rel2.relative: 1.0 0.0; | ||
65 | } | ||
66 | description { | ||
67 | state: "vertical_prev_init" 0.0; | ||
68 | inherit: "default" 0.0; | ||
69 | } | ||
70 | description { | ||
71 | state: "vertical_prev" 0.0; | ||
72 | inherit: "default" 0.0; | ||
73 | rel1.relative: 0.0 1.0; | ||
74 | rel2.relative: 1.0 2.0; | ||
75 | } | ||
76 | description { | ||
77 | state: "square_prev_next" 0.0; | ||
78 | inherit: "default" 0.0; | ||
79 | color: 255 255 255 0; | ||
80 | } | ||
81 | } | ||
82 | part { name: "image_2_whole"; | ||
83 | type: RECT; | ||
84 | description { | ||
85 | state: "default" 0.0; | ||
86 | visible: 1; | ||
87 | color: 255 255 255 0; | ||
88 | } | ||
89 | description { | ||
90 | state: "fade_prev_next" 0.0; | ||
91 | inherit: "default" 0.0; | ||
92 | color: 255 255 255 255; | ||
93 | } | ||
94 | description { | ||
95 | state: "black_fade_prev_next_init" 0.0; | ||
96 | inherit: "default" 0.0; | ||
97 | color: 0 0 0 0; | ||
98 | } | ||
99 | description { | ||
100 | state: "black_fade_prev_next" 0.0; | ||
101 | inherit: "default" 0.0; | ||
102 | color: 255 255 255 255; | ||
103 | } | ||
104 | description { | ||
105 | state: "horizontal_next_init" 0.0; | ||
106 | inherit: "default" 0.0; | ||
107 | rel1.relative: 1.0 0.0; | ||
108 | rel2.relative: 2.0 1.0; | ||
109 | color: 255 255 255 255; | ||
110 | } | ||
111 | description { | ||
112 | state: "horizontal_next" 0.0; | ||
113 | inherit: "default" 0.0; | ||
114 | color: 255 255 255 255; | ||
115 | } | ||
116 | description { | ||
117 | state: "horizontal_prev_init" 0.0; | ||
118 | inherit: "default" 0.0; | ||
119 | rel1.relative: -1.0 0.0; | ||
120 | rel2.relative: 0.0 1.0; | ||
121 | color: 255 255 255 255; | ||
122 | } | ||
123 | description { | ||
124 | state: "horizontal_prev" 0.0; | ||
125 | inherit: "default" 0.0; | ||
126 | color: 255 255 255 255; | ||
127 | } | ||
128 | description { | ||
129 | state: "vertical_next_init" 0.0; | ||
130 | inherit: "default" 0.0; | ||
131 | rel1.relative: 0.0 1.0; | ||
132 | rel2.relative: 1.0 2.0; | ||
133 | color: 255 255 255 255; | ||
134 | } | ||
135 | description { | ||
136 | state: "vertical_next" 0.0; | ||
137 | inherit: "default" 0.0; | ||
138 | color: 255 255 255 255; | ||
139 | } | ||
140 | description { | ||
141 | state: "vertical_prev_init" 0.0; | ||
142 | inherit: "default" 0.0; | ||
143 | rel1.relative: 0.0 -1.0; | ||
144 | rel2.relative: 1.0 0.0; | ||
145 | color: 255 255 255 255; | ||
146 | } | ||
147 | description { | ||
148 | state: "vertical_prev" 0.0; | ||
149 | inherit: "default" 0.0; | ||
150 | color: 255 255 255 255; | ||
151 | } | ||
152 | description { | ||
153 | state: "square_prev_next_init" 0.0; | ||
154 | inherit: "default" 0.0; | ||
155 | rel1.relative: 0.5 0.5; | ||
156 | rel2.relative: 0.5 0.5; | ||
157 | color: 255 255 255 255; | ||
158 | } | ||
159 | description { | ||
160 | state: "square_prev_next" 0.0; | ||
161 | inherit: "default" 0.0; | ||
162 | rel1.relative: 0.0 0.0; | ||
163 | rel2.relative: 1.0 1.0; | ||
164 | color: 255 255 255 255; | ||
165 | } | ||
166 | } | ||
167 | part { name: "elm.swallow.1"; | ||
168 | type: SWALLOW; | ||
169 | clip_to: "image_1_whole"; | ||
170 | description { | ||
171 | state: "default" 0.0; | ||
172 | rel1.to: "image_1_whole"; | ||
173 | rel2.to: "image_1_whole"; | ||
174 | color: 255 255 255 255; | ||
175 | } | ||
176 | description { | ||
177 | state: "not_fullscreen" 0.0; | ||
178 | rel1.relative: 0.1 0.1; | ||
179 | rel1.to: "image_1_whole"; | ||
180 | rel2.relative: 0.9 0.9; | ||
181 | rel2.to: "image_1_whole"; | ||
182 | color: 255 255 255 255; | ||
183 | } | ||
184 | } | ||
185 | part { name: "elm.swallow.2"; | ||
186 | type: SWALLOW; | ||
187 | clip_to: "image_2_whole"; | ||
188 | description { | ||
189 | state: "default" 0.0; | ||
190 | color: 255 255 255 255; | ||
191 | rel1.to: "image_2_whole"; | ||
192 | rel2.to: "image_2_whole"; | ||
193 | } | ||
194 | description { | ||
195 | state: "not_fullscreen" 0.0; | ||
196 | color: 255 255 255 255; | ||
197 | rel1.relative: 0.1 0.1; | ||
198 | rel1.to: "image_2_whole"; | ||
199 | rel2.relative: 0.9 0.9; | ||
200 | rel2.to: "image_2_whole"; | ||
201 | } | ||
202 | } | ||
203 | part { name: "events_catcher"; | ||
204 | type: RECT; | ||
205 | repeat_events: 1; | ||
206 | description { | ||
207 | state: "default" 0.0; | ||
208 | visible: 1; | ||
209 | color: 0 0 0 0; | ||
210 | } | ||
211 | } | ||
212 | } | ||
213 | programs { | ||
214 | //Substyle | ||
215 | program { name: "layout_fullscreen"; | ||
216 | signal: "layout,fullscreen"; | ||
217 | source: "slideshow"; | ||
218 | action: STATE_SET "default" 0.0; | ||
219 | target: "elm.swallow.1"; | ||
220 | target: "elm.swallow.2"; | ||
221 | transition: SINUSOIDAL 1.0; | ||
222 | } | ||
223 | program { name: "layout_not_fullscreen"; | ||
224 | signal: "layout,not_fullscreen"; | ||
225 | source: "slideshow"; | ||
226 | action: STATE_SET "not_fullscreen" 0.0; | ||
227 | target: "elm.swallow.1"; | ||
228 | target: "elm.swallow.2"; | ||
229 | transition: SINUSOIDAL 1.0; | ||
230 | } | ||
231 | // | ||
232 | program { name: "fade_next"; | ||
233 | signal: "fade,next"; | ||
234 | source: "slideshow"; | ||
235 | action: STATE_SET "default" 0.0; | ||
236 | target: "image_1_whole"; | ||
237 | target: "image_2_whole"; | ||
238 | after: "fade_next_2"; | ||
239 | } | ||
240 | program { name: "fade_next_2"; | ||
241 | action: STATE_SET "fade_prev_next" 0.0; | ||
242 | target: "image_1_whole"; | ||
243 | target: "image_2_whole"; | ||
244 | transition: SINUSOIDAL 1.5; | ||
245 | after: "end"; | ||
246 | } | ||
247 | program { name: "fade_previous"; | ||
248 | signal: "fade,previous"; | ||
249 | source: "slideshow"; | ||
250 | action: STATE_SET "default" 0.0; | ||
251 | target: "image_1_whole"; | ||
252 | target: "image_2_whole"; | ||
253 | after: "fade_previous_2"; | ||
254 | } | ||
255 | program { name: "fade_previous_2"; | ||
256 | action: STATE_SET "fade_prev_next" 0.0; | ||
257 | target: "image_1_whole"; | ||
258 | target: "image_2_whole"; | ||
259 | transition: SINUSOIDAL 1.5; | ||
260 | after: "end"; | ||
261 | } | ||
262 | program { name: "black_fade_next"; | ||
263 | signal: "black_fade,next"; | ||
264 | source: "slideshow"; | ||
265 | action: STATE_SET "black_fade_prev_next_init" 0.0; | ||
266 | target: "image_1_whole"; | ||
267 | target: "image_2_whole"; | ||
268 | after: "black_fade_next_2"; | ||
269 | } | ||
270 | program { name: "black_fade_next_2"; | ||
271 | action: STATE_SET "black_fade_prev_next" 0.0; | ||
272 | target: "image_1_whole"; | ||
273 | transition: SINUSOIDAL 0.75; | ||
274 | after: "black_fade_next_3"; | ||
275 | } | ||
276 | program { name: "black_fade_next_3"; | ||
277 | action: STATE_SET "black_fade_prev_next" 0.0; | ||
278 | target: "image_2_whole"; | ||
279 | transition: SINUSOIDAL 0.75; | ||
280 | after: "end"; | ||
281 | } | ||
282 | program { name: "black_fade_previous"; | ||
283 | signal: "black_fade,previous"; | ||
284 | source: "slideshow"; | ||
285 | action: STATE_SET "black_fade_prev_next_init" 0.0; | ||
286 | target: "image_1_whole"; | ||
287 | target: "image_2_whole"; | ||
288 | after: "black_fade_previous_2"; | ||
289 | } | ||
290 | program { name: "black_fade_previous_2"; | ||
291 | action: STATE_SET "black_fade_prev_next" 0.0; | ||
292 | target: "image_1_whole"; | ||
293 | transition: SINUSOIDAL 0.75; | ||
294 | after: "black_fade_previous_3"; | ||
295 | } | ||
296 | program { name: "black_fade_previous_3"; | ||
297 | action: STATE_SET "black_fade_prev_next" 0.0; | ||
298 | target: "image_2_whole"; | ||
299 | transition: SINUSOIDAL 0.75; | ||
300 | after: "end"; | ||
301 | } | ||
302 | program { name: "horizontal_next"; | ||
303 | signal: "horizontal,next"; | ||
304 | source: "slideshow"; | ||
305 | action: STATE_SET "horizontal_next_init" 0.0; | ||
306 | target: "image_1_whole"; | ||
307 | target: "image_2_whole"; | ||
308 | after: "horizontal_next_2"; | ||
309 | } | ||
310 | program { name: "horizontal_next_2"; | ||
311 | action: STATE_SET "horizontal_next" 0.0; | ||
312 | target: "image_1_whole"; | ||
313 | target: "image_2_whole"; | ||
314 | transition: SINUSOIDAL 1.5; | ||
315 | after: "end"; | ||
316 | } | ||
317 | program { name: "horizontal_previous"; | ||
318 | signal: "horizontal,previous"; | ||
319 | source: "slideshow"; | ||
320 | action: STATE_SET "horizontal_prev_init" 0.0; | ||
321 | target: "image_1_whole"; | ||
322 | target: "image_2_whole"; | ||
323 | after: "horizontal_previous_2"; | ||
324 | } | ||
325 | program { name: "horizontal_previous_2"; | ||
326 | action: STATE_SET "horizontal_prev" 0.0; | ||
327 | target: "image_1_whole"; | ||
328 | target: "image_2_whole"; | ||
329 | transition: SINUSOIDAL 1.5; | ||
330 | after: "end"; | ||
331 | } | ||
332 | program { name: "vertical_next"; | ||
333 | signal: "vertical,next"; | ||
334 | source: "slideshow"; | ||
335 | action: STATE_SET "vertical_next_init" 0.0; | ||
336 | target: "image_1_whole"; | ||
337 | target: "image_2_whole"; | ||
338 | after: "vertical_next_2"; | ||
339 | } | ||
340 | program { name: "vertical_next_2"; | ||
341 | action: STATE_SET "vertical_next" 0.0; | ||
342 | target: "image_1_whole"; | ||
343 | target: "image_2_whole"; | ||
344 | transition: SINUSOIDAL 1.5; | ||
345 | after: "end"; | ||
346 | } | ||
347 | program { name: "vertical_previous"; | ||
348 | signal: "vertical,previous"; | ||
349 | source: "slideshow"; | ||
350 | action: STATE_SET "vertical_prev_init" 0.0; | ||
351 | target: "image_1_whole"; | ||
352 | target: "image_2_whole"; | ||
353 | after: "vertical_previous_2"; | ||
354 | } | ||
355 | program { name: "vertical_previous_2"; | ||
356 | action: STATE_SET "vertical_prev" 0.0; | ||
357 | target: "image_1_whole"; | ||
358 | target: "image_2_whole"; | ||
359 | transition: SINUSOIDAL 1.5; | ||
360 | after: "end"; | ||
361 | } | ||
362 | program { name: "square_next"; | ||
363 | signal: "square,next"; | ||
364 | source: "slideshow"; | ||
365 | action: STATE_SET "square_prev_next_init" 0.0; | ||
366 | target: "image_2_whole"; | ||
367 | after: "square_next_2"; | ||
368 | } | ||
369 | program { name: "square_next_2"; | ||
370 | action: STATE_SET "square_prev_next" 0.0; | ||
371 | target: "image_2_whole"; | ||
372 | target: "image_1_whole"; | ||
373 | transition: SINUSOIDAL 1.5; | ||
374 | after: "end"; | ||
375 | } | ||
376 | program { name: "square_previous"; | ||
377 | signal: "square,previous"; | ||
378 | source: "slideshow"; | ||
379 | action: STATE_SET "square_prev_next_init" 0.0; | ||
380 | target: "image_2_whole"; | ||
381 | after: "square_next_2"; | ||
382 | } | ||
383 | program { name: "end"; | ||
384 | action: SIGNAL_EMIT "end" "slideshow"; | ||
385 | } | ||
386 | program { name: "end_signal"; | ||
387 | signal: "anim,end"; | ||
388 | source: "slideshow"; | ||
389 | action: STATE_SET "default" 0.0; | ||
390 | target: "image_1_whole"; | ||
391 | target: "image_2_whole"; | ||
392 | } | ||
393 | } | ||
394 | } | ||
395 | |||
396 | /////////////////////////////////////////////////////////////////////////////// | ||