summaryrefslogtreecommitdiff
path: root/src/tests/emotion
diff options
context:
space:
mode:
authordavemds <dave@gurumeditation.it>2014-02-16 16:00:20 +0100
committerdavemds <dave@gurumeditation.it>2014-02-16 18:27:10 +0100
commit5e493a0851780ca42393976e24ed57c80e4d2644 (patch)
tree9683a367273bbde31ee9d8181137c8655df4a053 /src/tests/emotion
parentdae8975c9906c7cebff048e8816eb3f1dfdd2998 (diff)
Emotion test: add the volume slider also to the Reflex group.
NOTE: do we really need to maintain 2 different groups for the reflex effect? The 2 groups differ only for the added reflection part. Isn't enough to show/hide the reflection part when requested?
Diffstat (limited to 'src/tests/emotion')
-rw-r--r--src/tests/emotion/data/theme.edc65
1 files changed, 58 insertions, 7 deletions
diff --git a/src/tests/emotion/data/theme.edc b/src/tests/emotion/data/theme.edc
index c4ba3acf81..717223268b 100644
--- a/src/tests/emotion/data/theme.edc
+++ b/src/tests/emotion/data/theme.edc
@@ -1070,11 +1070,13 @@ collections {
1070 // 1070 //
1071 // need txt parts: 1071 // need txt parts:
1072 // "video_alpha_txt" 1072 // "video_alpha_txt"
1073 // "video_volume_txt"
1073 // "video_progress_txt" 1074 // "video_progress_txt"
1074 // 1075 //
1075 // need dragables: 1076 // need dragables:
1076 // "video_progress" horizontal 1077 // "video_progress" horizontal
1077 // "video_alpha" vertical 1078 // "video_alpha" vertical
1079 // "video_volume" vertical
1078 part { name: "video_swallow"; mouse_events: 0; type: SWALLOW; 1080 part { name: "video_swallow"; mouse_events: 0; type: SWALLOW;
1079 description { state: "default" 0.0; 1081 description { state: "default" 0.0;
1080 rel1 { 1082 rel1 {
@@ -1198,23 +1200,35 @@ collections {
1198 part { name: "video_alpha_txt"; type: TEXT; mouse_events: 0; 1200 part { name: "video_alpha_txt"; type: TEXT; mouse_events: 0;
1199 description { state: "default" 0.0; 1201 description { state: "default" 0.0;
1200 rel1 { 1202 rel1 {
1201 to: "video_frame_bottom"; 1203 to: "video_frame_top";
1202 relative: 0.0 0.0;
1203 offset: 0 8;
1204 } 1204 }
1205 rel2 { 1205 rel2 {
1206 to: "video_frame_bottom"; 1206 to: "video_frame_top";
1207 relative: 1.0 1.0;
1208 offset: -1 -13;
1209 } 1207 }
1210 color: 0 0 0 255; 1208 color: 0 0 0 255;
1211 text { 1209 text {
1212 font: "Sans"; 1210 font: "Sans";
1213 size: 6; 1211 size: 8;
1214 align: 1.0 0.5; 1212 align: 1.0 0.5;
1215 }; 1213 };
1216 } 1214 }
1217 } 1215 }
1216 part { name: "video_volume_txt"; type: TEXT; mouse_events: 0;
1217 description { state: "default" 0.0;
1218 rel1 {
1219 to: "video_frame_top";
1220 }
1221 rel2 {
1222 to: "video_frame_top";
1223 }
1224 color: 0 0 0 255;
1225 text {
1226 font: "Sans";
1227 size: 8;
1228 align: 0.0 0.5;
1229 };
1230 }
1231 }
1218 part { name: "video_progress_confine"; mouse_events: 0; type: RECT; 1232 part { name: "video_progress_confine"; mouse_events: 0; type: RECT;
1219 description { state: "default" 0.0; 1233 description { state: "default" 0.0;
1220 fixed: 1 1; 1234 fixed: 1 1;
@@ -1313,6 +1327,43 @@ collections {
1313 } 1327 }
1314 } 1328 }
1315 } 1329 }
1330 part { name: "video_volume_confine"; mouse_events: 0; type: RECT;
1331 description { state: "default" 0.0;
1332 rel1 {
1333 to: "video_frame_left";
1334 offset: 10 24;
1335 }
1336 rel2 {
1337 to: "video_frame_left";
1338 offset: 0 -48;
1339 }
1340 color: 0 0 0 0;
1341 }
1342 }
1343 part { name: "video_volume"; mouse_events: 1;
1344 dragable {
1345 x: 0 0 0;
1346 y: -1 1 0;
1347 confine: "video_volume_confine";
1348 }
1349 description { state: "default" 0.0;
1350 fixed: 1 1;
1351 min: 24 24;
1352 rel1 {
1353 to: "video_volume_confine";
1354 relative: 0.5 0.5;
1355 offset: 0 0;
1356 }
1357 rel2 {
1358 to: "video_volume_confine";
1359 relative: 0.5 0.5;
1360 offset: 0 0;
1361 }
1362 image {
1363 normal: "knob.png";
1364 }
1365 }
1366 }
1316 part { name: "video_play"; mouse_events: 1; 1367 part { name: "video_play"; mouse_events: 1;
1317 description { state: "default" 0.0; 1368 description { state: "default" 0.0;
1318 fixed: 1 1; 1369 fixed: 1 1;