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="HealBot_Action.lua" />
 
  <Button name="HealingButtonTemplate0" virtual="true">
    <NormalText name="$parentText" inherits="GameFontNormalSmall" /> 
    <HighlightText inherits="GameFontNormalSmall" /> 
  </Button>

  <Button name="HealingButtonTemplate" virtual="true" inherits="HealingButtonTemplate0">
    <Size>
      <AbsDimension x="95" y="18" />
    </Size>
    <Scripts>
      <OnLoad>HealBot_Action_HealUnit_OnLoad(this);</OnLoad>
      <OnEnter>HealBot_Action_HealUnit_OnEnter(this);</OnEnter>
      <OnLeave>HealBot_Action_HealUnit_OnLeave(this);</OnLeave>
      <OnClick>HealBot_Action_HealUnit_OnClick(this,arg1);</OnClick>
    </Scripts>
    <Frames>
      <StatusBar name="$parentBar" inherits="HealBot_StatusBar">
        <Anchors>
          <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
            <Offset>
              <AbsDimension x="0" y="0"/>
            </Offset>
          </Anchor>
          <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
            <Offset>
              <AbsDimension x="0" y="0"/>
            </Offset>
          </Anchor>
        </Anchors>

      </StatusBar>
      <StatusBar name="$parentBar2" inherits="HealBot_StatusBar">
        <Anchors>
          <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
            <Offset>
              <AbsDimension x="0" y="0"/>
            </Offset>
          </Anchor>
          <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
            <Offset>
              <AbsDimension x="0" y="0"/>
            </Offset>
          </Anchor>
        </Anchors>

      </StatusBar>
    </Frames>
  </Button>

  <Button name="HealingButtonTemplate2" virtual="true" inherits="HealingButtonTemplate">
    <Size>
      <AbsDimension x="108" y="18" />
    </Size>
    <Frames>
      <CheckButton name="$parentCheck" inherits="SendMailRadioButtonTemplate">
        <Size>
          <AbsDimension x="14" y="20"/>
        </Size>
        <Anchors>
          <Anchor point="TOPRIGHT" relativePoint="TOPLEFT">
            <Offset>
              <AbsDimension x="0" y="0"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>HealBot_Action_HealUnitCheck_OnClick(this)</OnClick> 
        </Scripts>
      </CheckButton>
    </Frames>
  </Button>
 
   <Button name="HealingButtonTemplate3" virtual="true" inherits="HealingButtonTemplate0">
    <Size>
      <AbsDimension x="128" y="18" />
    </Size>
    <Scripts>
      <OnLoad>HealBot_Action_HealUnit_OnLoad(this);</OnLoad>
      <OnEnter>HealBot_Action_HealUnit_OnEnter(this);</OnEnter>
      <OnLeave>HealBot_Action_HealUnit_OnLeave(this);</OnLeave>
      <OnClick>HealBot_Action_HealUnit_OnClick(this,arg1);</OnClick>
    </Scripts>
    <Frames>
      <StatusBar name="$parentBar" inherits="HealBot_StatusBar">
        <Anchors>
          <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
            <Offset>
              <AbsDimension x="0" y="0"/>
            </Offset>
          </Anchor>
          <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
            <Offset>
              <AbsDimension x="0" y="0"/>
            </Offset>
          </Anchor>
        </Anchors>
      </StatusBar>
    </Frames>
  </Button>

   <Button name="HealingButtonTemplate4" virtual="true" inherits="HealingButtonTemplate0">
    <Size>
      <AbsDimension x="128" y="18" />
    </Size>
  </Button>

  <Frame name="HealBot_Action" toplevel="true" parent="UIParent"
      movable="true" enableMouse="true" enableKeyboard="false" hidden="true">
    <Size>
      <AbsDimension x="148" y="74"/>
    </Size>
    <Anchors>
      <Anchor point="RIGHT">
        <Offset>
          <AbsDimension x="0" y="0"/>
        </Offset>
      </Anchor>
    </Anchors>
    <Backdrop tile="true"
      bgFile="Interface\Tooltips\UI-Tooltip-Background"
      edgeFile="Interface\Tooltips\UI-Tooltip-Border">
      <EdgeSize>
        <AbsValue val="16"/>
      </EdgeSize>
      <TileSize>
        <AbsValue val="16"/>
      </TileSize>
      <BackgroundInsets>
        <AbsInset left="5" right="5" top="5" bottom="5"/>
      </BackgroundInsets>
    </Backdrop>
    <Frames>
<!-- Heal Buttons -->
      <Button name="HealBot_Action_HealUnit1" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit2" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit3" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit4" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit5" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit6" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit7" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit8" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit9" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit10" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit11" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit12" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit13" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit14" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit15" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit16" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit17" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit18" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit19" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit20" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit21" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit22" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit23" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit24" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit25" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit26" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit27" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit28" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit29" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit30" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit31" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit32" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit33" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit34" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit35" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit36" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit37" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit38" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit39" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit40" inherits="HealingButtonTemplate" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit41" inherits="HealingButtonTemplate" text="Unit not set"/>
      
      <Button name="HealBot_Action_HealUnit51" inherits="HealingButtonTemplate2" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit52" inherits="HealingButtonTemplate2" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit53" inherits="HealingButtonTemplate2" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit54" inherits="HealingButtonTemplate2" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit55" inherits="HealingButtonTemplate2" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit56" inherits="HealingButtonTemplate2" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit57" inherits="HealingButtonTemplate2" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit58" inherits="HealingButtonTemplate2" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit59" inherits="HealingButtonTemplate2" text="Unit not set"/>
      <Button name="HealBot_Action_HealUnit60" inherits="HealingButtonTemplate2" text="Unit not set"/>
      
      <Button name="HealBot_Action_Header1" inherits="HealingButtonTemplate4" text="Unit not set"/>
      <Button name="HealBot_Action_Header2" inherits="HealingButtonTemplate4" text="Unit not set"/>
      <Button name="HealBot_Action_Header3" inherits="HealingButtonTemplate4" text="Unit not set"/>
      <Button name="HealBot_Action_Header4" inherits="HealingButtonTemplate4" text="Unit not set"/>
      <Button name="HealBot_Action_Header5" inherits="HealingButtonTemplate4" text="Unit not set"/>
      <Button name="HealBot_Action_Header6" inherits="HealingButtonTemplate4" text="Unit not set"/>
      <Button name="HealBot_Action_Header7" inherits="HealingButtonTemplate4" text="Unit not set"/>
      <Button name="HealBot_Action_Header8" inherits="HealingButtonTemplate4" text="Unit not set"/>
      <Button name="HealBot_Action_Header9" inherits="HealingButtonTemplate4" text="Unit not set"/>
      <Button name="HealBot_Action_Header10" inherits="HealingButtonTemplate4" text="Unit not set"/>
      <Button name="HealBot_Action_Header11" inherits="HealingButtonTemplate4" text="Unit not set"/>
      <Button name="HealBot_Action_Header12" inherits="HealingButtonTemplate4" text="Unit not set"/>
      <Button name="HealBot_Action_Header13" inherits="HealingButtonTemplate4" text="Unit not set"/>
      <Button name="HealBot_Action_Header14" inherits="HealingButtonTemplate4" text="Unit not set"/>
      <Button name="HealBot_Action_Header15" inherits="HealingButtonTemplate4" text="Unit not set"/>
      <Button name="HealBot_Action_Header16" inherits="HealingButtonTemplate4" text="Unit not set"/>
      <Button name="HealBot_Action_Header17" inherits="HealingButtonTemplate4" text="Unit not set"/>
      <Button name="HealBot_Action_Header18" inherits="HealingButtonTemplate4" text="Unit not set"/>
      <Button name="HealBot_Action_Header19" inherits="HealingButtonTemplate4" text="Unit not set"/>
      <Button name="HealBot_Action_Header20" inherits="HealingButtonTemplate4" text="Unit not set"/>
<!-- Abort Button -->
      <Button name="HealBot_Action_AbortButton" inherits="HealingButtonTemplate3" text=" ">
        <Size>
          <AbsDimension x="100" y="16"/>
        </Size>
        <Anchors>
          <Anchor point="BOTTOM" relativePoint="BOTTOM">
            <Offset>
              <AbsDimension x="0" y="12"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>
            HealBot_Action_AbortButton_OnClick(this);
          </OnClick>
        </Scripts>
      </Button>
<!-- Options Button -->
      <Button name="HealBot_Action_OptionsButton" inherits="HealingButtonTemplate0" text="HEALBOT_ACTION_OPTIONS">
        <Size>
          <AbsDimension x="80" y="20"/>
        </Size>
        <Anchors>
          <Anchor point="BOTTOM" relativePoint="BOTTOM">
            <Offset>
              <AbsDimension x="0" y="10"/>
            </Offset>
          </Anchor>
        </Anchors>
        <Scripts>
          <OnClick>
            HealBot_Action_OptionsButton_OnClick(this);
          </OnClick>
        </Scripts>
      </Button>
<!-- Close Button -->
<!--
                        <Button name="HealBot_Action_CloseButton" inherits="UIPanelButtonTemplate" text="CLOSE">
                                <Size>
                                        <AbsDimension x="80" y="20"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOM" relativePoint="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="15"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                HideUIPanel(this:GetParent());
                                        </OnClick>
                                </Scripts>
                        </Button>
-->

    </Frames>
    <Scripts>
      <OnLoad>
        HealBot_Action_OnLoad(this);
      </OnLoad>
      <OnShow>
        HealBot_Action_OnShow(this);
      </OnShow>
      <OnHide>
        HealBot_Action_OnHide(this);
      </OnHide>
      <OnMouseDown>
        HealBot_Action_OnMouseDown(this,arg1);
      </OnMouseDown>
      <OnMouseUp>
        HealBot_Action_OnMouseUp(this,arg1);
      </OnMouseUp>
      <OnClick>
        HealBot_Action_OnClick(this,arg1);
      </OnClick>
      <OnDragStart>
        HealBot_Action_OnDragStart(this,arg1);
      </OnDragStart>
      <OnDragStop>
        HealBot_Action_OnDragStop(this);
      </OnDragStop>
<!--
      <OnKeyDown> 
        HealBot_Action_OnKey(this,arg1,"down");
      </OnKeyDown> 
      <OnKeyUp> 
        HealBot_Action_OnKey(this,arg1,"up");
      </OnKeyUp> 
-->
   </Scripts>
  </Frame>
</Ui>