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

<MyGUI type="Skin">
    <!-- Energy bar frame graphics -->
    <Skin name="HUD_Bar_Top" size="64 2" texture="textures\menu_small_energy_bar_top.dds">
        <BasisSkin type="MainSkin" offset = "0 0 64 2">
            <State name="normal" offset = "0 0 64 2"/>
        </BasisSkin>
    </Skin>
    <Skin name="HUD_Bar_Bottom" size="64 2" texture="textures\menu_small_energy_bar_bottom.dds">
        <BasisSkin type="MainSkin" offset = "0 0 64 2">
            <State name="normal" offset = "0 0 64 2"/>
        </BasisSkin>
    </Skin>
    <Skin name="HUD_Bar_Side" size="2 8" texture="textures\menu_small_energy_bar_vert.dds">
        <BasisSkin type="MainSkin" offset = "0 0 2 8">
            <State name="normal" offset = "0 0 2 8"/>
        </BasisSkin>
    </Skin>

    <Skin name="MW_BarFrame" size="64 12">
        <!-- Edges -->
        <Child type="Widget" skin="HUD_Bar_Top" offset="0 0 64 2" align="ALIGN_HSTRETCH ALIGN_TOP"/>
        <Child type="Widget" skin="HUD_Bar_Bottom" offset="0 10 64 2" align="ALIGN_HSTRETCH ALIGN_BOTTOM"/>
        <Child type="Widget" skin="HUD_Bar_Side" offset="0 2 2 8" align="ALIGN_VSTRETCH ALIGN_LEFT"/>
        <Child type="Widget" skin="HUD_Bar_Side" offset="62 2 2 8" align="ALIGN_VSTRETCH ALIGN_RIGHT"/>
    </Skin>

    <!-- Progress bar track, various colors -->
    <Skin name = "MW_BarTrack_Red" size = "4 8" texture = "smallbars.png" >
        <BasisSkin type="MainSkin" offset = "0 0 4 8" align = "ALIGN_STRETCH">
            <State name="normal" offset = "0 0 4 8"/>
        </BasisSkin>
    </Skin>
    <Skin name = "MW_BarTrack_Green" size = "4 8" texture = "smallbars.png" >
        <BasisSkin type="MainSkin" offset = "0 0 4 8" align = "ALIGN_STRETCH">
            <State name="normal" offset = "0 16 4 8"/>
        </BasisSkin>
    </Skin>
    <Skin name = "MW_BarTrack_Blue" size = "4 8" texture = "smallbars.png" >
        <BasisSkin type="MainSkin" offset = "0 0 4 8" align = "ALIGN_STRETCH">
            <State name="normal" offset = "0 8 4 8"/>
        </BasisSkin>
    </Skin>

    <!-- Main energy bar widget definitions. There's one for each color.-->

    <Skin name="MW_EnergyBar_Red" size="64 12">
        <Property key="TrackSkin" value = "MW_BarTrack_Red" />
        <Property key="TrackWidth" value = "1" />

        <Child type="Widget" skin="MW_BarFrame" offset="0 0 64 12" align="ALIGN_STRETCH"/>
        <Child type="Widget" skin="BlackBG" offset = "2 2 60 8" align = "ALIGN_STRETCH" name="Client"/>
    </Skin>

    <Skin name="MW_EnergyBar_Green" size="64 12">
        <Property key="TrackSkin" value = "MW_BarTrack_Green" />
        <Property key="TrackWidth" value = "1" />

        <Child type="Widget" skin="MW_BarFrame" offset="0 0 64 12" align="ALIGN_STRETCH"/>
        <Child type="Widget" skin="BlackBG" offset="2 2 60 8" align="ALIGN_STRETCH" name="Client"/>
    </Skin>

    <Skin name="MW_EnergyBar_Blue" size="64 12">
        <Property key="TrackSkin" value = "MW_BarTrack_Blue" />
        <Property key="TrackWidth" value = "1" />

        <Child type="Widget" skin="MW_BarFrame" offset="0 0 64 12" align="ALIGN_STRETCH"/>
        <Child type="Widget" skin="BlackBG" offset = "2 2 60 8" align = "ALIGN_STRETCH" name="Client"/>
    </Skin>

</MyGUI>