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

📄 earthpaneltemplates.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/
..\FrameXML\UI.xsd">
	<Script file="EarthPanelTemplates.lua"/>
	<Texture name="EarthPanelButtonUpTexture" file="Interface\Buttons\UI-Panel-Button-Up" virtual="true">
		<TexCoords left="0" right="0.625" top="0" bottom="0.6875"/>
	</Texture>
	<Texture name="EarthPanelButtonDownTexture" file="Interface\Buttons\UI-Panel-Button-Down" virtual="true">
		<TexCoords left="0" right="0.625" top="0" bottom="0.6875"/>
	</Texture>
	<Texture name="EarthPanelButtonDisabledTexture" file="Interface\Buttons\UI-Panel-Button-Disabled" virtual="true">
		<TexCoords left="0" right="0.625" top="0" bottom="0.6875"/>
	</Texture>
	<Texture name="EarthPanelButtonDisabledDownTexture" file="Interface\Buttons\UI-Panel-Button-Disabled-Down" virtual="true">
		<TexCoords left="0" right="0.625" top="0" bottom="0.6875"/>
	</Texture>
	<Texture name="EarthPanelButtonHighlightTexture" file="Interface\Buttons\UI-Panel-Button-Highlight" alphaMode="ADD" virtual="true">
		<TexCoords left="0" right="0.625" top="0" bottom="0.6875"/>
	</Texture>
	<Button name="EarthPanelButtonTemplate" inherits="EarthObjectTemplate" virtual="true">
		<NormalText name="$parentText" inherits="GameFontNormal"/>
		<DisabledText inherits="GameFontDisable"/>
		<HighlightText inherits="GameFontHighlight"/>
		<NormalTexture inherits="EarthPanelButtonUpTexture"/>
		<PushedTexture inherits="EarthPanelButtonDownTexture"/>
		<DisabledTexture inherits="EarthPanelButtonDisabledTexture"/>
		<HighlightTexture inherits="EarthPanelButtonHighlightTexture"/>
	</Button>
	<Button name="EarthPanelButtonTemplate2" inherits="EarthObjectTemplate" virtual="true">
		<Size>
			<AbsDimension x="40" y="22"/>
		</Size>
		<Layers>
			<Layer level="BACKGROUND">
				<Texture name="$parentLeft" file="Interface\Buttons\UI-Panel-Button-Up">
					<Size>
						<AbsDimension x="12" y="22"/>
					</Size>
					<Anchors>
						<Anchor point="LEFT"/>
					</Anchors>
					<TexCoords left="0" right="0.09375" top="0" bottom="0.6875"/>
				</Texture>
				<Texture name="$parentRight" file="Interface\Buttons\UI-Panel-Button-Up">
					<Size>
						<AbsDimension x="12" y="22"/>
					</Size>
					<Anchors>
						<Anchor point="RIGHT"/>
					</Anchors>
					<TexCoords left="0.53125" right="0.625" top="0" bottom="0.6875"/>
				</Texture>
				<Texture name="$parentMiddle" file="Interface\Buttons\UI-Panel-Button-Up">
					<Size>
						<AbsDimension x="12" y="22"/>
					</Size>
					<Anchors>
						<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
						<Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"/>
					</Anchors>
					<TexCoords left="0.09375" right="0.53125" top="0" bottom="0.6875"/>
				</Texture>
			</Layer>
		</Layers>
		<Scripts>
			<OnMouseDown>
				if ( not this.onMouseDown ) then 
					getglobal(this:GetName().."Left"):SetTexture("Interface\\Buttons\\UI-Panel-Button-Down");
					getglobal(this:GetName().."Middle"):SetTexture("Interface\\Buttons\\UI-Panel-Button-Down");
					getglobal(this:GetName().."Right"):SetTexture("Interface\\Buttons\\UI-Panel-Button-Down");
				else
					this.onMouseDown();
				end
			</OnMouseDown>
			<OnMouseUp>
				if ( not this.onMouseUp ) then 
					getglobal(this:GetName().."Left"):SetTexture("Interface\\Buttons\\UI-Panel-Button-Up");
					getglobal(this:GetName().."Middle"):SetTexture("Interface\\Buttons\\UI-Panel-Button-Up");
					getglobal(this:GetName().."Right"):SetTexture("Interface\\Buttons\\UI-Panel-Button-Up");
				else
					this.onMouseUp();
				end
			</OnMouseUp>
		</Scripts>
		<NormalText name="$parentText" inherits="GameFontNormal"/>
		<DisabledText inherits="GameFontDisable"/>
		<HighlightText inherits="GameFontHighlight"/>
		<HighlightTexture inherits="EarthPanelButtonHighlightTexture"/>
	</Button>
	<Button name="EarthPanelButtonGrayTemplate" inherits="EarthObjectTemplate" virtual="true">
		<NormalText inherits="GameFontHighlight"/>
		<DisabledText inherits="GameFontDisable"/>
		<HighlightText inherits="GameFontHighlight"/>
		<NormalTexture inherits="EarthPanelButtonDisabledTexture"/>
		<PushedTexture inherits="EarthPanelButtonDisabledDownTexture"/>
		<DisabledTexture inherits="EarthPanelButtonDisabledTexture"/>
		<HighlightTexture inherits="EarthPanelButtonHighlightTexture"/>
	</Button>
	<Button name="EarthPanelCloseButton" inherits="EarthObjectTemplate" virtual="true">
		<Size>
			<AbsDimension x="32" y="32"/>
		</Size>
		<Scripts>
			<OnClick>
				if ( not this.onClick ) then
					HideUIPanel(this:GetParent());
				else
					this.onClick();
				end
			</OnClick>
		</Scripts>
		<NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
		<PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
		<HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
	</Button>
	<CheckButton name="EarthCheckButtonTemplate" inherits="EarthObjectTemplate" virtual="true">
		<Size>
			<AbsDimension x="32" y="32"/>
		</Size>
		<Layers>
			<Layer level="ARTWORK">
				<FontString name="$parentText" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="LEFT" relativePoint="RIGHT">
							<Offset>
								<AbsDimension x="-2" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>
			</Layer>
		</Layers>
		<NormalTexture name="$parentNormalTexture" file="Interface\Buttons\UI-CheckBox-Up"/>
		<PushedTexture name="$parentPushedTexture" file="Interface\Buttons\UI-CheckBox-Down"/>
		<HighlightTexture name="$parentHighlightTexture" file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/>
		<CheckedTexture name="$parentCheckedTexture" file="Interface\Buttons\UI-CheckBox-Check"/>
		<DisabledCheckedTexture name="$parentDisabledCheckedTexture" file="Interface\Buttons\UI-CheckBox-Check-Disabled"/>
	</CheckButton>
	<CheckButton name="EarthRadioButtonTemplate" inherits="EarthObjectTemplate" virtual="true">
		<Size>
			<AbsDimension x="20" y="20" />
		</Size>
		<Layers>
			<Layer level="ARTWORK">			
				<FontString name="$parentText" inherits="GameFontNormalSmall">
					<Anchors>
						<Anchor point="LEFT" relativePoint="RIGHT">
							<Offset>
								<AbsDimension x="-2" y="0"/>
							</Offset>
						</Anchor>
					</Anchors>
				</FontString>				
			</Layer>
		</Layers>
		<NormalTexture name="$parentNormalTexture" file="Interface\AddOns\Earth\Skin\Buttons\UI-RadioButton-White"> 
			<TexCoords left="0" right="0.25" top="0" bottom="1"/> 
		</NormalTexture>		
		<DisabledTexture name="$parentDisabledTexture" file="Interface\AddOns\Earth\Skin\Buttons\UI-RadioButton-White"> 
			<TexCoords left="0" right="0.25" top="0" bottom="1"/> 
		</DisabledTexture>		
		<PushedTexture name="$parentPushedTexture" file="Interface\AddOns\Earth\Skin\Buttons\UI-RadioButton-White"> 
			<TexCoords left="0.25" right="0.5" top="0" bottom="1"/> 
		</PushedTexture> 
		<HighlightTexture name="$parentHighlightTexture" file="Interface\AddOns\Earth\Skin\Buttons\UI-RadioButton-White" alphaMode="ADD">
			<TexCoords left="0.51" right="0.75" top="0" bottom="1"/> 
		</HighlightTexture>
		<CheckedTexture name="$parentCheckedTexture" file="Interface\AddOns\Earth\Skin\Buttons\UI-RadioButton-White"> 
			<TexCoords left="0.25" right="0.5" top="0" bottom="1"/> 
		</CheckedTexture> 
		<DisabledCheckedTexture name="$parentDisabledCheckedTexture" file="Interface\AddOns\Earth\Skin\Buttons\UI-RadioButton-White"> 
			<TexCoords left="0.25" right="0.5" top="0" bottom="1"/> 
		</DisabledCheckedTexture> 
	</CheckButton>
	<Button name="EarthTabButtonTemplate" inherits="EarthObjectTemplate" virtual="true">
		<Size>
            <AbsDimension x="115" y="32"/>
        </Size>
        <Layers>
        	<Layer level="BACKGROUND">
        		<Texture name="$parentLeftDisabled" file="Interface\HelpFrame\HelpFrameTab-Active">
        			<Size>
        				<AbsDimension x="16" y="32"/>
        			</Size>
        			<Anchors>
        				<Anchor point="BOTTOMLEFT">
        					<Offset>
        						<AbsDimension x="0" y="-4"/>
        					</Offset>
        				</Anchor>
        			</Anchors>
					<TexCoords left="0" right="0.25" top="0" bottom="1.0"/>
        		</Texture>
				<Texture name="$parentMiddleDisabled" file="Interface\HelpFrame\HelpFrameTab-Active">
        			<Size>
        				<AbsDimension x="32" y="32"/>
        			</Size>
        			<Anchors>
        				<Anchor point="LEFT" relativeTo="$parentLeftDisabled" relativePoint="RIGHT"/>
        			</Anchors>
					<TexCoords left="0.25" right="0.75" top="0" bottom="1.0"/>
        		</Texture>
				<Texture name="$parentRightDisabled" file="Interface\HelpFrame\HelpFrameTab-Active">
        			<Size>
        				<AbsDimension x="16" y="32"/>
        			</Size>
        			<Anchors>
        				<Anchor point="LEFT" relativeTo="$parentMiddleDisabled" relativePoint="RIGHT"/>
        			</Anchors>
					<TexCoords left="0.75" right="1.0" top="0" bottom="1.0"/>
        		</Texture>
				<Texture name="$parentLeft" file="Interface\HelpFrame\HelpFrameTab-Inactive">
        			<Size>
        				<AbsDimension x="16" y="32"/>
        			</Size>
        			<Anchors>
        				<Anchor point="BOTTOMLEFT"/>
        			</Anchors>
					<TexCoords left="0" right="0.25" top="0" bottom="1.0"/>
        		</Texture>
				<Texture name="$parentMiddle" file="Interface\HelpFrame\HelpFrameTab-Inactive">
        			<Size>
        				<AbsDimension x="32" y="32"/>
        			</Size>
        			<Anchors>
        				<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
        			</Anchors>
					<TexCoords left="0.25" right="0.75" top="0" bottom="1.0"/>
        		</Texture>
				<Texture name="$parentRight" file="Interface\HelpFrame\HelpFrameTab-Inactive">
        			<Size>
        				<AbsDimension x="16" y="32"/>
        			</Size>
        			<Anchors>
        				<Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
        			</Anchors>
					<TexCoords left="0.75" right="1.0" top="0" bottom="1.0"/>
        		</Texture>
        	</Layer>
        </Layers>
		<Scripts>
			<OnLoad>
				if ( not this.onLoad ) then 
					PanelTemplates_TabResize(0);
					getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth() + 31);
				else
					this.onLoad()
				end
			</OnLoad>
		</Scripts>
		<NormalText name="$parentText" inherits="GameFontNormalSmall">
			<Anchors>
				<Anchor point="BOTTOM">
					<Offset>
						<AbsDimension x="0" y="5"/>
					</Offset>
				</Anchor>
			</Anchors>
		</NormalText>
		<HighlightText inherits="GameFontHighlightSmall">
			<Anchors>
				<Anchor point="BOTTOM">
					<Offset>
						<AbsDimension x="0" y="5"/>
					</Offset>
				</Anchor>
			</Anchors>

⌨️ 快捷键说明

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