summaryrefslogtreecommitdiff
path: root/animationsim.xml.in
blob: 5a18a9c54ade403ec588806baa0f9238ea41127f (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
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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
<compiz>
  <plugin name="animationsim">
    <_short>Simple Animations</_short>
    <_long>Animations that are simple on the eye</_long>
    <category>Effects</category>
    <deps>
	<requirement>
	    <plugin>animation</plugin>
	</requirement>
	<relation type="after">
	    <plugin>animation</plugin>
	</relation>
    </deps>
    <screen>

      <group>
	<_short>Effect Settings</_short>

	<subgroup>
	  <_short>Fly In</_short>
	  <option name="flyin_direction" type="int">
	    <_short>Fly In Direction</_short>
	    <_long>The direction in which the fly in should take place</_long>
	    <default>1</default>
	    <desc>
		<value>1</value>
		<name>Up</name>
	    </desc>
	    <desc>
		<value>2</value>
		<name>Left</name>
	    </desc>
	    <desc>
		<value>3</value>
		<name>Down</name>
	    </desc>
	    <desc>
		<value>4</value>
		<name>Right</name>
	    </desc>
	    <min>1</min>
	    <max>4</max>
	  </option>
	  <option name="flyin_fade" type="bool">
	    <_short>Fade</_short>
	    <_long>Fade when flying in</_long>
	    <default>True</default>
	  </option>
	  <option name="flyin_distance" type="float">
	    <_short>Distance</_short>
	    <_long>Distance to fly in</_long>
	    <default>20</default>
	    <min>5</min>
	    <max>1000</max>
	  </option>
	</subgroup>
	<subgroup>
	  <_short>Rotate In</_short>
	  <option name="rotatein_direction" type="int">
	    <_short>Rotate In Direction</_short>
	    <_long>The direction in which the window rotates</_long>
	    <default>3</default>
	    <desc>
		<value>1</value>
		<name>Up</name>
	    </desc>
	    <desc>
		<value>2</value>
		<name>Left</name>
	    </desc>
	    <desc>
		<value>3</value>
		<name>Down</name>
	    </desc>
	    <desc>
		<value>4</value>
		<name>Right</name>
	    </desc>
	    <min>1</min>
	    <max>4</max>
	  </option>
	  <option name="rotatein_angle" type="float">
	    <_short>Angle</_short>
	    <_long>Angle to start from</_long>
	    <default>90</default>
	    <min>-720</min>
	    <max>720</max>
	  </option>
	</subgroup>
	<subgroup>
	  <_short>Bounce</_short>
	  <option name="bounce_max_size" type="float">
	    <_short>Maximum Size</_short>
	    <_long>Maximum scale factor of window when bouncing</_long>
	    <default>1.2</default>
	    <min>1.0</min>
	    <max>3.0</max>
	  </option>
	  <option name="bounce_min_size" type="float">
	    <_short>Minimum Size</_short>
	    <_long>Minimum scale factor of window when bouncing</_long>
	    <default>0.6</default>
	    <min>0.1</min>
	    <max>1.0</max>
	  </option>
	  <option name="bounce_number" type="int">
	    <_short>Number of Bounces</_short>
	    <_long>How many bounces during the animation</_long>
	    <default>3</default>
	    <min>0</min>
	    <max>10</max>
	  </option>
	  <option name="bounce_fade" type="bool">
	    <_short>Fade</_short>
	    <_long>Fade when flying in</_long>
	    <default>True</default>
	  </option>
	</subgroup>
	<subgroup>
	  <_short>Sheet</_short>
	  <option name="sheet_start_percent" type="float">
	    <_short>Starting Percent</_short>
	    <_long>How wide the begginning of the sheet animation should be compared to the end</_long>
	    <default>80.0</default>
	    <min>1.0</min>
	    <max>150.0</max>
	  </option>
	</subgroup>

      </group>

    </screen>

    <extension base_plugin="animation">
      <base_option>open_effects</base_option>
      <base_option>open_random_effects</base_option>
      <base_option>close_effects</base_option>
      <base_option>close_random_effects</base_option>
      <restriction>
	<value>animationsim:Fly In</value>
	<_name>Fly In</_name>
      </restriction>
      <restriction>
	<value>animationsim:Bounce</value>
	<_name>Bounce</_name>
      </restriction>
      <restriction>
	<value>animationsim:Rotate In</value>
	<_name>Rotate In</_name>
      </restriction>
      <restriction>
	<value>animationsim:Sheet</value>
	<_name>Sheet</_name>
      </restriction>
      <restriction>
	<value>animationsim:Expand</value>
	<_name>Expand</_name>
      </restriction>
    </extension>
      
  </plugin>
</compiz>