欢迎来到虫虫下载站 | 资源下载 资源专辑 关于我们
虫虫下载站

ct_ramenu.xml

时间太紧了
XML
第 1 页 / 共 5 页
字号:
					<Button name="$parentCancel" inherits="GameMenuButtonTemplate" text="关闭">
						<Anchors>
							<Anchor point="BOTTOMRIGHT">
								<Offset>
									<AbsDimension x="-53" y="21"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								HideUIPanel(CT_RAMenuFrame);
							</OnClick>
						</Scripts>
					</Button>
					<Button name="$parentLock" inherits="GameMenuButtonTemplate" text="解锁" hidden="false">
						<Anchors>
							<Anchor point="RIGHT" relativeTo="$parentCancel" relativePoint="LEFT">
								<Offset>
									<AbsDimension x="-5" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								if ( CT_RAMenu_Locked == 0 ) then
									CT_RAMenu_Locked = 1;
									this:SetText("解锁");
								else
									CT_RAMenu_Locked = 0;
									this:SetText("锁定");
								end
							</OnClick>
						</Scripts>
					</Button>
				</Frames>
			</Frame>
			<Frame name="CT_RAMenuFrameGeneral" setAllPoints="true" hidden="true">
				<Layers>
					<Layer level="BACKGROUND">
						<FontString name="$parentTitle" inherits="GameFontHighlightSmall" text="一般选项">
							<Anchors>
								<Anchor point="TOP">
									<Offset>
										<AbsDimension x="0" y="-60"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
						<FontString inherits="GameFontNormal" justifyH="LEFT" text="CT_RAMENU_GENERALDESCRIPT">
							<Size>
								<AbsDimension x="550" y="100"/>
							</Size>
							<Anchors>
								<Anchor point="TOPLEFT">
									<Offset>
										<AbsDimension x="25" y="-60"/>
									</Offset>
								</Anchor>
							</Anchors>
						</FontString>
					</Layer>
				</Layers>
				<Frames>
					<Button name="$parentCancel" inherits="GameMenuButtonTemplate" text="关闭">
						<Anchors>
							<Anchor point="BOTTOMRIGHT">
								<Offset>
									<AbsDimension x="-53" y="21"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								HideUIPanel(CT_RAMenuFrame);
							</OnClick>
						</Scripts>
					</Button>
					<Button name="$parentBack" inherits="GameMenuButtonTemplate" text="返回">
						<Anchors>
							<Anchor point="RIGHT" relativeTo="$parentCancel" relativePoint="LEFT">
								<Offset>
									<AbsDimension x="-5" y="0"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Scripts>
							<OnClick>
								CT_RAMenu_ShowHome();
							</OnClick>
						</Scripts>
					</Button>
					<Frame name="$parentDisplay">
						<Size>
							<AbsDimension x="250" y="170"/>
						</Size>
						<Anchors>
							<Anchor point="TOPLEFT">
								<Offset>
									<AbsDimension x="35" y="-165"/>
								</Offset>
							</Anchor>
						</Anchors>
						<Backdrop 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>
						<Layers>
							<Layer level="ARTWORK">
								<FontString name="$parentName" inherits="GameFontNormal" text="显示">
									<Anchors>
										<Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
											<Offset>
												<AbsDimension x="15" y="0"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="$parentShowGroupsText" inherits="ChatFontNormal" text="显示队伍名字">
									<Anchors>
										<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
											<Offset>
												<AbsDimension x="35" y="-10"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="$parentLockGroupsText" inherits="ChatFontNormal" text="锁定队伍位置">
									<Anchors>
										<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
											<Offset>
												<AbsDimension x="35" y="-30"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="$parentShowMPText" inherits="ChatFontNormal" text="隐藏魔法条">
									<Anchors>
										<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
											<Offset>
												<AbsDimension x="35" y="-50"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="$parentShowHPText" inherits="ChatFontNormal" text="隐藏生命条">
									<Anchors>
										<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
											<Offset>
												<AbsDimension x="35" y="-70"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="$parentShowRPText" inherits="ChatFontNormal" text="隐藏怒气/能量条">
									<Anchors>
										<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
											<Offset>
												<AbsDimension x="35" y="-90"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="$parentHealthText" inherits="ChatFontNormal" text="生命:">
									<Anchors>
										<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
											<Offset>
												<AbsDimension x="15" y="-110"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="$parentWindowColorText" inherits="ChatFontNormal" text="窗口背景颜色">
									<Anchors>
										<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
											<Offset>
												<AbsDimension x="35" y="-130"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
								<FontString name="$parentAlertColorText" inherits="ChatFontNormal" text="警告信息颜色">
									<Anchors>
										<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
											<Offset>
												<AbsDimension x="35" y="-150"/>
											</Offset>
										</Anchor>
									</Anchors>
								</FontString>
							</Layer>
						</Layers>
						<Frames>
							<CheckButton name="$parentShowGroupsCB" checked="true" hidden="false" inherits="OptionsCheckButtonTemplate">
								<Anchors>
									<Anchor point="TOPLEFT">
										<Offset>
											<AbsDimension x="10" y="-7"/>
										</Offset>
									</Anchor>
								</Anchors>
								<HitRectInsets>
									<AbsInset left="0" right="0" top="0" bottom="0"/>
								</HitRectInsets>
								<Size>
									<AbsDimension x="24" y="24"/>
								</Size>
								<Scripts>
									<OnClick>
										CT_RAMenuDisplay_ShowGroupNames();
									</OnClick>
								</Scripts>
							</CheckButton>
							<CheckButton name="$parentLockGroupsCB" hidden="false" inherits="OptionsCheckButtonTemplate">
								<Anchors>
									<Anchor point="TOPLEFT">
										<Offset>
											<AbsDimension x="10" y="-27"/>
										</Offset>
									</Anchor>
								</Anchors>
								<HitRectInsets>
									<AbsInset left="0" right="0" top="0" bottom="0"/>
								</HitRectInsets>
								<Size>
									<AbsDimension x="24" y="24"/>
								</Size>
								<Scripts>
									<OnClick>
										CT_RAMenuDisplay_LockGroups();
									</OnClick>
								</Scripts>
							</CheckButton>

							<CheckButton name="$parentShowMPCB" checked="false" hidden="false" inherits="OptionsCheckButtonTemplate">
								<Anchors>
									<Anchor point="TOPLEFT">
										<Offset>
											<AbsDimension x="10" y="-47"/>
										</Offset>
									</Anchor>
								</Anchors>
								<HitRectInsets>
									<AbsInset left="0" right="0" top="0" bottom="0"/>
								</HitRectInsets>
								<Size>
									<AbsDimension x="24" y="24"/>
								</Size>
								<Scripts>
									<OnClick>
										CT_RAMenuDisplay_ShowMP();
									</OnClick>
								</Scripts>
							</CheckButton>
							<CheckButton name="$parentShowRPCB" checked="false" hidden="false" inherits="OptionsCheckButtonTemplate">
								<Anchors>
									<Anchor point="TOPLEFT">
										<Offset>
											<AbsDimension x="10" y="-87"/>
										</Offset>
									</Anchor>
								</Anchors>
								<HitRectInsets>
									<AbsInset left="0" right="0" top="0" bottom="0"/>
								</HitRectInsets>
								<Size>
									<AbsDimension x="24" y="24"/>
								</Size>
								<Scripts>
									<OnClick>
										CT_RAMenuDisplay_ShowRP();
									</OnClick>
								</Scripts>
							</CheckButton>
							<Frame name="$parentHealthDropDown" inherits="UIDropDownMenuTemplate" hidden="false">
								<Size>
									<AbsDimension x="128" y="16"/>
								</Size>
								<Anchors>
									<Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentHealthText">
										<Offset>
											<AbsDimension x="-10" y="-3"/>
										</Offset>
									</Anchor>
								</Anchors>
								<Scripts>
									<OnLoad>
										CT_RAMenuFrameGeneralDisplayHealthDropDown_OnLoad();
									</OnLoad>
								</Scripts>
							</Frame>
							<CheckButton name="$parentShowHealthCB" checked="false" hidden="false" inherits="OptionsCheckButtonTemplate">
								<Anchors>
									<Anchor point="TOPLEFT">
										<Offset>
											<AbsDimension x="10" y="-67"/>
										</Offset>
									</Anchor>
								</Anchors>
								<HitRectInsets>
									<AbsInset left="0" right="0" top="0" bottom="0"/>
								</HitRectInsets>
								<Size>
									<AbsDimension x="24" y="24"/>
								</Size>
								<Scripts>
									<OnClick>
										CT_RAMenuDisplay_ShowHealth();
									</OnClick>
								</Scripts>
							</CheckButton>
							<Button name="$parentShowHPSwatch" hidden="false">
								<Size>
									<AbsDimension x="16" y="16"/>
								</Size>
								<Anchors>
									<Anchor point="TOPRIGHT">
										<Offset>
											<AbsDimension x="-14" y="-110"/>
										</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_RAMenuDisplay_ChangeTC();
									</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>
							<Button name="$parentWindowColorSwatch" hidden="false">
								<Size>
									<AbsDimension x="16" y="16"/>
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT">
										<Offset>
											<AbsDimension x="14" y="-129"/>
										</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_RAMenuDisplay_ChangeWC();
									</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>
							<Button name="$parentAlertColorSwatch" hidden="false">
								<Size>
									<AbsDimension x="16" y="16"/>
								</Size>
								<Anchors>
									<Anchor point="TOPLEFT">
										<Offset>
											<AbsDimension x="14" y="-149"/>
										</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_RAMenuDisplay_ChangeAC();
									</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>

⌨️ 快捷键说明

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