📄 ct_raidassist.xml
字号:
<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">
<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_SendRly();
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_SendNoRly();
this:GetParent():Hide();
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnShow>
PlaySound("UChatScrollButton");
this.hide = 30;
getglobal(this:GetName() .. "Info"):SetText("你准备好了吗?");
</OnShow>
<OnHide>
this.hide = nil;
PlaySound("UChatScrollButton");
</OnHide>
<OnUpdate>
CT_RA_ReadyFrame_OnUpdate(arg1);
</OnUpdate>
</Scripts>
</Frame>
<Button name="CT_RA_DurabilityTemplate" hidden="true" virtual="true">
<Size>
<AbsDimension x="260" y="20"/>
</Size>
<Layers>
<Layer level="ARTWORK">
<FontString name="$parentName" inherits="GameFontNormal">
<Anchors>
<Anchor point="LEFT"/>
</Anchors>
</FontString>
<FontString name="$parentInfo" inherits="GameFontNormal">
<Anchors>
<Anchor point="RIGHT">
<Offset>
<AbsDimension x="-10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentResist1" hidden="true" justifyH="CENTER" justifyV="CENTER" inherits="GameFontNormalSmall">
<Size>
<AbsDimension x="28" y="20"/>
</Size>
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="127" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Color r="1" g="0" b="0"/>
</FontString>
<FontString name="$parentResist2" hidden="true" justifyH="CENTER" justifyV="CENTER" inherits="GameFontNormalSmall">
<Size>
<AbsDimension x="28" y="20"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentResist1"/>
</Anchors>
<Color r="0" g="1" b="0"/>
</FontString>
<FontString name="$parentResist3" hidden="true" justifyH="CENTER" justifyV="CENTER" inherits="GameFontNormalSmall">
<Size>
<AbsDimension x="28" y="20"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentResist2"/>
</Anchors>
<Color r="0" g="0" b="1"/>
</FontString>
<FontString name="$parentResist4" hidden="true" justifyH="CENTER" justifyV="CENTER" inherits="GameFontNormalSmall">
<Size>
<AbsDimension x="28" y="20"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentResist3"/>
</Anchors>
<Color r="0.7" g="0" b="1"/>
</FontString>
<FontString name="$parentResist5" hidden="true" justifyH="CENTER" justifyV="CENTER" inherits="GameFontNormalSmall">
<Size>
<AbsDimension x="28" y="20"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentResist4"/>
</Anchors>
<Color r="0.7" g="0.7" b="0.7"/>
</FontString>
</Layer>
<Layer level="BACKGROUND">
<Texture name="$parentMO" hidden="true">
<Anchors>
<Anchor point="TOPLEFT"/>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
<Color r="1" g="1" b="1" a="0.25"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnEnter>
getglobal(this:GetName() .. "MO"):Show();
</OnEnter>
<OnLeave>
getglobal(this:GetName() .. "MO"):Hide();
</OnLeave>
</Scripts>
</Button>
<Frame name="CT_RA_DurabilityFrame" movable="true" frameStrata="DIALOG" hidden="true" parent="UIParent">
<Size>
<AbsDimension x="300" y="485"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</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="300" y="64"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="12"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString name="$parentTitle" inherits="GameFontNormal" text="耐久度检查">
<Anchors>
<Anchor point="TOP" relativeTo="$parentHeaderTexture">
<Offset>
<AbsDimension x="0" y="-14"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Frame name="$parentDrag">
<Size>
<AbsDimension x="150" y="32"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="-12" y="12"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnMouseDown>
if ( arg1 == "LeftButton" ) then
this:GetParent():StartMoving();
elseif ( arg1 == "RightButton" ) then
this:GetParent():ClearAllPoints();
this:GetParent():SetPoint("CENTER", "UIParent", "CENTER");
end
</OnMouseDown>
<OnMouseUp>
this:GetParent():StopMovingOrSizing();
</OnMouseUp>
<OnEnter>
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
GameTooltip:SetText("左键点击拖动\n右键点击重置");
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
</Frame>
<Button name="$parentNameTab">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="12" y="-26"/>
</Offset>
</Anchor>
</Anchors>
<Size>
<AbsDimension x="135" y="24"/>
</Size>
<Scripts>
<OnClick>
CT_RADurability_Sort(3);
PlaySound("igMainMenuOptionCheckBoxOn");
</OnClick>
</Scripts>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentBackground">
<Anchors>
<Anchor point="TOPLEFT"/>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
<Color r="1" g="1" b="1" a="1"/>
</Texture>
</Layer>
</Layers>
<NormalText inherits="GameFontHighlightSmall" text="玩家名字">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="8" y="0"/>
</Offset>
</Anchor>
</Anchors>
</NormalText>
<Scripts>
<OnLoad>
getglobal(this:GetName() .. "Background"):SetVertexColor(0, 0, 0, 0.5);
</OnLoad>
<OnEnter>
getglobal(this:GetName() .. "Background"):SetVertexColor(0.5, 0.5, 0.5, 0.5);
</OnEnter>
<OnLeave>
getglobal(this:GetName() .. "Background"):SetVertexColor(0, 0, 0, 0.5);
</OnLeave>
</Scripts>
</Button>
<Button name="$parentValueTab">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentNameTab"/>
</Anchors>
<Size>
<AbsDimension x="141" y="24"/>
</Size>
<Scripts>
<OnClick>
CT_RADurability_Sort(4);
PlaySound("igMainMenuOptionCheckBoxOn");
</OnClick>
</Scripts>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentBackground">
<Anchors>
<Anchor point="TOPLEFT"/>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
<Color r="1" g="1" b="1" a="1"/>
</Texture>
</Layer>
</Layers>
<NormalText inherits="GameFontHighlightSmall">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="8" y="0"/>
</Offset>
</Anchor>
</Anchors>
</NormalText>
<Scripts>
<OnLoad>
getglobal(this:GetName() .. "Background"):SetVertexColor(0, 0, 0, 0.5);
</OnLoad>
<OnEnter>
getglobal(this:GetName() .. "Background"):SetVertexColor(0.5, 0.5, 0.5, 0.5);
</OnEnter>
<OnLeave>
getglobal(this:GetName() .. "Background"):SetVertexColor(0, 0, 0, 0.5);
</OnLeave>
</Scripts>
</Button>
<Button name="$parentResistTab1" text="FR" hidden="true">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentNameTab"/>
</Anchors>
<Size>
<AbsDimension x="28" y="24"/>
</Size>
<Scripts>
<OnClick>
CT_RADurability_Sort(4);
PlaySound("igMainMenuOptionCheckBoxOn");
</OnClick>
</Scripts>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentBackground">
<Anchors>
<Anchor point="TOPLEFT"/>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
<Color r="1" g="1" b="1" a="1"/>
</Texture>
</Layer>
</Layers>
<NormalText inherits="GameFontHighlightSmall">
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<Color r="1" g="0" b="0"/>
</NormalText>
<Scripts>
<OnLoad>
getglobal(this:GetName() .. "Background"):SetVertexColor(0, 0, 0, 0.5);
</OnLoad>
<OnEnter>
getglobal(this:GetName() .. "Background"):SetVertexColor(0.5, 0.5, 0.5, 0.5);
</OnEnter>
<OnLeave>
getglobal(this:GetName() .. "Background"):SetVertexColor(0, 0, 0, 0.5);
</OnLeave>
</Scripts>
</Button>
<Button name="$parentResistTab2" text="NR" hidden="true">
<Anchors>
<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentResistTab1"/>
</Anchors>
<Size>
<AbsDimension x="28" y="24"/>
</Size>
<Scripts>
<OnClick>
CT_RADurability_Sort(5);
PlaySound("igMainMenuOptionCheckBoxOn");
</OnClick>
</Scripts>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentBackground">
<Anchors>
<Anchor point="TOPLEFT"/>
<Anchor point="BOTTOMRIGHT"/>
</Anchors>
<Color r="1" g="1" b="1" a="1"/>
</Texture>
</Layer>
</Layers>
<NormalText inherits="GameFontHighlightSmall">
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<Color r="0" g="1" b="0"/>
</NormalText>
<Scripts>
<OnLoad>
getglobal(this:GetName() .. "Background"):SetVertexColor(0, 0, 0, 0.5);
</OnLoad>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -