<?xml version="1.0" encoding="UTF-8"?>

<MyGUI type="Skin">
    <!-- Button graphics -->
    <Skin name="BTN_Top" size="128 4" texture="textures\menu_button_frame_top.dds">
        <BasisSkin type="MainSkin" offset = "0 0 128 4">
            <State name="normal" offset = "0 0 128 4"/>
        </BasisSkin>
    </Skin>
    <Skin name="BTN_Bottom" size="128 4" texture="textures\menu_button_frame_bottom.dds">
        <BasisSkin type="MainSkin" offset = "0 0 128 4">
            <State name="normal" offset = "0 0 128 4"/>
        </BasisSkin>
    </Skin>
    <Skin name="BTN_Left" size="4 16" texture="textures\menu_button_frame_left.dds">
        <BasisSkin type="MainSkin" offset = "0 0 4 16">
            <State name="normal" offset = "0 0 4 16"/>
        </BasisSkin>
    </Skin>
    <Skin name="BTN_Right" size="4 16" texture="textures\menu_button_frame_right.dds">
        <BasisSkin type="MainSkin" offset = "0 0 4 16">
            <State name="normal" offset = "0 0 4 16"/>
        </BasisSkin>
    </Skin>
    <Skin name="BTN_TopLeft" size="4 4" texture="textures\menu_button_frame_top_left_corner.dds">
        <BasisSkin type="MainSkin" offset = "0 0 4 4">
            <State name="normal" offset = "0 0 4 4"/>
        </BasisSkin>
    </Skin>
    <Skin name="BTN_TopRight" size="4 4" texture="textures\menu_button_frame_top_right_corner.dds">
        <BasisSkin type="MainSkin" offset = "0 0 4 4">
            <State name="normal" offset = "0 0 4 4"/>
        </BasisSkin>
    </Skin>
    <Skin name="BTN_BottomLeft" size="4 4" texture="textures\menu_button_frame_bottom_left_corner.dds">
        <BasisSkin type="MainSkin" offset = "0 0 4 4">
            <State name="normal" offset = "0 0 4 4"/>
        </BasisSkin>
    </Skin>
    <Skin name="BTN_BottomRight" size="4 4" texture="textures\menu_button_frame_bottom_right_corner.dds">
        <BasisSkin type="MainSkin" offset = "0 0 4 4">
            <State name="normal" offset = "0 0 4 4"/>
        </BasisSkin>
    </Skin>

    <!-- Button widget -->
    <Skin name="MW_Button" size="136 24">
        <Property key="FontName" value = "Default"/>
        <Property key="TextAlign" value = "ALIGN_CENTER" />
        <Property key="TextColour" value = "0.6 0.6 0.6" />

        <Child type="Widget" skin="BTN_Left" offset="0 4 4 16" align="ALIGN_VSTRETCH ALIGN_LEFT"/>
        <Child type="Widget" skin="BTN_Right" offset="132 4 4 16" align="ALIGN_VSTRETCH ALIGN_RIGHT"/>
        <Child type="Widget" skin="BTN_Top" offset="4 0 128 4" align="ALIGN_HSTRETCH ALIGN_TOP"/>
        <Child type="Widget" skin="BTN_Bottom" offset="4 20 128 4" align="ALIGN_HSTRETCH ALIGN_BOTTOM"/>
        <Child type="Widget" skin="BTN_TopLeft" offset="0 0 4 4" align="ALIGN_TOP ALIGN_LEFT"/>
        <Child type="Widget" skin="BTN_TopRight" offset="132 0 4 4" align="ALIGN_TOP ALIGN_RIGHT"/>
        <Child type="Widget" skin="BTN_BottomLeft" offset="0 20 4 4" align="ALIGN_BOTTOM ALIGN_LEFT"/>
        <Child type="Widget" skin="BTN_BottomRight" offset="132 20 4 4" align="ALIGN_BOTTOM ALIGN_RIGHT"/>

        <BasisSkin type="SimpleText" offset="4 4 128 16" align="ALIGN_STRETCH">
            <!--State name="disable" colour="0.87 0.87 0.87"/-->
            <!--State name="normal" colour="0 0 0"/-->
            <State name="active" colour="FF0000"/>
            <State name="pressed" colour="0000FF"/>
            <State name="select" colour="00FF00"/>
        </BasisSkin>
   </Skin>
</MyGUI>
