aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/elementary/data/themes/widgets/video.edc
blob: 628cbfecdf0ca66e6536d5dad47494dac01dd534 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
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: 1;
         repeat_events: 1;

         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";
      }
   }
}
/////////////////////////////////////////////////////////////////////////