<?xml version="1.0"?>
<skin name="tooltip_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="tooltip" template="default_tooltip" />
	</states>
	
	<!-- templates defines regions in bitmap asset -->
	
	<templates>
		<template name="default_tooltip" asset="$asset">
			<entities>
				<entity name="top_left"	  type="bitmap"><region><Rectangle x="0" y="49" width="6" height="6" /></region></entity>
				<entity name="mid_left"	  type="bitmap"><region><Rectangle x="0" y="55" width="6" height="1" /></region></entity>
				<entity name="btm_left"   type="bitmap"><region><Rectangle x="0" y="65" width="6" height="6" /></region></entity>
				<entity name="top_center" type="bitmap"><region><Rectangle x="6" y="49" width="1" height="6" /></region></entity>
				<entity name="mid_center" type="bitmap"><region><Rectangle x="6" y="55" width="1" height="1" /></region></entity>
				<entity name="btm_center" type="bitmap"><region><Rectangle x="6" y="65" width="1" height="6" /></region></entity>
				<entity name="top_right"  type="bitmap"><region><Rectangle x="7" y="49" width="6" height="6" /></region></entity>
				<entity name="mid_right"  type="bitmap"><region><Rectangle x="7" y="55" width="6" height="1" /></region></entity>
				<entity name="btm_right"  type="bitmap"><region><Rectangle x="7" y="65" width="6" height="6" /></region></entity>
			</entities>
		</template>

	</templates>
	
	<!-- markup for layout drawer -->
	
	<layouts>
		<layout name="tooltip" transparent="true">
			<entities>

				<!-- left -->
				
				<entity name="top_left" id="0">
					<region><Rectangle x="0" y="0" width="6" height="6" /></region>
					<scale horizontal="fixed" vertical="fixed" />
				</entity>

				<entity name="mid_left" id="0">
					<region><Rectangle x="0" y="6" width="6" height="10" /></region>
					<scale horizontal="fixed" vertical="strech" />
				</entity>
				
				<entity name="btm_left" id="0">
					<region><Rectangle x="0" y="16" width="6" height="6" /></region>
					<scale horizontal="fixed" vertical="move" />
				</entity>
				
				<!-- center -->
				
				<entity name="top_center" id="1">
					<region><Rectangle x="6" y="0" width="1" height="6" /></region>
					<scale horizontal="strech" vertical="fixed" />
				</entity>
				
				<entity name="mid_center" id="1">
					<region><Rectangle x="6" y="6" width="1" height="10" /></region>
					<scale horizontal="strech" vertical="strech" />
				</entity>
				
				<entity name="btm_center" id="1">
					<region><Rectangle x="6" y="16" width="1" height="6" /></region>
					<scale horizontal="strech" vertical="move" />
				</entity>
				
				<!-- right -->
				
				<entity name="top_right" id="2">
					<region><Rectangle x="7" y="0" width="6" height="6" /></region>
					<scale horizontal="move" vertical="fixed" />
				</entity>
	
				<entity name="mid_right" id="2">
					<region><Rectangle x="7" y="6" width="6" height="10" /></region>
					<scale horizontal="move" vertical="strech" />
				</entity>
				
				<entity name="btm_right" id="2">
					<region><Rectangle x="7" y="16" width="6" height="6" /></region>
					<scale horizontal="move" vertical="move" />
				</entity>
				
			</entities>
		</layout>
	</layouts>
</skin>