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">
        <!-- Disabled Message -->
        
        <Frame name="SH_ClickhealDisabledMessage" virtual="true">
                <Size>
                        <AbsDimension x="200" y="32"/>
                </Size>
                <Layers>
                        <Layer>
                                <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="RIGHT" text="SH_DISABLED_BY_OVERDRIVE_MODE">
                                        <Color r="1" g="0" b="0" />
                                </FontString>
                        </Layer>
                </Layers>
                
        </Frame>

    <!-- options frame -->
    <Frame name="SH_OptionsFrame2" setAllPoints="true" enableMouse="true" enableKeyboard="true" parent="SH_OptionsFrameCanvas" hidden="true">
                <Size>
                        <AbsDimension x="390" y="400"/>
                </Size>
                <Anchors>
                        <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"/>
                </Anchors>
                
                <Frames>
                        <Frame name="$parent_TextLabel1">
                                <Size>
                                        <AbsDimension x="120" y="32"/>
                                </Size>
                        
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT" />
                                </Anchors>
                        
                                <Layers>
                                        <Layer>
                                                <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_CHARACTER_CLASS" />
                                        </Layer>
                                </Layers>
                        </Frame>
                
                        <Frame name="$parent_TextLabel_playerclass">
                                <Size>
                                        <AbsDimension x="32" y="32"/>
                                </Size>
                        
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parent_TextLabel1" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        
                                <Layers>
                                        <Layer>
                                                <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="">
                                                        <Color r="1" g="1" b="1"/>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                
                                <Scripts>
                                        <OnLoad>
                                                local localeClass, playerClass = UnitClass("player");
                                                SH_OptionsFrame2_TextLabel_playerclass_Name:SetText(localeClass)
                                        </OnLoad>
                                </Scripts>
                        </Frame>
                
                
                        <CheckButton name="$parent_CheckButton_enable_clickmode">
                        <Size>
                          <AbsDimension x="24" y="24" />
                        </Size>
                        <Anchors>
                          <Anchor point="TOPLEFT" relativeTo="$parent_TextLabel1" relativePoint="BOTTOMLEFT">
                            <Offset>
                              <AbsDimension x="0" y="-5" />
                            </Offset>
                          </Anchor>
                        </Anchors>
                        <Layers>
                          <Layer>
                            <FontString name="$parent_Name" inherits="GameFontNormal" text="SH_ENABLE_CLICKHEAL">
                              <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>
                                <OnShow>
                                        this:SetChecked(SmartHeal:getConfig('enable','clickmode'))
                                        SmartHeal:setClickMode(this:GetChecked())
                                </OnShow>
                                <OnClick>
                                        SmartHeal:ClickCheckBox(this:GetName(),this:GetChecked())
                                        SmartHeal:setClickMode(this:GetChecked())
                                </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>
                        
                        <Frame name="$parent_TextLabel2">
                                <Size>
                                        <AbsDimension x="120" y="32"/>
                                </Size>
                        
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="$parent_CheckButton_enable_clickmode" relativePoint="BOTTOMLEFT" />
                                        <Offset>
                                                <AbsDimension x="0" y="-5" />
                                        </Offset>
                                </Anchors>
                        
                                <Layers>
                                        <Layer>
                                                <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_SHIFTLEFTCLICK" />
                                        </Layer>
                                </Layers>
                        </Frame>
                        
                        <Frame name="$parent_TextLabel3">
                                <Size>
                                        <AbsDimension x="120" y="32"/>
                                </Size>
                        
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="$parent_TextLabel2" relativePoint="BOTTOMLEFT" />
                                        <Offset>
                                                <AbsDimension x="0" y="-5" />
                                        </Offset>
                                </Anchors>
                        
                                <Layers>
                                        <Layer>
                                                <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_SHIFTMIDDLECLICK" />
                                        </Layer>
                                </Layers>
                        </Frame>
                        
                        <Frame name="$parent_TextLabel4">
                                <Size>
                                        <AbsDimension x="120" y="32"/>
                                </Size>
                        
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="$parent_TextLabel3" relativePoint="BOTTOMLEFT" />
                                        <Offset>
                                                <AbsDimension x="0" y="-5" />
                                        </Offset>
                                </Anchors>
                        
                                <Layers>
                                        <Layer>
                                                <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_SHIFTRIGHTCLICK" />
                                        </Layer>
                                </Layers>
                        </Frame>
                        
                        <Frame name="$parent_TextLabel5">
                                <Size>
                                        <AbsDimension x="120" y="32"/>
                                </Size>
                        
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="$parent_TextLabel4" relativePoint="BOTTOMLEFT" />
                                        <Offset>
                                                <AbsDimension x="0" y="-5" />
                                        </Offset>
                                </Anchors>
                        
                                <Layers>
                                        <Layer>
                                                <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_CTRLLEFTCLICK" />
                                        </Layer>
                                </Layers>
                        </Frame>
                        
                        <Frame name="$parent_TextLabel6">
                                <Size>
                                        <AbsDimension x="120" y="32"/>
                                </Size>
                        
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="$parent_TextLabel5" relativePoint="BOTTOMLEFT" />
                                        <Offset>
                                                <AbsDimension x="0" y="-5" />
                                        </Offset>
                                </Anchors>
                        
                                <Layers>
                                        <Layer>
                                                <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_CTRLMIDDLECLICK" />
                                        </Layer>
                                </Layers>
                        </Frame>
                        
                        <Frame name="$parent_TextLabel7">
                                <Size>
                                        <AbsDimension x="120" y="32"/>
                                </Size>
                        
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="$parent_TextLabel6" relativePoint="BOTTOMLEFT" />
                                        <Offset>
                                                <AbsDimension x="0" y="-5" />
                                        </Offset>
                                </Anchors>
                        
                                <Layers>
                                        <Layer>
                                                <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_CTRLRIGHTCLICK" />
                                        </Layer>
                                </Layers>
                        </Frame>
                        
                        <Frame name="$parent_TextLabel8">
                                <Size>
                                        <AbsDimension x="120" y="32"/>
                                </Size>
                        
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="$parent_TextLabel7" relativePoint="BOTTOMLEFT" />
                                        <Offset>
                                                <AbsDimension x="0" y="-5" />
                                        </Offset>
                                </Anchors>
                        
                                <Layers>
                                        <Layer>
                                                <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_ALTLEFTCLICK" />
                                        </Layer>
                                </Layers>
                        </Frame>
                        
                        <Frame name="$parent_TextLabel9">
                                <Size>
                                        <AbsDimension x="120" y="32"/>
                                </Size>
                        
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="$parent_TextLabel8" relativePoint="BOTTOMLEFT" />
                                        <Offset>
                                                <AbsDimension x="0" y="-5" />
                                        </Offset>
                                </Anchors>
                        
                                <Layers>
                                        <Layer>
                                                <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_ALTMIDDLECLICK" />
                                        </Layer>
                                </Layers>
                        </Frame>
                        
                        <Frame name="$parent_TextLabel10">
                                <Size>
                                        <AbsDimension x="120" y="32"/>
                                </Size>
                        
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="$parent_TextLabel9" relativePoint="BOTTOMLEFT" />
                                        <Offset>
                                                <AbsDimension x="0" y="-5" />
                                        </Offset>
                                </Anchors>
                        
                                <Layers>
                                        <Layer>
                                                <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_ALTRIGHTCLICK" />
                                        </Layer>
                                </Layers>
                        </Frame>
                        
                        <Frame name="$parent_DropDown_shiftLeftButton_clickmode" inherits="UIDropDownMenuTemplate"> 
                                <Size>
                                        <AbsDimension x="200" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parent_TextLabel2" relativePoint="RIGHT" />
                                        <Offset>
                                                <AbsDimension x="5" y="0" />
                                        </Offset>
                                </Anchors>
                                <Scripts> 
                                <OnShow> 
                                        SmartHeal:DropDownMenuOnLoad(this,SmartHeal.clickmodeOptionList[SmartHeal.playerClass],
                                                SmartHeal:getConfig('shiftLeftButton','clickmode'),
                                                SH_ClickHealOnSelect,
                                                200);
                                </OnShow>                               
                                </Scripts> 
                        </Frame>
                        
                        <Frame name="$parent_DropDown_shiftMiddleButton_clickmode" inherits="UIDropDownMenuTemplate"> 
                                <Size>
                                        <AbsDimension x="200" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parent_TextLabel3" relativePoint="RIGHT" />
                                        <Offset>
                                                <AbsDimension x="5" y="0" />
                                        </Offset>
                                </Anchors>
                                <Scripts> 
                                <OnShow> 
                                        SmartHeal:DropDownMenuOnLoad(this,SmartHeal.clickmodeOptionList[SmartHeal.playerClass],
                                                SmartHeal:getConfig('shiftMiddleButton','clickmode'),
                                                SH_ClickHealOnSelect,
                                                200);
                                </OnShow> 
                                </Scripts> 
                        </Frame>
                        
                        <Frame name="$parent_DropDown_shiftRightButton_clickmode" inherits="UIDropDownMenuTemplate"> 
                                <Size>
                                        <AbsDimension x="200" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parent_TextLabel4" relativePoint="RIGHT" />
                                        <Offset>
                                                <AbsDimension x="5" y="0" />
                                        </Offset>
                                </Anchors>
                                <Scripts> 
                                <OnShow> 
                                        SmartHeal:DropDownMenuOnLoad(this,SmartHeal.clickmodeOptionList[SmartHeal.playerClass],
                                                SmartHeal:getConfig('shiftRightButton','clickmode'),
                                                SH_ClickHealOnSelect,
                                                200);
                                </OnShow> 
                                </Scripts> 
                        </Frame>
                        
                        <Frame name="$parent_DropDown_ctrlLeftButton_clickmode" inherits="UIDropDownMenuTemplate"> 
                                <Size>
                                        <AbsDimension x="200" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parent_TextLabel5" relativePoint="RIGHT" />
                                        <Offset>
                                                <AbsDimension x="5" y="0" />
                                        </Offset>
                                </Anchors>
                                <Scripts> 
                                <OnShow> 
                                        SmartHeal:DropDownMenuOnLoad(this,SmartHeal.clickmodeOptionList[SmartHeal.playerClass],
                                                SmartHeal:getConfig('ctrlLeftButton','clickmode'),
                                                SH_ClickHealOnSelect,
                                                200);
                                </OnShow> 
                                </Scripts> 
                        </Frame>
                        
                        <Frame name="$parent_DropDown_ctrlMiddleButton_clickmode" inherits="UIDropDownMenuTemplate"> 
                                <Size>
                                        <AbsDimension x="200" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parent_TextLabel6" relativePoint="RIGHT" />
                                        <Offset>
                                                <AbsDimension x="5" y="0" />
                                        </Offset>
                                </Anchors>
                                <Scripts> 
                                <OnShow> 
                                        SmartHeal:DropDownMenuOnLoad(this,SmartHeal.clickmodeOptionList[SmartHeal.playerClass],
                                                SmartHeal:getConfig('ctrlMiddleButton','clickmode'),
                                                SH_ClickHealOnSelect,
                                                200);
                                </OnShow> 
                                </Scripts> 
                        </Frame>
                        
                        <Frame name="$parent_DropDown_ctrlRightButton_clickmode" inherits="UIDropDownMenuTemplate"> 
                                <Size>
                                        <AbsDimension x="200" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parent_TextLabel7" relativePoint="RIGHT" />
                                        <Offset>
                                                <AbsDimension x="5" y="0" />
                                        </Offset>
                                </Anchors>
                                <Scripts> 
                                <OnShow> 
                                        SmartHeal:DropDownMenuOnLoad(this,SmartHeal.clickmodeOptionList[SmartHeal.playerClass],
                                                SmartHeal:getConfig('ctrlRightButton','clickmode'),
                                                SH_ClickHealOnSelect,
                                                200);
                                </OnShow> 
                                </Scripts> 
                        </Frame>
                        
                        <Frame name="$parent_DropDown_altLeftButton_clickmode" inherits="UIDropDownMenuTemplate"> 
                                <Size>
                                        <AbsDimension x="200" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parent_TextLabel8" relativePoint="RIGHT" />
                                        <Offset>
                                                <AbsDimension x="5" y="0" />
                                        </Offset>
                                </Anchors>
                                <Scripts> 
                                <OnShow> 
                                        SmartHeal:DropDownMenuOnLoad(this,SmartHeal.clickmodeOptionList[SmartHeal.playerClass],
                                                SmartHeal:getConfig('altLeftButton','clickmode'),
                                                SH_ClickHealOnSelect,
                                                200);
                                </OnShow> 
                                </Scripts> 
                        </Frame>
                        
                        <Frame name="$parent_DropDown_altMiddleButton_clickmode" inherits="UIDropDownMenuTemplate"> 
                                <Size>
                                        <AbsDimension x="200" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parent_TextLabel9" relativePoint="RIGHT" />
                                        <Offset>
                                                <AbsDimension x="5" y="0" />
                                        </Offset>
                                </Anchors>
                                <Scripts> 
                                <OnShow> 
                                        SmartHeal:DropDownMenuOnLoad(this,SmartHeal.clickmodeOptionList[SmartHeal.playerClass],
                                                SmartHeal:getConfig('altMiddleButton','clickmode'),
                                                SH_ClickHealOnSelect,
                                                200);
                                </OnShow> 
                                </Scripts> 
                        </Frame>
                        
                        <Frame name="$parent_DropDown_altRightButton_clickmode" inherits="UIDropDownMenuTemplate"> 
                                <Size>
                                        <AbsDimension x="200" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parent_TextLabel10" relativePoint="RIGHT" />
                                        <Offset>
                                                <AbsDimension x="5" y="0" />
                                        </Offset>
                                </Anchors>
                                <Scripts> 
                                <OnShow> 
                                        SmartHeal:DropDownMenuOnLoad(this,SmartHeal.clickmodeOptionList[SmartHeal.playerClass],
                                                SmartHeal:getConfig('altRightButton','clickmode'),
                                                SH_ClickHealOnSelect,
                                                200);
                                </OnShow> 
                                </Scripts> 
                        </Frame>
                        
                        <Frame name="$parent_TextLabel11">
                                <Size>
                                        <AbsDimension x="230" y="32"/>
                                </Size>
                        
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="$parent_TextLabel10" relativePoint="BOTTOMLEFT" />
                                        <Offset>
                                                <AbsDimension x="0" y="-5" />
                                        </Offset>
                                </Anchors>
                        
                                <Layers>
                                        <Layer>
                                                <FontString name="$parent_Name" inherits="GameFontNormal" justifyH="LEFT" text="SH_OVERDRIVE_MODE" />
                                        </Layer>
                                </Layers>
                        </Frame>
                        
                        <Frame name="$parent_DropDown_overdrive_clickmode" inherits="UIDropDownMenuTemplate"> 
                                <Size>
                                        <AbsDimension x="80" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parent_TextLabel11" relativePoint="RIGHT" />
                                        <Offset>
                                                <AbsDimension x="5" y="0" />
                                        </Offset>
                                </Anchors>
                                <Scripts> 
                                <OnShow> 
                                        SmartHeal:DropDownMenuOnLoad(this,SmartHeal.OverDriveOptionList,
                                                SmartHeal:getConfig('overdrive','clickmode'),
                                                SH_OverDriveOnSelect,
                                                80);
                                </OnShow> 
                                </Scripts> 
                        </Frame>
                        
                        <Frame name="$parent_Disabled_shiftLeftButton_clickmode" hidden="true" inherits="SH_ClickhealDisabledMessage">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parent_TextLabel2" relativePoint="RIGHT" />
                                        <Offset><AbsDimension x="30" y="0" /></Offset>
                                </Anchors>
                        </Frame>
                        <Frame name="$parent_Disabled_shiftMiddleButton_clickmode" hidden="true" inherits="SH_ClickhealDisabledMessage">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parent_TextLabel3" relativePoint="RIGHT" />
                                        <Offset><AbsDimension x="30" y="0" /></Offset>
                                </Anchors>
                        </Frame>
                        <Frame name="$parent_Disabled_shiftRightButton_clickmode" hidden="true" inherits="SH_ClickhealDisabledMessage">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parent_TextLabel4" relativePoint="RIGHT" />
                                        <Offset><AbsDimension x="30" y="0" /></Offset>
                                </Anchors>
                        </Frame>
                        <Frame name="$parent_Disabled_ctrlLeftButton_clickmode" hidden="true" inherits="SH_ClickhealDisabledMessage">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parent_TextLabel5" relativePoint="RIGHT" />
                                        <Offset><AbsDimension x="30" y="0" /></Offset>
                                </Anchors>
                        </Frame>
                        <Frame name="$parent_Disabled_ctrlMiddleButton_clickmode" hidden="true" inherits="SH_ClickhealDisabledMessage">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parent_TextLabel6" relativePoint="RIGHT" />
                                        <Offset><AbsDimension x="30" y="0" /></Offset>
                                </Anchors>
                        </Frame>
                        <Frame name="$parent_Disabled_ctrlRightButton_clickmode" hidden="true" inherits="SH_ClickhealDisabledMessage">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parent_TextLabel7" relativePoint="RIGHT" />
                                        <Offset><AbsDimension x="30" y="0" /></Offset>
                                </Anchors>
                        </Frame>
                        <Frame name="$parent_Disabled_altLeftButton_clickmode" hidden="true" inherits="SH_ClickhealDisabledMessage">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parent_TextLabel8" relativePoint="RIGHT" />
                                        <Offset><AbsDimension x="30" y="0" /></Offset>
                                </Anchors>
                        </Frame>
                        <Frame name="$parent_Disabled_altMiddleButton_clickmode" hidden="true" inherits="SH_ClickhealDisabledMessage">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parent_TextLabel9" relativePoint="RIGHT" />
                                        <Offset><AbsDimension x="30" y="0" /></Offset>
                                </Anchors>
                        </Frame>
                        <Frame name="$parent_Disabled_altRightButton_clickmode" hidden="true" inherits="SH_ClickhealDisabledMessage">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parent_TextLabel10" relativePoint="RIGHT" />
                                        <Offset><AbsDimension x="30" y="0" /></Offset>
                                </Anchors>
                        </Frame>
                        
                </Frames>
                
                <Scripts>
                        <OnShow>
                                SmartHeal:ClickHeal_DropDown_OnShow()
                        </OnShow>
                        <OnKeyDown>
                                if (arg1 == "ESCAPE") then
                                        this:GetParent():GetParent():Hide();
                                end
                        </OnKeyDown>                    
                </Scripts>
    </Frame>
</UI>

Generated by GNU Enscript 1.6.5.90.