aboutsummaryrefslogtreecommitdiffstats
path: root/data/themes/default.edc
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2011-06-30 17:18:13 +0000
committerCedric BAIL <cedric.bail@free.fr>2011-06-30 17:18:13 +0000
commit1c8c89dbc60c5c4f6f620cd7f7e9070b364a1400 (patch)
tree5153351ea557160750132468eb7228a5ec3e62fd /data/themes/default.edc
parentelm edje_externals: Applied hoversel/slider elm_xxx_label_get/set API changes. (diff)
downloadelementary-1c8c89dbc60c5c4f6f620cd7f7e9070b364a1400.tar.gz
elementary: add higger level elm_video object.
SVN revision: 60877
Diffstat (limited to 'data/themes/default.edc')
-rw-r--r--data/themes/default.edc63
1 files changed, 63 insertions, 0 deletions
diff --git a/data/themes/default.edc b/data/themes/default.edc
index e2f547135..ff45ea2ca 100644
--- a/data/themes/default.edc
+++ b/data/themes/default.edc
@@ -36504,4 +36504,67 @@ collections {
}
}
}
+
+ group {
+ name: "elm/video/base/default";
+
+ parts {
+ part {
+ name: "clipper";
+ type: RECT;
+
+ description {
+ color: 255 255 255 255;
+ }
+ description {
+ state: darker 0.0;
+ color: 128 128 128 255;
+ }
+ }
+ part {
+ name: "elm.swallow.video";
+ type: SWALLOW;
+
+ clip_to: "clipper";
+ mouse_events: 0;
+
+ description {
+ aspect_preference: BOTH;
+ aspect: 1 1;
+ }
+ }
+ }
+
+ programs {
+ program {
+ signal: "elm,video,load";
+ source: "elm";
+
+ action: STATE_SET darker 0.0;
+ target: clipper;
+ }
+ program {
+ signal: "elm,video,play";
+ source: "elm";
+
+ action: STATE_SET default 0.0;
+ target: clipper;
+ }
+ program {
+ signal: "elm,video,end";
+ source: "elm";
+
+ action: STATE_SET darker 0.0;
+ target: clipper;
+ transition: LINEAR 0.5;
+ }
+ program {
+ signal: "elm,video,pause";
+ source: "elm";
+
+ action: STATE_SET darker 0.0;
+ target: clipper;
+ }
+ }
+ }
}