⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ct_ramenu.xml

📁 时间太紧了
💻 XML
📖 第 1 页 / 共 5 页
字号:
		</Scripts>
	</Slider>
	<Button name="CT_RAMenuFrameButtonTemplate" inherits="HelpFrameHomeButtonTemplate" virtual="true">
		<Size>
			<AbsDimension x="623" y="37"/>
		</Size>
		<Scripts>
			<OnClick>
				CT_RAMenuButton_OnClick();
			</OnClick>
		</Scripts>
	</Button>

	<Frame name="CT_RAMenuBuffTemplate" virtual="true" hidden="false">
		<Size>
			<AbsDimension x="200" y="16"/>
		</Size>
		<Frames>
			<CheckButton name="$parentCheckButton" hidden="false" inherits="OptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT"/>
				</Anchors>
				<HitRectInsets>
					<AbsInset left="0" right="0" top="0" bottom="0"/>
				</HitRectInsets>
				<Size>
					<AbsDimension x="24" y="24"/>
				</Size>
				<Scripts>
					<OnClick>
						CT_RAMenuBuff_ShowToggle();
					</OnClick>
				</Scripts>
			</CheckButton>
			<Button name="$parentMoveUp" inherits="UIPanelScrollUpButtonTemplate" hidden="false">
				<Anchors>
					<Anchor point="LEFT">
						<Offset>
							<AbsDimension x="165" y="-5"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						CT_RAMenuBuff_Move(-1);
					</OnClick>
				</Scripts>
			</Button>
			<Button name="$parentMoveDown" inherits="UIPanelScrollDownButtonTemplate" hidden="false">
				<Anchors>
					<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentMoveUp">
						<Offset>
							<AbsDimension x="3" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnClick>
						CT_RAMenuBuff_Move(1);
					</OnClick>
				</Scripts>
			</Button>
		</Frames>
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$parentText" justifyV="top" justifyH="left" inherits="ChatFontNormal" text="">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="25" y="-5"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Scripts>
			<OnEnter>
				if ( this.tooltip ) then
					CT_RAMenuHelp_SetTooltip();
					GameTooltip:SetText(this.tooltip);
				end
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide();
			</OnLeave>
		</Scripts>
	</Frame>
	<Frame name="CT_RAMenuNotifyGroupTemplate" virtual="true" hidden="false">
		<Size>
			<AbsDimension x="100" y="16"/>
		</Size>
		<Frames>
			<CheckButton name="$parentCheckButton" hidden="false" inherits="OptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT"/>
				</Anchors>
				<HitRectInsets>
					<AbsInset left="0" right="0" top="0" bottom="0"/>
				</HitRectInsets>
				<Size>
					<AbsDimension x="24" y="24"/>
				</Size>
				<Scripts>
					<OnClick>
						CT_RAMenuNotifyGroup_SetChecked();
					</OnClick>
				</Scripts>
			</CheckButton>
		</Frames>
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$parentText" justifyV="top" justifyH="left" inherits="ChatFontNormal" text="">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="25" y="-5"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
	</Frame>
	<Frame name="CT_RAMenuNotifyClassTemplate" virtual="true" hidden="false">
		<Size>
			<AbsDimension x="100" y="16"/>
		</Size>
		<Frames>
			<CheckButton name="$parentCheckButton" hidden="false" inherits="OptionsCheckButtonTemplate">
				<Anchors>
					<Anchor point="TOPLEFT"/>
				</Anchors>
				<HitRectInsets>
					<AbsInset left="0" right="0" top="0" bottom="0"/>
				</HitRectInsets>
				<Size>
					<AbsDimension x="24" y="24"/>
				</Size>
				<Scripts>
					<OnClick>
						CT_RAMenuNotifyClass_SetChecked();
					</OnClick>
				</Scripts>
			</CheckButton>
		</Frames>
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$parentText" justifyV="top" justifyH="left" inherits="ChatFontNormal" text="">
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="25" y="-5"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
	</Frame>

	<Frame name="CT_RAMenuDebuffTemplate" inherits="CT_RAMenuBuffTemplate" virtual="true" hidden="false">
		<Frames>
			<Button name="$parentSwatch" hidden="false">
				<Size>
					<AbsDimension x="16" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentCheckButton">
						<Offset>
							<AbsDimension x="120" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Layers>
					<Layer level="BACKGROUND">
						<Texture name="$parentBG">
							<Size>
								<AbsDimension x="14" y="14"/>
							</Size>
							<Color r="1.0" g="1.0" b="1.0"/>
							<Anchors>
								<Anchor point="CENTER"/>
							</Anchors>
						</Texture>
					</Layer>
				</Layers>
				<Scripts>
					<OnClick>
						CT_RAMenuDebuff_OnClick();
					</OnClick>
					<OnEnter>
						getglobal(this:GetName().."BG"):SetVertexColor(NORMAL_FONT_COLOR.r, NORMAL_FONT_COLOR.g, NORMAL_FONT_COLOR.b);
					</OnEnter>
					<OnLeave>
						getglobal(this:GetName().."BG"):SetVertexColor(HIGHLIGHT_FONT_COLOR.r, HIGHLIGHT_FONT_COLOR.g, HIGHLIGHT_FONT_COLOR.b);
					</OnLeave>
				</Scripts>
				<NormalTexture name="$parentNormalTexture" file="Interface\ChatFrame\ChatFrameColorSwatch"/>
			</Button>
		</Frames>
	</Frame>

	<Frame name="CT_RAMenuFrame" toplevel="true" parent="UIParent" movable="true" enableMouse="true" hidden="true">
		<Size>
			<AbsDimension x="640" y="512"/>
		</Size>
		<Anchors>
			<Anchor point="CENTER">
				<Offset>
					<AbsDimension x="0" y="0"/>
				</Offset>
			</Anchor>
		</Anchors>
		<HitRectInsets>
			<AbsInset left="0" right="44" top="0" bottom="13"/>
		</HitRectInsets>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture file="Interface\HelpFrame\HelpFrame-TopLeft">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
				</Texture>
				<Texture file="Interface\HelpFrame\HelpFrame-Top">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="256" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture file="Interface\HelpFrame\HelpFrame-TopRight">
					<Size>
						<AbsDimension x="128" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="TOPRIGHT"/>
					</Anchors>
				</Texture>
				<Texture file="Interface\HelpFrame\HelpFrame-BotLeft">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="BOTTOMLEFT"/>
					</Anchors>
				</Texture>
				<Texture file="Interface\HelpFrame\HelpFrame-Bottom">
					<Size>
						<AbsDimension x="256" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="BOTTOMLEFT">
							<Offset>
								<AbsDimension x="256" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<Texture file="Interface\HelpFrame\HelpFrame-BotRight">
					<Size>
						<AbsDimension x="128" y="256"/>
					</Size>
					<Anchors>
						<Anchor point="BOTTOMRIGHT"/>
					</Anchors>
				</Texture>
			</Layer>
			<Layer level="ARTWORK">
				<Texture name="CT_RAMenuFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
					<Size>
						<AbsDimension x="336" y="64"/>
					</Size>
					<Anchors>
						<Anchor point="TOP">
							<Offset>
								<AbsDimension x="-12" y="12"/>
							</Offset>
						</Anchor>
					</Anchors>
				</Texture>
				<FontString inherits="GameFontNormal" text="团队助手">
					<Anchors>
						<Anchor point="TOP" relativeTo="CT_RAMenuFrameHeader">
							<Offset>
								<AbsDimension x="0" y="-14"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Button name="CT_RAMenuFrameCloseButton" inherits="UIPanelCloseButton">
				<Anchors>
					<Anchor point="TOPRIGHT">
						<Offset>
							<AbsDimension x="-42" y="-3"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Frame name="CT_RAMenuFrameDrag">
				<Size>
					<AbsDimension x="336" y="64"/>
				</Size>
				<Anchors>
					<Anchor point="TOP">
						<Offset>
							<AbsDimension x="-12" y="12"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnMouseDown>
						if ( arg1 == "LeftButton" ) then
							if ( CT_RAMenu_Locked == 0 ) then
								this:GetParent():StartMoving();
							end
						elseif ( arg1 == "RightButton" ) then
							this:GetParent():ClearAllPoints();
							this:GetParent():SetPoint("CENTER", "UIParent", "CENTER");
						end
					</OnMouseDown>
					<OnMouseUp>
						this:GetParent():StopMovingOrSizing();
					</OnMouseUp>
					<OnEnter>
						if ( CT_RAMenu_Locked == 0 ) then
							CT_RAMenuHelp_SetTooltip();
							GameTooltip:SetText("左键点击拖动\n右键点击重置");
						end
					</OnEnter>
					<OnLeave>
						GameTooltip:Hide();
					</OnLeave>
				</Scripts>
			</Frame>
			<Frame name="CT_RAMenuFrameHome" setAllPoints="true" hidden="true">
				<Layers>
					<Layer level="BACKGROUND">
						<FontString inherits="GameFontHighlightSmall" text="谢谢你!">
							<Anchors>
								<Anchor point="TOP">
									<Offset>
										<AbsDimension x="0" y="-60"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString name="$parentDescript" inherits="GameFontNormal" text="CT_RAMENU_HOME" justifyH="LEFT" justifyV="TOP">
							<Size>
								<AbsDimension x="545" y="85"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="25" y="-75"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Frames>
					<Button name="$parentButton1" inherits="CT_RAMenuFrameButtonTemplate" id="1"> <!-- General Options -->
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="20" y="-235"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton2" inherits="CT_RAMenuFrameButtonTemplate" id="2"> <!-- Buff Options -->
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton1" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton3" inherits="CT_RAMenuFrameButtonTemplate" id="3"> <!--Misc -->
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton2" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton4" inherits="CT_RAMenuFrameButtonTemplate" id="4"> <!--Additional Options -->
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton3" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton5" inherits="CT_RAMenuFrameButtonTemplate" id="5"> <!--Debuff Curing-->
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton4" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>
					<Button name="$parentButton6" inherits="CT_RAMenuFrameButtonTemplate" id="6"> <!--Option Sets-->
						<Anchors>
							<Anchor point="TOPLEFT" relativeTo="$parentButton5" relativePoint="BOTTOMLEFT">
								<Offset>
									<AbsDimension x="0" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
					</Button>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -