supermacro.xml
字号:
</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="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="SuperMacroDeleteButton" inherits="UIPanelButtonGrayTemplate" text="DELETE">
<Size>
<AbsDimension x="80" y="22"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="SuperMacroFrame">
<Offset>
<AbsDimension x="17" y="79"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
SuperMacroDeleteButton_OnClick();
</OnClick>
</Scripts>
</Button>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -