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

<!-- This file defines the box you see around many GUI elements, such
as around the sections of the stats window, or around popup info windows -->

<MyGUI type="Resource" version="1.1">
    <!-- Box borders -->
    <Resource type="AutoSizedResourceSkin" name="IB_T" texture="textures\menu_thin_border_top.dds">
        <BasisSkin type="TileRect" align="HStretch">
            <State name="normal">
                <Property key="TileH" value="true"/>
                <Property key="TileV" value="true"/>
            </State>
        </BasisSkin>
    </Resource>
    <Resource type="AutoSizedResourceSkin" name="IB_B" texture="textures\menu_thin_border_bottom.dds">
        <BasisSkin type="TileRect" align="HStretch">
            <State name="normal">
                <Property key="TileH" value="true"/>
                <Property key="TileV" value="true"/>
            </State>
        </BasisSkin>
    </Resource>
    <Resource type="AutoSizedResourceSkin" name="IB_L" texture="textures\menu_thin_border_left.dds">
        <BasisSkin type="TileRect" align="VStretch">
            <State name="normal">
                <Property key="TileH" value="true"/>
                <Property key="TileV" value="true"/>
            </State>
        </BasisSkin>
    </Resource>
    <Resource type="AutoSizedResourceSkin" name="IB_R" texture="textures\menu_thin_border_right.dds">
        <BasisSkin type="TileRect" align="VStretch">
            <State name="normal">
                <Property key="TileH" value="true"/>
                <Property key="TileV" value="true"/>
            </State>
        </BasisSkin>
    </Resource>
    <Resource type="AutoSizedResourceSkin" name="IB_TL" texture="textures\menu_thin_border_top_left_corner.dds">
        <BasisSkin type="MainSkin">
            <State name="normal"/>
        </BasisSkin>
    </Resource>
    <Resource type="AutoSizedResourceSkin" name="IB_TR" texture="textures\menu_thin_border_top_right_corner.dds">
        <BasisSkin type="MainSkin">
            <State name="normal"/>
        </BasisSkin>
    </Resource>
    <Resource type="AutoSizedResourceSkin" name="IB_BL" texture="textures\menu_thin_border_bottom_left_corner.dds">
        <BasisSkin type="MainSkin">
            <State name="normal"/>
        </BasisSkin>
    </Resource>
    <Resource type="AutoSizedResourceSkin" name="IB_BR" texture="textures\menu_thin_border_bottom_right_corner.dds">
        <BasisSkin type="MainSkin">
            <State name="normal"/>
        </BasisSkin>
    </Resource>

    <!-- Main box definition -->
    <Resource type="ResourceSkin" name="MW_Box" size="516 516">
        <Child type="Widget" skin="IB_T" offset="2 0 512 2" align="Top HStretch"/>
        <Child type="Widget" skin="IB_B" offset="2 514 512 2" align="Bottom HStretch"/>
        <Child type="Widget" skin="IB_L" offset="0 2 2 512" align="Left VStretch"/>
        <Child type="Widget" skin="IB_R" offset="514 2 2 512" align="Right VStretch"/>
        <Child type="Widget" skin="IB_TL" offset="0 0 2 2" align="Top Left"/>
        <Child type="Widget" skin="IB_TR" offset="514 0 2 2" align="Top Right"/>
        <Child type="Widget" skin="IB_BL" offset="0 514 2 2" align="Bottom Left"/>
        <Child type="Widget" skin="IB_BR" offset="514 514 2 2" align="Bottom Right"/>
    </Resource>

    <Resource type="ResourceSkin" name="MW_Box_Overlay" size="516 516">
        <Property key="NeedMouse" value="false"/>
        <Child type="Widget" skin="MW_Box" offset="0 0 516 516" align="Stretch"/>
    </Resource>
</MyGUI>
