summaryrefslogtreecommitdiff
path: root/data/themes
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-02-16 14:33:14 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-02-16 14:33:14 +0900
commit06cfbb082cb66626aeef127011d04c965c1d3d5f (patch)
tree35208d3b405887da0e1063c9211e002956795357 /data/themes
parent571be6a89a4494937d8a357b52cac5d2cebf66a9 (diff)
add vidual video list selector
this allows you to see the video playlisty live, select items from it, scroll around and have full live paying previews in the list
Diffstat (limited to 'data/themes')
-rw-r--r--data/themes/default.edc157
-rw-r--r--data/themes/images/Makefile.am4
-rw-r--r--data/themes/images/win_glow.pngbin0 -> 604 bytes
-rw-r--r--data/themes/images/win_shadow.pngbin0 -> 501 bytes
4 files changed, 160 insertions, 1 deletions
diff --git a/data/themes/default.edc b/data/themes/default.edc
index f7af145..bc8d870 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -240,6 +240,35 @@ collections {
240 } 240 }
241 } 241 }
242 242
243 part { name: "rage.list"; type: SWALLOW;
244 description { state: "default" 0.0;
245 align: 0.0 0.5;
246 rel1.relative: 1.0 0.0;
247 fixed: 1 1;
248 }
249 description { state: "visible" 0.0;
250 inherit: "default" 0.0;
251 align: 1.0 0.5;
252 visible: 1;
253 }
254 }
255 program {
256 signal: "list,state,visible"; source: "rage";
257 action: STATE_SET "visible" 0.0;
258 transition: DECELERATE 0.3;
259 target: "rage.list";
260 }
261 program {
262 signal: "list,state,hidden"; source: "rage";
263 action: STATE_SET "default" 0.0;
264 transition: ACCELERATE 0.5;
265 target: "rage.list";
266 after: "list_hidden";
267 }
268 program { name: "list_hidden";
269 action: SIGNAL_EMIT "list,state,hidden,finished" "rage";
270 }
271
243 part { name: "poscover"; mouse_events: 0; 272 part { name: "poscover"; mouse_events: 0;
244 scale: 1; 273 scale: 1;
245 description { state: "default" 0.0; 274 description { state: "default" 0.0;
@@ -1060,6 +1089,27 @@ collections {
1060 target: "posclip"; 1089 target: "posclip";
1061 } 1090 }
1062 1091
1092 part { name: "listevent"; type: RECT; repeat_events: 1;
1093 description { state: "default" 0.0;
1094 color: 0 0 0 0;
1095 rel1.relative: 0.8 0.0;
1096 }
1097 }
1098 part { name: "listevent2"; type: RECT; repeat_events: 1;
1099 description { state: "default" 0.0;
1100 color: 0 0 0 0;
1101 rel2.relative: 0.2 1.0;
1102 }
1103 }
1104 program {
1105 signal: "mouse,in"; source: "listevent";
1106 action: SIGNAL_EMIT "list,show" "rage";
1107 }
1108 program {
1109 signal: "mouse,in"; source: "listevent2";
1110 action: SIGNAL_EMIT "list,hide" "rage";
1111 }
1112
1063 program { 1113 program {
1064 signal: "action,newvid"; source: "rage"; 1114 signal: "action,newvid"; source: "rage";
1065 action: SIGNAL_EMIT "mouse,move" "event"; 1115 action: SIGNAL_EMIT "mouse,move" "event";
@@ -1090,4 +1140,111 @@ collections {
1090 } 1140 }
1091 } 1141 }
1092 } 1142 }
1143
1144 group { name: "rage/list/item";
1145 images.image: "win_shadow.png" COMP;
1146 images.image: "win_glow.png" COMP;
1147
1148 parts {
1149 part { name: "shadow"; mouse_events: 0;
1150 description { state: "default" 0.0;
1151 fixed: 1 1;
1152 rel1.to: "clip";
1153 rel2.to: "clip";
1154 image.normal: "win_shadow.png";
1155 image.border: 14 14 14 14;
1156 image.middle: 0;
1157 rel1.offset: -7 -3;
1158 rel2.offset: 6 11;
1159 fill.smooth: 0;
1160 }
1161 }
1162 part { name: "base"; type: RECT; mouse_events: 0;
1163 description { state: "default" 0.0;
1164 color: 32 32 32 255;
1165 rel1.to: "clip";
1166 rel2.to: "clip";
1167 }
1168 }
1169 part { name: "glow"; mouse_events: 0;
1170 description { state: "default" 0.0;
1171 image.normal: "win_glow.png";
1172 image.border: 9 9 9 9;
1173 image.middle: 0;
1174 rel1.to: "clip";
1175 rel1.offset: -5 -5;
1176 rel2.to: "clip";
1177 rel2.offset: 4 4;
1178 fill.smooth: 0;
1179 color: 255 255 255 0;
1180 visible: 0;
1181 }
1182 description { state: "selected" 0.0;
1183 inherit: "default" 0.0;
1184 color: 255 255 255 255;
1185 visible: 1;
1186 }
1187 }
1188 program {
1189 signal: "rage,state,selected"; source: "rage";
1190 action: STATE_SET "selected" 0.0;
1191 transition: SINUSOIDAL 0.1;
1192 target: "glow";
1193 }
1194 program {
1195 signal: "rage,state,unselected"; source: "rage";
1196 action: STATE_SET "default" 0.0;
1197 transition: SINUSOIDAL 0.3;
1198 target: "glow";
1199 }
1200
1201 part { name: "clip"; type: RECT;
1202 description { state: "default" 0.0;
1203 rel1.offset: 4 4;
1204 rel2.offset: -5 -5;
1205 }
1206 }
1207 part { name: "rage.sizer"; type: SWALLOW;
1208 description { state: "default" 0.0;
1209 min: 16 16;
1210 rel1.to: "clip";
1211 rel2.to: "clip";
1212 }
1213 }
1214 part { name: "rage.content"; type: SWALLOW;
1215 clip_to: "clip";
1216 description { state: "default" 0.0;
1217 rel1.to: "clip";
1218 rel2.to: "clip";
1219 }
1220 }
1221 part { name: "rage.title"; type: TEXT; mouse_events: 0;
1222 effect: GLOW;
1223 scale: 1;
1224 description { state: "default" 0.0;
1225 fixed: 1 1;
1226 align: 0.0 1.0;
1227 rel1.offset: 4 4;
1228 rel2.offset: -5 -5;
1229 color: 255 255 255 255;
1230 color2: 51 153 255 128;
1231 color3: 51 153 255 20;
1232 text { font: "Sans"; size: 8;
1233 align: 0.0 1.0;
1234 min: 0 1;
1235 }
1236 }
1237 }
1238 part { name: "event"; type: RECT;
1239 ignore_flags: ON_HOLD;
1240 description { state: "default" 0.0;
1241 color: 0 0 0 0;
1242 }
1243 }
1244 program {
1245 signal: "mouse,clicked,1"; source: "event";
1246 action: SIGNAL_EMIT "rage,selected" "rage";
1247 }
1248 }
1249 }
1093} 1250}
diff --git a/data/themes/images/Makefile.am b/data/themes/images/Makefile.am
index dd6357c..dfa56ff 100644
--- a/data/themes/images/Makefile.am
+++ b/data/themes/images/Makefile.am
@@ -28,4 +28,6 @@ icon_spanner2.png \
28icon_volume2.png \ 28icon_volume2.png \
29pos_indicator_big.png \ 29pos_indicator_big.png \
30bevel_dark_out.png \ 30bevel_dark_out.png \
31bg_bevel.png 31bg_bevel.png \
32win_glow.png \
33win_shadow.png
diff --git a/data/themes/images/win_glow.png b/data/themes/images/win_glow.png
new file mode 100644
index 0000000..d513f66
--- /dev/null
+++ b/data/themes/images/win_glow.png
Binary files differ
diff --git a/data/themes/images/win_shadow.png b/data/themes/images/win_shadow.png
new file mode 100644
index 0000000..98f158e
--- /dev/null
+++ b/data/themes/images/win_shadow.png
Binary files differ