diff options
author | Amitesh Singh <amitesh.sh@samsung.com> | 2018-04-11 18:12:09 +0900 |
---|---|---|
committer | Amitesh Singh <amitesh.sh@samsung.com> | 2018-04-11 20:00:21 +0900 |
commit | c567e1d2e57d9b0673110402f770f9a73ad70745 (patch) | |
tree | 9399f03e74b8cb9fb7fd2836a22856116f6734db | |
parent | d4a00636b246857e305fdb9a1cf714746a9f82c4 (diff) | |
download | efl-c567e1d2e57d9b0673110402f770f9a73ad70745.tar.gz |
theme: video - remove elm video inheritance
-rw-r--r-- | data/elementary/themes/edc/efl/video.edc | 46 |
1 files changed, 43 insertions, 3 deletions
diff --git a/data/elementary/themes/edc/efl/video.edc b/data/elementary/themes/edc/efl/video.edc index 3a2a658b06..1f943a8096 100644 --- a/data/elementary/themes/edc/efl/video.edc +++ b/data/elementary/themes/edc/efl/video.edc @@ -1,3 +1,43 @@ -group { "efl/video"; - inherit: "elm/video/base/default"; -} +group { name: "efl/video"; + parts { + part { name: "clipper"; type: RECT; + description { state: "default" 0.0; + color: 255 255 255 255; + } + description { state: "darker" 0.0; + color: 128 128 128 255; + } + } + part { name: "elm.swallow.video"; type: SWALLOW; mouse_events: 1; + clip_to: "clipper"; + description { state: "default" 0.0; + aspect: 1.0 1.0; aspect_preference: BOTH; + } + } + } + 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; + transition: SINUSOIDAL 0.2 CURRENT; + target: "clipper"; + } + program { + signal: "elm,video,end"; source: "elm"; + action: STATE_SET "darker" 0.0; + transition: SINUSOIDAL 0.5 CURRENT; + target: "clipper"; + } + program { + signal: "elm,video,pause"; source: "elm"; + action: STATE_SET "darker" 0.0; + transition: SINUSOIDAL 0.7 CURRENT; + target: "clipper"; + } + } +}
\ No newline at end of file |