<theme name = "EOW">
<!--
	Created by nale12
-->
<popup_style file_name="EOW.tar.gz" />
<colors>
	<color1 default="#000000" opacity="50" />
	<color2 default="#ffffff" opacity="80" />
	<color3 default="#00FFFA" opacity="50" />
	<color4 default="#ffffff" opacity="50" />
	<color5 name="Not used" default="#000000" opacity="no" />
</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="launching" file="launching.png" />
	<pixmap_from_file name="launching2" file="launching2.png" />
	<pixmap_from_file name="launching3" file="launching3.png" />
	<pixmap_from_file name="launcher" file="launcher.png" />
	<pixmap_from_file name="mask" file="mask.png" />
</pixmaps>

<button_pixmap gap = "0" aspect_ratio="1" windows_cnt="3">

	<if size="49:">
		<get_icon size="-18" />
	</if>
	<if size="39:48">
		<get_icon size="-15" />
	</if>
	<if size="32:38">
		<get_icon size="-12" />
	</if>
	<if size=":31">
		<get_icon size="-9" />
	</if>
	
	<!-- rotate icons here and the whole button the other way in the end -->
	<if orient="left">
		<rotate angle="-90"/>
	</if>
	<if orient="right">
		<rotate angle="90"/>
	</if>
	<if orient="up">
		<rotate angle="180"/>
	</if>

	<transp_sat opacity="50" />
	<correct_size />
	<if type="!launcher">
	<if type="!mouse_over">
	<if type="!launching">
		<if windows="1">
			<if type="!active">
				<composite bg="button1" fg="self" yoffset="1" />
			</if>
			<if type="active">
				<composite bg="button-a" fg="self" yoffset="1" />
			</if>
		</if>
		<if windows="2">
			<if type="!active">
				<composite bg="button2" fg="self" yoffset="1" />
			</if>
			<if type="active">
				<composite bg="button2-a" fg="self" yoffset="1"/>
			</if>
		</if>
		<if windows="3">
			<if type="!active">
				<composite bg="button3" fg="self" yoffset="1" />
			</if>
			<if type="active">
				<composite bg="button3-a" fg="self" yoffset="1" />
			</if>
		</if>
	</if>
	</if>
	</if>
	<if type="mouse_over">
		<if type="launching">
			<bright strength="70" />
		</if>	
		<if type="launcher">
			<bright strength="70" />
		</if>
		<if type="!launcher">
		<if type="!launching">
			<bright strength="70" />
			<if windows="1">
				<if type="!active">
					<composite bg="button1" fg="self" yoffset="1"/>
				</if>
				<if type="active">
					<composite bg="button-a" fg="self" yoffset="1"/>
				</if>
			</if>
			<if windows="2">
				<if type="!active">
					<composite bg="button2" fg="self" yoffset="1" />
				</if>
				<if type="active">
					<composite bg="button2-a" fg="self" yoffset="1"/>
				</if>
			</if>
			<if windows="3">
				<if type="!active">
					<composite bg="button3" fg="self" yoffset="1" />
				</if>
				<if type="active">
					<composite bg="button3-a" fg="self" yoffset="1"/>
				</if>
			</if>
		</if>
		</if>
	</if>
	<if type="launching">
			<if windows="0">
				<composite bg="launching" fg="self" yoffset="1"/>
			</if>
			<if windows="1">
				<composite bg="launching2" fg="self" yoffset="1"/>
			</if>
			<if windows="2:">
				<composite bg="launching3" fg="self" yoffset="1"/>
			</if>
	</if>
	<if type="!launching">
	<if type="launcher">
		<composite bg="launcher" fg="self" yoffset="1"/>
	</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>

	<!-- rotate the button -->
	<if orient="left">
		<rotate angle="90" />
	</if>
	<if orient="right">
		<rotate angle="-90" />
	</if>
	<if orient="up">
		<rotate angle="180"/>
	</if>
</button_pixmap>
</theme>
