<?xml version="1.0"?>
<skin name="thumb_border_skin" version="0.0">

	<!-- shared variables -->
	
	<variables>
		<variable key="asset" value="habbo_bitmap_skin_png" type="String" />
	</variables>
	
	<!-- the following maps layouts for render states -->
	
	<states>
		<state name="default"   layout="border_slot" template="border_slot_default"  />
		<!-- <state name="active"    layout="border_slot" template="border_slot_default"  /> -->
		<!-- <state name="hovering"  layout="border_slot" template="border_slot_hovering" /> -->
		<!-- <state name="selected"  layout="border_slot" template="border_slot_selected" /> -->
	</states>
	
	<!-- templates defines regions in bitmap asset -->
	
	<templates>
		
		<template name="border_slot_default" asset="$asset">
			<entities>
				<entity name="top_left"	  type="bitmap"><region><Rectangle x="20" y="30" width="3" height="3" /></region></entity>
				<entity name="top_center" type="bitmap"><region><Rectangle x="23" y="30" width="1" height="3" /></region></entity>
				<entity name="top_right"  type="bitmap"><region><Rectangle x="25" y="30" width="3" height="3" /></region></entity>
				<entity name="mid_left"	  type="bitmap"><region><Rectangle x="20" y="33" width="3" height="1" /></region></entity>
				<entity name="mid_center" type="bitmap"><region><Rectangle x="23" y="33" width="1" height="1" /></region></entity>
				<entity name="mid_right"  type="bitmap"><region><Rectangle x="25" y="33" width="3" height="1" /></region></entity>
				<entity name="btm_left"	  type="bitmap"><region><Rectangle x="20" y="35" width="3" height="3" /></region></entity>
				<entity name="btm_center" type="bitmap"><region><Rectangle x="23" y="35" width="1" height="3" /></region></entity>
				<entity name="btm_right"  type="bitmap"><region><Rectangle x="25" y="35" width="3" height="3" /></region></entity>
			</entities>
		</template>
	</templates>
	
	<!-- markup for layout drawer -->
	
	<layouts>
		<layout name="border_slot" transparent="true">
			<entities>
				<entity name="top_left" id="0">
					<region><Rectangle x="0" y="0" width="3" height="3" /></region>
					<scale horizontal="fixed" vertical="fixed" />
				</entity>
				<entity name="top_center" id="0">
					<region><Rectangle x="3"  y="0" width="1" height="3" /></region>
					<scale horizontal="strech" vertical="fixed" />
				</entity>
				<entity name="top_right" id="0">
					<region><Rectangle x="4" y="0" width="3" height="3" /></region>
					<scale horizontal="move" vertical="fixed" />
				</entity>
				<entity name="mid_left" id="0">
					<region><Rectangle x="0" y="3" width="3" height="1" /></region>
					<scale horizontal="fixed" vertical="strech" />
				</entity>
				<entity name="mid_center" id="0">
					<region><Rectangle x="3" y="3" width="1" height="1" /></region>
					<scale horizontal="strech" vertical="strech" />
				</entity>
				<entity name="mid_right" id="0">
					<region><Rectangle x="4" y="3" width="3" height="1" /></region>
					<scale horizontal="move" vertical="strech" />
				</entity>
				<entity name="btm_left" id="0">
					<region><Rectangle x="0" y="4" width="3" height="3" /></region>
					<scale horizontal="fixed" vertical="move" />
				</entity>
				<entity name="btm_center" id="0">
					<region><Rectangle x="3"  y="4" width="1" height="3" /></region>
					<scale horizontal="strech" vertical="move" />
				</entity>
				<entity name="btm_right" id="0">
					<region><Rectangle x="4" y="4" width="3" height="3" /></region>
					<scale horizontal="move" vertical="move" />
				</entity>
			</entities>
		</layout>
	</layouts>
</skin>