vanilla-wow-addons – Rev 1
?pathlinks?
<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="SuperMacro.lua"/>
<Script file="SM_Super.lua"/>
<Script file="SM_ItemLink.lua"/>
<Script file="SM_Slash.lua"/>
<Script file="SM_Tooltip.lua"/>
<Script file="SM_Extend.lua"/>
<Script file="localization.lua"/>
<FontString name="SuperMacroButtonFont" virtual="true" inherits="GameFontNormalLarge">
<Shadow>
<Offset>
<AbsDimension x="2" y="-1"/>
</Offset>
<Color r="0" g="0" b="0"/>
</Shadow>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<CheckButton name="SuperMacroFrameButtonTemplate" virtual="true">
<Size>
<AbsDimension x="36" y="36"/>
</Size>
<Layers>
<Layer level="OVERLAY">
<FontString name="$parentName" inherits="GameFontHighlightSmallOutline">
<Size>
<AbsDimension x="36" y="10"/>
</Size>
<Anchors>
<Anchor point="BOTTOM">
<Offset>
<AbsDimension x="0" y="2"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<Layer level="BACKGROUND">
<Texture file="Interface\Buttons\UI-EmptySlot-Disabled">
<Size>
<AbsDimension x="64" y="64"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="-1"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<NormalTexture name="$parentIcon">
<Size>
<AbsDimension x="36" y="36"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="-1"/>
</Offset>
</Anchor>
</Anchors>
</NormalTexture>
<HighlightTexture alphaMode="ADD" file="Interface\Buttons\ButtonHilight-Square"/>
<CheckedTexture alphaMode="ADD" file="Interface\Buttons\CheckButtonHilight"/>
</CheckButton>
<Checkbutton name="SuperMacroButtonTemplate" inherits="SuperMacroFrameButtonTemplate" virtual="true">
<Layers>
<Layer level="OVERLAY">
<FontString name="$parentID" inherits="SuperMacroButtonFont">
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:RegisterForDrag("LeftButton");
this:RegisterForClicks("LeftButtonUp", "RightButtonUp", "LeftButtonDown");
</OnLoad>
<OnClick>
SuperMacroButton_OnClick(arg1);
</OnClick>
<OnDragStart>
PickupMacro(this:GetID());
</OnDragStart>
</Scripts>
</Checkbutton>
<Checkbutton name="SuperMacroSuperButtonTemplate" inherits="SuperMacroFrameButtonTemplate" virtual="true">
<Layers>
<Layer level="OVERLAY">
<FontString name="$parentID" inherits="SuperMacroButtonFont">
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:RegisterForDrag("LeftButton");
this:RegisterForClicks("LeftButtonUp", "RightButtonUp", "LeftButtonDown");
</OnLoad>
<OnClick>
SuperMacroSuperButton_OnClick(arg1);
</OnClick>
<OnDragStart>
local supername=GetOrderedSuperMacroInfo(this:GetID());
PickupMacro(1,supername);
</OnDragStart>
</Scripts>
</Checkbutton>
<CheckButton name="SuperMacroPopupButtonTemplate" inherits="SuperMacroFrameButtonTemplate" virtual="true">
<Scripts>
<OnClick>
SuperMacroPopupButton_OnClick();
</OnClick>
</Scripts>
</CheckButton>
<Button name="SuperMacroFrameTabTemplate" inherits="CharacterFrameTabButtonTemplate" virtual="true">
<Scripts>
<OnClick>
PanelTemplates_Tab_OnClick(SuperMacroFrame);
SuperMacroFrame.textChanged = 1;
SuperMacroFrame_OnShow();
</OnClick>
</Scripts>
</Button>
<Frame name="SuperMacroFrame" toplevel="true" movable="true" parent="UIParent" enableMouse="true" hidden="true" strata="HIGH">
<Size>
<AbsDimension x="590" y="512"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="-104"/>
</Offset>
</Anchor>
</Anchors>
<HitRectInsets>
<AbsInset left="12" right="40" top="12" bottom="71"/>
</HitRectInsets>
<Layers>
<Layer level="BACKGROUND">
<Texture name="SuperMacroFramePortrait" file="Interface\Icons\Ability_Ambush">
<Size>
<AbsDimension x="60" y="60"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="7" y="-6"/>
</Offset>
</Anchor>
</Anchors>
<Gradient orientation="HORIZONTAL">
<MinColor r="0" g="0" b="0"/>
<MaxColor r="1" g="1" b="1"/>
</Gradient>
</Texture>
</Layer>
<Layer level="BORDER">
<Texture file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
<Texture file="Interface\PaperDollInfoFrame\UI-Character-General-TopLeft">
<Size>
<AbsDimension x="206" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="256" y="0"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.30" right="1.0" top="0" bottom="1.0"/>
</Texture>
<Texture file="Interface\PaperDollInfoFrame\UI-Character-General-TopRight">
<Size>
<AbsDimension x="128" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT"/>
</Anchors>
</Texture>
<Texture file="Interface\MacroFrame\MacroFrame-BotLeft">
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT"/>
</Anchors>
</Texture>
<Texture file="Interface\MacroFrame\MacroFrame-BotLeft">
<Size>
<AbsDimension x="206" y="256"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="256" y="0"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.30" right="0.93" top="0" bottom="1.0"/>
</Texture>
<Texture file="Interface\MacroFrame\MacroFrame-BotRight">
<Size>
<AbsDimension x="128" y="256"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
</Texture>
<FontString name="SuperMacroFrameTitle" inherits="GameFontNormal" text="SUPERMACRO_TITLE">
<Anchors>
<Anchor point="TOP" relativeTo="SuperMacroFrame">
<Offset>
<AbsDimension x="0" y="-17"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<Layer level="ARTWORK">
<Texture name="SuperMacroFrameSelectedMacroBackground" file="Interface\Buttons\UI-EmptySlot">
<Size>
<AbsDimension x="64" y="64"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="16" y="-228"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture name="SuperMacroHorizontalBarLeft" file="Interface\ClassTrainerFrame\UI-ClassTrainer-HorizontalBar">
<Size>
<AbsDimension x="460" y="16"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="15" y="-220"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="1.0" top="0" bottom="0.25"/>
</Texture>
<Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-HorizontalBar">
<Size>
<AbsDimension x="75" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroHorizontalBarLeft" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.29296875" top="0.25" bottom="0.5"/>
</Texture>
<FontString name="SuperMacroFrameSelectedMacroName" inherits="GameFontNormalLarge" justifyH="LEFT">
<Size>
<AbsDimension x="256" y="16"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="SuperMacroFrameSelectedMacroBackground" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="57" y="-5"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="SuperMacroFrameEnterMacroText" inherits="GameFontHighlightSmall" text="ENTER_MACRO_LABEL">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="SuperMacroFrameSelectedMacroBackground" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="55" y="20"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="SuperMacroFrameSelectedMacroName" inherits="SuperMacroButtonFont">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="SuperMacroFrameSelectedMacroBackground" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-4" y="-13"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame name="SuperMacroFrameRegularFrame" setAllPoints="true">
<Layers>
<Layer level="OVERLAY">
<FontString name="SuperMacroFrameGeneralMacroText" inherits="GameFontNormal" justifyH="CENTER" text="GENERAL_MACROS" letters="255">
<Size>
<AbsDimension x="256" y="16"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="SuperMacroFrame" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="162" y="-66"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="SuperMacroFrameCharacterMacroText" inherits="GameFontNormal" justifyH="CENTER" text="CHARACTER_SPECIFIC_MACROS" letters="255">
<Size>
<AbsDimension x="256" y="16"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="SuperMacroFrame" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="420" y="-66"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="SuperMacroFrameCharLimitText" inherits="GameFontHighlightSmall">
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="25" y="105"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<CheckButton name="SuperMacroFrameSelectedMacroButton" inherits="SuperMacroButtonTemplate" id="0">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="SuperMacroFrameSelectedMacroBackground">
<Offset>
<AbsDimension x="14" y="-14"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
this:SetChecked(nil);
local id = SuperMacroFrame.selectedMacro;
if ( arg1=="RightButton") then
RunMacro(id);
elseif ( id ) then
PickupMacro(id);
end
</OnClick>
</Scripts>
</CheckButton>
<CheckButton name="SuperMacroButton1" inherits="SuperMacroButtonTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="25" y="-83"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton2" inherits="SuperMacroButtonTemplate" id="2">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton1" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton3" inherits="SuperMacroButtonTemplate" id="3">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton2" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton4" inherits="SuperMacroButtonTemplate" id="4">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton3" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton5" inherits="SuperMacroButtonTemplate" id="5">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton4" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton6" inherits="SuperMacroButtonTemplate" id="6">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton5" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton7" inherits="SuperMacroButtonTemplate" id="7">
<Anchors>
<Anchor point="TOP" relativeTo="SuperMacroButton1" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton8" inherits="SuperMacroButtonTemplate" id="8">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton7" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton9" inherits="SuperMacroButtonTemplate" id="9">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton8" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton10" inherits="SuperMacroButtonTemplate" id="10">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton9" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton11" inherits="SuperMacroButtonTemplate" id="11">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton10" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton12" inherits="SuperMacroButtonTemplate" id="12">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton11" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton13" inherits="SuperMacroButtonTemplate" id="13">
<Anchors>
<Anchor point="TOP" relativeTo="SuperMacroButton7" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton14" inherits="SuperMacroButtonTemplate" id="14">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton13" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton15" inherits="SuperMacroButtonTemplate" id="15">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton14" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton16" inherits="SuperMacroButtonTemplate" id="16">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton15" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton17" inherits="SuperMacroButtonTemplate" id="17">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton16" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton18" inherits="SuperMacroButtonTemplate" id="18">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton17" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton19" inherits="SuperMacroButtonTemplate" id="19">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton6" relativePoint="RIGHT">
<Offset>
<AbsDimension x="35" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton20" inherits="SuperMacroButtonTemplate" id="20">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton19" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton21" inherits="SuperMacroButtonTemplate" id="21">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton20" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton22" inherits="SuperMacroButtonTemplate" id="22">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton21" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton23" inherits="SuperMacroButtonTemplate" id="23">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton22" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton24" inherits="SuperMacroButtonTemplate" id="24">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton23" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton25" inherits="SuperMacroButtonTemplate" id="25">
<Anchors>
<Anchor point="TOP" relativeTo="SuperMacroButton19" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton26" inherits="SuperMacroButtonTemplate" id="26">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton25" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton27" inherits="SuperMacroButtonTemplate" id="27">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton26" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton28" inherits="SuperMacroButtonTemplate" id="28">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton27" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton29" inherits="SuperMacroButtonTemplate" id="29">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton28" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton30" inherits="SuperMacroButtonTemplate" id="30">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton29" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton31" inherits="SuperMacroButtonTemplate" id="31">
<Anchors>
<Anchor point="TOP" relativeTo="SuperMacroButton25" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton32" inherits="SuperMacroButtonTemplate" id="32">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton31" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton33" inherits="SuperMacroButtonTemplate" id="33">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton32" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton34" inherits="SuperMacroButtonTemplate" id="34">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton33" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton35" inherits="SuperMacroButtonTemplate" id="35">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton34" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroButton36" inherits="SuperMacroButtonTemplate" id="36">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroButton35" relativePoint="RIGHT">
<Offset>
<AbsDimension x="5" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<ScrollFrame name="SuperMacroFrameScrollFrame" inherits="UIPanelScrollFrameTemplate">
<Size>
<AbsDimension x="248" y="100"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="SuperMacroFrameSelectedMacroBackground" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="11" y="0"/>
</Offset>
</Anchor>
</Anchors>
<ScrollChild>
<EditBox name="SuperMacroFrameText" multiLine="true" letters="255" autoFocus="false" nonspacewrap="true">
<Size>
<AbsDimension x="246" y="100"/>
</Size>
<Scripts>
<OnTextChanged>
SuperMacroFrame.textChanged = 1;
if ( SuperMacroPopupFrame.mode == "newaccount" or SuperMacroPopupFrame.mode == "newcharacter" ) then
SuperMacroPopupFrame:Hide();
end
SuperMacroFrameCharLimitText:SetText(format(TEXT(MACROFRAME_CHAR_LIMIT), strlen(SuperMacroFrameText:GetText())));
local scrollBar = getglobal(this:GetParent():GetName().."ScrollBar")
this:GetParent():UpdateScrollChildRect();
local min;
local max;
min, max = scrollBar:GetMinMaxValues();
if ( max > 0 and (this.max ~= max) ) then
this.max = max;
scrollBar:SetValue(max);
end
</OnTextChanged>
<OnEscapePressed>
SuperMacroFrame_SaveMacro();
this:ClearFocus();
</OnEscapePressed>
</Scripts>
<FontString inherits="GameFontHighlightSmall"/>
</EditBox>
</ScrollChild>
</ScrollFrame>
<Button name="SuperMacroFrameTextButton">
<Size>
<AbsDimension x="246" y="100"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="SuperMacroFrameText"/>
</Anchors>
<Scripts>
<OnClick>
SuperMacroFrameText:SetFocus();
</OnClick>
</Scripts>
</Button>
<Frame name="SuperMacroFrameTextBackground">
<Size>
<AbsDimension x="285" y="112"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="SuperMacroFrame">
<Offset>
<AbsDimension x="18" y="-285"/>
</Offset>
</Anchor>
</Anchors>
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="5" right="5" top="5" bottom="5"/>
</BackgroundInsets>
</Backdrop>
<Scripts>
<OnLoad>
this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
</OnLoad>
</Scripts>
</Frame>
<Button name="SuperMacroDeleteButton" inherits="UIPanelButtonGrayTemplate" text="DELETE">
<Size>
<AbsDimension x="80" y="22"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="SuperMacroFrame">
<Offset>
<AbsDimension x="115" y="79"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
SuperMacroDeleteButton_OnClick();
</OnClick>
</Scripts>
</Button>
<Button name="SuperMacroSaveButton" inherits="UIPanelButtonTemplate" text="SAVE_MACRO">
<Size>
<AbsDimension x="80" y="22"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="SuperMacroFrame">
<Offset>
<AbsDimension x="195" y="79"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
SuperMacroFrame_SaveMacro();
</OnClick>
</Scripts>
</Button>
<Button name="SuperMacroSaveExtendButton" inherits="UIPanelButtonTemplate" text="SAVE_EXTEND">
<Size>
<AbsDimension x="100" y="22"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="SuperMacroFrame" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-170" y="-422"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
SuperMacroSaveExtendButton_OnClick();
</OnClick>
</Scripts>
</Button>
<Button name="SuperMacroDeleteExtendButton" inherits="UIPanelButtonGrayTemplate" text="DELETE_EXTEND">
<Size>
<AbsDimension x="100" y="22"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="SuperMacroFrame" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-267" y="-422"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
SuperMacroDeleteExtendButton_OnClick();
</OnClick>
</Scripts>
</Button>
<Button name="SuperMacroNewAccountButton" inherits="UIPanelButtonTemplate" text="SUPERMACRO_NEW_ACCOUNT">
<Size>
<AbsDimension x="160" y="22"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="SuperMacroFrame">
<Offset>
<AbsDimension x="82" y="-37"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
SuperMacroNewAccountButton_OnClick();
</OnClick>
</Scripts>
</Button>
<Button name="SuperMacroNewCharacterButton" inherits="UIPanelButtonTemplate" text="SUPERMACRO_NEW_CHARACTER">
<Size>
<AbsDimension x="160" y="22"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="SuperMacroFrame">
<Offset>
<AbsDimension x="342" y="-37"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
SuperMacroNewCharacterButton_OnClick();
</OnClick>
</Scripts>
</Button>
<ScrollFrame name="SuperMacroFrameExtendScrollFrame" inherits="UIPanelScrollFrameTemplate">
<Size>
<AbsDimension x="209" y="138"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="SuperMacroFrame">
<Offset>
<AbsDimension x="308" y="-252"/>
</Offset>
</Anchor>
</Anchors>
<ScrollChild>
<EditBox name="SuperMacroFrameExtendText" multiLine="true" autoFocus="false" nonspacewrap="true">
<Size>
<AbsDimension x="205" y="138"/>
</Size>
<Scripts>
<OnTextChanged>
SuperMacroFrame.extendChanged=1;
SuperMacroFrameExtendCharLimitText:SetText(format(TEXT(SUPERMACROFRAME_EXTEND_CHAR_LIMIT), strlen(SuperMacroFrameExtendText:GetText())));
local scrollBar = getglobal(this:GetParent():GetName().."ScrollBar")
this:GetParent():UpdateScrollChildRect();
local min;
local max;
min, max = scrollBar:GetMinMaxValues();
if ( max > 0 and (this.max ~= max) ) then
this.max = max;
scrollBar:SetValue(max);
end
</OnTextChanged>
<OnEscapePressed>
this:ClearFocus();
</OnEscapePressed>
<OnEditFocusGained>
</OnEditFocusGained>
<OnEditFocusLost>
</OnEditFocusLost>
</Scripts>
<FontString inherits="GameFontHighlightSmall"/>
</EditBox>
</ScrollChild>
</ScrollFrame>
<Button name="SuperMacroFrameExtendTextButton">
<Size>
<AbsDimension x="226" y="138"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="SuperMacroFrameExtendText"/>
</Anchors>
<Scripts>
<OnClick>
SuperMacroFrameExtendText:SetFocus();
</OnClick>
</Scripts>
</Button>
<Frame name="SuperMacroFrameExtendTextBackground">
<Size>
<AbsDimension x="245" y="150"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="SuperMacroFrame">
<Offset>
<AbsDimension x="300" y="-247"/>
</Offset>
</Anchor>
</Anchors>
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="5" right="5" top="5" bottom="5"/>
</BackgroundInsets>
</Backdrop>
<Layers>
<Layer level="ARTWORK">
<FontString name="SuperMacroFrameEnterExtendText" inherits="GameFontHighlightSmall" text="ENTER_EXTEND_LABEL">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="8" y="13"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="SuperMacroFrameExtendCharLimitText" inherits="GameFontHighlightSmall">
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="8" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
</OnLoad>
</Scripts>
</Frame>
</Frames>
</Frame>
<Frame name="SuperMacroFrameSuperFrame" setAllPoints="true">
<Layers>
<Layer level="ARTWORK">
<FontString name="SuperMacroFrameSuperCharLimitText" inherits="GameFontHighlightSmall">
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="25" y="105"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<CheckButton name="SuperMacroFrameSelectedMacroSuperButton" inherits="SuperMacroSuperButtonTemplate" id="0">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="SuperMacroFrameSelectedMacroBackground">
<Offset>
<AbsDimension x="14" y="-14"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
this:SetChecked(nil);
local id = SuperMacroFrame.selectedSuper;
if ( arg1=="RightButton") then
RunSuperMacro(id);
elseif ( id ) then
local supername=GetOrderedSuperMacroInfo(id);
PickupMacro(1,supername);
end
</OnClick>
<OnDragStart>
local supername=GetOrderedSuperMacroInfo(SuperMacroFrame.selectedSuper);
if ( supername ) then
PickupMacro(1,supername);
end
</OnDragStart>
</Scripts>
</CheckButton>
<CheckButton name="SuperMacroSuperButton1" inherits="SuperMacroSuperButtonTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="35" y="-83"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton2" inherits="SuperMacroSuperButtonTemplate" id="2">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton1" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton3" inherits="SuperMacroSuperButtonTemplate" id="3">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton2" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton4" inherits="SuperMacroSuperButtonTemplate" id="4">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton3" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton5" inherits="SuperMacroSuperButtonTemplate" id="5">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton4" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton6" inherits="SuperMacroSuperButtonTemplate" id="6">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton5" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton7" inherits="SuperMacroSuperButtonTemplate" id="7">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton6" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton8" inherits="SuperMacroSuperButtonTemplate" id="8">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton7" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton9" inherits="SuperMacroSuperButtonTemplate" id="9">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton8" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton10" inherits="SuperMacroSuperButtonTemplate" id="10">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton9" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton11" inherits="SuperMacroSuperButtonTemplate" id="11">
<Anchors>
<Anchor point="TOP" relativeTo="SuperMacroSuperButton1" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton12" inherits="SuperMacroSuperButtonTemplate" id="12">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton11" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton13" inherits="SuperMacroSuperButtonTemplate" id="13">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton12" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton14" inherits="SuperMacroSuperButtonTemplate" id="14">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton13" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton15" inherits="SuperMacroSuperButtonTemplate" id="15">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton14" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton16" inherits="SuperMacroSuperButtonTemplate" id="16">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton15" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton17" inherits="SuperMacroSuperButtonTemplate" id="17">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton16" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton18" inherits="SuperMacroSuperButtonTemplate" id="18">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton17" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton19" inherits="SuperMacroSuperButtonTemplate" id="19">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton18" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton20" inherits="SuperMacroSuperButtonTemplate" id="20">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton19" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton21" inherits="SuperMacroSuperButtonTemplate" id="21">
<Anchors>
<Anchor point="TOP" relativeTo="SuperMacroSuperButton11" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton22" inherits="SuperMacroSuperButtonTemplate" id="22">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton21" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton23" inherits="SuperMacroSuperButtonTemplate" id="23">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton22" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton24" inherits="SuperMacroSuperButtonTemplate" id="24">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton23" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton25" inherits="SuperMacroSuperButtonTemplate" id="25">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton24" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton26" inherits="SuperMacroSuperButtonTemplate" id="26">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton25" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton27" inherits="SuperMacroSuperButtonTemplate" id="27">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton26" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton28" inherits="SuperMacroSuperButtonTemplate" id="28">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton27" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton29" inherits="SuperMacroSuperButtonTemplate" id="29">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton28" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroSuperButton30" inherits="SuperMacroSuperButtonTemplate" id="30">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroSuperButton29" relativePoint="RIGHT">
<Offset>
<AbsDimension x="13" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<ScrollFrame name="SuperMacroFrameSuperScrollFrame" inherits="FauxScrollFrameTemplate">
<Size>
<AbsDimension x="500" y="150"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="SuperMacroFrame" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-70" y="-74"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnVerticalScroll>
FauxScrollFrame_OnVerticalScroll(MACRO_ROW_HEIGHT, SuperMacroFrame_Update);
</OnVerticalScroll>
<OnMouseWheel>
ScrollFrameTemplate_OnMouseWheel(arg1);
</OnMouseWheel>
</Scripts>
</ScrollFrame>
<ScrollFrame name="SuperMacroFrameSuperEditScrollFrame" inherits="UIPanelScrollFrameTemplate">
<Size>
<AbsDimension x="494" y="100"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="SuperMacroFrameSelectedMacroBackground" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="11" y="0"/>
</Offset>
</Anchor>
</Anchors>
<ScrollChild>
<EditBox name="SuperMacroFrameSuperText" multiLine="true" letters="7000" autoFocus="false" nonspacewrap="true">
<Size>
<AbsDimension x="493" y="100"/>
</Size>
<Scripts>
<OnTextChanged>
SuperMacroFrame.textChanged = 1;
if ( SuperMacroPopupFrame.mode == "newaccount" or SuperMacroPopupFrame.mode == "newcharacter" ) then
SuperMacroPopupFrame:Hide();
end
SuperMacroFrameSuperCharLimitText:SetText(format(TEXT(SUPERMACROFRAME_SUPER_CHAR_LIMIT), strlen(SuperMacroFrameSuperText:GetText())));
local scrollBar = getglobal(this:GetParent():GetName().."ScrollBar")
this:GetParent():UpdateScrollChildRect();
local min;
local max;
min, max = scrollBar:GetMinMaxValues();
if ( max > 0 and (this.max ~= max) ) then
this.max = max;
scrollBar:SetValue(max);
end
SuperMacroFrame_SaveSuperMacro();
</OnTextChanged>
<OnEscapePressed>
SuperMacroFrame_SaveSuperMacro();
this:ClearFocus();
</OnEscapePressed>
</Scripts>
<FontString inherits="GameFontHighlightSmall"/>
</EditBox>
</ScrollChild>
</ScrollFrame>
<Frame name="SuperMacroFrameSuperTextBackground">
<Size>
<AbsDimension x="530" y="112"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="SuperMacroFrame">
<Offset>
<AbsDimension x="18" y="-285"/>
</Offset>
</Anchor>
</Anchors>
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="5" right="5" top="5" bottom="5"/>
</BackgroundInsets>
</Backdrop>
<Scripts>
<OnLoad>
this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b);
this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b);
</OnLoad>
</Scripts>
</Frame>
<Button name="SuperMacroSaveSuperButton" inherits="UIPanelButtonTemplate" text="SAVE_SUPERMACRO">
<Size>
<AbsDimension x="100" y="22"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="SuperMacroFrame" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-270" y="-422"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
SuperMacroFrame_SaveSuperMacro();
</OnClick>
</Scripts>
</Button>
<Button name="SuperMacroDeleteSuperButton" inherits="UIPanelButtonGrayTemplate" text="DELETE_SUPERMACRO">
<Size>
<AbsDimension x="100" y="22"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="SuperMacroFrame" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-370" y="-422"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
SuperMacroDeleteSuperButton_OnClick();
</OnClick>
</Scripts>
</Button>
<Button name="SuperMacroNewSuperButton" inherits="UIPanelButtonTemplate" text="NEW_SUPERMACRO">
<Size>
<AbsDimension x="100" y="22"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="SuperMacroFrame" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-170" y="-422"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
SuperMacroNewSuperButton_OnClick();
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
<Button name="SuperMacroEditButton" inherits="UIPanelButtonTemplate" text="CHANGE_MACRO_NAME_ICON">
<Size>
<AbsDimension x="170" y="22"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="SuperMacroFrameSelectedMacroBackground">
<Offset>
<AbsDimension x="51" y="-21"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
SuperMacroEditButton_OnClick();
</OnClick>
</Scripts>
</Button>
<Button name="SuperMacroOptionsButton" inherits="UIPanelButtonTemplate" text="SUPERMACRO_OPTIONS">
<Size>
<AbsDimension x="100" y="22"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="SuperMacroFrame">
<Offset>
<AbsDimension x="15" y="79"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
SuperMacroOptionsButton_OnClick();
</OnClick>
</Scripts>
</Button>
<Button name="SuperMacroExitButton" inherits="UIPanelButtonTemplate" text="EXIT">
<Size>
<AbsDimension x="80" y="22"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="SuperMacroFrame" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-80" y="-422"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
HideUIPanel(this:GetParent());
</OnClick>
</Scripts>
</Button>
<Button name="SuperMacroFrameCloseButton" inherits="UIPanelCloseButton">
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="SuperMacroFrame" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-29" y="-8"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="SuperMacroFrameTab1" inherits="SuperMacroFrameTabTemplate" id="1" text="REGULAR">
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="11" y="45"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
PanelTemplates_Tab_OnClick(SuperMacroFrame);
PanelTemplates_SetTab(SuperMacroFrame, 1);
SM_VARS.tabShown="regular";
SuperMacroFrame_Update();
</OnClick>
</Scripts>
</Button>
<Button name="SuperMacroFrameTab2" inherits="SuperMacroFrameTabTemplate" id="2" text="SUPER">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroFrameTab1" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-14" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
PanelTemplates_Tab_OnClick(SuperMacroFrame);
PanelTemplates_SetTab(SuperMacroFrame, 2);
SM_VARS.tabShown="super";
SuperMacroFrame_Update();
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnLoad>
SuperMacroFrame_OnLoad();
</OnLoad>
<OnShow>
SuperMacroFrame_OnShow();
</OnShow>
<OnHide>
SuperMacroFrame_OnHide();
</OnHide>
<OnEvent>
SuperMacroFrame_OnEvent(event);
</OnEvent>
<OnMouseWheel>
return;
</OnMouseWheel>
</Scripts>
</Frame>
<Frame name="SuperMacroPopupFrame" toplevel="true" parent="UIParent" movable="true" enableMouse="true" hidden="true">
<Size>
<AbsDimension x="297" y="378"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="SuperMacroFrame" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-40" y="-40"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture file="Interface\MacroFrame\MacroPopup-TopLeft">
<Size>
<AbsDimension x="256" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
<Texture file="Interface\MacroFrame\MacroPopup-TopRight">
<Size>
<AbsDimension x="64" y="256"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="256" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture file="Interface\MacroFrame\MacroPopup-TopLeft">
<Size>
<AbsDimension x="256" y="100"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="-256"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="1.0" top="0.5" bottom="0.6"/>
</Texture>
<Texture file="Interface\MacroFrame\MacroPopup-TopRight">
<Size>
<AbsDimension x="64" y="100"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="256" y="-256"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="1.0" top="0.5" bottom="0.6"/>
</Texture>
<Texture file="Interface\MacroFrame\MacroPopup-BotLeft">
<Size>
<AbsDimension x="256" y="64"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-36"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture file="Interface\MacroFrame\MacroPopup-BotRight">
<Size>
<AbsDimension x="64" y="64"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT">
<Offset>
<AbsDimension x="23" y="-36"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString inherits="GameFontHighlightSmall" text="MACRO_POPUP_TEXT">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="24" y="-21"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString inherits="GameFontHighlightSmall" text="MACRO_POPUP_CHOOSE_ICON">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="24" y="-69"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<EditBox name="SuperMacroPopupEditBox" letters="16" historyLines="0">
<Size>
<AbsDimension x="200" y="20"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="29" y="-35"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture name="SuperMacroPopupNameLeft" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
<Size>
<AbsDimension x="12" y="29"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="-11" y="0"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.09375" top="0" bottom="1.0"/>
</Texture>
<Texture name="SuperMacroPopupNameMiddle" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
<Size>
<AbsDimension x="175" y="29"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupNameLeft" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0.09375" right="0.90625" top="0" bottom="1.0"/>
</Texture>
<Texture name="SuperMacroPopupNameRight" file="Interface\ClassTrainerFrame\UI-ClassTrainer-FilterBorder">
<Size>
<AbsDimension x="12" y="29"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupNameMiddle" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0.90625" right="1.0" top="0" bottom="1.0"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnTextChanged>
SuperMacroPopupOkayButton_Update();
SuperMacroFrameSelectedMacroName:SetText(this:GetText());
</OnTextChanged>
<OnEscapePressed>
SuperMacroPopupFrame:Hide();
</OnEscapePressed>
<OnEnterPressed>
if ( SuperMacroPopupOkayButton:IsEnabled() ~= 0 ) then
SuperMacroPopupOkayButton_OnClick();
end
</OnEnterPressed>
</Scripts>
<FontString inherits="ChatFontNormal"/>
</EditBox>
<ScrollFrame name="SuperMacroPopupScrollFrame" inherits="FauxScrollFrameTemplate">
<Size>
<AbsDimension x="266" y="275"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="SuperMacroPopupFrame" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-39" y="-67"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-ScrollBar">
<Size>
<AbsDimension x="30" y="120"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-3" y="2"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.46875" top="0.0234375" bottom="0.9609375"/>
</Texture>
<Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-ScrollBar">
<Size>
<AbsDimension x="30" y="37"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-3" y="-117"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.46875" top="0.5" bottom="0.9"/>
</Texture>
<Texture file="Interface\ClassTrainerFrame\UI-ClassTrainer-ScrollBar">
<Size>
<AbsDimension x="30" y="123"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-3" y="-2"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.53125" right="1.0" top="0.03125" bottom="1.0"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnVerticalScroll>
FauxScrollFrame_OnVerticalScroll(MACRO_ICON_ROW_HEIGHT, SuperMacroPopupFrame_Update);
</OnVerticalScroll>
</Scripts>
</ScrollFrame>
<CheckButton name="SuperMacroPopupButton1" inherits="SuperMacroPopupButtonTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="24" y="-85"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton2" inherits="SuperMacroPopupButtonTemplate" id="2">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupButton1" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton3" inherits="SuperMacroPopupButtonTemplate" id="3">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupButton2" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton4" inherits="SuperMacroPopupButtonTemplate" id="4">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupButton3" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton5" inherits="SuperMacroPopupButtonTemplate" id="5">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupButton4" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton6" inherits="SuperMacroPopupButtonTemplate" id="6">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="SuperMacroPopupButton1" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-8"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton7" inherits="SuperMacroPopupButtonTemplate" id="7">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupButton6" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton8" inherits="SuperMacroPopupButtonTemplate" id="8">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupButton7" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton9" inherits="SuperMacroPopupButtonTemplate" id="9">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupButton8" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton10" inherits="SuperMacroPopupButtonTemplate" id="10">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupButton9" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton11" inherits="SuperMacroPopupButtonTemplate" id="11">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="SuperMacroPopupButton6" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-8"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton12" inherits="SuperMacroPopupButtonTemplate" id="12">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupButton11" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton13" inherits="SuperMacroPopupButtonTemplate" id="13">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupButton12" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton14" inherits="SuperMacroPopupButtonTemplate" id="14">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupButton13" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton15" inherits="SuperMacroPopupButtonTemplate" id="15">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupButton14" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton16" inherits="SuperMacroPopupButtonTemplate" id="16">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="SuperMacroPopupButton11" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-8"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton17" inherits="SuperMacroPopupButtonTemplate" id="17">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupButton16" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton18" inherits="SuperMacroPopupButtonTemplate" id="18">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupButton17" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton19" inherits="SuperMacroPopupButtonTemplate" id="19">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupButton18" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton20" inherits="SuperMacroPopupButtonTemplate" id="20">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupButton19" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton20" inherits="SuperMacroPopupButtonTemplate" id="20">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupButton19" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton21" inherits="SuperMacroPopupButtonTemplate" id="21">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="SuperMacroPopupButton16" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-8"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton22" inherits="SuperMacroPopupButtonTemplate" id="22">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupButton21" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton23" inherits="SuperMacroPopupButtonTemplate" id="23">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupButton22" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton24" inherits="SuperMacroPopupButtonTemplate" id="24">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupButton23" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton25" inherits="SuperMacroPopupButtonTemplate" id="25">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupButton24" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton26" inherits="SuperMacroPopupButtonTemplate" id="26">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="SuperMacroPopupButton21" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-8"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton27" inherits="SuperMacroPopupButtonTemplate" id="27">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupButton26" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton28" inherits="SuperMacroPopupButtonTemplate" id="28">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupButton27" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton29" inherits="SuperMacroPopupButtonTemplate" id="29">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupButton28" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<CheckButton name="SuperMacroPopupButton30" inherits="SuperMacroPopupButtonTemplate" id="30">
<Anchors>
<Anchor point="LEFT" relativeTo="SuperMacroPopupButton29" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</CheckButton>
<Button name="SuperMacroPopupCancelButton" inherits="UIPanelButtonTemplate" text="CANCEL">
<Size>
<AbsDimension x="78" y="22"/>
</Size>
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeTo="SuperMacroPopupFrame">
<Offset>
<AbsDimension x="-11" y="-1"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
this:GetParent():Hide();
SuperMacroFrame_Update();
PlaySound("gsTitleOptionOK");
</OnClick>
</Scripts>
</Button>
<Button name="SuperMacroPopupOkayButton" inherits="UIPanelButtonTemplate" text="OKAY">
<Size>
<AbsDimension x="78" y="22"/>
</Size>
<Anchors>
<Anchor point="RIGHT" relativeTo="SuperMacroPopupCancelButton" relativePoint="LEFT">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
SuperMacroPopupOkayButton_OnClick();
PlaySound("gsTitleOptionOK");
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnShow>
SuperMacroPopupFrame_OnShow();
</OnShow>
<OnHide>
SuperMacroPopupFrame_OnHide();
</OnHide>
<OnMouseWheel>
return;
</OnMouseWheel>
</Scripts>
</Frame>
<!--
<Button name="GameMenuButtonSuperMacro" inherits="GameMenuButtonTemplate" text="SUPERMACRO_TITLE" parent="GameMenuFrame">
<Anchors>
<Anchor point="TOP" relativeTo="GameMenuButtonKeybindings" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-1"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
GameMenuButtonMacros:ClearAllPoints();
GameMenuButtonMacros:SetPoint("TOP", this:GetName(), "BOTTOM", 0, -1);
GameMenuFrame:SetHeight( GameMenuFrame:GetHeight() + button:GetHeight() + 2 );
</OnLoad>
<OnClick>
PlaySound("igMainMenuOption");
HideUIPanel(GameMenuFrame);
ShowUIPanel(SuperMacroFrame);
</OnClick>
</Scripts>
</Button>
-->
<Button name="GameMenuButtonSuperMacro" inherits="GameMenuButtonTemplate" text="SUPERMACRO_BUTTON" parent="GameMenuFrame">
<Size>
<AbsDimension x="25" y="190"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GameMenuButtonOptions" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
PlaySound("igMainMenuOption");
HideUIPanel(GameMenuFrame);
ShowUIPanel(SuperMacroFrame);
</OnClick>
</Scripts>
</Button>
<Button name="SuperMacroMinimapButton" parent="Minimap" enableMouse="true" hidden="true" movable="true" toplevel="true">
<Size>
<AbsDimension x="33" y="33"/>
</Size>
<Anchors>
<Anchor point="BOTTOM" relativeTo="Minimap">
<Offset>
<AbsDimension x="0" y="-30"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="ARTWORK">
<Texture name="SuperMacroMinimapButtonIcon" file="Interface\Icons\INV_Misc_Note_01.blp">
<Size>
<AbsDimension x="18" y="18"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="7" y="-6"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture name="SuperMacroMinimapButtonBorder" file="Interface\Minimap\MiniMap-TrackingBorder">
<Size>
<AbsDimension x="52" y="52"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:RegisterForDrag("LeftButton");
</OnLoad>
<OnClick>
if ( SuperMacroFrame:IsVisible() ) then
HideUIPanel(SuperMacroFrame);
else
ShowUIPanel(SuperMacroFrame);
end
</OnClick>
<OnEnter>
GameTooltip:SetOwner(this, "ANCHOR_BOTTOMLEFT");
GameTooltip:SetText(SUPERMACRO_MINIMAP);
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
<OnDragStart>
this:StartMoving();
this.isMoving = true;
</OnDragStart>
<OnDragStop>
this:StopMovingOrSizing();
this.isMoving = false;
</OnDragStop>
</Scripts>
<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
</Button>
<GameTooltip name="SM_Tooltip" frameStrata="TOOLTIP" hidden="true" parent="UIParent" inherits="GameTooltipTemplate">
<Scripts>
<OnLoad>
this:SetOwner(WorldFrame, "ANCHOR_NONE");
</OnLoad>
</Scripts>
</GameTooltip>
<Frame name="SM_INFRAME">
<Scripts>
<OnLoad>
this.events={};
this.events.n=0;
</OnLoad>
<OnUpdate>
SM_INFRAME_OnUpdate();
</OnUpdate>
</Scripts>
</Frame>
</Ui>