aboutsummaryrefslogtreecommitdiffstats
path: root/data/themes/edc/transitions.edc
blob: b385d0a88beafb6772aa4c6fff5dc6e8db736b35 (plain) (blame)
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
group { name: "e/transpreview/0";
   images.image: "img_example_1.png" LOSSY 92;
   parts {
      part { name: "clip"; type: RECT;
         description { state: "default" 0.0;
         }
      }
      part { name: "bg";
         clip_to: "clip";
         description {state: "default" 0.0;
            image.normal: "img_example_1.png";
            ASPECT_FILL((400/300))
         }
      }
   }
}

group { name: "e/transpreview/1";
   images.image: "img_example_2.png" LOSSY 92;
   parts {
      part { name: "clip"; type: RECT;
         description { state: "default" 0.0;
         }
      }
      part { name: "bg";
         clip_to: "clip";
         description {state: "default" 0.0;
            image.normal: "img_example_2.png";
            ASPECT_FILL((400/300))
         }
      }
   }
}

group { name: "e/transitions/crossfade";
   parts {
      part { name: "e.swallow.bg.old"; type: SWALLOW;
         description { state: "default" 0.0;
         }
      }
      part { name: "e.swallow.bg.new"; type: SWALLOW;
         clip_to: "bg_new_clip";
         description { state: "default" 0.0;
         }
      }
      part { name: "bg_new_clip"; type: RECT;
         description { state: "default" 0.0;
            color: 255 255 255 0;
         }
         description { state: "done" 0.0;
            inherit: "default" 0.0;
            color: 255 255 255 255;
         }
      }
   }
   programs {
      program {
         signal: "e,action,start"; source: "e";
         action: STATE_SET "done" 0.0;
         transition: SINUSOIDAL 1.0;
         target: "bg_new_clip";
         after: "go2";
      }
      program { name: "go2";
         action: SIGNAL_EMIT "e,state,done" "";
      }
   }
}

group { name: "e/transitions/vswipe";
   images.image: "vgrad_shadow_bi.png" COMP;
   parts {
      part { name: "e.swallow.bg.old"; type: SWALLOW;
         clip_to: "bg_prev_clip";
         description { state: "default" 0.0;
         }
      }
      part { name: "e.swallow.bg.new"; type: SWALLOW;
         clip_to: "bg_new_clip";
         description { state: "default" 0.0;
         }
      }
      part { name: "divideold";
         clip_to: "bg_prev_clip";
         description { state: "default" 0.0;
            image.normal: "vgrad_shadow_bi.png";
            rel1.to: "bg_prev_clip";
            rel1.relative: 0.0 0.0;
            rel2.to: "bg_prev_clip";
            rel2.relative: 1.0 0.0;
            min: 0 80;
            max: 99999 80;
            TILED_HORIZ(80)
         }
      }
      part { name: "dividenew";
         clip_to: "bg_new_clip";
         description { state: "default" 0.0;
            image.normal: "vgrad_shadow_bi.png";
            rel1.to: "bg_new_clip";
            rel1.relative: 0.0 1.0;
            rel2.to: "bg_new_clip";
            rel2.relative: 1.0 1.0;
            min: 0 80;
            max: 99999 80;
            TILED_HORIZ(80)
         }
      }
      part { name: "bg_prev_clip"; type: RECT;
         description { state: "default" 0.0;
            rel1.offset: 0 -40;
            rel2.offset: -1 39;
         }
         description { state: "done" 0.0;
            inherit: "default" 0.0;
            rel1.relative: 0.0 1.0;
            rel1.offset: 0 39;
         }
      }
      part { name: "bg_new_clip"; type: RECT;
         description { state: "default" 0.0;
            rel2.relative: 1.0 0.0;
            rel1.offset: 0 -40;
            rel2.offset: -1 -40;
         }
         description { state: "done" 0.0;
            inherit: "default" 0.0;
            rel2.relative: 1.0 1.0;
            rel2.offset: -1 39;
         }
      }
      programs {
         program {
            signal: "e,action,start"; source: "e";
            action: STATE_SET "done" 0.0;
            transition: SINUSOIDAL 1.0;
            target: "bg_new_clip";
            target: "bg_prev_clip";
            after: "go2";
         }
         program { name: "go2";
            action: SIGNAL_EMIT "e,state,done" "";
         }
      }
   }
}