summaryrefslogtreecommitdiff
path: root/data/themes
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-15 21:27:23 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-08-15 21:27:23 +0900
commitb32afb8c55d89d51b2a2603b8f70a7f182dc39e1 (patch)
treef211aefdfcbc49ccda68f683131b09abe8296cf1 /data/themes
parent6bab1a533b68e78e470db71060b1648ac6a34d77 (diff)
make theme a bit nicer for video mode and file list
Diffstat (limited to 'data/themes')
-rw-r--r--data/themes/default.edc87
-rw-r--r--data/themes/images/Makefile.mk3
-rw-r--r--data/themes/images/vgrad-dark-inv-trans.pngbin0 -> 4246 bytes
3 files changed, 58 insertions, 32 deletions
diff --git a/data/themes/default.edc b/data/themes/default.edc
index bdf2ab8..f1a3a65 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -35,6 +35,7 @@ collections {
35 images.image: "bg_glint.png" COMP; 35 images.image: "bg_glint.png" COMP;
36 36
37 images.image: "vgrad-dark-inv.png" COMP; 37 images.image: "vgrad-dark-inv.png" COMP;
38 images.image: "vgrad-dark-inv-trans.png" COMP;
38 images.image: "posglow.png" COMP; 39 images.image: "posglow.png" COMP;
39 40
40 images.image: "speaker-base.png" COMP; 41 images.image: "speaker-base.png" COMP;
@@ -237,9 +238,17 @@ collections {
237 description { state: "default" 0.0; 238 description { state: "default" 0.0;
238 } 239 }
239 } 240 }
240 part { name: "controlbar_shadow"; mouse_events: 0; 241
242 part { name: "controlbar_shadow_clip"; type: RECT;
241 clip_to: "controlbar_clip"; 243 clip_to: "controlbar_clip";
242 description { state: "default" 0.0; 244 description { state: "default" 0.0;
245 rel2.relative: 1.0 0.0;
246 rel2.to_y: "controlbar";
247 }
248 }
249 part { name: "controlbar_shadow"; mouse_events: 0;
250 clip_to: "controlbar_shadow_clip";
251 description { state: "default" 0.0;
243 fixed: 1 1; 252 fixed: 1 1;
244 rel1.to: "controlbar"; 253 rel1.to: "controlbar";
245 rel2.to: "controlbar"; 254 rel2.to: "controlbar";
@@ -466,6 +475,37 @@ collections {
466 } 475 }
467 } 476 }
468 477
478 part { name: "rage.list"; type: SWALLOW;
479 description { state: "default" 0.0;
480 align: 0.0 0.5;
481 rel1.relative: 1.0 0.0;
482 rel2.relative: 1.0 0.0;
483 rel2.to_y: "controlbar";
484 fixed: 1 1;
485 }
486 description { state: "visible" 0.0;
487 inherit: "default" 0.0;
488 align: 1.0 0.5;
489 visible: 1;
490 }
491 }
492 program {
493 signal: "list,state,visible"; source: "rage";
494 action: STATE_SET "visible" 0.0;
495 transition: DECELERATE 0.3;
496 target: "rage.list";
497 }
498 program {
499 signal: "list,state,hidden"; source: "rage";
500 action: STATE_SET "default" 0.0;
501 transition: ACCELERATE 0.5;
502 target: "rage.list";
503 after: "list_hidden";
504 }
505 program { name: "list_hidden";
506 action: SIGNAL_EMIT "list,state,hidden,finished" "rage";
507 }
508
469 part { name: "controlbar_clip"; type: RECT; 509 part { name: "controlbar_clip"; type: RECT;
470 description { state: "default" 0.0; 510 description { state: "default" 0.0;
471 color: 255 255 255 0; 511 color: 255 255 255 0;
@@ -479,7 +519,7 @@ collections {
479 part { name: "controlbar"; mouse_events: 0; 519 part { name: "controlbar"; mouse_events: 0;
480 clip_to: "controlbar_clip"; 520 clip_to: "controlbar_clip";
481 description { state: "default" 0.0; 521 description { state: "default" 0.0;
482 image.normal: "vgrad-dark-inv.png"; 522 image.normal: "vgrad-dark-inv-trans.png";
483 fill { 523 fill {
484 smooth: 0; 524 smooth: 0;
485 size.relative: 0.0 1.0; 525 size.relative: 0.0 1.0;
@@ -487,6 +527,20 @@ collections {
487 } 527 }
488 rel1.to: "rage.pos.prev.swallow"; 528 rel1.to: "rage.pos.prev.swallow";
489 } 529 }
530 description { state: "novideo" 0.0;
531 inherit: "default" 0.0;
532 image.normal: "vgrad-dark-inv.png";
533 }
534 }
535 program {
536 signal: "state,novideo"; source: "rage";
537 action: STATE_SET "novideo" 0.0;
538 target: "controlbar";
539 }
540 program {
541 signal: "state,video"; source: "rage";
542 action: STATE_SET "default" 0.0;
543 target: "controlbar";
490 } 544 }
491 545
492 part { name: "posclip"; type: RECT; 546 part { name: "posclip"; type: RECT;
@@ -963,35 +1017,6 @@ collections {
963 } 1017 }
964 } 1018 }
965 1019
966 part { name: "rage.list"; type: SWALLOW;
967 description { state: "default" 0.0;
968 align: 0.0 0.5;
969 rel1.relative: 1.0 0.0;
970 fixed: 1 1;
971 }
972 description { state: "visible" 0.0;
973 inherit: "default" 0.0;
974 align: 1.0 0.5;
975 visible: 1;
976 }
977 }
978 program {
979 signal: "list,state,visible"; source: "rage";
980 action: STATE_SET "visible" 0.0;
981 transition: DECELERATE 0.3;
982 target: "rage.list";
983 }
984 program {
985 signal: "list,state,hidden"; source: "rage";
986 action: STATE_SET "default" 0.0;
987 transition: ACCELERATE 0.5;
988 target: "rage.list";
989 after: "list_hidden";
990 }
991 program { name: "list_hidden";
992 action: SIGNAL_EMIT "list,state,hidden,finished" "rage";
993 }
994
995#define STATE_FADE_PROG(_name) \ 1020#define STATE_FADE_PROG(_name) \
996 program { \ 1021 program { \
997 signal: "action,"_name; source: "rage"; \ 1022 signal: "action,"_name; source: "rage"; \
diff --git a/data/themes/images/Makefile.mk b/data/themes/images/Makefile.mk
index 8af6326..f29153e 100644
--- a/data/themes/images/Makefile.mk
+++ b/data/themes/images/Makefile.mk
@@ -47,6 +47,7 @@ data/themes/images/speaker-bevel-hi.png \
47data/themes/images/speaker-bevel-lo.png \ 47data/themes/images/speaker-bevel-lo.png \
48data/themes/images/speaker-over.png \ 48data/themes/images/speaker-over.png \
49data/themes/images/speaker-shadow.png \ 49data/themes/images/speaker-shadow.png \
50data/themes/images/vgrad-dark-inv.png 50data/themes/images/vgrad-dark-inv.png \
51data/themes/images/vgrad-dark-inv-trans.png
51 52
52EXTRA_DIST += $(THEME_IMGS) 53EXTRA_DIST += $(THEME_IMGS)
diff --git a/data/themes/images/vgrad-dark-inv-trans.png b/data/themes/images/vgrad-dark-inv-trans.png
new file mode 100644
index 0000000..571e7c3
--- /dev/null
+++ b/data/themes/images/vgrad-dark-inv-trans.png
Binary files differ