diff options
Diffstat (limited to 'libraries/elementary/data/themes/widgets/video.edc')
-rw-r--r-- | libraries/elementary/data/themes/widgets/video.edc | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/libraries/elementary/data/themes/widgets/video.edc b/libraries/elementary/data/themes/widgets/video.edc new file mode 100644 index 0000000..628cbfe --- /dev/null +++ b/libraries/elementary/data/themes/widgets/video.edc | |||
@@ -0,0 +1,64 @@ | |||
1 | group { | ||
2 | name: "elm/video/base/default"; | ||
3 | |||
4 | parts { | ||
5 | part { | ||
6 | name: "clipper"; | ||
7 | type: RECT; | ||
8 | |||
9 | description { | ||
10 | color: 255 255 255 255; | ||
11 | } | ||
12 | description { | ||
13 | state: "darker" 0.0; | ||
14 | color: 128 128 128 255; | ||
15 | } | ||
16 | } | ||
17 | part { | ||
18 | name: "elm.swallow.video"; | ||
19 | type: SWALLOW; | ||
20 | |||
21 | clip_to: "clipper"; | ||
22 | mouse_events: 1; | ||
23 | repeat_events: 1; | ||
24 | |||
25 | description { | ||
26 | aspect_preference: BOTH; | ||
27 | aspect: 1 1; | ||
28 | } | ||
29 | } | ||
30 | } | ||
31 | |||
32 | programs { | ||
33 | program { | ||
34 | signal: "elm,video,load"; | ||
35 | source: "elm"; | ||
36 | |||
37 | action: STATE_SET "darker" 0.0; | ||
38 | target: "clipper"; | ||
39 | } | ||
40 | program { | ||
41 | signal: "elm,video,play"; | ||
42 | source: "elm"; | ||
43 | |||
44 | action: STATE_SET "default" 0.0; | ||
45 | target: "clipper"; | ||
46 | } | ||
47 | program { | ||
48 | signal: "elm,video,end"; | ||
49 | source: "elm"; | ||
50 | |||
51 | action: STATE_SET "darker" 0.0; | ||
52 | target: "clipper"; | ||
53 | transition: LINEAR 0.5; | ||
54 | } | ||
55 | program { | ||
56 | signal: "elm,video,pause"; | ||
57 | source: "elm"; | ||
58 | |||
59 | action: STATE_SET "darker" 0.0; | ||
60 | target: "clipper"; | ||
61 | } | ||
62 | } | ||
63 | } | ||
64 | ///////////////////////////////////////////////////////////////////////// | ||