<?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>

    <!-- 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="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="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="Stretch">
            <State name="normal" offset="0 8 4 8"/>
        </BasisSkin>
    </Skin>
    <Skin name="MW_BarTrack_Yellow" size="4 8" texture="smallbars.png" >
        <BasisSkin type="MainSkin" offset="0 0 4 8" align="Stretch">
            <State name="normal" offset="0 32 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_Box" offset="0 0 64 12" align="Stretch"/>
        <Child type="Widget" skin="BlackBG" offset="2 2 60 8" 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_Box" offset="0 0 64 12" align="Stretch"/>
        <Child type="Widget" skin="BlackBG" offset="2 2 60 8" 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_Box" offset="0 0 64 12" align="Stretch"/>
        <Child type="Widget" skin="BlackBG" offset="2 2 60 8" align="Stretch" name="Client"/>
    </Skin>

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

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

</MyGUI>