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

📄 earthfeaturetemplate.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="EarthFeatureButton.lua"/>	<CheckButton name="EarthFeatureButtonGraphicTemplate" inherits="EarthObjectTemplate" virtual="true">		<Size>			<AbsDimension x="37" y="37"/>		</Size>		<Layers>			<Layer level="BACKGROUND">				<Texture name="$parentIconTexture" setAllPoints="true" hidden="true"/>				<FontString name="$parentName" inherits="GameFontNormal" hidden="true" justifyH="LEFT">					<Size>						<AbsDimension x="103" y="0"/>					</Size>					<Anchors>						<Anchor point="LEFT" relativePoint="RIGHT">							<Offset>								<AbsDimension x="4" y="4"/>							</Offset>						</Anchor>					</Anchors>				</FontString>				<FontString name="$parentOtherName" inherits="SubSpellFont" hidden="true" justifyH="LEFT">					<Size>						<AbsDimension x="79" y="18"/>					</Size>					<Anchors>						<Anchor point="TOPLEFT" relativeTo="$parentName" relativePoint="BOTTOMLEFT">							<Offset>								<AbsDimension x="0" y="4"/>							</Offset>						</Anchor>					</Anchors>				</FontString>			</Layer>		</Layers>		<NormalTexture name="$parentNormalTexture" file="Interface\Buttons\UI-Quickslot2">			<Size>				<AbsDimension x="64" y="64"/>			</Size>			<Anchors>				<Anchor point="CENTER">					<Offset>						<AbsDimension x="0" y="0"/>					</Offset>				</Anchor>			</Anchors>		</NormalTexture>		<PushedTexture file="Interface\Buttons\UI-Quickslot-Depress"/>		<HighlightTexture name="$parentHighlight" file="Interface\Buttons\ButtonHilight-Square" alphaMode="ADD"/>		<CheckedTexture file="Interface\Buttons\CheckButtonHilight" alphaMode="ADD"/>	</CheckButton>	<CheckButton name="EarthFeatureButtonScriptedTemplate" inherits="EarthFeatureButtonGraphicTemplate" virtual="true">		<Scripts>			<OnLoad>				this.onClick = EarthFeatureButton_OnClick;				this.onEnter = EarthFeatureButton_OnEnter;				this.onLeave = EarthFeatureButton_OnLeave;			</OnLoad>		</Scripts>	</CheckButton>	<CheckButton name="EarthFeatureButtonTemplate" inherits="EarthFeatureButtonScriptedTemplate" virtual="true"/>	<!-- Actual Feature Frame -->	<Frame name="EarthFeatureFrameGraphicTemplate" inherits="EarthObjectTemplate" virtual="true" toplevel="true" movable="true" enableMouse="true" hidden="true">		<Size>			<AbsDimension x="384" y="512"/>		</Size>		<Anchors>			<Anchor point="TOPLEFT">				<Offset>					<AbsDimension x="0" y="-104"/>				</Offset>			</Anchor>		</Anchors>		<HitRectInsets>			<AbsInset left="0" right="30" top="0" bottom="70"/>		</HitRectInsets>		<Layers>			<Layer level="BACKGROUND">				<Texture file="Interface\Spellbook\Spellbook-Icon">					<Size>						<AbsDimension x="58" y="58"/>					</Size>					<Anchors>						<Anchor point="TOPLEFT">							<Offset>								<AbsDimension x="10" y="-8"/>							</Offset>						</Anchor>					</Anchors>				</Texture>			</Layer>			<Layer level="ARTWORK">				<Texture file="Interface\Spellbook\UI-SpellbookPanel-TopLeft">					<Size>						<AbsDimension x="256" y="256"/>					</Size>					<Anchors>						<Anchor point="TOPLEFT"/>					</Anchors>				</Texture>				<Texture file="Interface\Spellbook\UI-SpellbookPanel-TopRight">					<Size>						<AbsDimension x="128" y="256"/>					</Size>					<Anchors>						<Anchor point="TOPRIGHT"/>					</Anchors>				</Texture>				<Texture file="Interface\Spellbook\UI-SpellbookPanel-BotLeft">					<Size>						<AbsDimension x="256" y="256"/>					</Size>					<Anchors>						<Anchor point="BOTTOMLEFT"/>					</Anchors>				</Texture>				<Texture file="Interface\Spellbook\UI-SpellbookPanel-BotRight">					<Size>						<AbsDimension x="128" y="256"/>					</Size>					<Anchors>						<Anchor point="BOTTOMRIGHT"/>					</Anchors>				</Texture>				<FontString name="$parentTitleText" inherits="GameFontNormal">					<Anchors>						<Anchor point="CENTER">							<Offset>								<AbsDimension x="6" y="230"/>							</Offset>						</Anchor>					</Anchors>				</FontString>			</Layer>		</Layers>		<Frames>			<Button name="$parentPrevPageButton" inherits="EarthObjectTemplate">				<Size>					<AbsDimension x="32" y="32"/>				</Size>				<Anchors>					<Anchor point="CENTER" relativeTo="$parent" relativePoint="BOTTOMLEFT">						<Offset>							<AbsDimension x="50" y="105"/>						</Offset>					</Anchor>				</Anchors>				<Layers>					<Layer level="BACKGROUND">						<FontString inherits="GameFontNormal" justifyH="LEFT" text="PREV">							<Anchors>								<Anchor point="LEFT" relativeTo="$parent" relativePoint="RIGHT"/>							</Anchors>						</FontString>					</Layer>				</Layers>				<Scripts>					<OnLoad>						this.onClick = EarthFeature_PrevPage;					</OnLoad>				</Scripts>				<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up"/>				<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down"/>				<DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Disabled"/>				<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>			</Button>			<Button name="$parentNextPageButton" inherits="EarthObjectTemplate">				<Size>					<AbsDimension x="32" y="32"/>				</Size>				<Anchors>					<Anchor point="CENTER" relativeTo="$parent" relativePoint="BOTTOMLEFT">						<Offset>							<AbsDimension x="314" y="105"/>						</Offset>					</Anchor>				</Anchors>				<Layers>					<Layer level="BACKGROUND">						<FontString inherits="GameFontNormal" justifyH="RIGHT" text="NEXT">							<Anchors>								<Anchor point="RIGHT" relativeTo="$parent" relativePoint="LEFT"/>							</Anchors>						</FontString>					</Layer>				</Layers>				<Scripts>					<OnLoad>						this.onClick = EarthFeature_NextPage;					</OnLoad>				</Scripts>				<NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>				<PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>				<DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Disabled"/>				<HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>			</Button>			<Button name="$parentCloseButton" inherits="EarthPanelCloseButton">				<Anchors>					<Anchor point="CENTER" relativeTo="$parent" relativePoint="TOPRIGHT">						<Offset>							<AbsDimension x="-44" y="-26"/>						</Offset>					</Anchor>				</Anchors>			</Button>			<CheckButton name="$parentButton1" inherits="EarthFeatureButtonTemplate" id="1">				<Anchors>					<Anchor point="TOPLEFT">						<Offset>							<AbsDimension x="34" y="-85"/>						</Offset>					</Anchor>				</Anchors>			</CheckButton>			<CheckButton name="$parentButton2" inherits="EarthFeatureButtonTemplate" id="2">				<Anchors>					<Anchor point="TOPLEFT" relativeTo="$parentButton1">						<Offset>							<AbsDimension x="157" y="0"/>						</Offset>					</Anchor>				</Anchors>			</CheckButton>			<CheckButton name="$parentButton3" inherits="EarthFeatureButtonTemplate" id="3">				<Anchors>					<Anchor point="TOPLEFT" relativeTo="$parentButton1" relativePoint="BOTTOMLEFT">						<Offset>							<AbsDimension x="0" y="-7"/>						</Offset>					</Anchor>				</Anchors>			</CheckButton>			<CheckButton name="$parentButton4" inherits="EarthFeatureButtonTemplate" id="4">				<Anchors>					<Anchor point="TOPLEFT" relativeTo="$parentButton3">						<Offset>							<AbsDimension x="157" y="0"/>						</Offset>					</Anchor>				</Anchors>			</CheckButton>			<CheckButton name="$parentButton5" inherits="EarthFeatureButtonTemplate" id="5">				<Anchors>					<Anchor point="TOPLEFT" relativeTo="$parentButton3" relativePoint="BOTTOMLEFT">						<Offset>							<AbsDimension x="0" y="-7"/>						</Offset>					</Anchor>				</Anchors>			</CheckButton>			<CheckButton name="$parentButton6" inherits="EarthFeatureButtonTemplate" id="6">				<Anchors>					<Anchor point="TOPLEFT" relativeTo="$parentButton5">						<Offset>							<AbsDimension x="157" y="0"/>						</Offset>					</Anchor>				</Anchors>			</CheckButton>			<CheckButton name="$parentButton7" inherits="EarthFeatureButtonTemplate" id="7">				<Anchors>					<Anchor point="TOPLEFT" relativeTo="$parentButton5" relativePoint="BOTTOMLEFT">						<Offset>							<AbsDimension x="0" y="-7"/>						</Offset>					</Anchor>				</Anchors>			</CheckButton>			<CheckButton name="$parentButton8" inherits="EarthFeatureButtonTemplate" id="8">				<Anchors>					<Anchor point="TOPLEFT" relativeTo="$parentButton7">						<Offset>							<AbsDimension x="157" y="0"/>						</Offset>					</Anchor>				</Anchors>			</CheckButton>			<CheckButton name="$parentButton9" inherits="EarthFeatureButtonTemplate" id="9">				<Anchors>					<Anchor point="TOPLEFT" relativeTo="$parentButton7" relativePoint="BOTTOMLEFT">						<Offset>							<AbsDimension x="0" y="-7"/>						</Offset>					</Anchor>				</Anchors>			</CheckButton>			<CheckButton name="$parentButton10" inherits="EarthFeatureButtonTemplate" id="10">				<Anchors>					<Anchor point="TOPLEFT" relativeTo="$parentButton9">						<Offset>							<AbsDimension x="157" y="0"/>						</Offset>					</Anchor>				</Anchors>			</CheckButton>			<CheckButton name="$parentButton11" inherits="EarthFeatureButtonTemplate" id="11">				<Anchors>					<Anchor point="TOPLEFT" relativeTo="$parentButton9" relativePoint="BOTTOMLEFT">						<Offset>							<AbsDimension x="0" y="-7"/>						</Offset>					</Anchor>				</Anchors>			</CheckButton>			<CheckButton name="$parentButton12" inherits="EarthFeatureButtonTemplate" id="12">				<Anchors>					<Anchor point="TOPLEFT" relativeTo="$parentButton11">						<Offset>							<AbsDimension x="157" y="0"/>						</Offset>					</Anchor>				</Anchors>			</CheckButton>			<CheckButton name="$parentButton13" inherits="EarthFeatureButtonTemplate" id="13">				<Anchors>					<Anchor point="TOPLEFT" relativeTo="$parentButton11" relativePoint="BOTTOMLEFT">						<Offset>							<AbsDimension x="0" y="-7"/>						</Offset>					</Anchor>				</Anchors>			</CheckButton>			<CheckButton name="$parentButton14" inherits="EarthFeatureButtonTemplate" id="14">				<Anchors>					<Anchor point="TOPLEFT" relativeTo="$parentButton13">						<Offset>							<AbsDimension x="157" y="0"/>						</Offset>					</Anchor>				</Anchors>			</CheckButton>		</Frames>	</Frame>	<Frame name="EarthFeatureFrameScriptedTemplate" inherits="EarthFeatureFrameGraphicTemplate" virtual="true">		<Scripts>			<OnLoad>				this.onShow = EarthFeatureFrame_OnShow;				this.onHide = EarthFeatureFrame_OnHide;			</OnLoad>		</Scripts>	</Frame>	<Frame name="EarthFeatureFrameTemplate" inherits="EarthFeatureFrameScriptedTemplate" virtual="true"/>	<!-- Example Feature Usage -->	<Frame name="EarthFeatureFrame" inherits="EarthFeatureFrameTemplate" parent="UIParent">	</Frame>		<!-- Minimap Button -->	<Button name="EarthMinimapButtonTemplate" inherits="EarthObjectTemplate" toplevel="true" virtual="true">		<Size>			<AbsDimension x="34" y="34"/>		</Size>		<Anchors>			<Anchor point="CENTER" relativeTo="Minimap" relativePoint="CENTER">				<Offset>					<AbsDimension x="-16.66" y="-79.6"/>				</Offset>			</Anchor>		</Anchors>		<Scripts>			<OnLoad>				EarthMinimapButton_OnLoad();			</OnLoad>			<OnEvent>				EarthMinimapButton_OnEvent(event);			</OnEvent>			<OnMouseDown>				EarthMinimapButton_OnMouseDown();			</OnMouseDown>			<OnMouseUp>				EarthMinimapButton_OnMouseUp();			</OnMouseUp>			<OnHide>				EarthMinimapButton_OnHide();			</OnHide>			<OnUpdate>				EarthMinimapButton_OnUpdate();			</OnUpdate>		</Scripts>		<NormalTexture file="Interface\AddOns\Earth\Skin\MinimapButton\EarthButton"/>		<PushedTexture file="Interface\AddOns\Earth\Skin\MinimapButton\EarthButtonDown"/>		<DisabledTexture file="Interface\Minimap\UI-Minimap-ZoomOutButton-Disabled"/>		<HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>	</Button>	<Button name="EarthMinimapButton" inherits="EarthMinimapButtonTemplate" parent="Minimap" /></Ui>

⌨️ 快捷键说明

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