aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-02-22 23:52:13 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-02-22 23:52:13 +0900
commitd6841583401a5f6b5c5b1c074815ea7e0ad7340a (patch)
tree6c7df1892d1d96a154a80fd98d69eb0dab831661 /data
parentprintf-- (diff)
downloadrage-d6841583401a5f6b5c5b1c074815ea7e0ad7340a.tar.gz
add about icon in place of options button for now.
Diffstat (limited to 'data')
-rw-r--r--data/themes/default.edc77
-rw-r--r--data/themes/images/Makefile.am10
-rw-r--r--data/themes/images/r-0.pngbin0 -> 2274 bytes
-rw-r--r--data/themes/images/r-1.pngbin0 -> 2492 bytes
-rw-r--r--data/themes/images/r-2.pngbin0 -> 2397 bytes
-rw-r--r--data/themes/images/r-3.pngbin0 -> 2411 bytes
-rw-r--r--data/themes/images/r-4.pngbin0 -> 2184 bytes
-rw-r--r--data/themes/images/tv-bg.pngbin0 -> 7824 bytes
-rw-r--r--data/themes/images/tv-over.pngbin0 -> 48121 bytes
9 files changed, 86 insertions, 1 deletions
diff --git a/data/themes/default.edc b/data/themes/default.edc
index d06e4e2..47d9590 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -44,6 +44,14 @@ collections {
images.image: "icon_volume2.png" COMP;
images.image: "icon_spanner2.png" COMP;
+ images.image: "tv-bg.png" COMP;
+ images.image: "tv-over.png" COMP;
+ images.image: "r-0.png" COMP;
+ images.image: "r-1.png" COMP;
+ images.image: "r-2.png" COMP;
+ images.image: "r-3.png" COMP;
+ images.image: "r-4.png" COMP;
+
script {
public pos_visible;
public pos_timer;
@@ -1138,6 +1146,75 @@ collections {
signal: "action,pause"; source: "rage";
action: SIGNAL_EMIT "mouse,move" "event";
}
+
+ part { name: "tv-bg";
+ clip_to: "tv-clip";
+ description { state: "default" 0.0;
+ rel1.to: "tv";
+ rel1.relative: (40/256) (120/256);
+ rel2.to: "tv";
+ rel2.relative: (174/256) (222/256);
+ image.normal: "tv-bg.png";
+ }
+ }
+ part { name: "tv-anim";
+ clip_to: "tv-clip";
+ description { state: "default" 0.0;
+ rel1.to: "tv-bg";
+ rel2.to: "tv-bg";
+ image.tween: "r-4.png";
+ image.tween: "r-3.png";
+ image.tween: "r-2.png";
+ image.tween: "r-1.png";
+ image.normal: "r-0.png";
+ }
+ }
+ part { name: "tv";
+ clip_to: "tv-clip";
+ description { state: "default" 0.0;
+ aspect: 1.0 1.0; aspect_preference: BOTH;
+ max: 256 256;
+ image.normal: "tv-over.png";
+ }
+ }
+ program {
+ signal: "mouse,clicked,1"; source: "tv";
+ action: SIGNAL_EMIT "about,hide" "rage";
+ }
+ part { name: "tv-clip"; type: RECT;
+ description { state: "default" 0.0;
+ visible: 0;
+ color: 255 255 255 0;
+ }
+ description { state: "visible" 0.0;
+ visible: 1;
+ color: 255 255 255 255;
+ }
+ }
+ program {
+ signal: "about,show"; source: "rage";
+ action: STATE_SET "visible" 0.0;
+ transition: SINUSOIDAL 0.5;
+ target: "tv-clip";
+ }
+ program {
+ signal: "about,hide"; source: "rage";
+ action: STATE_SET "default" 0.0;
+ transition: SINUSOIDAL 1.0;
+ target: "tv-clip";
+ after: "tv-hide2";
+ }
+ program { name: "tv-hide2";
+ action: ACTION_STOP;
+ target: "tv-anim";
+ }
+ program { name: "tv-anim";
+ signal: "about,show"; source: "rage";
+ action: STATE_SET "default" 0.0;
+ transition: LINEAR 0.5;
+ target: "tv-anim";
+ after: "tv-anim";
+ }
}
}
diff --git a/data/themes/images/Makefile.am b/data/themes/images/Makefile.am
index ddf0fed..7700642 100644
--- a/data/themes/images/Makefile.am
+++ b/data/themes/images/Makefile.am
@@ -32,4 +32,12 @@ bg_bevel.png \
win_glow.png \
win_shadow.png \
bg_glint.png \
-bg_shine.png
+bg_shine.png \
+tv-bg.png \
+tv-over.png \
+r-0.png \
+r-1.png \
+r-2.png \
+r-3.png \
+r-4.png
+
diff --git a/data/themes/images/r-0.png b/data/themes/images/r-0.png
new file mode 100644
index 0000000..df7cef7
--- /dev/null
+++ b/data/themes/images/r-0.png
Binary files differ
diff --git a/data/themes/images/r-1.png b/data/themes/images/r-1.png
new file mode 100644
index 0000000..2a887a2
--- /dev/null
+++ b/data/themes/images/r-1.png
Binary files differ
diff --git a/data/themes/images/r-2.png b/data/themes/images/r-2.png
new file mode 100644
index 0000000..e8b6ad7
--- /dev/null
+++ b/data/themes/images/r-2.png
Binary files differ
diff --git a/data/themes/images/r-3.png b/data/themes/images/r-3.png
new file mode 100644
index 0000000..f98f46d
--- /dev/null
+++ b/data/themes/images/r-3.png
Binary files differ
diff --git a/data/themes/images/r-4.png b/data/themes/images/r-4.png
new file mode 100644
index 0000000..50623f0
--- /dev/null
+++ b/data/themes/images/r-4.png
Binary files differ
diff --git a/data/themes/images/tv-bg.png b/data/themes/images/tv-bg.png
new file mode 100644
index 0000000..96157fe
--- /dev/null
+++ b/data/themes/images/tv-bg.png
Binary files differ
diff --git a/data/themes/images/tv-over.png b/data/themes/images/tv-over.png
new file mode 100644
index 0000000..5887bb0
--- /dev/null
+++ b/data/themes/images/tv-over.png
Binary files differ