📄 playerlinkmenu_options.xml
字号:
<AbsDimension x="470" y="480"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="20"/>
</Offset>
</Anchor>
</Anchors>
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
<BackgroundInsets>
<AbsInset left="11" right="12" top="12" bottom="11"/>
</BackgroundInsets>
<TileSize>
<AbsValue val="32"/>
</TileSize>
<EdgeSize>
<AbsValue val="32"/>
</EdgeSize>
</Backdrop>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
<Size>
<AbsDimension x="320" y="64"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="12"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString inherits="GameFontNormal" text="PLAYERLINKMENU_NAME">
<Anchors>
<Anchor point="TOP" relativeTo="$parentHeader">
<Offset>
<AbsDimension x="0" y="-14"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString inherits="GameFontDisableSmall" text="PLAYERLINKMENU_LABEL_VERSION" justifyH="right">
<Anchors>
<Anchor point="TOPRIGHT">
<Offset>
<AbsDimension x="-14" y="-16"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
--***************--
--*** General ***--
--***************--
<Frame name="$parentGeneral" inherits="OptionFrameBoxTemplate">
<Size>
<AbsDimension x="448" y="66"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="12" y="-35"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<CheckButton name="$parentPosAtCursor" inherits="PlayerLinkMenuCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="10" y="-10"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.text = PLAYERLINKMENU_LABEL_POSATCURSOR;
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="$parentTooltip" inherits="PlayerLinkMenuCheckButtonTemplate">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentPosAtCursorLabel" relativePoint="RIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.text = PLAYERLINKMENU_LABEL_TOOLTIP;
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="$parentFrozen" inherits="PlayerLinkMenuCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentPosAtCursor" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.text = PLAYERLINKMENU_LABEL_FROZEN;
</OnLoad>
</Scripts>
</CheckButton>
<CheckButton name="$parentShowName" inherits="PlayerLinkMenuCheckButtonTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentTooltip" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.text = PLAYERLINKMENU_LABEL_SHOWNAME;
</OnLoad>
</Scripts>
</CheckButton>
</Frames>
<Scripts>
<OnLoad>
this:SetBackdropBorderColor(0.4, 0.4, 0.4);
this:SetBackdropColor(0.15, 0.15, 0.15);
getglobal(this:GetName().."Title"):SetText("基本设置");
</OnLoad>
</Scripts>
</Frame>
--*************************--
--*** Left mouse button ***--
--*************************--
<Frame name="$parentLeftMB" inherits="OptionFrameBoxTemplate" hidden="false">
<Size>
<AbsDimension x="224" y="148"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentGeneral" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="-15"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<Frame name="$parentNone" inherits="PlayerLinkMenuDropDownTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="55" y="-12"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.text = PLAYERLINKMENU_LABEL_NONE;
</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentShift" inherits="PlayerLinkMenuDropDownTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentNone" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.text = PLAYERLINKMENU_LABEL_SHIFT;
</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentCtrl" inherits="PlayerLinkMenuDropDownTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentShift" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.text = PLAYERLINKMENU_LABEL_CTRL;
</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentAlt" inherits="PlayerLinkMenuDropDownTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentCtrl" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.text = PLAYERLINKMENU_LABEL_ALT;
</OnLoad>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnLoad>
this:SetBackdropBorderColor(0.4, 0.4, 0.4);
this:SetBackdropColor(0.15, 0.15, 0.15);
getglobal(this:GetName().."Title"):SetText("鼠标左键按钮");
</OnLoad>
</Scripts>
</Frame>
--**************************--
--*** Right mouse button ***--
--**************************--
<Frame name="$parentRightMB" inherits="OptionFrameBoxTemplate" hidden="false">
<Size>
<AbsDimension x="224" y="148"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLeftMB" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Frames>
<Frame name="$parentNone" inherits="PlayerLinkMenuDropDownTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="55" y="-12"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.text = PLAYERLINKMENU_LABEL_NONE;
</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentShift" inherits="PlayerLinkMenuDropDownTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentNone" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.text = PLAYERLINKMENU_LABEL_SHIFT;
</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentCtrl" inherits="PlayerLinkMenuDropDownTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentShift" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.text = PLAYERLINKMENU_LABEL_CTRL;
</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentAlt" inherits="PlayerLinkMenuDropDownTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="$parentCtrl" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this.text = PLAYERLINKMENU_LABEL_ALT;
</OnLoad>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnLoad>
this:SetBackdropBorderColor(0.4, 0.4, 0.4);
this:SetBackdropColor(0.15, 0.15, 0.15);
getglobal(this:GetName().."Title"):SetText("鼠标右键按钮");
</OnLoad>
</Scripts>
</Frame>
--**************************--
--*** Menu configuration ***--
--**************************--
<Frame name="$parentMenuConfiguration" inherits="OptionFrameBoxTemplate">
<Size>
<AbsDimension x="338" y="153"/>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -