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

📄 ct_raoptions.xml

📁 时间太紧了
💻 XML
📖 第 1 页 / 共 2 页
字号:
<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
	<Script file="CT_RAOptions.lua"/>
	<Button name="FriendsFrameTab5" inherits="FriendsFrameTabTemplate" parent="FriendsFrame" id="5" text="团队助手">
		<Anchors>
			<Anchor point="LEFT" relativeTo="FriendsFrameTab4" relativePoint="RIGHT">
				<Offset>
					<AbsDimension x="-14" y="0"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Scripts>
			<OnLoad>
				CT_RATab_OnLoad();
			</OnLoad>
			<OnEnter>
				GameTooltip_AddNewbieTip(nil, nil, nil, nil, "你可以指定显示某几个小队队员的生命/法力/能量/怒气条。右键点击一个队员将显示设置主坦克的菜单。", 1);
			</OnEnter>
			<OnLeave>
				GameTooltip:Hide();
			</OnLeave>
		</Scripts>
	</Button>
	<CheckButton name="CT_RACheckButtonTemplate" virtual="true" hidden="false" inherits="OptionsCheckButtonTemplate">
		<HitRectInsets>
			<AbsInset left="0" right="0" top="0" bottom="0"/>
		</HitRectInsets>
		<Size>
			<AbsDimension x="16" y="16"/>
		</Size>
		<Scripts>
			<OnClick>
				CT_RA_SetGroup();
			</OnClick>
			<OnLoad>
				this.id = this:GetID();
			</OnLoad>
		</Scripts>
	</CheckButton>

	<Button name="CT_RAOptionsGroupButtonTemplate" movable="true" virtual="true">
		<Size>
			<AbsDimension x="156" y="14"/>
		</Size>
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$parentRank" inherits="GameFontNormalSmall" justifyH="LEFT">
					<Size>
						<AbsDimension x="18" y="8"/>
					</Size>
					<Anchors>
						<Anchor point="LEFT">
							<Offset>
								<AbsDimension x="1" y="1"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentName" inherits="GameFontNormalSmall" justifyH="LEFT">
					<Size>
						<AbsDimension x="60" y="8"/>
					</Size>
					<Anchors>
						<Anchor point="LEFT" relativeTo="$parentRank" relativePoint="RIGHT">
							<Offset>
								<AbsDimension x="2" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentLevel" inherits="GameFontNormalSmall" justifyH="CENTER">
					<Size>
						<AbsDimension x="22" y="8"/>
					</Size>
					<Anchors>
						<Anchor point="LEFT" relativeTo="$parentName" relativePoint="RIGHT">
							<Offset>
								<AbsDimension x="5" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentClass" inherits="GameFontNormalSmall" justifyH="LEFT">
					<Size>
						<AbsDimension x="50" y="8"/>
					</Size>
					<Anchors>
						<Anchor point="LEFT">
							<Offset>
								<AbsDimension x="110" y="1"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<Frames>
			<Frame name="$parentDropDown" inherits="UIDropDownMenuTemplate" id="1" hidden="false">
				<Size>
					<AbsDimension x="10" y="10"/>
				</Size>
				<Anchors>
					<Anchor point="TOP">
						<Offset>
							<AbsDimension x="70" y="10"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
						CT_RAMemberDropDown_OnLoad();
					</OnLoad>
				</Scripts>
			</Frame>
		</Frames>
		<Scripts>
			<OnLoad>
				this:SetFrameLevel(this:GetFrameLevel() + 2);
				this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
			</OnLoad>
			<OnMouseDown>
				CT_RAOptionsGroupButton_OnMouseDown(arg1);
			</OnMouseDown>
			<OnMouseUp>
				CT_RAOptionsGroupButton_OnMouseUp(arg1);
			</OnMouseUp>
		</Scripts>
		<NormalTexture name="$parentTexture" file="Interface\RaidFrame\UI-RaidFrame-GroupButton">
			<TexCoords left="0" right="0.640625" top="0" bottom="0.4375"/>
		</NormalTexture>
		<HighlightTexture file="Interface\RaidFrame\UI-RaidFrame-GroupButton" alphaMode="ADD">
			<TexCoords left="0" right="0.640625" top="0.46875" bottom="0.90625"/>
		</HighlightTexture>
	</Button>
	<Button name="CT_RAOptionsGroupSlotTemplate" virtual="true">
		<Size>
			<AbsDimension x="156" y="14"/>
		</Size>
		<Layers>
			<Layer level="BACKGROUND">
				<FontString inherits="GameFontDarkGraySmall" text="空">
					<Anchors>
						<Anchor point="CENTER">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<HighlightTexture file="Interface\RaidFrame\UI-RaidFrame-GroupButton" alphaMode="ADD">
			<TexCoords left="0" right="0.640625" top="0.46875" bottom="0.90625"/>
		</HighlightTexture>
	</Button>
	<Frame name="CT_RAOptionsGroupTemplate" virtual="true">
		<Size>
			<AbsDimension x="162" y="80"/>
		</Size>
		<Layers>
			<Layer level="BACKGROUND">
				<FontString name="$parentLabel" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="TOP">
							<Offset>
								<AbsDimension x="0" y="10"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<Texture file="Interface\RaidFrame\UI-RaidFrame-GroupOutline">
					<Size>
						<AbsDimension x="162" y="80"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
					<TexCoords left="0" right="0.6640625" top="0" bottom="0.625"/>
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<Button name="$parentSlot1" id="1" inherits="CT_RAOptionsGroupSlotTemplate">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="3" y="-3"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentSlot2" id="2" inherits="CT_RAOptionsGroupSlotTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentSlot1" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="-1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentSlot3" id="3" inherits="CT_RAOptionsGroupSlotTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentSlot2" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="-1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentSlot4" id="4" inherits="CT_RAOptionsGroupSlotTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentSlot3" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="-1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentSlot5" id="5" inherits="CT_RAOptionsGroupSlotTemplate">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentSlot4" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="-1"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
		</Frames>
		<Scripts>
			<OnLoad>
				getglobal(this:GetName().."Label"):SetText("队伍 "..this:GetID());
			</OnLoad>
		</Scripts>
	</Frame>

	<Frame name="CT_RAOptionsFrame" setAllPoints="true" hidden="true" parent="FriendsFrame">
		<Frames>
			<Frame name="CT_RAOptionsGroup1" inherits="CT_RAOptionsGroupTemplate" id="1">
				<Anchors>
					<Anchor point="TOPLEFT">
						<Offset>
							<AbsDimension x="16" y="-70"/>
						</Offset>
					</Anchor>
				</Anchors>

⌨️ 快捷键说明

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