~compiz-team/compiz/compiz.remove-backward-compatibility-hacks

« back to all changes in this revision

Viewing changes to plugins/cubeaddon/cubeaddon.xml.in

  • Committer: smspillaz
  • Date: 2012-05-16 17:44:35 UTC
  • mfrom: (0.377.86 trunk)
  • Revision ID: sam.spilsbury@canonical.com-20120516174435-cbr8s1o1cmzt0cyt
MergeĀ lp:compiz-cubeaddon-plugin

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<compiz>
 
3
        <plugin name="cubeaddon" useBcop="true">
 
4
                <_short>Cube Reflection and Deformation</_short>
 
5
                <_long>Compiz cube reflection and deformation</_long>
 
6
                <category>Effects</category>
 
7
                <deps>
 
8
                <relation type="after">
 
9
                        <plugin>composite</plugin>
 
10
                        <plugin>opengl</plugin>
 
11
                        <plugin>cube</plugin>
 
12
                        <plugin>rotate</plugin>
 
13
                        <plugin>imgpng</plugin>
 
14
                        <plugin>imgsvg</plugin>
 
15
                        <plugin>imgjpeg</plugin>
 
16
                </relation>
 
17
                <requirement>
 
18
                        <plugin>opengl</plugin>
 
19
                        <plugin>cube</plugin>
 
20
                </requirement>
 
21
                </deps>
 
22
                <options>
 
23
                        <group>
 
24
                                <_short>Cube caps</_short>
 
25
                                <subgroup>
 
26
                                        <_short>Bindings</_short>
 
27
                                        <option name="top_next_key" type="key">
 
28
                                                <_short>Next top image</_short>
 
29
                                                <_long>Advance to next image for top face of the cube</_long>
 
30
                                                <passive_grab>false</passive_grab>
 
31
                                                <default>space</default>
 
32
                                        </option>
 
33
                                        <option name="top_next_button" type="button">
 
34
                                                <_short>Next top image</_short>
 
35
                                                <_long>Advance to next image for top face of the cube</_long>
 
36
                                                <passive_grab>false</passive_grab>
 
37
                                        </option>
 
38
                                        <option name="top_prev_key" type="key">
 
39
                                                <_short>Prev top image</_short>
 
40
                                                <_long>Go back to previous image for top face of the cube</_long>
 
41
                                                <passive_grab>false</passive_grab>
 
42
                                                <default>Backspace</default>
 
43
                                        </option>
 
44
                                        <option name="top_prev_button" type="button">
 
45
                                                <_short>Prev top image</_short>
 
46
                                                <_long>Go back to previous image for top face of the cube</_long>
 
47
                                                <passive_grab>false</passive_grab>
 
48
                                        </option>
 
49
                                        <option name="bottom_next_key" type="key">
 
50
                                                <_short>Next bottom image</_short>
 
51
                                                <_long>Advance to next image for bottom face of the cube</_long>
 
52
                                                <passive_grab>false</passive_grab>
 
53
                                        </option>
 
54
                                        <option name="bottom_next_button" type="button">
 
55
                                                <_short>Next bottom image</_short>
 
56
                                                <_long>Advance to next image for bottom face of the cube</_long>
 
57
                                                <passive_grab>false</passive_grab>
 
58
                                        </option>
 
59
                                        <option name="bottom_prev_key" type="key">
 
60
                                                <_short>Prev bottom image</_short>
 
61
                                                <_long>Go back to previous image for bottom face of the cube</_long>
 
62
                                                <passive_grab>false</passive_grab>
 
63
                                        </option>
 
64
                                        <option name="bottom_prev_button" type="button">
 
65
                                                <_short>Prev bottom image</_short>
 
66
                                                <_long>Go back to previous image for bottom face of the cube</_long>
 
67
                                                <passive_grab>false</passive_grab>
 
68
                                        </option>
 
69
                                </subgroup>
 
70
                        </group>
 
71
                        <group>
 
72
                                <_short>Reflection</_short>
 
73
                                <option name="reflection" type="bool">
 
74
                                        <_short>Enabled</_short>
 
75
                                        <_long>Give cube a reflective ground.</_long>
 
76
                                        <default>true</default>
 
77
                                </option>
 
78
                                <option name="ground_color1" type="color">
 
79
                                        <_short>Ground color(near)</_short>
 
80
                                        <_long>Color of the ground (near).</_long>
 
81
                                        <default>
 
82
                                                <red>0xb333</red>
 
83
                                                <green>0xb333</green>
 
84
                                                <blue>0xb333</blue>
 
85
                                                <alpha>0xcccc</alpha>
 
86
                                        </default>
 
87
                                </option>
 
88
                                <option name="ground_color2" type="color">
 
89
                                        <_short>Ground color(far)</_short>
 
90
                                        <_long>Color of the ground (far).</_long>
 
91
                                        <default>
 
92
                                                <red>0xb333</red>
 
93
                                                <green>0xb333</green>
 
94
                                                <blue>0xb333</blue>
 
95
                                                <alpha>0x0000</alpha>
 
96
                                        </default>
 
97
                                </option>
 
98
                                <option name="ground_size" type="float">
 
99
                                        <_short>Reflection ground size</_short>
 
100
                                        <_long>Reflection ground size.</_long>
 
101
                                        <default>0.5</default>
 
102
                                        <min>0.0</min>
 
103
                                        <max>1.0</max>
 
104
                                        <precision>0.01</precision>
 
105
                                </option>
 
106
                                <option name="intensity" type="float">
 
107
                                        <_short>Intensity</_short>
 
108
                                        <_long>Reflection intensity</_long>
 
109
                                        <default>0.4</default>
 
110
                                        <min>0.0</min>
 
111
                                        <max>1.0</max>
 
112
                                        <precision>0.01</precision>
 
113
                                </option>
 
114
                                <option name="auto_zoom" type="bool">
 
115
                                        <_short>Auto zoom</_short>
 
116
                                        <_long>Zoom out automatically to make the cube fit to the screen.</_long>
 
117
                                        <default>true</default>
 
118
                                </option>
 
119
                                <option name="zoom_manual_only" type="bool">
 
120
                                        <_short>Auto zoom only on Mouse Rotate</_short>
 
121
                                        <_long>Zoom out automatically only on mouse rotate.</_long>
 
122
                                        <default>true</default>
 
123
                                </option>
 
124
                                <option name="mode" type="int">
 
125
                                        <_short>Reflection mode</_short>
 
126
                                        <_long>Reflection mode.</_long>
 
127
                                        <default>0</default>
 
128
                                        <min>0</min>
 
129
                                        <max>3</max>
 
130
                                        <desc>
 
131
                                                <value>0</value>
 
132
                                                <_name>Jumpy</_name>
 
133
                                        </desc>
 
134
                                        <desc>
 
135
                                                <value>1</value>
 
136
                                                <_name>Jumpy reflection</_name>
 
137
                                        </desc>
 
138
                                        <desc>
 
139
                                                <value>2</value>
 
140
                                                <_name>Distance</_name>
 
141
                                        </desc>
 
142
                                        <desc>
 
143
                                                <value>3</value>
 
144
                                                <_name>Above</_name>
 
145
                                        </desc>
 
146
                                </option>
 
147
                        </group>
 
148
                        <group>
 
149
                                <_short>Deformation</_short>
 
150
                                <option name="deformation" type="int">
 
151
                                        <_short>Deformation</_short>
 
152
                                        <_long>Deformation mode.</_long>
 
153
                                        <default>1</default>
 
154
                                        <min>0</min>
 
155
                                        <max>2</max>
 
156
                                        <desc>
 
157
                                                <value>0</value>
 
158
                                                <_name>None</_name>
 
159
                                        </desc>
 
160
                                        <desc>
 
161
                                                <value>1</value>
 
162
                                                <_name>Cylinder</_name>
 
163
                                        </desc>
 
164
                                        <desc>
 
165
                                                <value>2</value>
 
166
                                                <_name>Sphere</_name>
 
167
                                        </desc>
 
168
                                </option>
 
169
                                <option name="unfold_deformation" type="bool">
 
170
                                        <_short>Unfold cube deformation</_short>
 
171
                                        <_long>Deformation in unfold cube mode.</_long>
 
172
                                        <default>true</default>
 
173
                                </option>
 
174
                                <option name="cylinder_manual_only" type="bool">
 
175
                                        <_short>Deform only on mouse rotate</_short>
 
176
                                        <_long>Initiates cube cylinder deformation only if rotation is mouse driven.</_long>
 
177
                                        <default>false</default>
 
178
                                </option>
 
179
                                <subgroup>
 
180
                                        <_short>Sphere</_short>
 
181
                                        <option name="deform_caps" type="bool">
 
182
                                                <_short>Deform caps</_short>
 
183
                                                <_long>Deform cube caps.</_long>
 
184
                                                <default>true</default>
 
185
                                        </option>
 
186
                                        <option name="sphere_aspect" type="float">
 
187
                                                <_short>Aspect ratio</_short>
 
188
                                                <_long>Aspect ratio of the deformed cube</_long>
 
189
                                                <min>0.0</min>
 
190
                                                <max>1.0</max>
 
191
                                                <precision>0.1</precision>
 
192
                                                <default>0.0</default>
 
193
                                        </option>
 
194
                                </subgroup>
 
195
                        </group>
 
196
                        <group>
 
197
                                <_short>Cube caps</_short>
 
198
                                <subgroup>
 
199
                                        <_short>Behaviour</_short>
 
200
                                        <option name="draw_top" type="bool">
 
201
                                                <_short>Draw top face</_short>
 
202
                                                <_long>Draw top face of the cube</_long>
 
203
                                                <default>true</default>
 
204
                                        </option>
 
205
                                        <option name="draw_bottom" type="bool">
 
206
                                                <_short>Draw bottom face</_short>
 
207
                                                <_long>Draw bottom face of the cube</_long>
 
208
                                                <default>true</default>
 
209
                                        </option>
 
210
                                        <option name="adjust_top" type="bool">
 
211
                                                <_short>Adjust top image</_short>
 
212
                                                <_long>Adjust top face image to rotation</_long>
 
213
                                                <default>false</default>
 
214
                                        </option>
 
215
                                        <option name="adjust_bottom" type="bool">
 
216
                                                <_short>Adjust bottom image</_short>
 
217
                                                <_long>Adjust bottom face image to rotation</_long>
 
218
                                                <default>false</default>
 
219
                                        </option>
 
220
                                        <option name="top_scale" type="bool">
 
221
                                                <_short>Scale top image</_short>
 
222
                                                <_long>Scale image to cover top face of cube</_long>
 
223
                                                <default>true</default>
 
224
                                        </option>
 
225
                                        <option name="bottom_scale" type="bool">
 
226
                                                <_short>Scale bottom image</_short>
 
227
                                                <_long>Scale image to cover bottom face of cube</_long>
 
228
                                                <default>true</default>
 
229
                                        </option>
 
230
                                        <option name="top_aspect" type="bool">
 
231
                                                <_short>Maintain top aspect ratio</_short>
 
232
                                                <_long>Maintain top cap image aspect ratio.</_long>
 
233
                                                <default>true</default>
 
234
                                        </option>
 
235
                                        <option name="bottom_aspect" type="bool">
 
236
                                                <_short>Maintain bottom aspect ratio</_short>
 
237
                                                <_long>Maintain bottom cap image aspect ratio.</_long>
 
238
                                                <default>true</default>
 
239
                                        </option>
 
240
                                        <option name="top_clamp" type="bool">
 
241
                                                <_short>Clamp top face image to border</_short>
 
242
                                                <_long>Clamp top face image to border. This is often the best if your image doesn't fit the size of the cube or if it's transparent. It can lead to some ugly dotted lines when enabled (especially with large enough images) though.</_long>
 
243
                                                <default>true</default>
 
244
                                        </option>
 
245
                                        <option name="bottom_clamp" type="bool">
 
246
                                                <_short>Clamp bottom face image to border</_short>
 
247
                                                <_long>Clamp bottom face image to border. This is often the best if your image doesn't fit the size of the cube or if it's transparent. It can lead to some ugly dotted lines when enabled (especially with large enough images) though.</_long>
 
248
                                                <default>true</default>
 
249
                                        </option>
 
250
                                </subgroup>
 
251
                                <subgroup>
 
252
                                        <_short>Top</_short>
 
253
                                        <option name="top_images" type="list">
 
254
                                                <_short>Image files</_short>
 
255
                                                <_long>List of PNG and SVG files that should be rendered on top face of cube</_long>
 
256
                                                <type>string</type>
 
257
                                                <hints>file;image;</hints>
 
258
                                                <default>
 
259
                                                        <value>fusioncap.png</value>
 
260
                                                </default>
 
261
                                                <hints>file;image;</hints>
 
262
                                        </option>
 
263
                                </subgroup>
 
264
                                <subgroup>
 
265
                                        <_short>Bottom</_short>
 
266
                                        <option name="bottom_images" type="list">
 
267
                                                <_short>Image files</_short>
 
268
                                                <_long>List of PNG and SVG files that should be rendered on bottom face of cube</_long>
 
269
                                                <type>string</type>
 
270
                                                <hints>file;image;</hints>
 
271
                                                <default>
 
272
                                                        <value>compizcap.png</value>
 
273
                                                </default>
 
274
                                                <hints>file;image;</hints>
 
275
                                        </option>
 
276
                                </subgroup>
 
277
                        </group>
 
278
                </options>
 
279
        </plugin>
 
280
</compiz>