vanilla-wow-addons – Rev 1

Subversion Repositories:
Rev:
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/ ..\FrameXML\UI.xsd">
  <Script file="HA_conf.lua"/> 

  <!--  ******************* Templates ******************* -->
      <Frame name="HA_SliderTemplate" virtual="true">
      <Size>
        <AbsDimension x="336" y="38" />
      </Size>
        <Frames>
          <Slider name="$parentSlider" enableMouse="true" defaultValue="0" valueStep="1" orientation="HORIZONTAL">
            <Size>
              <AbsDimension x="128" y="17" />
            </Size>
            <Anchors>
              <Anchor point="LEFT" />
              <Anchor point="RIGHT" />
            </Anchors>
            <Backdrop bgFile="Interface\Buttons\UI-SliderBar-Background" edgeFile="Interface\Buttons\UI-SliderBar-Border" tile="true">
              <BackgroundInsets>
                <AbsInset left="3" right="3" top="6" bottom="6" />
              </BackgroundInsets>
              <TileSize>
                <AbsValue val="8" />
              </TileSize>
              <EdgeSize>
                <AbsValue val="8" />
              </EdgeSize>
            </Backdrop>
            <Layers>
              <Layer>
                <FontString name="$parentTitle" font="Fonts\FRIZQT__.TTF">
                  <Anchors>
                    <Anchor point="BOTTOM" relativePoint="TOP" />
                  </Anchors>
                  <FontHeight>
                    <AbsValue val="10" />
                  </FontHeight>
                  <Color r="1" g="0.8196079" b="0" />
                  <Shadow>
                    <Color r="0" g="0" b="0" />
                    <Offset>
                      <AbsDimension x="1" y="-1" />
                    </Offset>
                  </Shadow>
                </FontString>
                <FontString name="$parentLow" font="Fonts\FRIZQT__.TTF">
                  <Anchors>
                    <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT">
                      <Offset>
                        <AbsDimension x="0" y="2" />
                      </Offset>
                    </Anchor>
                  </Anchors>
                  <FontHeight>
                    <AbsValue val="10" />
                  </FontHeight>
                  <Color r="1" g="1" b="1" />
                  <Shadow>
                    <Color r="0" g="0" b="0" />
                    <Offset>
                      <AbsDimension x="1" y="-1" />
                    </Offset>
                  </Shadow>
                </FontString>
                <FontString name="$parentHigh" font="Fonts\FRIZQT__.TTF">
                  <Anchors>
                    <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT">
                      <Offset>
                        <AbsDimension x="0" y="2" />
                      </Offset>
                    </Anchor>
                  </Anchors>
                  <FontHeight>
                    <AbsValue val="10" />
                  </FontHeight>
                  <Color r="1" g="1" b="1" />
                  <Shadow>
                    <Color r="0" g="0" b="0" />
                    <Offset>
                      <AbsDimension x="1" y="-1" />
                    </Offset>
                  </Shadow>
                </FontString>
              </Layer>
            </Layers>
            <ThumbTexture name="$parentThumb" file="Interface\Buttons\UI-SliderBar-Button-Horizontal">
              <Size>
                <AbsDimension x="32" y="32" />
              </Size>
            </ThumbTexture>
            <Scripts>
              <OnValueChanged>HA_Config_SetNewSliderValue(this);</OnValueChanged>
            </Scripts>
          </Slider>
        </Frames>
      </Frame>

      <CheckButton name="HA_Checkbutton32Template" virtual="true">
        <Size>
          <AbsDimension x="32" y="32" />
        </Size>
        <Layers>
          <Layer>
            <FontString name="$parentText" font="Fonts\FRIZQT__.TTF">
              <Anchors>
                <Anchor point="LEFT" relativePoint="RIGHT">
                  <Offset>
                    <AbsDimension x="-2" y="2" />
                  </Offset>
                </Anchor>
              </Anchors>
              <FontHeight>
                <AbsValue val="10" />
              </FontHeight>
              <Color r="1" g="0.8196079" b="0" />
              <Shadow>
                <Color r="0" g="0" b="0" />
                <Offset>
                  <AbsDimension x="1" y="-1" />
                </Offset>
              </Shadow>
            </FontString>
          </Layer>
        </Layers>
        <Scripts>
          <OnClick>HA_Config_SetNewCheckState(this);</OnClick>
        </Scripts>
        <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
        <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
        <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
        <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
        <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
      </CheckButton>

      <CheckButton name="HA_Checkbutton26Template" virtual="true">
        <Size>
          <AbsDimension x="26" y="26" />
        </Size>
        <Layers>
          <Layer>
            <FontString name="$parentText" font="Fonts\FRIZQT__.TTF">
              <Anchors>
                <Anchor point="LEFT" relativePoint="RIGHT">
                  <Offset>
                    <AbsDimension x="-2" y="1" />
                  </Offset>
                </Anchor>
              </Anchors>
              <FontHeight>
                <AbsValue val="10" />
              </FontHeight>
              <Color r="1" g="0.8196079" b="0" />
              <Shadow>
                <Color r="0" g="0" b="0" />
                <Offset>
                  <AbsDimension x="1" y="-1" />
                </Offset>
              </Shadow>
            </FontString>
          </Layer>
        </Layers>
        <Scripts>
          <OnClick>HA_Config_SetNewCheckState(this);</OnClick>
        </Scripts>
        <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
        <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
        <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
        <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
        <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
      </CheckButton>

      <CheckButton name="HA_Checkbutton16Template" virtual="true">
        <Size>
          <AbsDimension x="16" y="16" />
        </Size>
        <Layers>
          <Layer>
            <FontString name="$parentText" font="Fonts\FRIZQT__.TTF">
              <Anchors>
                <Anchor point="LEFT" relativePoint="RIGHT">
                  <Offset>
                    <AbsDimension x="-2" y="0" />
                  </Offset>
                </Anchor>
              </Anchors>
              <FontHeight>
                <AbsValue val="10" />
              </FontHeight>
              <Color r="1" g="0.8196079" b="0" />
              <Shadow>
                <Color r="0" g="0" b="0" />
                <Offset>
                  <AbsDimension x="1" y="-1" />
                </Offset>
              </Shadow>
            </FontString>
          </Layer>
        </Layers>
        <Scripts>
          <OnClick>HA_Config_SetNewCheckState(this);</OnClick>
        </Scripts>
        <NormalTexture file="Interface\Buttons\UI-CheckBox-Up" />
        <PushedTexture file="Interface\Buttons\UI-CheckBox-Down" />
        <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD" />
        <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check" />
        <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled" />
      </CheckButton>

  <Button name="HA_PluginHeaderTemplate" virtual="true">
        <Size>
                <AbsDimension x="10" y="16"/>
        </Size>
        <Layers>
                <Layer level="BACKGROUND">
                        <Texture name="$parentLeft" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
                                <Size>
                                        <AbsDimension x="5" y="16"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT"/>
                                </Anchors>
                                <TexCoords left="0" right="0.078125" top="0" bottom="0.75"/>
                        </Texture>
                        <Texture name="$parentMiddle" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
                                <Size>
                                        <AbsDimension x="53" y="16"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
                                </Anchors>
                                <TexCoords left="0.078125" right="0.90625" top="0" bottom="0.75"/>
                        </Texture>
                        <Texture name="$parentRight" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
                                <Size>
                                        <AbsDimension x="4" y="16"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
                                </Anchors>
                                <TexCoords left="0.90625" right="0.96875" top="0" bottom="0.75"/>
                        </Texture>
                </Layer>
        </Layers>
        <NormalText inherits="GameFontHighlightSmall">
                <Anchors>
                        <Anchor point="LEFT">
                                <Offset>
                                        <AbsDimension x="8" y="0"/>
                                </Offset>
                        </Anchor>
                </Anchors>
        </NormalText>
  </Button>

  <Button name="HA_PluginItemTemplate" virtual="true">
        <Size>
                <AbsDimension x="320" y="16"/>
        </Size>
        <Layers>
                <Layer level="BORDER">
                        <FontString name="$parentName" inherits="GameFontNormalSmall" justifyH="LEFT">
                                <Size>
                                        <AbsDimension x="198" y="14"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="120" y="-1"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </FontString>
                </Layer>
        </Layers>
        <Frames>
                <CheckButton name="$parentAuto" inherits="HA_Checkbutton16Template">
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset>
                                                <AbsDimension x="22" y="0"/>
                                        </Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnClick>
                                        HA_Config_Plugins_OnClickAuto(this);
                                </OnClick>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parentLoad" inherits="HA_Checkbutton16Template">
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset>
                                                <AbsDimension x="82" y="0"/>
                                        </Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnClick>
                                        HA_Config_Plugins_OnClickLoad(this);
                                </OnClick>
                        </Scripts>
                </CheckButton>
        </Frames>
        <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD">
                <Size>
                        <AbsDimension x="320" y="16"/>
                </Size>
                <Anchors>
                        <Anchor point="TOP">
                                <Offset>
                                        <AbsDimension x="0" y="0"/>
                                </Offset>
                        </Anchor>
                </Anchors>
        </HighlightTexture>
        <Scripts>
                <OnClick>
                        HA_Config_Plugins_OnSelected(this);
                </OnClick>
        </Scripts>
  </Button>


  <Button name="HA_Config_SubMenuTemplate" virtual="true">
        <Size>
                <AbsDimension x="470" y="32"/>
        </Size>
        <Layers>
                <Layer level="OVERLAY">
                        <FontString name="$parentText" inherits="GameFontNormal" justifyH="LEFT" justifyV="CENTER">
                                <Size>
                                        <AbsDimension x="470" y="14"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="10" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </FontString>
                </Layer>
        </Layers>
        <HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD">
                <Size>
                        <AbsDimension x="470" y="32"/>
                </Size>
                <Anchors>
                        <Anchor point="TOP">
                                <Offset>
                                        <AbsDimension x="0" y="0"/>
                                </Offset>
                        </Anchor>
                </Anchors>
        </HighlightTexture>
        <Scripts>
                <OnLoad>
                        this:RegisterForClicks("LeftButtonDown");
                </OnLoad>
        </Scripts>
  </Button>


        <Button name="HA_HelpTemplate" virtual="true" hidden="false">
                <Size>
                        <AbsDimension x="18" y="16"/>
                </Size>
                <Layers>
                        <Layer level="OVERLAY">
                                <FontString name="$parentText" inherits="GameFontHighlightSmall" justifyH="RIGHT" text="[?]">
                                        <Anchors>
                                                <Anchor point="RIGHT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
                <Scripts>
                        <OnEnter>
                                getglobal(this:GetName() .. "Text"):SetTextColor(1, 0.82, 0);
                                HA_Help_SetTooltip();
                                GameTooltip:SetText(this.text, 1, 0.72, 0, nil);
                        </OnEnter>
                        <OnLeave>
                                getglobal(this:GetName() .. "Text"):SetTextColor(1, 1, 1);
                                GameTooltip:Hide();                                             
                        </OnLeave>
                        <OnLoad>
                                this.text = "";
                                HA_Help_LoadText();
                        </OnLoad>
                </Scripts>
        </Button>

<Frame name="HAMinimapFrame" parent="Minimap" frameStrata="MEDIUM" enableMouse="true" hidden="false">
        <Frames>
        <Button name="HAMinimapButton">
                <Size>
                        <AbsDimension x="32" y="32"/>
                </Size>
                <Anchors>
                        <Anchor point="TOPLEFT" relativeTo="Minimap" relativePoint="RIGHT">
                                <Offset>
                                        <AbsDimension x="-13" y="5"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Scripts>
                        <OnLoad>
                                this.tooltip = HA_GUI_TOOLTIP_MINIMAP;
                                this:SetFrameLevel(5);
                                this:RegisterForClicks("LeftButtonDown", "RightButtonDown");
                        </OnLoad>
                        <OnClick>
                                if (arg1 == "LeftButton") then
                                        HA_Toggle();
                                else
                                        HA_ToggleDropDown();
                                end
                        </OnClick>
                        <OnEnter> 
                                GameTooltip:SetOwner(this, "ANCHOR_LEFT");
                                GameTooltip:SetText(this.tooltip);
                        </OnEnter>
                        <OnLeave>
                                GameTooltip:Hide();
                        </OnLeave>
                </Scripts>
                <Layers>
                        <Layer level="ARTWORK">
                                <Texture name="$parentTexture" file="Interface\AddOns\HealersAssist\Images\ha" />
                        </Layer>
                </Layers>
                <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
        </Button>
        <Frame name="HA_DropDown" inherits="UIDropDownMenuTemplate" hidden="true">
                <Size>
                        <AbsDimension x="10" y="10"/>
                </Size>
                <Anchors>
                        <Anchor point="TOPLEFT" relativeTo="HAMinimapButton" relativePoint="TOPLEFT">
                                <Offset>
                                        <AbsDimension x="0" y="0"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Scripts>
                        <OnLoad>
                                HA_DropDown_OnLoad();
                        </OnLoad>
                </Scripts>
        </Frame>
        </Frames>
</Frame>


  <!--  ******************* Main Frame ******************* -->
  <Frame name="HAConfFrame" frameStrata="MEDIUM" hidden="true" movable="true" enableMouse="true">
    <Size>
      <AbsDimension x="500" y="405" />
    </Size>
    <Anchors>
      <Anchor point="CENTER" relativeTo="UIParent">
        <Offset>
          <AbsDimension x="0" y="0" />
        </Offset>
      </Anchor>
    </Anchors>
    <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
      <BackgroundInsets>
        <AbsInset left="11" right="12" top="12" bottom="11" />
      </BackgroundInsets>
      <TileSize>
        <AbsValue val="32" />
      </TileSize>
      <EdgeSize>
        <AbsValue val="32" />
      </EdgeSize>
    </Backdrop>
    <Layers>
      <Layer>
        <Texture name="$parentTitleBorder" file="Interface\DialogFrame\UI-DialogBox-Header">
          <Size>
            <AbsDimension x="160" y="32" />
          </Size>
          <Anchors>
            <Anchor point="TOP">
              <Offset>
                <AbsDimension x="0" y="5" />
              </Offset>
            </Anchor>
          </Anchors>
          <TexCoords left="0.2" right="0.8" top="0" bottom="0.6" />
        </Texture>
        <FontString name="$parentTitleString" font="Fonts\FRIZQT__.TTF" text="HA_GUI_TITLE">
          <Size>
            <AbsDimension x="140" y="0" />
          </Size>
          <Anchors>
            <Anchor point="TOP">
              <Offset>
                <AbsDimension x="0" y="-4" />
              </Offset>
            </Anchor>
          </Anchors>
          <FontHeight>
            <AbsValue val="12" />
          </FontHeight>
          <Color r="1" g="0.8196079" b="0" />
          <Shadow>
            <Color r="0" g="0" b="0" />
            <Offset>
              <AbsDimension x="1" y="-1" />
            </Offset>
          </Shadow>
        </FontString>
      </Layer>
    </Layers>
    <Frames>
      <!--  ******************* Main menu ******************* -->
      <Frame name="$parentMainMenuFrame" hidden="true">
        <Size>
          <AbsDimension x="470" y="340" />
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset>
              <AbsDimension x="15" y="-30"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Frames>
          <Button name="$parentGeneral" inherits="HA_Config_SubMenuTemplate">
            <Anchors>
              <Anchor point="TOPLEFT">
                <Offset>
                  <AbsDimension x="0" y="-150"/>
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnLoad>
                getglobal(this:GetName().."Text"):SetText(HA_GUI_MAIN_MENU_GENERAL);
              </OnLoad>
              <OnClick>
                HAConfFrameMainMenuFrame:Hide();
                HAConfFrameGeneralMenuFrame:Show();
              </OnClick>
            </Scripts>
          </Button>
          <Button name="$parentHealers" inherits="HA_Config_SubMenuTemplate">
            <Anchors>
              <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentGeneral">
                <Offset>
                  <AbsDimension x="0" y="-5"/>
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnLoad>
                getglobal(this:GetName().."Text"):SetText(HA_GUI_MAIN_MENU_HEALERS);
              </OnLoad>
              <OnClick>
                HAConfFrameMainMenuFrame:Hide();
                HAConfFrameHealersMenuFrame:Show();
              </OnClick>
            </Scripts>
          </Button>
          <Button name="$parentEmergency" inherits="HA_Config_SubMenuTemplate">
            <Anchors>
              <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentHealers">
                <Offset>
                  <AbsDimension x="0" y="-5"/>
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnLoad>
                getglobal(this:GetName().."Text"):SetText(HA_GUI_MAIN_MENU_EMERGENCY);
              </OnLoad>
              <OnClick>
                HAConfFrameMainMenuFrame:Hide();
                HAConfFrameEmergencyMenuFrame:Show();
              </OnClick>
            </Scripts>
          </Button>
          <Button name="$parentPlugins" inherits="HA_Config_SubMenuTemplate">
            <Anchors>
              <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentEmergency">
                <Offset>
                  <AbsDimension x="0" y="-5"/>
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnLoad>
                getglobal(this:GetName().."Text"):SetText(HA_GUI_MAIN_MENU_PLUGINS);
              </OnLoad>
              <OnClick>
                HAConfFrameMainMenuFrame:Hide();
                HAConfFramePluginsMenuFrame:Show();
              </OnClick>
            </Scripts>
          </Button>
        </Frames>
      </Frame>
      <!--  ******************* General menu ******************* -->
      <Frame name="$parentGeneralMenuFrame" hidden="true">
        <Size>
          <AbsDimension x="470" y="340" />
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset>
              <AbsDimension x="15" y="-30"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Frames>
          <Frame name="HAConfFrameSlider1" inherits="HA_SliderTemplate" id="1">
            <Size>
              <AbsDimension x="336" y="38" />
            </Size>
            <Anchors>
              <Anchor point="CENTER" relativePoint="TOP">
                <Offset>
                  <AbsDimension x="0" y="-30" />
                </Offset>
              </Anchor>
            </Anchors>
          </Frame>
          <Frame name="HAConfFrameSlider6" inherits="HA_SliderTemplate" id="6">
            <Size>
              <AbsDimension x="336" y="38" />
            </Size>
            <Anchors>
              <Anchor point="CENTER" relativeTo="HAConfFrameSlider1" relativePoint="CENTER">
                <Offset>
                  <AbsDimension x="0" y="-32" />
                </Offset>
              </Anchor>
            </Anchors>
          </Frame>
          <Frame name="HAConfFrameSlider7" inherits="HA_SliderTemplate" id="7">
            <Size>
              <AbsDimension x="336" y="38" />
            </Size>
            <Anchors>
              <Anchor point="CENTER" relativeTo="HAConfFrameSlider6" relativePoint="CENTER">
                <Offset>
                  <AbsDimension x="0" y="-32" />
                </Offset>
              </Anchor>
            </Anchors>
          </Frame>
          <Frame name="HAConfFrameSlider9" inherits="HA_SliderTemplate" id="9">
            <Size>
              <AbsDimension x="336" y="38" />
            </Size>
            <Anchors>
              <Anchor point="CENTER" relativeTo="HAConfFrameSlider7" relativePoint="CENTER">
                <Offset>
                  <AbsDimension x="0" y="-32" />
                </Offset>
              </Anchor>
            </Anchors>
          </Frame>
          <Frame name="HAConfFrameSlider8" inherits="HA_SliderTemplate" id="8">
            <Size>
              <AbsDimension x="336" y="38" />
            </Size>
            <Anchors>
              <Anchor point="CENTER" relativeTo="HAConfFrameSlider9" relativePoint="CENTER">
                <Offset>
                  <AbsDimension x="0" y="-32" />
                </Offset>
              </Anchor>
            </Anchors>
          </Frame>
          <CheckButton name="HAConfFrameCheckButton1" inherits="HA_Checkbutton32Template" id="1">
            <Anchors>
              <Anchor point="TOPLEFT" relativeTo="HAConfFrameSlider8" relativePoint="BOTTOMLEFT">
                <Offset>
                  <AbsDimension x="0" y="0" />
                </Offset>
              </Anchor>
            </Anchors>
          </CheckButton>
          <CheckButton name="HAConfFrameCheckButton3" inherits="HA_Checkbutton32Template" id="3">
            <Anchors>
              <Anchor point="TOPLEFT" relativeTo="HAConfFrameCheckButton1" relativePoint="BOTTOMLEFT">
                <Offset>
                  <AbsDimension x="0" y="5" />
                </Offset>
              </Anchor>
            </Anchors>
          </CheckButton>
        </Frames>
        <Scripts>
          <OnShow>
            getglobal("HAConfFrameBack").submenu = this:GetName();
            HAConfFrameBack:Show();
            HA_Config_General_OnShow();
          </OnShow>
        </Scripts>
      </Frame>
      <!--  ******************* Healers menu ******************* -->
      <Frame name="$parentHealersMenuFrame" hidden="true">
        <Size>
          <AbsDimension x="470" y="340" />
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset>
              <AbsDimension x="15" y="-30"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Frames>
          <Frame name="$parentLabel7">
            <Size>
              <AbsDimension x="303" y="20" />
            </Size>
            <Anchors>
              <Anchor point="TOPLEFT">
                <Offset>
                  <AbsDimension x="73" y="0" />
                </Offset>
              </Anchor>
            </Anchors>
            <Layers>
              <Layer>
                <FontString name="$parentLabel" font="Fonts\FRIZQT__.TTF" text="HA_GUI_EMERGOPT_CLASSES_TITLE" justifyH="LEFT">
                  <Anchors>
                    <Anchor point="TOPLEFT" />
                    <Anchor point="BOTTOMRIGHT" />
                  </Anchors>
                  <FontHeight>
                    <AbsValue val="12" />
                  </FontHeight>
                  <Color r="1" g="0.8196079" b="0" />
                  <Shadow>
                    <Color r="0" g="0" b="0" />
                    <Offset>
                      <AbsDimension x="1" y="-1" />
                    </Offset>
                  </Shadow>
                </FontString>
              </Layer>
            </Layers>
          </Frame>
          <Frame name="$parentClasses">
            <Size>
              <AbsDimension x="319" y="38" />
            </Size>
            <Anchors>
              <Anchor point="TOPLEFT">
                <Offset>
                  <AbsDimension x="65" y="-16" />
                </Offset>
              </Anchor>
            </Anchors>
            <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
              <BackgroundInsets>
                <AbsInset left="5" right="5" top="5" bottom="5" />
              </BackgroundInsets>
              <TileSize>
                <AbsValue val="16" />
              </TileSize>
              <EdgeSize>
                <AbsValue val="16" />
              </EdgeSize>
            </Backdrop>
            <Frames>
              <CheckButton name="HAConfFrameCheckButton21" inherits="HA_Checkbutton26Template" id="21">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="28" y="-7" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
              <CheckButton name="HAConfFrameCheckButton22" inherits="HA_Checkbutton26Template" id="22">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="120" y="-7" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
              <CheckButton name="HAConfFrameCheckButton23" inherits="HA_Checkbutton26Template" id="23">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="205" y="-7" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
            </Frames>
          </Frame>
          <Frame name="HAConfFrameSlider2" inherits="HA_SliderTemplate" id="2">
            <Size>
              <AbsDimension x="336" y="38" />
            </Size>
            <Anchors>
              <Anchor point="CENTER" relativeTo="$parentClasses" relativePoint="CENTER">
                <Offset>
                  <AbsDimension x="0" y="-40" />
                </Offset>
              </Anchor>
            </Anchors>
          </Frame>
          <Frame name="HAConfFrameSlider4" inherits="HA_SliderTemplate" id="4">
            <Size>
              <AbsDimension x="336" y="38" />
            </Size>
            <Anchors>
              <Anchor point="CENTER" relativeTo="HAConfFrameSlider2" relativePoint="CENTER">
                <Offset>
                  <AbsDimension x="0" y="-30" />
                </Offset>
              </Anchor>
            </Anchors>
          </Frame>
          <CheckButton name="HAConfFrameCheckButton25" inherits="HA_Checkbutton32Template" id="25">
            <Anchors>
              <Anchor point="TOPLEFT" relativeTo="HAConfFrameSlider4" relativePoint="BOTTOMLEFT">
                <Offset>
                  <AbsDimension x="0" y="4" />
                </Offset>
              </Anchor>
            </Anchors>
          </CheckButton>
          <CheckButton name="HAConfFrameCheckButton26" inherits="HA_Checkbutton32Template" id="26">
            <Anchors>
              <Anchor point="TOPLEFT" relativeTo="HAConfFrameCheckButton25" relativePoint="BOTTOMLEFT">
                <Offset>
                  <AbsDimension x="0" y="5" />
                </Offset>
              </Anchor>
            </Anchors>
          </CheckButton>
          <CheckButton name="HAConfFrameCheckButton27" inherits="HA_Checkbutton32Template" id="27">
            <Anchors>
              <Anchor point="TOPLEFT" relativeTo="HAConfFrameCheckButton26" relativePoint="BOTTOMLEFT">
                <Offset>
                  <AbsDimension x="0" y="5" />
                </Offset>
              </Anchor>
            </Anchors>
          </CheckButton>
          <CheckButton name="HAConfFrameCheckButton28" inherits="HA_Checkbutton32Template" id="28">
            <Anchors>
              <Anchor point="TOPLEFT" relativeTo="HAConfFrameCheckButton27" relativePoint="BOTTOMLEFT">
                <Offset>
                  <AbsDimension x="0" y="5" />
                </Offset>
              </Anchor>
            </Anchors>
          </CheckButton>
          <Frame name="$parentAllowSpells">
            <Size>
              <AbsDimension x="470" y="100" />
            </Size>
            <Anchors>
              <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT">
                <Offset>
                  <AbsDimension x="0" y="0" />
                </Offset>
              </Anchor>
            </Anchors>
            <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
              <BackgroundInsets>
                <AbsInset left="5" right="5" top="5" bottom="5" />
              </BackgroundInsets>
              <TileSize>
                <AbsValue val="16" />
              </TileSize>
              <EdgeSize>
                <AbsValue val="16" />
              </EdgeSize>
            </Backdrop>
            <Frames>
              <CheckButton name="HAConfFrameCheckButton31" inherits="HA_Checkbutton26Template" id="31">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="10" y="-10" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
              <CheckButton name="HAConfFrameCheckButton32" inherits="HA_Checkbutton26Template" id="32">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="150" y="-10" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
              <CheckButton name="HAConfFrameCheckButton33" inherits="HA_Checkbutton26Template" id="33">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="310" y="-10" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
              <CheckButton name="HAConfFrameCheckButton34" inherits="HA_Checkbutton26Template" id="34">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="10" y="-38" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
              <CheckButton name="HAConfFrameCheckButton35" inherits="HA_Checkbutton26Template" id="35">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="150" y="-38" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
              <CheckButton name="HAConfFrameCheckButton36" inherits="HA_Checkbutton26Template" id="36">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="310" y="-38" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
              <CheckButton name="HAConfFrameCheckButton38" inherits="HA_Checkbutton26Template" id="38">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="150" y="-66" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
            </Frames>
          </Frame>
          <Frame name="$parentLabel1">
            <Size>
              <AbsDimension x="303" y="20" />
            </Size>
            <Anchors>
              <Anchor point="TOPLEFT" relativeTo="$parentAllowSpells" relativePoint="TOPLEFT">
                <Offset>
                  <AbsDimension x="8" y="16" />
                </Offset>
              </Anchor>
            </Anchors>
            <Layers>
              <Layer>
                <FontString name="$parentLabel" font="Fonts\FRIZQT__.TTF" text="HA_GUI_HEALOPT_ALLOWSPELLS_TITLE" justifyH="LEFT">
                  <Anchors>
                    <Anchor point="TOPLEFT" />
                    <Anchor point="BOTTOMRIGHT" />
                  </Anchors>
                  <FontHeight>
                    <AbsValue val="12" />
                  </FontHeight>
                  <Color r="1" g="0.8196079" b="0" />
                  <Shadow>
                    <Color r="0" g="0" b="0" />
                    <Offset>
                      <AbsDimension x="1" y="-1" />
                    </Offset>
                  </Shadow>
                </FontString>
              </Layer>
            </Layers>
          </Frame>
          <Button name="HA_Help_HealOpt" inherits="HA_HelpTemplate" id="2">
            <Anchors>
              <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
                <Offset>
                  <AbsDimension x="-3" y="-2"/>
                </Offset>
              </Anchor>
            </Anchors>
          </Button>
        </Frames>
        <Scripts>
          <OnShow>
            getglobal("HAConfFrameBack").submenu = this:GetName();
            HAConfFrameBack:Show();
            HA_Config_Healers_OnShow();
          </OnShow>
        </Scripts>
      </Frame>
      <!--  ******************* Emergency menu ******************* -->
      <Frame name="$parentEmergencyMenuFrame" hidden="true">
        <Size>
          <AbsDimension x="470" y="340" />
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset>
              <AbsDimension x="15" y="-30"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Frames>
          <Frame name="$parentLabel4">
            <Size>
              <AbsDimension x="303" y="20" />
            </Size>
            <Anchors>
              <Anchor point="TOPLEFT">
                <Offset>
                  <AbsDimension x="81" y="-28" />
                </Offset>
              </Anchor>
            </Anchors>
            <Layers>
              <Layer>
                <FontString name="$parentLabel" font="Fonts\FRIZQT__.TTF" text="HA_GUI_EMERGOPT_GRPS_TITLE" justifyH="LEFT">
                  <Anchors>
                    <Anchor point="TOPLEFT" />
                    <Anchor point="BOTTOMRIGHT" />
                  </Anchors>
                  <FontHeight>
                    <AbsValue val="12" />
                  </FontHeight>
                  <Color r="1" g="0.8196079" b="0" />
                  <Shadow>
                    <Color r="0" g="0" b="0" />
                    <Offset>
                      <AbsDimension x="1" y="-1" />
                    </Offset>
                  </Shadow>
                </FontString>
              </Layer>
            </Layers>
          </Frame>
          <Frame name="$parentGrps">
            <Size>
              <AbsDimension x="309" y="70" />
            </Size>
            <Anchors>
              <Anchor point="TOPLEFT">
                <Offset>
                  <AbsDimension x="73" y="-44" />
                </Offset>
              </Anchor>
            </Anchors>
            <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
              <BackgroundInsets>
                <AbsInset left="5" right="5" top="5" bottom="5" />
              </BackgroundInsets>
              <TileSize>
                <AbsValue val="16" />
              </TileSize>
              <EdgeSize>
                <AbsValue val="16" />
              </EdgeSize>
            </Backdrop>
            <Frames>
              <CheckButton name="HAConfFrameCheckButton41" inherits="HA_Checkbutton26Template" id="41">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="23" y="-10" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
              <CheckButton name="HAConfFrameCheckButton43" inherits="HA_Checkbutton26Template" id="43">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="92" y="-10" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
              <CheckButton name="HAConfFrameCheckButton45" inherits="HA_Checkbutton26Template" id="45">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="164" y="-10" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
              <CheckButton name="HAConfFrameCheckButton47" inherits="HA_Checkbutton26Template" id="47">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="235" y="-10" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
              <CheckButton name="HAConfFrameCheckButton42" inherits="HA_Checkbutton26Template" id="42">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="23" y="-38" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
              <CheckButton name="HAConfFrameCheckButton44" inherits="HA_Checkbutton26Template" id="44">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="92" y="-38" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
              <CheckButton name="HAConfFrameCheckButton46" inherits="HA_Checkbutton26Template" id="46">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="164" y="-38" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
              <CheckButton name="HAConfFrameCheckButton48" inherits="HA_Checkbutton26Template" id="48">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="235" y="-38" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
              <Button name="$parentNone" text="NONE">
                <Size>
                  <AbsDimension x="70" y="22" />
                </Size>
                <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPRIGHT">
                    <Offset>
                      <AbsDimension x="5" y="-10" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnClick>local but; for i=41,48 do but=getglobal("HAConfFrameCheckButton"..i); but:SetChecked(nil);HA_Config_SetNewCheckState(but);end;</OnClick>
                </Scripts>
                <NormalTexture file="Interface\Buttons\UI-Panel-Button-Up">
                  <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
                </NormalTexture>
                <PushedTexture file="Interface\Buttons\UI-Panel-Button-Down">
                  <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
                </PushedTexture>
                <DisabledTexture file="Interface\Buttons\UI-Panel-Button-Disabled">
                  <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
                </DisabledTexture>
                <HighlightTexture file="Interface\Buttons\UI-Panel-Button-Highlight" alphaMode="ADD">
                  <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
                </HighlightTexture>
                <NormalText name="$parentText" font="Fonts\FRIZQT__.TTF">
                  <FontHeight>
                    <AbsValue val="12" />
                  </FontHeight>
                  <Color r="1" g="0.8196079" b="0" />
                  <Shadow>
                    <Color r="0" g="0" b="0" />
                    <Offset>
                      <AbsDimension x="1" y="-1" />
                    </Offset>
                  </Shadow>
                </NormalText>
                <HighlightText font="Fonts\FRIZQT__.TTF">
                  <FontHeight>
                    <AbsValue val="12" />
                  </FontHeight>
                  <Color r="1" g="1" b="1" />
                  <Shadow>
                    <Color r="0" g="0" b="0" />
                    <Offset>
                      <AbsDimension x="1" y="-1" />
                    </Offset>
                  </Shadow>
                </HighlightText>
                <DisabledText font="Fonts\FRIZQT__.TTF">
                  <FontHeight>
                    <AbsValue val="12" />
                  </FontHeight>
                  <Color r="0.4980392" g="0.4980392" b="0.4980392" />
                  <Shadow>
                    <Color r="0" g="0" b="0" />
                    <Offset>
                      <AbsDimension x="1" y="-1" />
                    </Offset>
                  </Shadow>
                </DisabledText>
              </Button>
              <Button name="$parentAll" text="ALL">
                <Size>
                  <AbsDimension x="70" y="22" />
                </Size>
                <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parentNone" relativePoint="BOTTOMLEFT">
                    <Offset>
                      <AbsDimension x="0" y="-5" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnClick>local but; for i=41,48 do but=getglobal("HAConfFrameCheckButton"..i); but:SetChecked(1);HA_Config_SetNewCheckState(but);end;</OnClick>
                </Scripts>
                <NormalTexture file="Interface\Buttons\UI-Panel-Button-Up">
                  <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
                </NormalTexture>
                <PushedTexture file="Interface\Buttons\UI-Panel-Button-Down">
                  <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
                </PushedTexture>
                <DisabledTexture file="Interface\Buttons\UI-Panel-Button-Disabled">
                  <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
                </DisabledTexture>
                <HighlightTexture file="Interface\Buttons\UI-Panel-Button-Highlight" alphaMode="ADD">
                  <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
                </HighlightTexture>
                <NormalText name="$parentText" font="Fonts\FRIZQT__.TTF">
                  <FontHeight>
                    <AbsValue val="12" />
                  </FontHeight>
                  <Color r="1" g="0.8196079" b="0" />
                  <Shadow>
                    <Color r="0" g="0" b="0" />
                    <Offset>
                      <AbsDimension x="1" y="-1" />
                    </Offset>
                  </Shadow>
                </NormalText>
                <HighlightText font="Fonts\FRIZQT__.TTF">
                  <FontHeight>
                    <AbsValue val="12" />
                  </FontHeight>
                  <Color r="1" g="1" b="1" />
                  <Shadow>
                    <Color r="0" g="0" b="0" />
                    <Offset>
                      <AbsDimension x="1" y="-1" />
                    </Offset>
                  </Shadow>
                </HighlightText>
                <DisabledText font="Fonts\FRIZQT__.TTF">
                  <FontHeight>
                    <AbsValue val="12" />
                  </FontHeight>
                  <Color r="0.4980392" g="0.4980392" b="0.4980392" />
                  <Shadow>
                    <Color r="0" g="0" b="0" />
                    <Offset>
                      <AbsDimension x="1" y="-1" />
                    </Offset>
                  </Shadow>
                </DisabledText>
              </Button>
            </Frames>
          </Frame>
          <Frame name="$parentLabel5">
            <Size>
              <AbsDimension x="303" y="20" />
            </Size>
            <Anchors>
              <Anchor point="TOPLEFT">
                <Offset>
                  <AbsDimension x="66" y="-120" />
                </Offset>
              </Anchor>
            </Anchors>
            <Layers>
              <Layer>
                <FontString name="$parentLabel" font="Fonts\FRIZQT__.TTF" text="HA_GUI_EMERGOPT_CLASSES_TITLE" justifyH="LEFT">
                  <Anchors>
                    <Anchor point="TOPLEFT" />
                    <Anchor point="BOTTOMRIGHT" />
                  </Anchors>
                  <FontHeight>
                    <AbsValue val="12" />
                  </FontHeight>
                  <Color r="1" g="0.8196079" b="0" />
                  <Shadow>
                    <Color r="0" g="0" b="0" />
                    <Offset>
                      <AbsDimension x="1" y="-1" />
                    </Offset>
                  </Shadow>
                </FontString>
              </Layer>
            </Layers>
          </Frame>
          <Frame name="$parentClasses">
            <Size>
              <AbsDimension x="339" y="70" />
            </Size>
            <Anchors>
              <Anchor point="TOPLEFT">
                <Offset>
                  <AbsDimension x="58" y="-136" />
                </Offset>
              </Anchor>
            </Anchors>
            <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
              <BackgroundInsets>
                <AbsInset left="5" right="5" top="5" bottom="5" />
              </BackgroundInsets>
              <TileSize>
                <AbsValue val="16" />
              </TileSize>
              <EdgeSize>
                <AbsValue val="16" />
              </EdgeSize>
            </Backdrop>
            <Frames>
              <CheckButton name="HAConfFrameCheckButton61" inherits="HA_Checkbutton26Template" id="61">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="8" y="-10" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
              <CheckButton name="HAConfFrameCheckButton62" inherits="HA_Checkbutton26Template" id="62">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="85" y="-10" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
              <CheckButton name="HAConfFrameCheckButton63" inherits="HA_Checkbutton26Template" id="63">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="170" y="-10" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
              <CheckButton name="HAConfFrameCheckButton64" inherits="HA_Checkbutton26Template" id="64">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="240" y="-10" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
              <CheckButton name="HAConfFrameCheckButton65" inherits="HA_Checkbutton26Template" id="65">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="8" y="-38" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
              <CheckButton name="HAConfFrameCheckButton66" inherits="HA_Checkbutton26Template" id="66">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="85" y="-38" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
              <CheckButton name="HAConfFrameCheckButton67" inherits="HA_Checkbutton26Template" id="67">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="170" y="-38" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
              <CheckButton name="HAConfFrameCheckButton68" inherits="HA_Checkbutton26Template" id="68">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="240" y="-38" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </CheckButton>
              <Button name="$parentNone" text="NONE">
                <Size>
                  <AbsDimension x="70" y="22" />
                </Size>
                <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPRIGHT">
                    <Offset>
                      <AbsDimension x="5" y="-10" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnClick>local but; for i=61,68 do but=getglobal("HAConfFrameCheckButton"..i); but:SetChecked(nil);HA_Config_SetNewCheckState(but);end;</OnClick>
                </Scripts>
                <NormalTexture file="Interface\Buttons\UI-Panel-Button-Up">
                  <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
                </NormalTexture>
                <PushedTexture file="Interface\Buttons\UI-Panel-Button-Down">
                  <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
                </PushedTexture>
                <DisabledTexture file="Interface\Buttons\UI-Panel-Button-Disabled">
                  <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
                </DisabledTexture>
                <HighlightTexture file="Interface\Buttons\UI-Panel-Button-Highlight" alphaMode="ADD">
                  <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
                </HighlightTexture>
                <NormalText name="$parentText" font="Fonts\FRIZQT__.TTF">
                  <FontHeight>
                    <AbsValue val="12" />
                  </FontHeight>
                  <Color r="1" g="0.8196079" b="0" />
                  <Shadow>
                    <Color r="0" g="0" b="0" />
                    <Offset>
                      <AbsDimension x="1" y="-1" />
                    </Offset>
                  </Shadow>
                </NormalText>
                <HighlightText font="Fonts\FRIZQT__.TTF">
                  <FontHeight>
                    <AbsValue val="12" />
                  </FontHeight>
                  <Color r="1" g="1" b="1" />
                  <Shadow>
                    <Color r="0" g="0" b="0" />
                    <Offset>
                      <AbsDimension x="1" y="-1" />
                    </Offset>
                  </Shadow>
                </HighlightText>
                <DisabledText font="Fonts\FRIZQT__.TTF">
                  <FontHeight>
                    <AbsValue val="12" />
                  </FontHeight>
                  <Color r="0.4980392" g="0.4980392" b="0.4980392" />
                  <Shadow>
                    <Color r="0" g="0" b="0" />
                    <Offset>
                      <AbsDimension x="1" y="-1" />
                    </Offset>
                  </Shadow>
                </DisabledText>
              </Button>
              <Button name="$parentAll" text="ALL">
                <Size>
                  <AbsDimension x="70" y="22" />
                </Size>
                <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parentNone" relativePoint="BOTTOMLEFT">
                    <Offset>
                      <AbsDimension x="0" y="-5" />
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnClick>local but; for i=61,68 do but=getglobal("HAConfFrameCheckButton"..i); but:SetChecked(1);HA_Config_SetNewCheckState(but);end;</OnClick>
                </Scripts>
                <NormalTexture file="Interface\Buttons\UI-Panel-Button-Up">
                  <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
                </NormalTexture>
                <PushedTexture file="Interface\Buttons\UI-Panel-Button-Down">
                  <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
                </PushedTexture>
                <DisabledTexture file="Interface\Buttons\UI-Panel-Button-Disabled">
                  <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
                </DisabledTexture>
                <HighlightTexture file="Interface\Buttons\UI-Panel-Button-Highlight" alphaMode="ADD">
                  <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
                </HighlightTexture>
                <NormalText name="$parentText" font="Fonts\FRIZQT__.TTF">
                  <FontHeight>
                    <AbsValue val="12" />
                  </FontHeight>
                  <Color r="1" g="0.8196079" b="0" />
                  <Shadow>
                    <Color r="0" g="0" b="0" />
                    <Offset>
                      <AbsDimension x="1" y="-1" />
                    </Offset>
                  </Shadow>
                </NormalText>
                <HighlightText font="Fonts\FRIZQT__.TTF">
                  <FontHeight>
                    <AbsValue val="12" />
                  </FontHeight>
                  <Color r="1" g="1" b="1" />
                  <Shadow>
                    <Color r="0" g="0" b="0" />
                    <Offset>
                      <AbsDimension x="1" y="-1" />
                    </Offset>
                  </Shadow>
                </HighlightText>
                <DisabledText font="Fonts\FRIZQT__.TTF">
                  <FontHeight>
                    <AbsValue val="12" />
                  </FontHeight>
                  <Color r="0.4980392" g="0.4980392" b="0.4980392" />
                  <Shadow>
                    <Color r="0" g="0" b="0" />
                    <Offset>
                      <AbsDimension x="1" y="-1" />
                    </Offset>
                  </Shadow>
                </DisabledText>
              </Button>
            </Frames>
          </Frame>
          <Button name="HA_Help_EmergOpt" inherits="HA_HelpTemplate" id="3">
            <Anchors>
              <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT">
                <Offset>
                  <AbsDimension x="-3" y="-2"/>
                </Offset>
              </Anchor>
            </Anchors>
          </Button>
          <Frame name="HAConfFrameSlider3" inherits="HA_SliderTemplate" id="3">
            <Size>
              <AbsDimension x="336" y="38" />
            </Size>
            <Anchors>
              <Anchor point="CENTER" relativeTo="$parentClasses" relativePoint="CENTER">
                <Offset>
                  <AbsDimension x="0" y="-65" />
                </Offset>
              </Anchor>
            </Anchors>
          </Frame>
          <Frame name="HAConfFrameSlider5" inherits="HA_SliderTemplate" id="5">
            <Size>
              <AbsDimension x="336" y="38" />
            </Size>
            <Anchors>
              <Anchor point="CENTER" relativeTo="HAConfFrameSlider3" relativePoint="CENTER">
                <Offset>
                  <AbsDimension x="0" y="-40" />
                </Offset>
              </Anchor>
            </Anchors>
          </Frame>
          <CheckButton name="HAConfFrameCheckButton29" inherits="HA_Checkbutton32Template" id="29">
            <Anchors>
              <Anchor point="TOPLEFT" relativeTo="HAConfFrameSlider5" relativePoint="BOTTOMLEFT">
                <Offset>
                  <AbsDimension x="0" y="0" />
                </Offset>
              </Anchor>
            </Anchors>
          </CheckButton>
        </Frames>
        <Scripts>
          <OnShow>
            getglobal("HAConfFrameBack").submenu = this:GetName();
            HAConfFrameBack:Show();
            HA_Config_Emergency_OnShow();
          </OnShow>
        </Scripts>
      </Frame>
      <!--  ******************* Plugins menu ******************* -->
      <Frame name="$parentPluginsMenuFrame" hidden="true">
        <Size>
          <AbsDimension x="470" y="340" />
        </Size>
        <Anchors>
          <Anchor point="TOPLEFT">
            <Offset>
              <AbsDimension x="15" y="-30"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Frames>
          <Frame name="$parentPlList">
            <Size>
              <AbsDimension x="360" y="200" />
            </Size>
            <Anchors>
              <Anchor point="TOPLEFT">
                <Offset>
                  <AbsDimension x="60" y="-20" />
                </Offset>
              </Anchor>
            </Anchors>
            <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
              <BackgroundInsets>
                <AbsInset left="5" right="5" top="5" bottom="5" />
              </BackgroundInsets>
              <TileSize>
                <AbsValue val="16" />
              </TileSize>
              <EdgeSize>
                <AbsValue val="16" />
              </EdgeSize>
            </Backdrop>
            <Frames>
              <Button name="$parentHdrAuto" inherits="HA_PluginHeaderTemplate" text="HA_GUI_PLUGINS_AUTO">
                <Anchors>
                  <Anchor point="TOPLEFT">
                    <Offset>
                      <AbsDimension x="10" y="-10"/>
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                    HASetColumnWidth(60);
                  </OnLoad>
                </Scripts>
              </Button>
              <Button name="$parentHdrLoad" inherits="HA_PluginHeaderTemplate" text="HA_GUI_PLUGINS_LOAD">
                <Anchors>
                  <Anchor point="LEFT" relativeTo="$parentHdrAuto" relativePoint="RIGHT">
                    <Offset>
                      <AbsDimension x="0" y="0"/>
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                    HASetColumnWidth(60);
                  </OnLoad>
                </Scripts>
              </Button>
              <Button name="$parentHdrName" inherits="HA_PluginHeaderTemplate" text="HA_GUI_PLUGINS_NAME">
                <Anchors>
                  <Anchor point="LEFT" relativeTo="$parentHdrLoad" relativePoint="RIGHT">
                    <Offset>
                      <AbsDimension x="0" y="0"/>
                    </Offset>
                  </Anchor>
                </Anchors>
                <Scripts>
                  <OnLoad>
                    HASetColumnWidth(200);
                  </OnLoad>
                </Scripts>
              </Button>
              <Button name="$parentItem1" inherits="HA_PluginItemTemplate">
                <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parentHdrAuto" relativePoint="BOTTOMLEFT">
                    <Offset>
                      <AbsDimension x="0" y="-2" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </Button>
              <Button name="$parentItem2" inherits="HA_PluginItemTemplate">
                <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parentItem1" relativePoint="BOTTOMLEFT">
                    <Offset>
                      <AbsDimension x="0" y="0" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </Button>
              <Button name="$parentItem3" inherits="HA_PluginItemTemplate">
                <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parentItem2" relativePoint="BOTTOMLEFT">
                    <Offset>
                      <AbsDimension x="0" y="0" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </Button>
              <Button name="$parentItem4" inherits="HA_PluginItemTemplate">
                <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parentItem3" relativePoint="BOTTOMLEFT">
                    <Offset>
                      <AbsDimension x="0" y="0" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </Button>
              <Button name="$parentItem5" inherits="HA_PluginItemTemplate">
                <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parentItem4" relativePoint="BOTTOMLEFT">
                    <Offset>
                      <AbsDimension x="0" y="0" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </Button>
              <Button name="$parentItem6" inherits="HA_PluginItemTemplate">
                <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parentItem5" relativePoint="BOTTOMLEFT">
                    <Offset>
                      <AbsDimension x="0" y="0" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </Button>
              <Button name="$parentItem7" inherits="HA_PluginItemTemplate">
                <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parentItem6" relativePoint="BOTTOMLEFT">
                    <Offset>
                      <AbsDimension x="0" y="0" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </Button>
              <Button name="$parentItem8" inherits="HA_PluginItemTemplate">
                <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parentItem7" relativePoint="BOTTOMLEFT">
                    <Offset>
                      <AbsDimension x="0" y="0" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </Button>
              <Button name="$parentItem9" inherits="HA_PluginItemTemplate">
                <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parentItem8" relativePoint="BOTTOMLEFT">
                    <Offset>
                      <AbsDimension x="0" y="0" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </Button>
              <Button name="$parentItem10" inherits="HA_PluginItemTemplate">
                <Anchors>
                  <Anchor point="TOPLEFT" relativeTo="$parentItem9" relativePoint="BOTTOMLEFT">
                    <Offset>
                      <AbsDimension x="0" y="0" />
                    </Offset>
                  </Anchor>
                </Anchors>
              </Button>
              <ScrollFrame name="$parentScrollFrame" inherits="FauxScrollFrameTemplate">
                      <Size>
                              <AbsDimension x="320" y="160" />
                      </Size>
                      <Anchors>
                              <Anchor point="TOPRIGHT" relativeTo="$parentHdrName" relativePoint="BOTTOMRIGHT">
                                      <Offset>
                                              <AbsDimension x="-4" y="-2"/>
                                      </Offset>
                              </Anchor>
                      </Anchors>
                      <Scripts>
                              <OnVerticalScroll>
                                      FauxScrollFrame_OnVerticalScroll(10, HA_Config_Plugins_UpdateList);
                              </OnVerticalScroll>
                      </Scripts>
              </ScrollFrame>
            </Frames>
          </Frame>
          <Button name="$parentConfigure" hidden="true" text="HA_GUI_PLUGINS_CONFIGURE">
            <Size>
              <AbsDimension x="100" y="22" />
            </Size>
            <Anchors>
              <Anchor point="TOPLEFT" relativeTo="$parentPlList" relativePoint="BOTTOMLEFT">
                <Offset>
                  <AbsDimension x="130" y="-5" />
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnClick>HA_Config_Plugins_OnConfigure()</OnClick>
            </Scripts>
            <NormalTexture file="Interface\Buttons\UI-Panel-Button-Up">
              <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
            </NormalTexture>
            <PushedTexture file="Interface\Buttons\UI-Panel-Button-Down">
              <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
            </PushedTexture>
            <DisabledTexture file="Interface\Buttons\UI-Panel-Button-Disabled">
              <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
            </DisabledTexture>
            <HighlightTexture file="Interface\Buttons\UI-Panel-Button-Highlight" alphaMode="ADD">
              <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
            </HighlightTexture>
            <NormalText name="$parentText" font="Fonts\FRIZQT__.TTF">
              <FontHeight>
                <AbsValue val="12" />
              </FontHeight>
              <Color r="1" g="0.8196079" b="0" />
              <Shadow>
                <Color r="0" g="0" b="0" />
                <Offset>
                  <AbsDimension x="1" y="-1" />
                </Offset>
              </Shadow>
            </NormalText>
            <HighlightText font="Fonts\FRIZQT__.TTF">
              <FontHeight>
                <AbsValue val="12" />
              </FontHeight>
              <Color r="1" g="1" b="1" />
              <Shadow>
                <Color r="0" g="0" b="0" />
                <Offset>
                  <AbsDimension x="1" y="-1" />
                </Offset>
              </Shadow>
            </HighlightText>
            <DisabledText font="Fonts\FRIZQT__.TTF">
              <FontHeight>
                <AbsValue val="12" />
              </FontHeight>
              <Color r="0.4980392" g="0.4980392" b="0.4980392" />
              <Shadow>
                <Color r="0" g="0" b="0" />
                <Offset>
                  <AbsDimension x="1" y="-1" />
                </Offset>
              </Shadow>
            </DisabledText>
          </Button>
          <Button name="$parentMoveUp" inherits="UIPanelScrollUpButtonTemplate" hidden="true">
            <Anchors>
              <Anchor point="TOPLEFT" relativeTo="$parentConfigure" relativePoint="TOPRIGHT">
                <Offset>
                  <AbsDimension x="5" y="5" />
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnClick>HA_Config_Plugins_OnMoveUp()</OnClick>
            </Scripts>
          </Button>
          <Button name="$parentMoveDown" inherits="UIPanelScrollDownButtonTemplate" hidden="true">
            <Anchors>
              <Anchor point="TOPLEFT" relativeTo="$parentMoveUp" relativePoint="BOTTOMLEFT">
                <Offset>
                  <AbsDimension x="0" y="0" />
                </Offset>
              </Anchor>
            </Anchors>
            <Scripts>
              <OnClick>HA_Config_Plugins_OnMoveDown()</OnClick>
            </Scripts>
          </Button>
        </Frames>
        <Scripts>
          <OnShow>
            getglobal("HAConfFrameBack").submenu = this:GetName();
            HAConfFrameBack:Show();
            HA_Config_Plugins_OnShow();
          </OnShow>
        </Scripts>
      </Frame>
      <!--  ******************* Bottom buttons ******************* -->
      <Button name="$parentClose" text="HA_GUI_CLOSE">
        <Size>
          <AbsDimension x="100" y="22" />
        </Size>
        <Anchors>
          <Anchor point="TOPRIGHT" relativeTo="HAConfFrameMainMenuFrame" relativePoint="BOTTOMRIGHT">
            <Offset>
              <AbsDimension x="0" y="0" />
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>HAConfFrame:Hide();</OnClick>
        </Scripts>
        <NormalTexture file="Interface\Buttons\UI-Panel-Button-Up">
          <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
        </NormalTexture>
        <PushedTexture file="Interface\Buttons\UI-Panel-Button-Down">
          <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
        </PushedTexture>
        <DisabledTexture file="Interface\Buttons\UI-Panel-Button-Disabled">
          <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
        </DisabledTexture>
        <HighlightTexture file="Interface\Buttons\UI-Panel-Button-Highlight" alphaMode="ADD">
          <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
        </HighlightTexture>
        <NormalText name="$parentText" font="Fonts\FRIZQT__.TTF">
          <FontHeight>
            <AbsValue val="12" />
          </FontHeight>
          <Color r="1" g="0.8196079" b="0" />
          <Shadow>
            <Color r="0" g="0" b="0" />
            <Offset>
              <AbsDimension x="1" y="-1" />
            </Offset>
          </Shadow>
        </NormalText>
        <HighlightText font="Fonts\FRIZQT__.TTF">
          <FontHeight>
            <AbsValue val="12" />
          </FontHeight>
          <Color r="1" g="1" b="1" />
          <Shadow>
            <Color r="0" g="0" b="0" />
            <Offset>
              <AbsDimension x="1" y="-1" />
            </Offset>
          </Shadow>
        </HighlightText>
        <DisabledText font="Fonts\FRIZQT__.TTF">
          <FontHeight>
            <AbsValue val="12" />
          </FontHeight>
          <Color r="0.4980392" g="0.4980392" b="0.4980392" />
          <Shadow>
            <Color r="0" g="0" b="0" />
            <Offset>
              <AbsDimension x="1" y="-1" />
            </Offset>
          </Shadow>
        </DisabledText>
      </Button>
      <Button name="$parentBack" hidden="true" text="HA_GUI_BACK">
        <Size>
          <AbsDimension x="100" y="22" />
        </Size>
        <Anchors>
          <Anchor point="TOPRIGHT" relativeTo="$parentClose" relativePoint="TOPLEFT">
            <Offset>
              <AbsDimension x="-10" y="0" />
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>getglobal(this.submenu):Hide();HAConfFrameMainMenuFrame:Show();this:Hide();this.submenu=nil;</OnClick>
        </Scripts>
        <NormalTexture file="Interface\Buttons\UI-Panel-Button-Up">
          <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
        </NormalTexture>
        <PushedTexture file="Interface\Buttons\UI-Panel-Button-Down">
          <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
        </PushedTexture>
        <DisabledTexture file="Interface\Buttons\UI-Panel-Button-Disabled">
          <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
        </DisabledTexture>
        <HighlightTexture file="Interface\Buttons\UI-Panel-Button-Highlight" alphaMode="ADD">
          <TexCoords left="0" right="0.625" top="0" bottom="0.6875" />
        </HighlightTexture>
        <NormalText name="$parentText" font="Fonts\FRIZQT__.TTF">
          <FontHeight>
            <AbsValue val="12" />
          </FontHeight>
          <Color r="1" g="0.8196079" b="0" />
          <Shadow>
            <Color r="0" g="0" b="0" />
            <Offset>
              <AbsDimension x="1" y="-1" />
            </Offset>
          </Shadow>
        </NormalText>
        <HighlightText font="Fonts\FRIZQT__.TTF">
          <FontHeight>
            <AbsValue val="12" />
          </FontHeight>
          <Color r="1" g="1" b="1" />
          <Shadow>
            <Color r="0" g="0" b="0" />
            <Offset>
              <AbsDimension x="1" y="-1" />
            </Offset>
          </Shadow>
        </HighlightText>
        <DisabledText font="Fonts\FRIZQT__.TTF">
          <FontHeight>
            <AbsValue val="12" />
          </FontHeight>
          <Color r="0.4980392" g="0.4980392" b="0.4980392" />
          <Shadow>
            <Color r="0" g="0" b="0" />
            <Offset>
              <AbsDimension x="1" y="-1" />
            </Offset>
          </Shadow>
        </DisabledText>
      </Button>
    </Frames>
    <Scripts>
      <OnLoad>HA_Config_OnLoad();</OnLoad>
      <OnShow>HAConfFrameMainMenuFrame:Show();</OnShow>
      <OnMouseUp>
        if ( this.isMoving ) then
          this:StopMovingOrSizing();
          this.isMoving = false;
        end
      </OnMouseUp>
      <OnMouseDown>
        if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then
          this:StartMoving();
          this.isMoving = true;
        end
      </OnMouseDown>
      <OnHide>
        local submenu = getglobal("HAConfFrameBack").submenu;
        if(submenu)
        then
          getglobal(submenu):Hide();
          getglobal("HAConfFrameBack"):Hide();
          getglobal("HAConfFrameBack").submenu=nil;
        end
        if ( this.isMoving ) then
          this:StopMovingOrSizing();
          this.isMoving = false;
        end
      </OnHide>
      </Scripts>
  </Frame>
  
</Ui>