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

📄 earthtabletemplate.xml

📁 时间太紧了
💻 XML
字号:
<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/ ..\FrameXML\UI.xsd">
	<Script file="EarthTable.lua"/>

	<!-- Column Headers -->
	<Button name="EarthTableColumnHeaderGraphicTemplate" inherits="EarthObjectTemplate" virtual="true">
		<Size>
			<AbsDimension x="54" y="24"/>
		</Size>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture name="$parentLeft" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
					<Size>
						<AbsDimension x="5" y="24"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT"/>
					</Anchors>
					<TexCoords left="0" right="0.078125" top="0" bottom="0.75"/>
				</Texture>
				<Texture name="$parentMiddle" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
					<Size>
						<AbsDimension x="53" y="24"/>
					</Size>
					<Anchors>
						<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
					</Anchors>
					<TexCoords left="0.078125" right="0.90625" top="0" bottom="0.75"/>
				</Texture>
				<Texture name="$parentRight" file="Interface\FriendsFrame\WhoFrame-ColumnTabs">
					<Size>
						<AbsDimension x="4" y="24"/>
					</Size>
					<Anchors>
						<Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
					</Anchors>
					<TexCoords left="0.90625" right="0.96875" top="0" bottom="0.75"/>
				</Texture>
			</Layer>
		</Layers>
		<NormalText inherits="GameFontHighlightSmall">
			<Anchors>
				<Anchor point="LEFT">
					<Offset>
						<AbsDimension x="8" y="0"/>
					</Offset>
				</Anchor>
			</Anchors>
		</NormalText>
	</Button>
	<Button name="EarthTableColumnHeaderScriptedTemplate" inherits="EarthTableColumnHeaderGraphicTemplate" virtual="true">
		<Scripts>
			<OnLoad>
				EarthTable_HeaderButton_OnLoad();
			</OnLoad>
		</Scripts>
	</Button>
	<Button name="EarthTableColumnHeaderTemplate" inherits="EarthTableColumnHeaderScriptedTemplate" virtual="true"/>

	<!-- Earth Table Row Templates -->

	<Button name="EarthTableRowButtonGraphicTemplate" inherits="EarthObjectTemplate" virtual="true">
		<Size>
			<AbsDimension x="298" y="16"/>
		</Size>
		<Layers>
			<Layer level="BORDER">
				<FontString name="$parentCell1" inherits="GameFontNormalSmall" justifyH="LEFT">
					<Size>
						<AbsDimension x="50" y="14"/>
					</Size>
					<Anchors>
						<Anchor point="TOPLEFT">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentCell2" inherits="GameFontNormalSmall" justifyH="LEFT">
					<Size>
						<AbsDimension x="50" y="14"/>
					</Size>
					<Anchors>
						<Anchor point="LEFT" relativeTo="$parentCell1" relativePoint="RIGHT">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentCell3" inherits="GameFontNormalSmall" justifyH="LEFT">
					<Size>
						<AbsDimension x="50" y="14"/>
					</Size>
					<Anchors>
						<Anchor point="LEFT" relativeTo="$parentCell2" relativePoint="RIGHT">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentCell4" inherits="GameFontNormalSmall" justifyH="LEFT">
					<Size>
						<AbsDimension x="50" y="14"/>
					</Size>
					<Anchors>
						<Anchor point="LEFT" relativeTo="$parentCell3" relativePoint="RIGHT">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentCell5" inherits="GameFontNormalSmall" justifyH="LEFT">
					<Size>
						<AbsDimension x="50" y="14"/>
					</Size>
					<Anchors>
						<Anchor point="LEFT" relativeTo="$parentCell4" relativePoint="RIGHT">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
				<FontString name="$parentCell6" inherits="GameFontNormalSmall" justifyH="LEFT">
					<Size>
						<AbsDimension x="50" y="14"/>
					</Size>
					<Anchors>
						<Anchor point="LEFT" relativeTo="$parentCell5" relativePoint="RIGHT">
							<Offset>
								<AbsDimension x="0" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<HighlightTexture file="Interface\QuestFrame\UI-QuestTitleHighlight" alphaMode="ADD">
			<Size>
				<AbsDimension x="298" y="16"/>
			</Size>
			<Anchors>
				<Anchor point="TOP">
					<Offset>
						<AbsDimension x="5" y="0"/>
					</Offset>
				</Anchor>
			</Anchors>
		</HighlightTexture>
	</Button>
	<Button name="EarthTableRowButtonScriptedTemplate" inherits="EarthTableRowButtonGraphicTemplate" virtual="true">
		<Scripts>
			<OnLoad>
				EarthTable_RowButton_OnLoad();
			</OnLoad>
		</Scripts>
	</Button>
	<Button name="EarthTableRowButtonTemplate" inherits="EarthTableRowButtonScriptedTemplate" virtual="true"/>

	<!-- EarthTable Frame Template -->

	<Frame name="EarthTableFrameGraphicTemplate" inherits="EarthObjectTemplate" virtual="true">
		<Size>
			<AbsDimension x="300" y="320"/>
		</Size>
		<Anchors>
			<Anchor point="CENTER">
				<Offset>
					<AbsDimension x="0" y="0"/>
				</Offset>
			</Anchor>
		</Anchors>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture name="$parentBackground" setAllPoints="true">
					<Color r="0" g="1" b="0" a="0.0" />
				</Texture>
			</Layer>
		</Layers>
		<Frames>
			<Button name="$parentColumnHeader1" inherits="EarthTableColumnHeaderTemplate" text="NAME" id="1">
				<Anchors>
					<Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentColumnHeader2" inherits="EarthTableColumnHeaderTemplate" id="2">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentColumnHeader1" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="-2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentColumnHeader3" inherits="EarthTableColumnHeaderTemplate" id="3">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentColumnHeader2" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="-2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentColumnHeader4" inherits="EarthTableColumnHeaderTemplate" id="4">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentColumnHeader3" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="-2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentColumnHeader5" inherits="EarthTableColumnHeaderTemplate" id="5">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentColumnHeader4" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="-2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentColumnHeader6" inherits="EarthTableColumnHeaderTemplate" id="6">
				<Anchors>
					<Anchor point="LEFT" relativeTo="$parentColumnHeader5" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="-2" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>

			<!-- Table Rows -->
			<Button name="$parentRow1" inherits="EarthTableRowButtonTemplate" id="1">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parent">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentRow2" inherits="EarthTableRowButtonTemplate" id="2">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentRow1" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentRow3" inherits="EarthTableRowButtonTemplate" id="3">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentRow2" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentRow4" inherits="EarthTableRowButtonTemplate" id="4">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentRow3" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentRow5" inherits="EarthTableRowButtonTemplate" id="5">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentRow4" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentRow6" inherits="EarthTableRowButtonTemplate" id="6">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentRow5" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentRow7" inherits="EarthTableRowButtonTemplate" id="7">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentRow6" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentRow8" inherits="EarthTableRowButtonTemplate" id="8">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentRow7" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentRow9" inherits="EarthTableRowButtonTemplate" id="9">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentRow8" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentRow10" inherits="EarthTableRowButtonTemplate" id="10">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentRow9" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentRow11" inherits="EarthTableRowButtonTemplate" id="11">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentRow10" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentRow12" inherits="EarthTableRowButtonTemplate" id="12">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentRow11" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentRow13" inherits="EarthTableRowButtonTemplate" id="13">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentRow12" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentRow14" inherits="EarthTableRowButtonTemplate" id="14">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentRow13" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentRow15" inherits="EarthTableRowButtonTemplate" id="15">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentRow14" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentRow16" inherits="EarthTableRowButtonTemplate" id="16">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentRow15" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentRow17" inherits="EarthTableRowButtonTemplate" id="17">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentRow16" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentRow18" inherits="EarthTableRowButtonTemplate" id="18">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentRow17" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentRow19" inherits="EarthTableRowButtonTemplate" id="19">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentRow18" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<Button name="$parentRow20" inherits="EarthTableRowButtonTemplate" id="20">
				<Anchors>
					<Anchor point="TOPLEFT" relativeTo="$parentRow19" relativePoint="BOTTOMLEFT">
						<Offset>
							<AbsDimension x="0" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
			</Button>
			<ScrollFrame name="$parentListScrollFrameV" inherits="EarthFauxVScrollFrameTemplate">
				<Size>
					<AbsDimension x="32" y="320"/>
				</Size>
				<Anchors>
					<Anchor point="RIGHT" relativeTo="$parent" relativePoint="RIGHT">
						<Offset>
							<AbsDimension x="4" y="0"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnVerticalScroll>
						Earth_FauxScrollFrame_OnVerticalScroll(EARTHTABLE_ROW_HEIGHT, function() EarthTable_UpdateFrame(this:GetParent()) end);
					</OnVerticalScroll>
				</Scripts>
			</ScrollFrame>
			<ScrollFrame name="$parentListScrollFrameH" inherits="EarthFauxHScrollFrameTemplate">
				<Size>
					<AbsDimension x="268" y="16"/>
				</Size>
				<Anchors>
					<Anchor point="TOP" relativeTo="$parent" relativePoint="BOTTOM">
						<Offset>
							<AbsDimension x="0" y="-4"/>
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnHorizontalScroll>
						EarthTable_OnHorizontalScroll ( function() EarthTable_UpdateFrame(this:GetParent()) end );
					</OnHorizontalScroll>
				</Scripts>
			</ScrollFrame>
		</Frames>
	</Frame>
	<Frame name="EarthTableFrameScriptedTemplate" inherits="EarthTableFrameGraphicTemplate" virtual="true">
		<Scripts>
			<OnLoad>
				EarthTable_Frame_OnLoad();
			</OnLoad>
		</Scripts>
	</Frame>
	<Frame name="EarthTableFrameTemplate" inherits="EarthTableFrameScriptedTemplate" virtual="true"/>

	<!-- Example Table
	<Frame name="EarthTable" inherits="EarthTableFrameTemplate" hidden="false">
		<Anchors>
			<Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER">
				<Offset>
					<AbsDimension x="0" y="0"/>
				</Offset>
			</Anchor>
		</Anchors>
	</Frame>
	-->
</Ui>

⌨️ 快捷键说明

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