<?xml version="1.0" encoding="UTF-8"?>
<Definition setOnTopOnClick="false">
	
	<Import url="[config.mod.template.button]themeIconButton.xml" />
	
	<Constants>
		<Constant name="assets" value="[config.ui.skin]assets.swf|" />
		<Constant name="css" value="[config.ui.skin]css/" />
		
		<Constant name="texture_arrow_big" value="[local.assets]buff_btn_cacherBuffs" />
		<Constant name="texture_arrow_small" value="[local.assets]buff_btn_afficherBuffs" />
        <Constant name="texture" value="[config.ui.skin]texture/" />
        <Constant name="common" value="[config.ui.skin]common/" />

        <Constant name="backgroundHeight" value="65"/>
        <Constant name="backgroundWidthModifier" value="35"/>
        <Constant name="backgroundOffset" value="18"/>
        <Constant name="widthBackgroundHidden" value="30"/>
	</Constants>
	
	
	<Container name="buffCtr">		
		<Anchors>
			<Anchor relativePoint="TOPRIGHT" point="TOPRIGHT">
				<AbsDimension x="-230" y="0" />
			</Anchor>
		</Anchors>
		<Size>
			<AbsDimension x="30" y="65" />
		</Size>
        
        <TextureBitmap name="tx_background">
            <Anchors>
				<Anchor relativePoint="TOPRIGHT" point="TOPRIGHT">
					<AbsDimension x="0" y="0" />
				</Anchor>
            </Anchors>
            <themeDataId>bg_floating_window_horizontal</themeDataId>
			<isMagnetic>true</isMagnetic>
        </TextureBitmap>


        <Container name="ctr_root">
            <Anchors>
				<Anchor relativePoint="TOPRIGHT" point="TOPRIGHT">
					<AbsDimension x="0" y="0" />
				</Anchor>
            </Anchors>
            <Size>
                <AbsDimension x="24" y="66" />
            </Size>
	            
	        <TextureBitmap name="tx_button_minimize_bgLeft">
	            <Size>
	                <AbsDimension x="24" y="66" />
	            </Size>
				<themeDataId>floating_window_bar</themeDataId>
	            <dragController>true</dragController>
	            <dragTarget>buffCtr</dragTarget>
	            <dragBoundsContainer>buffCtr</dragBoundsContainer>
	            <useDragMagnetism>true</useDragMagnetism>
	        </TextureBitmap>
	
	        <TextureBitmap>
	            <Anchors>
	                <Anchor>
	                    <AbsDimension x="1" y="20" />
	                </Anchor>
	            </Anchors>
	            <uri>[local.texture]hud/icon_green_bonus.png</uri>
	            <smooth>true</smooth>
	        </TextureBitmap>
	        
			<themeIconButton name="btn_minimArrow">
	            <Size>
	                <AbsDimension x="22" y="22" />
	            </Size>
				<smooth>true</smooth>
				<bgThemeDataId></bgThemeDataId>
				<iconAnchors>
					<Anchor relativePoint="TOPLEFT">
	                    <AbsDimension x="1" y="1" />
					</Anchor>
					<Anchor relativePoint="BOTTOMRIGHT">
	                    <AbsDimension x="-1" y="-1" />
					</Anchor>
				</iconAnchors>
				<checkBox>true</checkBox>
				<iconUri>[local.texture]hud/icon_minus_floating_menu.png</iconUri>	
				<selectedIconUri>[local.texture]hud/icon_plus_floating_menu.png</selectedIconUri>
			</themeIconButton>
		</Container>

		
		<Container name="buffFrames">
			<Anchors>
				<Anchor relativePoint="TOPRIGHT" point="TOPRIGHT">
					<AbsDimension x="-23" y="0" />
				</Anchor>
			</Anchors>
			<Size>
				<AbsDimension x="52" y="432" />
			</Size>         
			
			<!-- Texture buff_slot_1 -->
			<Texture name="buff_slot_1">
				<Anchors>
					<Anchor relativePoint="TOPRIGHT" point="TOPRIGHT">
						<AbsDimension x="-5" y="10" />
					</Anchor>
				</Anchors>
				<Size>
					<AbsDimension x="44" y="44" />
				</Size>  
			</Texture>
			
			<!-- Texture buff_slot_2 -->
			<Texture name="buff_slot_2">
				<Anchors>
					<Anchor relativePoint="TOPRIGHT" point="TOPRIGHT">
						<AbsDimension x="-55" y="10" />
					</Anchor>
				</Anchors>
				<Size>
					<AbsDimension x="44" y="44" />
				</Size>
			</Texture>
			
			<!-- Texture buff_slot_3 -->
			<Texture name="buff_slot_3">
				<Anchors>
					<Anchor relativePoint="TOPRIGHT" point="TOPRIGHT">
						<AbsDimension x="-105" y="10" />
					</Anchor>
				</Anchors>
				<Size>
					<AbsDimension x="44" y="44" />
				</Size>
			</Texture>
			
			<!-- Texture buff_slot_4 -->
			<Texture name="buff_slot_4">
				<Anchors>
					<Anchor relativePoint="TOPRIGHT" point="TOPRIGHT">
						<AbsDimension x="-155" y="10" />
					</Anchor>
				</Anchors>
				<Size>
					<AbsDimension x="44" y="44" />
				</Size>
			</Texture>
			
			<!-- Texture buff_slot_5 -->
			<Texture name="buff_slot_5">
				<Anchors>
					<Anchor relativePoint="TOPRIGHT" point="TOPRIGHT">
						<AbsDimension x="-205" y="10" />
					</Anchor>
				</Anchors>
				<Size>
					<AbsDimension x="44" y="44" />
				</Size>
			</Texture>
			
			<!-- Texture buff_slot_6 -->
			<Texture name="buff_slot_6">
				<Anchors>
					<Anchor relativePoint="TOPRIGHT" point="TOPRIGHT">
						<AbsDimension x="-255" y="10" />
					</Anchor>
				</Anchors>
				<Size>
					<AbsDimension x="44" y="44" />
				</Size>
			</Texture>
			
			<!-- Texture buff_slot_7 -->
			<Texture name="buff_slot_7">
				<Anchors>
					<Anchor relativePoint="TOPRIGHT" point="TOPRIGHT">
						<AbsDimension x="-305" y="10" />
					</Anchor>
				</Anchors>
				<Size>
					<AbsDimension x="44" y="44" />
				</Size>
			</Texture>
			
			<!-- Texture buff_slot_8 -->
			<Texture name="buff_slot_8">
				<Anchors>
					<Anchor relativePoint="TOPRIGHT" point="TOPRIGHT">
						<AbsDimension x="-355" y="10" />
					</Anchor>
				</Anchors>
				<Size>
					<AbsDimension x="44" y="44" />
				</Size>
			</Texture>
			
		</Container>
		
		
	</Container>
	
					
</Definition>
