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

<MyGUI type="Resource" version="1.1">

    <!-- The 'box' frame that surrounds various HUD items and other elements -->

    <Resource type="ResourceSkin" name="HUD_Box" size="40 40">

        <!-- The interior of the box -->

        <Child type="Widget" skin="BlackBG" offset="0 0 40 40" align="Stretch"/>

        <!-- Borders -->

        <Child type="Widget" skin="MW_Box" offset="0 0 40 40" align="Left Stretch"/>

    </Resource>

    <Resource type="ResourceSkin" name="HUD_Box_Transparent" size="40 40">
        <Child type="Widget" skin="MW_Box" offset="0 0 40 40" align="Left Stretch"/>
    </Resource>

    <Resource type="ResourceSkin" name="HUD_Box_NoTransp" size="40 40">

        <!-- The interior of the box -->

        <Child type="Widget" skin="DialogBG" offset="0 0 40 40" align="Stretch"/>

        <!-- Borders -->

        <Child type="Widget" skin="MW_Box" offset="0 0 40 40" align="Left Stretch"/>

    </Resource>
    
    <Resource type="ResourceSkin" name="HUD_Box_NoTransp_Owned" size="40 40">

        <!-- The interior of the box -->

        <Child type="Widget" skin="DialogBG_NoTransp_Owned" offset="0 0 40 40" align="Stretch"/>

        <!-- Borders -->

        <Child type="Widget" skin="MW_Box" offset="0 0 40 40" align="Left Stretch"/>

    </Resource>

    <Resource type="ResourceSkin" name="HUD_Box_Owned" size="40 40">

        <!-- The interior of the box -->

        <Child type="Widget" skin="DialogBG_Owned" offset="0 0 40 40" align="Stretch"/>

        <!-- Borders -->

        <Child type="Widget" skin="MW_Box" offset="0 0 40 40" align="Left Stretch"/>

    </Resource>

    <!-- Defines crosshair color -->
    <Resource type="AutoSizedResourceSkin" name="HUD_Crosshair" texture="textures\target.dds">
        <BasisSkin type="MainSkin">
            <State name="normal"/>
        </BasisSkin>
    </Resource>

    <!-- Defines owned crosshair color -->
    <Resource type="AutoSizedResourceSkin" name="HUD_Crosshair_Owned" texture="textures\target.dds">
        <Property key="Colour" value="#{setting=GUI,color crosshair owned}"/>
        <BasisSkin type="MainSkin">
            <State name="normal"/>
        </BasisSkin>
    </Resource>

</MyGUI>
