summaryrefslogtreecommitdiff
path: root/data/themes
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-07-20 23:38:02 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-07-20 23:38:02 +0900
commitf35241a1540b30c0a592f967f3db6cfd1ceca1c4 (patch)
treeed397ade8bd2d905c11b2ad858b892a9fa21013c /data/themes
parent8d941dc68e19fe15567a992844eac36a5f3e2e1b (diff)
rage - add (un)/fullscreen button/status gadget and close in fs mode
Diffstat (limited to 'data/themes')
-rw-r--r--data/themes/default.edc195
-rw-r--r--data/themes/images/Makefile.am9
-rw-r--r--data/themes/images/icon_close.pngbin0 -> 3939 bytes
-rw-r--r--data/themes/images/icon_close2.pngbin0 -> 4066 bytes
-rw-r--r--data/themes/images/icon_fullscreen.pngbin0 -> 3880 bytes
-rw-r--r--data/themes/images/icon_fullscreen2.pngbin0 -> 4093 bytes
-rw-r--r--data/themes/images/icon_unfullscreen.pngbin0 -> 4541 bytes
-rw-r--r--data/themes/images/icon_unfullscreen2.pngbin0 -> 4611 bytes
8 files changed, 203 insertions, 1 deletions
diff --git a/data/themes/default.edc b/data/themes/default.edc
index 50f602c..f3ea3e6 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -28,6 +28,9 @@ collections {
28 images.image: "icon_arrow_right.png" COMP; 28 images.image: "icon_arrow_right.png" COMP;
29 29
30 images.image: "icon_spanner.png" COMP; 30 images.image: "icon_spanner.png" COMP;
31 images.image: "icon_fullscreen.png" COMP;
32 images.image: "icon_unfullscreen.png" COMP;
33 images.image: "icon_close.png" COMP;
31 34
32 images.image: "horizontal_separated_bar_small_glow.png" COMP; 35 images.image: "horizontal_separated_bar_small_glow.png" COMP;
33 images.image: "vgrad_shadow_bi.png" COMP; 36 images.image: "vgrad_shadow_bi.png" COMP;
@@ -43,6 +46,9 @@ collections {
43 images.image: "icon_pause2.png" COMP; 46 images.image: "icon_pause2.png" COMP;
44 images.image: "icon_volume2.png" COMP; 47 images.image: "icon_volume2.png" COMP;
45 images.image: "icon_spanner2.png" COMP; 48 images.image: "icon_spanner2.png" COMP;
49 images.image: "icon_fullscreen2.png" COMP;
50 images.image: "icon_unfullscreen2.png" COMP;
51 images.image: "icon_close2.png" COMP;
46 52
47 images.image: "tv-bg.png" COMP; 53 images.image: "tv-bg.png" COMP;
48 images.image: "tv-over.png" COMP; 54 images.image: "tv-over.png" COMP;
@@ -698,6 +704,43 @@ collections {
698 scale: 1; 704 scale: 1;
699 description { state: "default" 0.0; 705 description { state: "default" 0.0;
700 fixed: 1 1; 706 fixed: 1 1;
707 rel1.relative: 0.0 0.0;
708 rel1.offset: -6 0;
709 rel1.to: "rage.win.fullscreen";
710 rel2.relative: 0.0 1.0;
711 rel2.offset: -6 -1;
712 rel2.to: "rage.win.fullscreen";
713 min: 20 20;
714 align: 1.0 0.0;
715 }
716 }
717 part { name: "rage.win.fullscreen"; type: SWALLOW;
718 scale: 1;
719 description { state: "default" 0.0;
720 fixed: 1 1;
721 rel1.relative: 0.0 0.0;
722 rel1.offset: -6 0;
723 rel1.to: "rage.win.close";
724 rel2.relative: 0.0 1.0;
725 rel2.offset: -6 -1;
726 rel2.to: "rage.win.close";
727 min: 20 20;
728 align: 1.0 0.0;
729 }
730 }
731 part { name: "rage.win.close"; type: SWALLOW;
732 scale: 1;
733 description { state: "default" 0.0;
734 fixed: 1 1;
735 rel1.relative: 1.0 0.0;
736 rel1.offset: 0 5;
737 rel2.relative: 1.0 0.0;
738 rel2.offset: 0 5;
739 min: 20 20;
740 align: 0.0 0.0;
741 }
742 description { state: "fullscreen" 0.0;
743 fixed: 1 1;
701 rel1.relative: 1.0 0.0; 744 rel1.relative: 1.0 0.0;
702 rel1.offset: -6 5; 745 rel1.offset: -6 5;
703 rel2.relative: 1.0 0.0; 746 rel2.relative: 1.0 0.0;
@@ -771,6 +814,144 @@ collections {
771 target: "vol"; 814 target: "vol";
772 } 815 }
773 816
817 part { name: "close";
818 scale: 1;
819 clip_to: "posclip";
820 description { state: "default" 0.0;
821 fixed: 1 1;
822 rel1.to: "rage.win.close";
823 rel2.to: "rage.win.close";
824 image.normal: "icon_close.png";
825 min: 20 20; max: 20 20;
826 }
827 description { state: "active" 0.0;
828 inherit: "default" 0.0;
829 image.normal: "icon_close2.png";
830 }
831 }
832 part { name: "closeev"; type: RECT;
833 description { state: "default" 0.0;
834 rel1.to: "rage.win.close";
835 rel2.to: "rage.win.close";
836 color: 0 0 0 0;
837 }
838 }
839 program {
840 signal: "mouse,down,1"; source: "closeev";
841 action: STATE_SET "active" 0.0;
842 target: "close";
843 }
844 program {
845 signal: "mouse,up,1"; source: "closeev";
846 action: STATE_SET "default" 0.0;
847 target: "close";
848 }
849
850 part { name: "fullscreenclip"; type: RECT;
851 clip_to: "posclip";
852 description { state: "default" 0.0;
853 rel1.to: "fullscreen";
854 rel2.to: "fullscreen";
855 visible: 1;
856 }
857 description { state: "fullscreen" 0.0;
858 inherit: "default" 0.0;
859 visible: 0;
860 }
861 }
862 part { name: "unfullscreenclip"; type: RECT;
863 clip_to: "posclip";
864 description { state: "default" 0.0;
865 rel1.to: "unfullscreen";
866 rel2.to: "unfullscreen";
867 visible: 0;
868 }
869 description { state: "fullscreen" 0.0;
870 inherit: "default" 0.0;
871 visible: 1;
872 }
873 }
874 program {
875 signal: "state,win,fullscreen"; source: "rage";
876 action: STATE_SET "fullscreen" 0.0;
877 target: "fullscreenclip";
878 target: "unfullscreenclip";
879 target: "rage.win.close";
880 }
881 program {
882 signal: "state,win,normal"; source: "rage";
883 action: STATE_SET "default" 0.0;
884 target: "fullscreenclip";
885 target: "unfullscreenclip";
886 target: "rage.win.close";
887 }
888 part { name: "fullscreen";
889 scale: 1;
890 clip_to: "fullscreenclip";
891 description { state: "default" 0.0;
892 fixed: 1 1;
893 rel1.to: "rage.win.fullscreen";
894 rel2.to: "rage.win.fullscreen";
895 image.normal: "icon_fullscreen.png";
896 min: 20 20; max: 20 20;
897 }
898 description { state: "active" 0.0;
899 inherit: "default" 0.0;
900 image.normal: "icon_fullscreen2.png";
901 }
902 }
903 part { name: "fullscreenev"; type: RECT;
904 clip_to: "fullscreenclip";
905 description { state: "default" 0.0;
906 rel1.to: "rage.win.fullscreen";
907 rel2.to: "rage.win.fullscreen";
908 color: 0 0 0 0;
909 }
910 }
911 program {
912 signal: "mouse,down,1"; source: "fullscreenev";
913 action: STATE_SET "active" 0.0;
914 target: "fullscreen";
915 }
916 program {
917 signal: "mouse,up,1"; source: "fullscreenev";
918 action: STATE_SET "default" 0.0;
919 target: "fullscreen";
920 }
921 part { name: "unfullscreen";
922 scale: 1;
923 clip_to: "unfullscreenclip";
924 description { state: "default" 0.0;
925 fixed: 1 1;
926 rel1.to: "rage.win.fullscreen";
927 rel2.to: "rage.win.fullscreen";
928 image.normal: "icon_unfullscreen.png";
929 min: 20 20; max: 20 20;
930 }
931 description { state: "active" 0.0;
932 inherit: "default" 0.0;
933 image.normal: "icon_unfullscreen2.png";
934 }
935 }
936 part { name: "unfullscreenev"; type: RECT;
937 clip_to: "unfullscreenclip";
938 description { state: "default" 0.0;
939 rel1.to: "rage.win.fullscreen";
940 rel2.to: "rage.win.fullscreen";
941 color: 0 0 0 0;
942 }
943 }
944 program {
945 signal: "mouse,down,1"; source: "unfullscreenev";
946 action: STATE_SET "active" 0.0;
947 target: "unfullscreen";
948 }
949 program {
950 signal: "mouse,up,1"; source: "unfullscreenev";
951 action: STATE_SET "default" 0.0;
952 target: "unfullscreen";
953 }
954
774 part { name: "opt"; 955 part { name: "opt";
775 scale: 1; 956 scale: 1;
776 clip_to: "posclip"; 957 clip_to: "posclip";
@@ -975,6 +1156,20 @@ collections {
975 } 1156 }
976 1157
977 program { 1158 program {
1159 signal: "mouse,clicked,1"; source: "fullscreenev";
1160 action: SIGNAL_EMIT "win,fullscreen" "rage";
1161 }
1162 program {
1163 signal: "mouse,clicked,1"; source: "unfullscreenev";
1164 action: SIGNAL_EMIT "win,unfullscreen" "rage";
1165 }
1166
1167 program {
1168 signal: "mouse,clicked,1"; source: "closeev";
1169 action: SIGNAL_EMIT "win,close" "rage";
1170 }
1171
1172 program {
978 signal: "mouse,clicked,1"; source: "pos_prevev"; 1173 signal: "mouse,clicked,1"; source: "pos_prevev";
979 action: SIGNAL_EMIT "pos,action,prev" "rage"; 1174 action: SIGNAL_EMIT "pos,action,prev" "rage";
980 } 1175 }
diff --git a/data/themes/images/Makefile.am b/data/themes/images/Makefile.am
index 7700642..2d10d85 100644
--- a/data/themes/images/Makefile.am
+++ b/data/themes/images/Makefile.am
@@ -39,5 +39,12 @@ r-0.png \
39r-1.png \ 39r-1.png \
40r-2.png \ 40r-2.png \
41r-3.png \ 41r-3.png \
42r-4.png 42r-4.png \
43icon_close.png \
44icon_close2.png \
45icon_fullscreen.png \
46icon_fullscreen2.png \
47icon_unfullscreen.png \
48icon_unfullscreen2.png
49
43 50
diff --git a/data/themes/images/icon_close.png b/data/themes/images/icon_close.png
new file mode 100644
index 0000000..717e15e
--- /dev/null
+++ b/data/themes/images/icon_close.png
Binary files differ
diff --git a/data/themes/images/icon_close2.png b/data/themes/images/icon_close2.png
new file mode 100644
index 0000000..1c2603f
--- /dev/null
+++ b/data/themes/images/icon_close2.png
Binary files differ
diff --git a/data/themes/images/icon_fullscreen.png b/data/themes/images/icon_fullscreen.png
new file mode 100644
index 0000000..cbdf390
--- /dev/null
+++ b/data/themes/images/icon_fullscreen.png
Binary files differ
diff --git a/data/themes/images/icon_fullscreen2.png b/data/themes/images/icon_fullscreen2.png
new file mode 100644
index 0000000..574ede1
--- /dev/null
+++ b/data/themes/images/icon_fullscreen2.png
Binary files differ
diff --git a/data/themes/images/icon_unfullscreen.png b/data/themes/images/icon_unfullscreen.png
new file mode 100644
index 0000000..03ea780
--- /dev/null
+++ b/data/themes/images/icon_unfullscreen.png
Binary files differ
diff --git a/data/themes/images/icon_unfullscreen2.png b/data/themes/images/icon_unfullscreen2.png
new file mode 100644
index 0000000..c3009e4
--- /dev/null
+++ b/data/themes/images/icon_unfullscreen2.png
Binary files differ