elementary: add higger level elm_video object.
[framework/uifw/elementary.git] / data / themes / default.edc
index e2f5471..ff45ea2 100644 (file)
@@ -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;
+         }
+      }
+   }
 }