<theme name = "DBX">

<colors>
	<color1 default="#212121" opacity="92" />
	<color2 default="#ffffff" opacity="100" />
	<color3 default="#FF7200" opacity="100" />
	<color4 default="#9C9C9C" opacity="100" />
	<color5 name="active color" default="#FF5000" opacity="60" />
</colors>

<pixmaps>
	<pixmap_from_file name="active" file="active.png" />
	<pixmap_from_file name="button" file="button.png" />
	<pixmap_from_file name="lay2" file="button2-lay.png" />
	<pixmap_from_file name="lay3" file="button3-lay.png" />
	<pixmap_from_file name="lay4" file="button4-lay.png" />
	<pixmap_from_file name="lay5" file="button5-lay.png" />
	<pixmap_from_file name="glow" file="glow.png" />
	<pixmap_from_file name="glow2" file="glow2.png" />
	<pixmap_from_file name="launcher" file="launcher.png" />
	<pixmap_from_file name="launcherbutton" file="launcherbutton.png" />
	<pixmap_from_file name="active-mask" file="active-mask.png" />
	<pixmap_from_file name="launching" file="launching.png" />
</pixmaps>

<button_pixmap gap = "2" aspect_ratio="3/2" windows_cnt="5">

	<if size="29:">
		<get_icon size="-5" />
	</if>
	<if size=":28">
		<get_icon size="-3" />
	</if>
	<if type="active">
		<correct_size />
		<pixmap name="BGC">
			<fill color="color5" opacity="color5" />
			<alpha_mask mask="active-mask" />
		</pixmap>
		<correct_size />	
		<composite bg="active" fg="self" />
		<composite bg="BGC" fg="self" />
	</if>

	<if type="all_minimized">
		<transp_sat opacity="50" />
	</if>
	
	<if type="some_minimized">
		<transp_sat opacity="70" />
	</if>
	<correct_size />
	<if type="launching">
		<pixmap name="colorlaunch">
			<fill color="icon_average" />
			<alpha_mask mask="launching" />
		</pixmap>
		<composite bg="self" fg="colorlaunch"  />
		<composite bg="self" fg="launching"  />
	</if>

	<if windows="1">
		<composite bg="button" fg="self" />
	</if>
	<if windows="2">
		<composite bg="button" fg="self" />
		<composite bg="self" fg="lay2" />
	</if>
	<if windows="3">
		<composite bg="button" fg="self" />
		<composite bg="self" fg="lay3" />
	</if>
	<if windows="4">
		<composite bg="button" fg="self" />
		<composite bg="self" fg="lay4" />
	</if>
	<if windows="5">
		<composite bg="button" fg="self" />
		<composite bg="self" fg="lay5" />
	</if>
	<if windows="0">
		<composite bg="launcherbutton" fg="self" />
	</if>
	<if type="mouse_over">
		<if type="launcher">
			<bright strength="20" />
		</if>
		<if type="!launcher">
			<composite fg="glow" bg="self" />
		</if>
	</if>
	
	<if type="needs_attention">
		<pixmap name="red">
			<fill color="#FF0000" opacity="60" />
			<alpha_mask mask="active-mask" />
		</pixmap>
		<composite bg="red" fg="self" />
	</if>
	<if type="blink">
		<pixmap name="red">
			<fill color="#FF0000" opacity="60" />
			<alpha_mask mask="active-mask" />
		</pixmap>
		<composite bg="red" fg="self" />
	</if>
</button_pixmap>
</theme>
