summaryrefslogtreecommitdiff
path: root/data/themes
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-01-20 20:34:48 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-01-20 20:34:48 +0900
commit86a4a3704a714543c235b743c5fd399825e9f5d7 (patch)
tree7262ffb862ab34dfa1708334b69c4e96b89d8b04 /data/themes
rage - initial import of working code
Diffstat (limited to 'data/themes')
-rw-r--r--data/themes/Makefile.am28
-rw-r--r--data/themes/default.edc1075
-rw-r--r--data/themes/images/Makefile.am29
-rw-r--r--data/themes/images/glow_exclam.pngbin0 -> 2185 bytes
-rw-r--r--data/themes/images/horizontal_separated_bar_small_glow.pngbin0 -> 309 bytes
-rw-r--r--data/themes/images/icon_arrow_right.pngbin0 -> 2015 bytes
-rw-r--r--data/themes/images/icon_eject.pngbin0 -> 2542 bytes
-rw-r--r--data/themes/images/icon_forward.pngbin0 -> 2850 bytes
-rw-r--r--data/themes/images/icon_mute.pngbin0 -> 4369 bytes
-rw-r--r--data/themes/images/icon_next.pngbin0 -> 3232 bytes
-rw-r--r--data/themes/images/icon_next2.pngbin0 -> 7594 bytes
-rw-r--r--data/themes/images/icon_pause.pngbin0 -> 2168 bytes
-rw-r--r--data/themes/images/icon_pause2.pngbin0 -> 6680 bytes
-rw-r--r--data/themes/images/icon_play.pngbin0 -> 2134 bytes
-rw-r--r--data/themes/images/icon_play2.pngbin0 -> 7009 bytes
-rw-r--r--data/themes/images/icon_prev.pngbin0 -> 3212 bytes
-rw-r--r--data/themes/images/icon_prev2.pngbin0 -> 7659 bytes
-rw-r--r--data/themes/images/icon_refresh.pngbin0 -> 6452 bytes
-rw-r--r--data/themes/images/icon_rewind.pngbin0 -> 2837 bytes
-rw-r--r--data/themes/images/icon_spanner.pngbin0 -> 3959 bytes
-rw-r--r--data/themes/images/icon_spanner2.pngbin0 -> 8969 bytes
-rw-r--r--data/themes/images/icon_stop.pngbin0 -> 1821 bytes
-rw-r--r--data/themes/images/icon_volume.pngbin0 -> 5142 bytes
-rw-r--r--data/themes/images/icon_volume2.pngbin0 -> 8787 bytes
-rw-r--r--data/themes/images/pm_fill.pngbin0 -> 254 bytes
-rw-r--r--data/themes/images/pm_overlay.pngbin0 -> 8673 bytes
-rw-r--r--data/themes/images/pm_shadow.pngbin0 -> 4010 bytes
-rw-r--r--data/themes/images/pos_indicator.pngbin0 -> 931 bytes
-rw-r--r--data/themes/images/pos_indicator_big.pngbin0 -> 1669 bytes
-rw-r--r--data/themes/images/vgrad_shadow_bi.pngbin0 -> 1647 bytes
30 files changed, 1132 insertions, 0 deletions
diff --git a/data/themes/Makefile.am b/data/themes/Makefile.am
new file mode 100644
index 0000000..f601a59
--- /dev/null
+++ b/data/themes/Makefile.am
@@ -0,0 +1,28 @@
1MAINTAINERCLEANFILES = Makefile.in
2
3SUBDIRS = images
4
5EDJE_CC = @edje_cc@
6EDJE_FLAGS_VERBOSE_ =
7EDJE_FLAGS_VERBOSE_0 =
8EDJE_FLAGS_VERBOSE_1 = -v
9EDJE_FLAGS = $(EDJE_FLAGS_VERBOSE_$(V)) -id $(top_srcdir)/data/themes/images
10
11filesdir = $(pkgdatadir)/themes
12files_DATA = \
13default.edj
14
15AM_V_EDJ = $(am__v_EDJ_$(V))
16am__v_EDJ_ = $(am__v_EDJ_$(AM_DEFAULT_VERBOSITY))
17am__v_EDJ_0 = @echo " EDJ " $@;
18
19EXTRA_DIST = \
20default.edc
21
22default.edj: Makefile default.edc
23 $(AM_V_EDJ)$(EDJE_CC) $(EDJE_FLAGS) \
24 $(top_srcdir)/data/themes/default.edc \
25 $(top_builddir)/data/themes/default.edj
26
27clean-local:
28 rm -f *.edj
diff --git a/data/themes/default.edc b/data/themes/default.edc
new file mode 100644
index 0000000..a443fda
--- /dev/null
+++ b/data/themes/default.edc
@@ -0,0 +1,1075 @@
1collections {
2
3//////////////////////////////////////////////////////////////////////////////
4 //// the background and general container for the terminal
5 group { name: "rage/core";
6 images.image: "pm_fill.png" COMP;
7 images.image: "pm_overlay.png" COMP;
8 images.image: "pm_shadow.png" COMP;
9 images.image: "glow_exclam.png" COMP;
10
11 images.image: "icon_eject.png" COMP;
12
13 images.image: "icon_mute.png" COMP;
14 images.image: "icon_volume.png" COMP;
15
16 images.image: "icon_prev.png" COMP;
17 images.image: "icon_next.png" COMP;
18 images.image: "icon_rewind.png" COMP;
19 images.image: "icon_forward.png" COMP;
20
21 images.image: "icon_stop.png" COMP;
22 images.image: "icon_pause.png" COMP;
23 images.image: "icon_play.png" COMP;
24
25 images.image: "icon_refresh.png" COMP;
26 images.image: "icon_arrow_right.png" COMP;
27
28 images.image: "icon_spanner.png" COMP;
29
30 images.image: "horizontal_separated_bar_small_glow.png" COMP;
31 images.image: "vgrad_shadow_bi.png" COMP;
32
33 set { name: "pos_indicator";
34 image { image: "pos_indicator_big.png" COMP; size: 32 28 99999 99999; }
35 image { image: "pos_indicator.png" COMP; size: 0 0 31 27; }
36 }
37
38 images.image: "icon_next2.png" COMP;
39 images.image: "icon_prev2.png" COMP;
40 images.image: "icon_play2.png" COMP;
41 images.image: "icon_pause2.png" COMP;
42 images.image: "icon_volume2.png" COMP;
43 images.image: "icon_spanner2.png" COMP;
44
45 script {
46 public pos_visible;
47 public pos_timer;
48
49 public pos_timeout(val) {
50 set_int(pos_visible, 0);
51 set_int(pos_timer, 0);
52 stop_program(PROGRAM:"posshow");
53 run_program(PROGRAM:"poshide");
54 }
55 }
56
57 parts {
58 part { name: "fill"; mouse_events: 0;
59 description { state: "default" 0.0;
60 fixed: 1 1;
61 image.normal: "pm_fill.png";
62 fill {
63 size.relative: 0.0 0.0;
64 size.offset: 64 64;
65 }
66 }
67 }
68 part { name: "popmedia_overlay"; mouse_events: 0;
69 description { state: "default" 0.0;
70 fixed: 1 1;
71 image.normal: "pm_overlay.png";
72 fill.smooth: 0;
73 }
74 }
75 part { name: "shadow"; mouse_events: 0;
76 description { state: "default" 0.0;
77 fixed: 1 1;
78 rel1.to: "rage.content";
79 rel2.to: "rage.content";
80 image.normal: "pm_shadow.png";
81 image.border: 64 64 64 64;
82 rel1.offset: -32 -32;
83 rel2.offset: 31 31;
84 fill.smooth: 0;
85 }
86 }
87 part { name: "black"; type: RECT; mouse_events: 0;
88 description { state: "default" 0.0;
89 color: 0 0 0 0;
90 visible: 0;
91 }
92 description { state: "visible" 0.0;
93 inherit: "default" 0.0;
94 color: 0 0 0 255;
95 visible: 1;
96 }
97 }
98 program {
99 signal: "state,win,fullscreen"; source: "rage";
100 action: STATE_SET "visible" 0.0;
101 transition: SINUSOIDAL 0.2;
102 target: "black";
103 }
104 program {
105 signal: "state,win,normal"; source: "rage";
106 action: STATE_SET "default" 0.0;
107 transition: SINUSOIDAL 1.0;
108 target: "black";
109 }
110
111 part { name: "base"; type: RECT; mouse_events: 0;
112 description { state: "default" 0.0;
113 rel1.to: "rage.content";
114 rel2.to: "rage.content";
115 color: 0 0 0 255;
116 }
117 description { state: "visible" 0.0;
118 inherit: "default" 0.0;
119 color: 32 32 32 255;
120 }
121 description { state: "play" 0.0;
122 inherit: "default" 0.0;
123 visible: 0;
124 }
125 }
126 part { name: "exclam"; mouse_events: 0;
127 scale: 1;
128 clip_to: "novid_clip";
129 description { state: "default" 0.0;
130 rel1.to: "base";
131 rel2.to: "base";
132 fixed: 1 1;
133 image.normal: "glow_exclam.png";
134 max: 24 24;
135 aspect: 1.0 1.0; aspect_preference: BOTH;
136 color: 255 255 255 0;
137 visible: 0;
138 }
139 description { state: "visible" 0.0;
140 inherit: "default" 0.0;
141 color: 255 255 255 255;
142 visible: 1;
143 }
144 description { state: "play" 0.0;
145 inherit: "default" 0.0;
146 visible: 0;
147 }
148 }
149 program {
150 signal: "action,newvid"; source: "rage";
151 action: STATE_SET "default" 0.0;
152 target: "exclam";
153 target: "base";
154 after: "newvid2";
155 }
156 program { name: "newvid2";
157 action: STATE_SET "visible" 0.0;
158 in: 2.0 0.0;
159 transition: SINUSOIDAL 1.0;
160 target: "exclam";
161 target: "base";
162 }
163 program {
164 signal: "action,frame"; source: "rage";
165 action: STATE_SET "play" 0.0;
166 target: "exclam";
167 target: "base";
168 }
169
170 part { name: "novid_clip"; type: RECT;
171 description { state: "default" 0.0;
172 }
173 description { state: "novideo" 0.0;
174 inherit: "default" 0.0;
175 visible: 0;
176 }
177 }
178 part { name: "novid_base"; type: RECT; mouse_events: 0;
179 clip_to: "novid_clip2";
180 description { state: "default" 0.0;
181 rel1.to: "rage.content";
182 rel2.to: "rage.content";
183 color: 32 32 32 255;
184 }
185 }
186 part { name: "novid"; mouse_events: 0;
187 scale: 1;
188 clip_to: "novid_clip2";
189 description { state: "default" 0.0;
190 rel1.to: "base";
191 rel2.to: "base";
192 fixed: 1 1;
193 image.normal: "icon_volume.png";
194 max: 24 24;
195 aspect: 1.0 1.0; aspect_preference: BOTH;
196 }
197 }
198 part { name: "novid_clip2"; type: RECT;
199 description { state: "default" 0.0;
200 visible: 0;
201 }
202 description { state: "novideo" 0.0;
203 inherit: "default" 0.0;
204 visible: 1;
205 }
206 }
207 program {
208 signal: "state,novideo"; source: "rage";
209 action: STATE_SET "novideo" 0.0;
210 target: "novid_clip";
211 target: "novid_clip2";
212 }
213 program {
214 signal: "state,video"; source: "rage";
215 action: STATE_SET "default" 0.0;
216 target: "novid_clip";
217 target: "novid_clip2";
218 }
219
220 part { name: "rage.content"; type: SWALLOW;
221 description { state: "default" 0.0;
222 }
223 }
224
225 part { name: "poscover"; mouse_events: 0;
226 scale: 1;
227 description { state: "default" 0.0;
228 fixed: 1 1;
229 image.normal: "vgrad_shadow_bi.png";
230 rel1.relative: 0.0 1.0;
231 visible: 0;
232 color: 255 255 255 0;
233 }
234 description { state: "visible" 0.0;
235 inherit: "default" 0.0;
236 color: 255 255 255 255;
237 visible: 1;
238 min: 0 240;
239 }
240 }
241
242 part { name: "mute"; mouse_events: 0;
243 scale: 1;
244 description { state: "default" 0.0;
245 fixed: 1 1;
246 rel1.to_x: "rage.vol.swallow";
247 rel1.relative: 1.0 0.0;
248 rel1.offset: 5 5;
249 rel2.to_x: "rage.vol.swallow";
250 rel2.relative: 1.0 0.0;
251 rel2.offset: 5 5;
252 align: 0.0 0.0;
253 image.normal: "icon_mute.png";
254 min: 20 20; max: 20 20;
255 aspect: 1.0 1.0; aspect_preference: BOTH;
256 color: 255 255 255 0;
257 visible: 0;
258 }
259 description { state: "visible" 0.0;
260 inherit: "default" 0.0;
261 color: 255 255 255 255;
262 visible: 1;
263 }
264 }
265#define STATE_FADE_PROG(_name) \
266 program { \
267 signal: "action,"_name; source: "rage"; \
268 action: STATE_SET "visible" 0.0; \
269 transition: SINUSOIDAL 0.2 CURRENT; \
270 target: _name; \
271 after: _name"2"; \
272 } \
273 program { name: _name"2"; \
274 action: STATE_SET "default" 0.0; \
275 in: 1.0 0.0; \
276 transition: SINUSOIDAL 1.0 CURRENT; \
277 target: _name""; \
278 }
279 STATE_FADE_PROG("mute")
280 part { name: "unmute"; mouse_events: 0;
281 scale: 1;
282 description { state: "default" 0.0;
283 fixed: 1 1;
284 rel1.to_x: "rage.vol.swallow";
285 rel1.relative: 1.0 0.0;
286 rel1.offset: 5 5;
287 rel2.to_x: "rage.vol.swallow";
288 rel2.relative: 1.0 0.0;
289 rel2.offset: 5 5;
290 align: 0.0 0.0;
291 image.normal: "icon_volume.png";
292 min: 20 20; max: 20 20;
293 aspect: 1.0 1.0; aspect_preference: BOTH;
294 color: 255 255 255 0;
295 visible: 0;
296 }
297 description { state: "visible" 0.0;
298 inherit: "default" 0.0;
299 color: 255 255 255 255;
300 visible: 1;
301 }
302 }
303 STATE_FADE_PROG("unmute")
304 part { name: "loop"; mouse_events: 0;
305 scale: 1;
306 description { state: "default" 0.0;
307 fixed: 1 1;
308 rel1.relative: 1.0 0.0;
309 rel1.offset: 5 5;
310 rel1.to_x: "mute";
311 rel2.relative: 1.0 0.0;
312 rel2.offset: 5 5;
313 rel2.to_x: "mute";
314 align: 0.0 0.0;
315 image.normal: "icon_refresh.png";
316 min: 20 20; max: 20 20;
317 aspect: 1.0 1.0; aspect_preference: BOTH;
318 color: 255 255 255 0;
319 visible: 0;
320 }
321 description { state: "visible" 0.0;
322 inherit: "default" 0.0;
323 color: 255 255 255 255;
324 visible: 1;
325 }
326 }
327 STATE_FADE_PROG("loop")
328 part { name: "sequential"; mouse_events: 0;
329 scale: 1;
330 description { state: "default" 0.0;
331 fixed: 1 1;
332 rel1.relative: 1.0 0.0;
333 rel1.offset: 5 5;
334 rel1.to_x: "mute";
335 rel2.relative: 1.0 0.0;
336 rel2.offset: 5 5;
337 rel2.to_x: "mute";
338 align: 0.0 0.0;
339 image.normal: "icon_arrow_right.png";
340 min: 20 20; max: 20 20;
341 aspect: 1.0 1.0; aspect_preference: BOTH;
342 color: 255 255 255 0;
343 visible: 0;
344 }
345 description { state: "visible" 0.0;
346 inherit: "default" 0.0;
347 color: 255 255 255 255;
348 visible: 1;
349 }
350 }
351 STATE_FADE_PROG("sequential")
352
353 part { name: "play"; mouse_events: 0;
354 scale: 1;
355 description { state: "default" 0.0;
356 fixed: 1 1;
357 rel1.to_x: "rage.options.swallow";
358 rel1.relative: 0.0 0.0;
359 rel1.offset: -6 5;
360 rel2.to_x: "rage.options.swallow";
361 rel2.relative: 0.0 0.0;
362 rel2.offset: -6 5;
363 align: 1.0 0.0;
364 image.normal: "icon_play.png";
365 min: 20 20; max: 20 20;
366 aspect: 1.0 1.0; aspect_preference: BOTH;
367 color: 255 255 255 0;
368 visible: 0;
369 }
370 description { state: "visible" 0.0;
371 inherit: "default" 0.0;
372 color: 255 255 255 255;
373 visible: 1;
374 }
375 }
376 STATE_FADE_PROG("play")
377 part { name: "pause"; mouse_events: 0;
378 scale: 1;
379 description { state: "default" 0.0;
380 fixed: 1 1;
381 rel1.to_x: "rage.options.swallow";
382 rel1.relative: 0.0 0.0;
383 rel1.offset: -6 5;
384 rel2.to_x: "rage.options.swallow";
385 rel2.relative: 0.0 0.0;
386 rel2.offset: -6 5;
387 align: 1.0 0.0;
388 image.normal: "icon_pause.png";
389 min: 20 20; max: 20 20;
390 aspect: 1.0 1.0; aspect_preference: BOTH;
391 color: 255 255 255 0;
392 visible: 0;
393 }
394 description { state: "visible" 0.0;
395 inherit: "default" 0.0;
396 color: 255 255 255 255;
397 visible: 1;
398 }
399 }
400 STATE_FADE_PROG("pause")
401 part { name: "stop"; mouse_events: 0;
402 scale: 1;
403 description { state: "default" 0.0;
404 fixed: 1 1;
405 rel1.relative: 1.0 0.0;
406 rel1.offset: -6 5;
407 rel2.relative: 1.0 0.0;
408 rel2.offset: -6 5;
409 align: 1.0 0.0;
410 image.normal: "icon_stop.png";
411 min: 20 20; max: 20 20;
412 aspect: 1.0 1.0; aspect_preference: BOTH;
413 color: 255 255 255 0;
414 visible: 0;
415 }
416 description { state: "visible" 0.0;
417 inherit: "default" 0.0;
418 color: 255 255 255 255;
419 visible: 1;
420 }
421 }
422 STATE_FADE_PROG("stop")
423
424 part { name: "eject"; mouse_events: 0;
425 scale: 1;
426 description { state: "default" 0.0;
427 fixed: 1 1;
428 rel1.relative: 0.0 0.0;
429 rel1.offset: -6 5;
430 rel1.to_x: "play";
431 rel2.relative: 0.0 0.0;
432 rel2.offset: -6 5;
433 rel2.to_x: "play";
434 align: 1.0 0.0;
435 image.normal: "icon_eject.png";
436 min: 20 20; max: 20 20;
437 aspect: 1.0 1.0; aspect_preference: BOTH;
438 color: 255 255 255 0;
439 visible: 0;
440 }
441 description { state: "visible" 0.0;
442 inherit: "default" 0.0;
443 color: 255 255 255 255;
444 visible: 1;
445 }
446 }
447 STATE_FADE_PROG("eject")
448
449 part { name: "forward"; mouse_events: 0;
450 scale: 1;
451 description { state: "default" 0.0;
452 fixed: 1 1;
453 rel1.relative: 1.0 0.5;
454 rel1.offset: -6 0;
455 rel2.relative: 1.0 0.5;
456 rel2.offset: -6 -1;
457 align: 1.0 0.5;
458 image.normal: "icon_forward.png";
459 min: 20 20; max: 20 20;
460 aspect: 1.0 1.0; aspect_preference: BOTH;
461 color: 255 255 255 0;
462 visible: 0;
463 }
464 description { state: "visible" 0.0;
465 inherit: "default" 0.0;
466 color: 255 255 255 255;
467 visible: 1;
468 }
469 }
470 STATE_FADE_PROG("forward")
471 part { name: "next"; mouse_events: 0;
472 scale: 1;
473 description { state: "default" 0.0;
474 fixed: 1 1;
475 rel1.relative: 1.0 0.5;
476 rel1.offset: -6 0;
477 rel2.relative: 1.0 0.5;
478 rel2.offset: -6 -1;
479 align: 1.0 0.5;
480 image.normal: "icon_next.png";
481 min: 20 20; max: 20 20;
482 aspect: 1.0 1.0; aspect_preference: BOTH;
483 color: 255 255 255 0;
484 visible: 0;
485 }
486 description { state: "visible" 0.0;
487 inherit: "default" 0.0;
488 color: 255 255 255 255;
489 visible: 1;
490 }
491 }
492 STATE_FADE_PROG("next")
493
494 part { name: "rewind"; mouse_events: 0;
495 scale: 1;
496 description { state: "default" 0.0;
497 fixed: 1 1;
498 rel1.relative: 0.0 0.5;
499 rel1.offset: 5 0;
500 rel2.relative: 0.0 0.5;
501 rel2.offset: 5 -1;
502 align: 0.0 0.5;
503 image.normal: "icon_rewind.png";
504 min: 20 20; max: 20 20;
505 aspect: 1.0 1.0; aspect_preference: BOTH;
506 color: 255 255 255 0;
507 visible: 0;
508 }
509 description { state: "visible" 0.0;
510 inherit: "default" 0.0;
511 color: 255 255 255 255;
512 visible: 1;
513 }
514 }
515 STATE_FADE_PROG("rewind")
516 part { name: "prev"; mouse_events: 0;
517 scale: 1;
518 description { state: "default" 0.0;
519 fixed: 1 1;
520 rel1.relative: 0.0 0.5;
521 rel1.offset: 5 0;
522 rel2.relative: 0.0 0.5;
523 rel2.offset: 5 -1;
524 align: 0.0 0.5;
525 image.normal: "icon_prev.png";
526 min: 20 20; max: 20 20;
527 aspect: 1.0 1.0; aspect_preference: BOTH;
528 color: 255 255 255 0;
529 visible: 0;
530 }
531 description { state: "visible" 0.0;
532 inherit: "default" 0.0;
533 color: 255 255 255 255;
534 visible: 1;
535 }
536 }
537 STATE_FADE_PROG("prev")
538
539 part { name: "posclip"; type: RECT;
540 description { state: "default" 0.0;
541 color: 255 255 255 0;
542 visible: 0;
543 }
544 description { state: "visible" 0.0;
545 color: 255 255 255 255;
546 visible: 1;
547 }
548 }
549 part { name: "bar_bg"; type: SPACER;
550 description { state: "default" 0.0;
551 fixed: 1 1;
552 rel1.to_x: "pos_playev";
553 rel1.offset: 0 -1;
554 rel1.relative: 1.5 1.0;
555 rel2.to_x: "pos_nextev";
556 rel2.relative: -0.5 1.0;
557 min: 1 1;
558 }
559 }
560 part { name: "rage.dragable.pos"; type: RECT; mouse_events: 0;
561 clip_to: "posclip";
562 dragable.x: 1 1 0;
563 dragable.y: 0 0 0;
564 dragable.confine: "bar_bg";
565 description { state: "default" 0.0;
566 min: 1 1;
567 max: 1 1;
568 rel1.relative: 0.5 0.0;
569 rel1.to_x: "bar_bg";
570 rel2.relative: 0.5 1.0;
571 rel2.to_x: "bar_bg";
572 color: 0 0 255 128;
573 fixed: 1 1;
574 }
575 }
576
577 part { name: "bar"; mouse_events: 0;
578 clip_to: "posclip";
579 description { state: "default" 0.0;
580 fixed: 1 1;
581 image.normal: "horizontal_separated_bar_small_glow.png";
582 image.border: 4 4 4 44;
583 rel1.offset: -3 -7;
584 rel1.relative: 0.0 1.0;
585 rel1.to_x: "bar_bg";
586 rel2.offset: 2 2;
587 rel2.to_x: "rage.dragable.pos";
588 min: 8 0;
589 fill.smooth: 0;
590 }
591 }
592 part { name: "pos"; mouse_events: 0;
593 scale: 1;
594 clip_to: "posclip";
595 description { state: "default" 0.0;
596 fixed: 1 1;
597 image.normal: "pos_indicator";
598 min: 15 13;
599 max: 15 13;
600 rel1.to: "rage.dragable.pos";
601 rel2.to: "rage.dragable.pos";
602 align: 0.5 0.815;
603 }
604 }
605
606 part { name: "rage.pos.swallow"; type: SWALLOW;
607 scale: 1;
608 description { state: "default" 0.0;
609 fixed: 1 1;
610 rel1.to: "rage.dragable.pos";
611 rel2.to: "rage.dragable.pos";
612 align: 0.5 1.0;
613 min: 20 20;
614 }
615 }
616 part { name: "posevent"; type: RECT;
617 clip_to: "posclip";
618 scale: 1;
619 ignore_flags: ON_HOLD;
620 dragable.events: "rage.dragable.pos";
621 description { state: "default" 0.0;
622 fixed: 1 1;
623 rel1.to: "rage.pos.swallow";
624 rel2.to: "rage.pos.swallow";
625 color: 0 0 0 0;
626 min: 24 24;
627 align: 0.5 1.0;
628 }
629 }
630 part { name: "rage.vol.swallow"; type: SWALLOW;
631 scale: 1;
632 description { state: "default" 0.0;
633 fixed: 1 1;
634 rel1.relative: 0.0 0.0;
635 rel1.offset: 5 5;
636 rel2.relative: 0.0 0.0;
637 rel2.offset: 5 5;
638 min: 20 20;
639 align: 0.0 0.0;
640 }
641 }
642 part { name: "rage.options.swallow"; type: SWALLOW;
643 scale: 1;
644 description { state: "default" 0.0;
645 fixed: 1 1;
646 rel1.relative: 1.0 0.0;
647 rel1.offset: -6 5;
648 rel2.relative: 1.0 0.0;
649 rel2.offset: -6 5;
650 min: 20 20;
651 align: 1.0 0.0;
652 }
653 }
654 part { name: "rage.pos.prev.swallow"; type: SWALLOW;
655 scale: 1;
656 description { state: "default" 0.0;
657 fixed: 1 1;
658 rel1.relative: 0.0 1.0;
659 rel2.relative: 0.0 1.0;
660 min: 20 20;
661 align: 0.0 1.0;
662 }
663 }
664 part { name: "rage.pos.play.swallow"; type: SWALLOW;
665 scale: 1;
666 description { state: "default" 0.0;
667 fixed: 1 1;
668 rel1.to_x: "rage.pos.prev.swallow";
669 rel1.relative: 1.0 1.0;
670 rel2.to_x: "rage.pos.prev.swallow";
671 rel2.relative: 1.0 1.0;
672 min: 20 20;
673 align: 0.0 1.0;
674 }
675 }
676 part { name: "rage.pos.next.swallow"; type: SWALLOW;
677 scale: 1;
678 description { state: "default" 0.0;
679 fixed: 1 1;
680 rel1.relative: 1.0 1.0;
681 min: 20 20;
682 align: 1.0 1.0;
683 }
684 }
685
686 part { name: "vol";
687 scale: 1;
688 clip_to: "posclip";
689 description { state: "default" 0.0;
690 fixed: 1 1;
691 rel1.to: "rage.vol.swallow";
692 rel2.to: "rage.vol.swallow";
693 image.normal: "icon_volume.png";
694 min: 20 20; max: 20 20;
695 }
696 description { state: "active" 0.0;
697 inherit: "default" 0.0;
698 image.normal: "icon_volume2.png";
699 }
700 }
701 part { name: "volev"; type: RECT;
702 description { state: "default" 0.0;
703 rel1.to: "rage.vol.swallow";
704 rel2.to: "rage.vol.swallow";
705 color: 0 0 0 0;
706 }
707 }
708 program {
709 signal: "mouse,down,1"; source: "volev";
710 action: STATE_SET "active" 0.0;
711 target: "vol";
712 }
713 program {
714 signal: "mouse,up,1"; source: "volev";
715 action: STATE_SET "default" 0.0;
716 target: "vol";
717 }
718
719 part { name: "opt";
720 scale: 1;
721 clip_to: "posclip";
722 description { state: "default" 0.0;
723 fixed: 1 1;
724 rel1.to: "rage.options.swallow";
725 rel2.to: "rage.options.swallow";
726 image.normal: "icon_spanner.png";
727 min: 20 20; max: 20 20;
728 }
729 description { state: "active" 0.0;
730 inherit: "default" 0.0;
731 image.normal: "icon_spanner2.png";
732 }
733 }
734 part { name: "optev"; type: RECT;
735 description { state: "default" 0.0;
736 rel1.to: "rage.options.swallow";
737 rel2.to: "rage.options.swallow";
738 color: 0 0 0 0;
739 }
740 }
741 program {
742 signal: "mouse,down,1"; source: "optev";
743 action: STATE_SET "active" 0.0;
744 target: "opt";
745 }
746 program {
747 signal: "mouse,up,1"; source: "optev";
748 action: STATE_SET "default" 0.0;
749 target: "opt";
750 }
751
752 part { name: "pos_prev";
753 scale: 1;
754 clip_to: "posclip";
755 description { state: "default" 0.0;
756 fixed: 1 1;
757 rel1.to: "rage.pos.prev.swallow";
758 rel2.to: "rage.pos.prev.swallow";
759 image.normal: "icon_prev.png";
760 min: 20 20; max: 20 20;
761 }
762 description { state: "active" 0.0;
763 inherit: "default" 0.0;
764 image.normal: "icon_prev2.png";
765 }
766 }
767 part { name: "pos_prevev"; type: RECT;
768 description { state: "default" 0.0;
769 rel1.to: "rage.pos.prev.swallow";
770 rel2.to: "rage.pos.prev.swallow";
771 color: 0 0 0 0;
772 }
773 }
774 program {
775 signal: "mouse,down,1"; source: "pos_prevev";
776 action: STATE_SET "active" 0.0;
777 target: "pos_prev";
778 }
779 program {
780 signal: "mouse,up,1"; source: "pos_prevev";
781 action: STATE_SET "default" 0.0;
782 target: "pos_prev";
783 }
784
785 part { name: "playpause"; type: RECT;
786 clip_to: "posclip";
787 description { state: "default" 0.0;
788 visible: 0;
789 }
790 description { state: "pause" 0.0;
791 visible: 1;
792 }
793 }
794 part { name: "pos_pause";
795 scale: 1;
796 clip_to: "playpause";
797 description { state: "default" 0.0;
798 fixed: 1 1;
799 rel1.to: "rage.pos.play.swallow";
800 rel2.to: "rage.pos.play.swallow";
801 image.normal: "icon_pause.png";
802 min: 20 20; max: 20 20;
803 }
804 description { state: "active" 0.0;
805 inherit: "default" 0.0;
806 image.normal: "icon_pause2.png";
807 }
808 }
809 part { name: "pos_pauseev"; type: RECT;
810 clip_to: "playpause";
811 description { state: "default" 0.0;
812 rel1.to: "rage.pos.play.swallow";
813 rel2.to: "rage.pos.play.swallow";
814 color: 0 0 0 0;
815 }
816 }
817 program {
818 signal: "mouse,down,1"; source: "pos_pauseev";
819 action: STATE_SET "active" 0.0;
820 target: "pos_pause";
821 }
822 program {
823 signal: "mouse,up,1"; source: "pos_pauseev";
824 action: STATE_SET "default" 0.0;
825 target: "pos_pause";
826 }
827
828 part { name: "playpause2"; type: RECT;
829 clip_to: "posclip";
830 description { state: "default" 0.0;
831 visible: 1;
832 }
833 description { state: "pause" 0.0;
834 visible: 0;
835 }
836 }
837 part { name: "pos_play";
838 scale: 1;
839 clip_to: "playpause2";
840 description { state: "default" 0.0;
841 fixed: 1 1;
842 rel1.to: "rage.pos.play.swallow";
843 rel2.to: "rage.pos.play.swallow";
844 image.normal: "icon_play.png";
845 min: 20 20; max: 20 20;
846 }
847 description { state: "active" 0.0;
848 inherit: "default" 0.0;
849 image.normal: "icon_play2.png";
850 }
851 }
852 part { name: "pos_playev"; type: RECT;
853 clip_to: "playpause2";
854 description { state: "default" 0.0;
855 rel1.to: "rage.pos.play.swallow";
856 rel2.to: "rage.pos.play.swallow";
857 color: 0 0 0 0;
858 }
859 }
860 program {
861 signal: "mouse,down,1"; source: "pos_playev";
862 action: STATE_SET "active" 0.0;
863 target: "pos_play";
864 }
865 program {
866 signal: "mouse,up,1"; source: "pos_playev";
867 action: STATE_SET "default" 0.0;
868 target: "pos_play";
869 }
870
871 program {
872 signal: "action,play"; source: "rage";
873 action: STATE_SET "default" 0.0;
874 target: "playpause";
875 target: "playpause2";
876 }
877 program {
878 signal: "action,pause"; source: "rage";
879 action: STATE_SET "pause" 0.0;
880 target: "playpause";
881 target: "playpause2";
882 }
883
884 part { name: "pos_next";
885 scale: 1;
886 clip_to: "posclip";
887 description { state: "default" 0.0;
888 fixed: 1 1;
889 rel1.to: "rage.pos.next.swallow";
890 rel2.to: "rage.pos.next.swallow";
891 image.normal: "icon_next.png";
892 min: 20 20; max: 20 20;
893 }
894 description { state: "active" 0.0;
895 inherit: "default" 0.0;
896 image.normal: "icon_next2.png";
897 }
898 }
899 part { name: "pos_nextev"; type: RECT;
900 description { state: "default" 0.0;
901 rel1.to: "rage.pos.next.swallow";
902 rel2.to: "rage.pos.next.swallow";
903 color: 0 0 0 0;
904 }
905 }
906 program {
907 signal: "mouse,down,1"; source: "pos_nextev";
908 action: STATE_SET "active" 0.0;
909 target: "pos_next";
910 }
911 program {
912 signal: "mouse,up,1"; source: "pos_nextev";
913 action: STATE_SET "default" 0.0;
914 target: "pos_next";
915 }
916
917 program {
918 signal: "mouse,clicked,1"; source: "optev";
919 action: SIGNAL_EMIT "pos,action,options" "rage";
920 }
921
922 program {
923 signal: "mouse,clicked,1"; source: "pos_prevev";
924 action: SIGNAL_EMIT "pos,action,prev" "rage";
925 }
926 program {
927 signal: "mouse,clicked,1"; source: "pos_nextev";
928 action: SIGNAL_EMIT "pos,action,next" "rage";
929 }
930 program {
931 signal: "mouse,clicked,1"; source: "pos_playev";
932 action: SIGNAL_EMIT "pos,action,pause" "rage";
933 }
934 program {
935 signal: "mouse,clicked,1"; source: "pos_pauseev";
936 action: SIGNAL_EMIT "pos,action,play" "rage";
937 }
938
939 part { name: "rage.pos"; type: TEXT; mouse_events: 0;
940 clip_to: "posclip";
941 effect: GLOW;
942 scale: 1;
943 description { state: "default" 0.0;
944 fixed: 1 1;
945 rel1.to_y: "pos_next";
946 rel1.to_x: "slash";
947 rel1.relative: 0.0 0.0;
948 rel1.offset: -1 -6;
949 rel2.to_y: "pos_next";
950 rel2.to_x: "slash";
951 rel2.relative: 0.0 0.0;
952 rel2.offset: -1 -6;
953 color: 255 255 255 255;
954 color2: 51 153 255 128;
955 color3: 51 153 255 20;
956 align: 1.0 1.0;
957 text { font: "Sans"; size: 8;
958 align: 1.0 1.0;
959 min: 1 1;
960 }
961 }
962 }
963 part { name: "slash"; type: TEXT; mouse_events: 0;
964 clip_to: "posclip";
965 effect: GLOW;
966 scale: 1;
967 description { state: "default" 0.0;
968 fixed: 1 1;
969 rel1.to_y: "pos_next";
970 rel1.to_x: "rage.length";
971 rel1.relative: 0.0 0.0;
972 rel1.offset: -1 -6;
973 rel2.to_y: "pos_next";
974 rel2.to_x: "rage.length";
975 rel2.relative: 0.0 0.0;
976 rel2.offset: -1 -6;
977 color: 255 255 255 255;
978 color2: 51 153 255 128;
979 color3: 51 153 255 20;
980 align: 1.0 1.0;
981 text { font: "Sans"; size: 8;
982 align: 1.0 1.0;
983 min: 1 1;
984 text: "/";
985 }
986 }
987 }
988 part { name: "rage.length"; type: TEXT; mouse_events: 0;
989 clip_to: "posclip";
990 effect: GLOW;
991 scale: 1;
992 description { state: "default" 0.0;
993 fixed: 1 1;
994 rel1.to_y: "pos_next";
995 rel1.relative: 1.0 0.0;
996 rel1.offset: -6 -6;
997 rel2.to_y: "pos_next";
998 rel2.relative: 1.0 0.0;
999 rel2.offset: -6 -6;
1000 color: 255 255 255 255;
1001 color2: 51 153 255 128;
1002 color3: 51 153 255 20;
1003 align: 1.0 1.0;
1004 text { font: "Sans"; size: 8;
1005 align: 1.0 1.0;
1006 min: 1 1;
1007 }
1008 }
1009 }
1010
1011 part { name: "event"; type: RECT; repeat_events: 1;
1012 description { state: "default" 0.0;
1013 color: 0 0 0 0;
1014 }
1015 }
1016 program { name: "move1";
1017 signal: "mouse,move"; source: "event";
1018 script {
1019 new t;
1020
1021 if (!get_int(pos_visible)) {
1022 stop_program(PROGRAM:"poshide");
1023 run_program(PROGRAM:"posshow");
1024 set_int(pos_visible, 1);
1025 }
1026 t = get_int(pos_timer);
1027 if (t) cancel_timer(t);
1028 t = timer(5.0, "pos_timeout", 1);
1029 set_int(pos_timer, t);
1030 }
1031 }
1032 program { name: "posshow";
1033 action: STATE_SET "visible" 0.0;
1034 transition: SINUSOIDAL 0.3 CURRENT;
1035 target: "poscover";
1036 target: "posclip";
1037 }
1038 program { name: "poshide";
1039 action: STATE_SET "default" 0.0;
1040 transition: SINUSOIDAL 1.0 CURRENT;
1041 target: "poscover";
1042 target: "posclip";
1043 }
1044
1045 program {
1046 signal: "action,newvid"; source: "rage";
1047 action: SIGNAL_EMIT "mouse,move" "event";
1048 }
1049 program {
1050 signal: "action,rewind"; source: "rage";
1051 action: SIGNAL_EMIT "mouse,move" "event";
1052 }
1053 program {
1054 signal: "action,forward"; source: "rage";
1055 action: SIGNAL_EMIT "mouse,move" "event";
1056 }
1057 program {
1058 signal: "action,next"; source: "rage";
1059 action: SIGNAL_EMIT "mouse,move" "event";
1060 }
1061 program {
1062 signal: "action,prev"; source: "rage";
1063 action: SIGNAL_EMIT "mouse,move" "event";
1064 }
1065 program {
1066 signal: "action,play"; source: "rage";
1067 action: SIGNAL_EMIT "mouse,move" "event";
1068 }
1069 program {
1070 signal: "action,pause"; source: "rage";
1071 action: SIGNAL_EMIT "mouse,move" "event";
1072 }
1073 }
1074 }
1075}
diff --git a/data/themes/images/Makefile.am b/data/themes/images/Makefile.am
new file mode 100644
index 0000000..6ecd7bb
--- /dev/null
+++ b/data/themes/images/Makefile.am
@@ -0,0 +1,29 @@
1MAINTAINERCLEANFILES = Makefile.in
2EXTRA_DIST = \
3pm_fill.png \
4pm_overlay.png \
5pm_shadow.png \
6glow_exclam.png \
7icon_eject.png \
8icon_forward.png \
9icon_mute.png \
10icon_next.png \
11icon_pause.png \
12icon_play.png \
13icon_prev.png \
14icon_rewind.png \
15icon_stop.png \
16icon_volume.png \
17icon_refresh.png \
18icon_arrow_right.png \
19horizontal_separated_bar_small_glow.png \
20vgrad_shadow_bi.png \
21pos_indicator.png \
22icon_next2.png \
23icon_prev2.png \
24icon_play2.png \
25icon_pause2.png \
26icon_spanner.png \
27icon_spanner2.png \
28icon_volume2.png \
29pos_indicator_big.png
diff --git a/data/themes/images/glow_exclam.png b/data/themes/images/glow_exclam.png
new file mode 100644
index 0000000..088ccb8
--- /dev/null
+++ b/data/themes/images/glow_exclam.png
Binary files differ
diff --git a/data/themes/images/horizontal_separated_bar_small_glow.png b/data/themes/images/horizontal_separated_bar_small_glow.png
new file mode 100644
index 0000000..31ddfee
--- /dev/null
+++ b/data/themes/images/horizontal_separated_bar_small_glow.png
Binary files differ
diff --git a/data/themes/images/icon_arrow_right.png b/data/themes/images/icon_arrow_right.png
new file mode 100644
index 0000000..28d7399
--- /dev/null
+++ b/data/themes/images/icon_arrow_right.png
Binary files differ
diff --git a/data/themes/images/icon_eject.png b/data/themes/images/icon_eject.png
new file mode 100644
index 0000000..10c7c49
--- /dev/null
+++ b/data/themes/images/icon_eject.png
Binary files differ
diff --git a/data/themes/images/icon_forward.png b/data/themes/images/icon_forward.png
new file mode 100644
index 0000000..155984a
--- /dev/null
+++ b/data/themes/images/icon_forward.png
Binary files differ
diff --git a/data/themes/images/icon_mute.png b/data/themes/images/icon_mute.png
new file mode 100644
index 0000000..f242605
--- /dev/null
+++ b/data/themes/images/icon_mute.png
Binary files differ
diff --git a/data/themes/images/icon_next.png b/data/themes/images/icon_next.png
new file mode 100644
index 0000000..049ec4d
--- /dev/null
+++ b/data/themes/images/icon_next.png
Binary files differ
diff --git a/data/themes/images/icon_next2.png b/data/themes/images/icon_next2.png
new file mode 100644
index 0000000..1d79003
--- /dev/null
+++ b/data/themes/images/icon_next2.png
Binary files differ
diff --git a/data/themes/images/icon_pause.png b/data/themes/images/icon_pause.png
new file mode 100644
index 0000000..b5dbfee
--- /dev/null
+++ b/data/themes/images/icon_pause.png
Binary files differ
diff --git a/data/themes/images/icon_pause2.png b/data/themes/images/icon_pause2.png
new file mode 100644
index 0000000..74083d8
--- /dev/null
+++ b/data/themes/images/icon_pause2.png
Binary files differ
diff --git a/data/themes/images/icon_play.png b/data/themes/images/icon_play.png
new file mode 100644
index 0000000..b9b301c
--- /dev/null
+++ b/data/themes/images/icon_play.png
Binary files differ
diff --git a/data/themes/images/icon_play2.png b/data/themes/images/icon_play2.png
new file mode 100644
index 0000000..8798878
--- /dev/null
+++ b/data/themes/images/icon_play2.png
Binary files differ
diff --git a/data/themes/images/icon_prev.png b/data/themes/images/icon_prev.png
new file mode 100644
index 0000000..b486a37
--- /dev/null
+++ b/data/themes/images/icon_prev.png
Binary files differ
diff --git a/data/themes/images/icon_prev2.png b/data/themes/images/icon_prev2.png
new file mode 100644
index 0000000..bf5cb2f
--- /dev/null
+++ b/data/themes/images/icon_prev2.png
Binary files differ
diff --git a/data/themes/images/icon_refresh.png b/data/themes/images/icon_refresh.png
new file mode 100644
index 0000000..c84bd05
--- /dev/null
+++ b/data/themes/images/icon_refresh.png
Binary files differ
diff --git a/data/themes/images/icon_rewind.png b/data/themes/images/icon_rewind.png
new file mode 100644
index 0000000..2cf6b27
--- /dev/null
+++ b/data/themes/images/icon_rewind.png
Binary files differ
diff --git a/data/themes/images/icon_spanner.png b/data/themes/images/icon_spanner.png
new file mode 100644
index 0000000..6593f61
--- /dev/null
+++ b/data/themes/images/icon_spanner.png
Binary files differ
diff --git a/data/themes/images/icon_spanner2.png b/data/themes/images/icon_spanner2.png
new file mode 100644
index 0000000..d518d57
--- /dev/null
+++ b/data/themes/images/icon_spanner2.png
Binary files differ
diff --git a/data/themes/images/icon_stop.png b/data/themes/images/icon_stop.png
new file mode 100644
index 0000000..c229cd8
--- /dev/null
+++ b/data/themes/images/icon_stop.png
Binary files differ
diff --git a/data/themes/images/icon_volume.png b/data/themes/images/icon_volume.png
new file mode 100644
index 0000000..f9a12d1
--- /dev/null
+++ b/data/themes/images/icon_volume.png
Binary files differ
diff --git a/data/themes/images/icon_volume2.png b/data/themes/images/icon_volume2.png
new file mode 100644
index 0000000..c467570
--- /dev/null
+++ b/data/themes/images/icon_volume2.png
Binary files differ
diff --git a/data/themes/images/pm_fill.png b/data/themes/images/pm_fill.png
new file mode 100644
index 0000000..8ef098f
--- /dev/null
+++ b/data/themes/images/pm_fill.png
Binary files differ
diff --git a/data/themes/images/pm_overlay.png b/data/themes/images/pm_overlay.png
new file mode 100644
index 0000000..3c25c73
--- /dev/null
+++ b/data/themes/images/pm_overlay.png
Binary files differ
diff --git a/data/themes/images/pm_shadow.png b/data/themes/images/pm_shadow.png
new file mode 100644
index 0000000..cde4f73
--- /dev/null
+++ b/data/themes/images/pm_shadow.png
Binary files differ
diff --git a/data/themes/images/pos_indicator.png b/data/themes/images/pos_indicator.png
new file mode 100644
index 0000000..ec83095
--- /dev/null
+++ b/data/themes/images/pos_indicator.png
Binary files differ
diff --git a/data/themes/images/pos_indicator_big.png b/data/themes/images/pos_indicator_big.png
new file mode 100644
index 0000000..0a8e8f2
--- /dev/null
+++ b/data/themes/images/pos_indicator_big.png
Binary files differ
diff --git a/data/themes/images/vgrad_shadow_bi.png b/data/themes/images/vgrad_shadow_bi.png
new file mode 100644
index 0000000..3e24272
--- /dev/null
+++ b/data/themes/images/vgrad_shadow_bi.png
Binary files differ