<theme name = "SND">
<!--
	Created by nale12
-->

<popup_style file_name="SND.tar.gz" />

<colors>
	<color1 default="#212121" opacity="92" />
	<color2 default="#BDBDBD" opacity="100" />
	<color3 default="#75FFF9" opacity="100" />
	<color4 default="#9C9C9C" opacity="100" />
</colors>

<pixmaps>
	<pixmap_from_file name="button1" file="button.png" />
	<pixmap_from_file name="button2" file="button2.png" />
	<pixmap_from_file name="button3" file="button3.png" />
	<pixmap_from_file name="button-a" file="button-active.png" />
	<pixmap_from_file name="button2-a" file="button2-active.png" />
	<pixmap_from_file name="button3-a" file="button3-active.png" />
	<pixmap_from_file name="launcherbutton" file="launcherbutton.png" />
	<pixmap_from_file name="button-a-h" file="button-active-h.png" />
	<pixmap_from_file name="button2-a-h" file="button2-active-h.png" />
	<pixmap_from_file name="button3-a-h" file="button3-active-h.png" />
	<pixmap_from_file name="launching" file="launching.png" />
	<pixmap_from_file name="launching2" file="launching2.png" />
	<pixmap_from_file name="launching3" file="launching3.png" />
	<pixmap_from_file name="launching-h" file="launching-h.png" />
	<pixmap_from_file name="launching-h-2" file="launching-h-2.png" />
	<pixmap_from_file name="launching-h-3" file="launching-h-3.png" />
	<pixmap_from_file name="mask" file="mask.png" />
</pixmaps>

<sets>
	<set name="as" left="90" right="90" up="0" down="0" />
</sets>

<button_pixmap gap = "5" aspect_ratio="3/2" aspect_ratio_v="3/2" windows_cnt="3">
	<get_icon size="-12" />
	<if type="all_minimized">
		<transp_sat opacity="100" saturation="100" />
	</if>
	<if type="some_minimized">
		<pixmap_from_self name="greyed">
			<transp_sat opacity="100" saturation="100" />
		</pixmap_from_self>
		<combine degrees="90" pix1="self" pix2="greyed" />
	</if>	
	<correct_size />
	<if type="!launcher">
	<if type="!mouse_over">
	<if type="!launching">
		<if windows="1">
			<if type="!active">
				<composite bg="button1" fg="self" />
			</if>
			<if type="active">
				<composite bg="button-a" fg="self" />
			</if>
		</if>
		<if windows="2">
			<if type="!active">
				<composite bg="button2" fg="self" xoffset="-2" />
			</if>
			<if type="active">
				<composite bg="button2-a" fg="self" xoffset="-2"/>
			</if>
		</if>
		<if windows="3">
			<if type="!active">
				<composite bg="button3" fg="self" xoffset="-3" />
			</if>
			<if type="active">
				<composite bg="button3-a" fg="self" xoffset="-3"/>
			</if>
		</if>
	</if>
	</if>
	</if>
	<if type="mouse_over">
		<if type="launching">
			<if windows="0">
				<composite bg="launching-h" fg="self" />
			</if>
			<if windows="1">
				<composite bg="launching-h-2" fg="self" />
			</if>
			<if windows="2:">
				<composite bg="launching-h-3" fg="self" />
			</if>
		</if>	
		<if type="launcher">
			<pixmap name="lb">
				<clear />
				<composite bg="self" fg="launcherbutton" angle="as" />
			</pixmap>
			<composite bg="lb" fg="self" />
		</if>
		<if type="!launcher">
		<if type="!launching">
			<if windows="1">
				<composite bg="button-a-h" fg="self" />
			</if>
			<if windows="2">
				<composite bg="button2-a-h" fg="self" xoffset="-2"/>
			</if>
			<if windows="3">
				<composite bg="button3-a-h" fg="self" xoffset="-3"/>
			</if>
		</if>
		</if>
	</if>
	<if type="launching">
			<if windows="0">
				<composite bg="launching" fg="self" />
			</if>
			<if windows="1">
				<composite bg="launching2" fg="self" xoffset="-2"/>
			</if>
			<if windows="2:">
				<composite bg="launching3" fg="self" xoffset="-3"/>
			</if>
	</if>	
	<if type="blink">
		<pixmap name="red">
			<fill color="#FF0000" opacity="80" />
			<alpha_mask mask="mask" />
		</pixmap>
		<composite bg="red" fg="self" />
	</if>
	<if type="needs_attention">
		<pixmap name="red">
			<fill color="#FF0000" opacity="80" />
			<alpha_mask mask="mask" />
		</pixmap>
		<composite bg="red" fg="self" />
	</if>
</button_pixmap>
</theme>
