<?xml version="1.0" encoding="UTF-8"?>
<compiz>
	<plugin name="cubeaddon" useBcop="true">
		<_short>Cube Reflection and Deformation</_short>
		<_long>Adds a reflection to the desktop cube and deformes it to a cylinder or sphere</_long>
		<category>Effects</category>
		<deps>
		<relation type="after">
			<plugin>composite</plugin>
			<plugin>opengl</plugin>
			<plugin>cube</plugin>
			<plugin>rotate</plugin>
			<plugin>imgpng</plugin>
			<plugin>imgsvg</plugin>
			<plugin>imgjpeg</plugin>
		</relation>
		<requirement>
			<plugin>opengl</plugin>
			<plugin>cube</plugin>
		</requirement>
		</deps>
		<options>
			<group>
				<_short>Cube Caps</_short>
				<subgroup>
					<_short>Bindings</_short>
					<option name="top_next_key" type="key">
						<_short>Next Top Image Key</_short>
						<_long>Advance to the next image on the top face of the cube.</_long>
						<passive_grab>false</passive_grab>
						<default>space</default>
					</option>
					<option name="top_next_button" type="button">
						<_short>Next Top Image Button</_short>
						<_long>Advance to the next image on the top face of the cube.</_long>
						<passive_grab>false</passive_grab>
					</option>
					<option name="top_prev_key" type="key">
						<_short>Previous Top Image Key</_short>
						<_long>Go back to the previous image on the top face of the cube.</_long>
						<passive_grab>false</passive_grab>
						<default>Backspace</default>
					</option>
					<option name="top_prev_button" type="button">
						<_short>Previous Top Image Button</_short>
						<_long>Go back to the previous image on the top face of the cube.</_long>
						<passive_grab>false</passive_grab>
					</option>
					<option name="bottom_next_key" type="key">
						<_short>Next Bottom Image Key</_short>
						<_long>Advance to the next image on the bottom face of the cube.</_long>
						<passive_grab>false</passive_grab>
					</option>
					<option name="bottom_next_button" type="button">
						<_short>Next Bottom Image Button</_short>
						<_long>Advance to the next image on the bottom face of the cube.</_long>
						<passive_grab>false</passive_grab>
					</option>
					<option name="bottom_prev_key" type="key">
						<_short>Previous Bottom Image Key</_short>
						<_long>Go back to the previous image on the bottom face of the cube.</_long>
						<passive_grab>false</passive_grab>
					</option>
					<option name="bottom_prev_button" type="button">
						<_short>Previous Bottom Image Button</_short>
						<_long>Go back to the previous image on the bottom face of the cube.</_long>
						<passive_grab>false</passive_grab>
					</option>
				</subgroup>
			</group>
			<group>
				<_short>Reflection</_short>
				<option name="reflection" type="bool">
					<_short>Enabled</_short>
					<_long>Render a reflective ground below the desktop cube.</_long>
					<default>true</default>
				</option>
				<option name="ground_color1" type="color">
					<_short>Ground Color (near)</_short>
					<_long>Color of the ground (near).</_long>
					<default>
						<red>0xb333</red>
						<green>0xb333</green>
						<blue>0xb333</blue>
						<alpha>0xcccc</alpha>
					</default>
				</option>
				<option name="ground_color2" type="color">
					<_short>Ground Color (far)</_short>
					<_long>Color of the ground (far).</_long>
					<default>
						<red>0xb333</red>
						<green>0xb333</green>
						<blue>0xb333</blue>
						<alpha>0x0000</alpha>
					</default>
				</option>
				<option name="ground_size" type="float">
					<_short>Reflection Ground Size</_short>
					<_long>Size of the ground the reflection is rendered on.</_long>
					<default>0.5</default>
					<min>0.0</min>
					<max>1.0</max>
					<precision>0.01</precision>
				</option>
				<option name="intensity" type="float">
					<_short>Intensity</_short>
					<_long>The intensity of the reflection.</_long>
					<default>0.4</default>
					<min>0.0</min>
					<max>1.0</max>
					<precision>0.01</precision>
				</option>
				<option name="auto_zoom" type="bool">
					<_short>Auto Zoom</_short>
					<_long>Zoom out automatically to make the cube fit the screen.</_long>
					<default>true</default>
				</option>
				<option name="zoom_manual_only" type="bool">
					<_short>Mouse Rotate Auto Zoom Only</_short>
					<_long>Zoom out automatically on mouse rotate only.</_long>
					<default>true</default>
				</option>
				<option name="mode" type="int">
					<_short>Reflection Mode</_short>
					<_long>The mode of the reflection.</_long>
					<default>0</default>
					<min>0</min>
					<max>3</max>
					<desc>
						<value>0</value>
						<_name>Jumpy</_name>
					</desc>
					<desc>
						<value>1</value>
						<_name>Jumpy reflection</_name>
					</desc>
					<desc>
						<value>2</value>
						<_name>Distance</_name>
					</desc>
					<desc>
						<value>3</value>
						<_name>Above</_name>
					</desc>
				</option>
			</group>
			<group>
				<_short>Deformation</_short>
				<option name="deformation" type="int">
					<_short>Deformation</_short>
					<_long>The deformation mode.</_long>
					<default>1</default>
					<min>0</min>
					<max>2</max>
					<desc>
						<value>0</value>
						<_name>None</_name>
					</desc>
					<desc>
						<value>1</value>
						<_name>Cylinder</_name>
					</desc>
					<desc>
						<value>2</value>
						<_name>Sphere</_name>
					</desc>
				</option>
				<option name="unfold_deformation" type="bool">
					<_short>Unfold Cube Deformation</_short>
					<_long>Apply the deformation in unfold cube mode.</_long>
					<default>true</default>
				</option>
				<option name="cylinder_manual_only" type="bool">
					<_short>Mouse Rotate Deformation Only</_short>
					<_long>Initiates cube cylinder deformation only if rotation is mouse driven.</_long>
					<default>false</default>
				</option>
				<subgroup>
					<_short>Sphere</_short>
					<option name="deform_caps" type="bool">
						<_short>Deform Caps</_short>
						<_long>Deform the cube caps also.</_long>
						<default>true</default>
					</option>
					<option name="sphere_aspect" type="float">
						<_short>Aspect Ratio</_short>
						<_long>The aspect ratio of the deformed cube.</_long>
						<min>0.0</min>
						<max>1.0</max>
						<precision>0.1</precision>
						<default>0.0</default>
					</option>
				</subgroup>
			</group>
			<group>
				<_short>Cube Caps</_short>
				<subgroup>
					<_short>Behaviour</_short>
					<option name="draw_top" type="bool">
						<_short>Draw Top Face</_short>
						<_long>Draw the top face of the cube.</_long>
						<default>true</default>
					</option>
					<option name="draw_bottom" type="bool">
						<_short>Draw Bottom Face</_short>
						<_long>Draw the bottom face of the cube.</_long>
						<default>true</default>
					</option>
					<option name="adjust_top" type="bool">
						<_short>Adjust Top Image</_short>
						<_long>Adjust the top face image to the rotation.</_long>
						<default>false</default>
					</option>
					<option name="adjust_bottom" type="bool">
						<_short>Adjust Bottom Image</_short>
						<_long>Adjust the bottom face image to the rotation.</_long>
						<default>false</default>
					</option>
					<option name="top_scale" type="bool">
						<_short>Scale Top Image</_short>
						<_long>Scale the image to cover the top face of cube.</_long>
						<default>true</default>
					</option>
					<option name="bottom_scale" type="bool">
						<_short>Scale Bottom Image</_short>
						<_long>Scale the image to cover the bottom face of cube.</_long>
						<default>true</default>
					</option>
					<option name="top_aspect" type="bool">
						<_short>Maintain Top Image Aspect Ratio</_short>
						<_long>Maintain top cap image aspect ratio.</_long>
						<default>true</default>
					</option>
					<option name="bottom_aspect" type="bool">
						<_short>Maintain Bottom Image Aspect Ratio</_short>
						<_long>Maintain bottom cap image aspect ratio.</_long>
						<default>true</default>
					</option>
					<option name="top_clamp" type="bool">
						<_short>Clamp Top Face Image To Border</_short>
						<_long>Clamp the top face image to the 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>
						<default>true</default>
					</option>
					<option name="bottom_clamp" type="bool">
						<_short>Clamp bottom face image to border</_short>
						<_long>Clamp the bottom face image to the 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>
						<default>true</default>
					</option>
				</subgroup>
				<subgroup>
					<_short>Top</_short>
					<option name="top_images" type="list">
						<_short>Image files</_short>
						<_long>List of .png and .svg files that should be rendered on the top face of the cube.</_long>
						<type>string</type>
						<hints>file;image;</hints>
						<default>
							<value>fusioncap.png</value>
						</default>
						<hints>file;image;</hints>
					</option>
				</subgroup>
				<subgroup>
					<_short>Bottom</_short>
					<option name="bottom_images" type="list">
						<_short>Image files</_short>
						<_long>List of .png and .svg files that should be rendered on the bottom face of the cube.</_long>
						<type>string</type>
						<hints>file;image;</hints>
						<default>
							<value>compizcap.png</value>
						</default>
						<hints>file;image;</hints>
					</option>
				</subgroup>
			</group>
		</options>
	</plugin>
</compiz>
