📄 ct_raidassist.xml
字号:
<Anchor point="TOP">
<Offset>
<AbsDimension x="70" y="10"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
CT_RA_Emergency_DropDown_OnLoad();
</OnLoad>
</Scripts>
</Frame>
<Frame name="$parentFrame1" inherits="CT_RA_EmergencyTemplate" id="1">
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="-25"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<Frame name="$parentFrame2" inherits="CT_RA_EmergencyTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentFrame1">
<Offset>
<AbsDimension x="0" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<Frame name="$parentFrame3" inherits="CT_RA_EmergencyTemplate" id="3">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentFrame2">
<Offset>
<AbsDimension x="0" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<Frame name="$parentFrame4" inherits="CT_RA_EmergencyTemplate" id="4">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentFrame3">
<Offset>
<AbsDimension x="0" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<Frame name="$parentFrame5" inherits="CT_RA_EmergencyTemplate" id="5">
<Anchors>
<Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parentFrame4">
<Offset>
<AbsDimension x="0" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
</Frames>
<Scripts>
<OnLoad>
this.frame1 = CT_RA_Cache[this].Frame1;
this.frame2 = CT_RA_Cache[this].Frame2;
this.frame3 = CT_RA_Cache[this].Frame3;
this.frame4 = CT_RA_Cache[this].Frame4;
this.frame5 = CT_RA_Cache[this].Frame5;
this:SetBackdropColor(0, 0, 1, 0);
this:SetBackdropBorderColor(1, 1, 1, 0);
</OnLoad>
</Scripts>
</Frame>
<Frame name="CT_RA_EmergencyFrameDrag" movable="true" parent="UIParent" hidden="true">
<Size>
<AbsDimension x="125" y="15"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<Scripts>
<OnMouseDown>
if ( arg1 == "LeftButton" and not CT_RAMenu_Options["temp"]["LockGroups"] ) then
this:StartMoving();
elseif ( arg1 == "RightButton" and CT_RA_EmergencyFrameTitle:IsVisible() ) then
CT_RA_Emergency_ToggleDropDown();
end
</OnMouseDown>
<OnMouseUp>
this:StopMovingOrSizing();
CT_RAMenu_SaveWindowPositions();
</OnMouseUp>
<OnEnter>
CT_RAMenuHelp_SetTooltip();
if ( not CT_RAMenu_Options["temp"]["LockGroups"] ) then
GameTooltip:SetText("左键点击拖动\n右键点击打开菜单");
else
GameTooltip:SetText("右键点击打开菜单");
end
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
<OnLoad>
CT_RA_LinkDrag(CT_RA_EmergencyFrame, this, "TOP", "TOP", 0, 2);
</OnLoad>
</Scripts>
</Frame>
<Frame name="CT_RA_ResFrame" parent="UIParent" movable="true" hidden="true">
<Size>
<AbsDimension x="175" y="50"/>
</Size>
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Layers>
<Layer level="BACKGROUND">
<FontString name="$parentTitle" inherits="GameFontNormalSmall" hidden="false" text="复活监视器">
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="-5"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentText" justifyH="LEFT" inherits="GameFontNormalSmall" hidden="false">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="7" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Color r="1" g="1" b="1"/>
</FontString>
</Layer>
</Layers>
<Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" setAllPoints="true" tile="true">
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<BackgroundInsets>
<AbsInset left="5" right="5" top="5" bottom="5"/>
</BackgroundInsets>
</Backdrop>
<Frames>
<Frame name="$parentDropDown" inherits="UIDropDownMenuTemplate" id="1" hidden="true">
<Size>
<AbsDimension x="10" y="10"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="70" y="10"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
CT_RA_ResFrame_OnLoad();
</OnLoad>
</Scripts>
</Frame>
</Frames>
<Scripts>
<OnLoad>
this:SetBackdropColor(0, 0, 1, 0.5);
</OnLoad>
<OnMouseDown>
if ( arg1 == "LeftButton" and not CT_RAMenu_Options["temp"]["LockMonitor"] ) then
this:StartMoving();
elseif ( arg1 == "RightButton" ) then
ToggleDropDownMenu(1, nil, getglobal(this:GetName() .. "DropDown"), this:GetName(), 47, 15);
end
</OnMouseDown>
<OnMouseUp>
if ( arg1 == "LeftButton" ) then
this:StopMovingOrSizing();
end
</OnMouseUp>
<OnHide>
this:StopMovingOrSizing();
</OnHide>
</Scripts>
</Frame>
<Frame name="CT_RA_ReadyFrame" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="UIParent">
<Size>
<AbsDimension x="325" y="125"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="UIParent"/>
</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="$parentHeaderTexture" file="Interface\DialogFrame\UI-DialogBox-Header">
<Size>
<AbsDimension x="256" y="64"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="12"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString name="$parentHeaderText" inherits="GameFontNormal" text="你准备好了吗?">
<Anchors>
<Anchor point="TOP" relativeTo="$parentHeaderTexture">
<Offset>
<AbsDimension x="0" y="-14"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentInfo" justifyV="top" inherits="GameFontNormal">
<Size>
<AbsDimension x="350" y="32"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="-30"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="$parentReadyButton" hidden="false" inherits="GameMenuButtonTemplate" text="是">
<Size>
<AbsDimension x="125" y="32"/>
</Size>
<Anchors>
<Anchor point="RIGHT" relativePoint="CENTER">
<Offset>
<AbsDimension x="-10" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
CT_RA_SendReady();
this:GetParent():Hide();
</OnClick>
</Scripts>
</Button>
<Button name="$parentNotReadyButton" hidden="false" inherits="GameMenuButtonTemplate" text="否">
<Size>
<AbsDimension x="125" y="32"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="CENTER">
<Offset>
<AbsDimension x="10" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
CT_RA_SendNotReady();
this:GetParent():Hide();
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnShow>
PlaySound("UChatScrollButton");
this.hide = 30;
getglobal(this:GetName() .. "Info"):SetText("'|c00FFFFFF" .. CT_RA_CheckReady_Person .. "|r' 已经发送了一个准备检测。\n如果你准备好了,请按下'是'。");
</OnShow>
<OnHide>
this.hide = nil;
PlaySound("UChatScrollButton");
</OnHide>
<OnUpdate>
CT_RA_ReadyFrame_OnUpdate(arg1);
</OnUpdate>
</Scripts>
</Frame>
<Frame name="CT_RA_VoteFrame" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="UIParent">
<Size>
<AbsDimension x="325" y="125"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="UIParent"/>
</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="$parentHeaderTexture" file="Interface\DialogFrame\UI-DialogBox-Header">
<Size>
<AbsDimension x="256" y="64"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="12"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString name="$parentHeaderText" inherits="GameFontNormal" text="投票">
<Anchors>
<Anchor point="TOP" relativeTo="$parentHeaderTexture">
<Offset>
<AbsDimension x="0" y="-14"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentInfo" justifyV="top" inherits="GameFontNormal">
<Size>
<AbsDimension x="350" y="32"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="-30"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Button name="$parentYesButton" hidden="false" inherits="GameMenuButtonTemplate" text="同意">
<Size>
<AbsDimension x="125" y="32"/>
</Size>
<Anchors>
<Anchor point="RIGHT" relativePoint="CENTER">
<Offset>
<AbsDimension x="-10" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
CT_RA_SendYes();
this:GetParent():Hide();
</OnClick>
</Scripts>
</Button>
<Button name="$parentNoButton" hidden="false" inherits="GameMenuButtonTemplate" text="反对">
<Size>
<AbsDimension x="125" y="32"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="CENTER">
<Offset>
<AbsDimension x="10" y="-20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
CT_RA_SendNo();
this:GetParent():Hide();
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnShow>
PlaySound("UChatScrollButton");
this.hide = 30;
getglobal(this:GetName() .. "Info"):SetText(this.question);
</OnShow>
<OnHide>
this.hide = nil;
PlaySound("UChatScrollButton");
</OnHide>
<OnUpdate>
CT_RA_ReadyFrame_OnUpdate(arg1);
</OnUpdate>
</Scripts>
</Frame>
<Frame name="CT_RA_RlyFrame" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="UIParent">
<Size>
<AbsDimension x="325" y="125"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="UIParent"/>
</Anchors>
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -