📄 gathererui.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">
<!--
Revision: $Id: GathererUI.xml 260 2006-07-26 17:29:31Z islorgris $
-->
<Script file="UI_localization.lua"/>
<Script file="GathererUI_Lang.lua"/>
<Script file="GathererUI.lua"/>
<!-- event catcher and init GUI frame -->
<Frame name="GathererUI">
<Scripts>
<OnLoad>
GathererUI_OnLoad();
this:RegisterEvent("VARIABLES_LOADED");
this:RegisterEvent("UNIT_NAME_UPDATE");
</OnLoad>
<OnEvent>
GathererUI_OnEvent();
</OnEvent>
<OnUpdate>
GathererUI_OnUpdate(arg1);
</OnUpdate>
</Scripts>
</Frame>
<!-- Templates -->
<Button name="GathererUI_FrameTabButtonTemplate" virtual="true">
<Size>
<AbsDimension x="115" y="32"/>
</Size>
<Layers>
<Layer level="BACKGROUND">
<Texture name="$parentLeftDisabled" file="Interface\PaperDollInfoFrame\UI-Character-ActiveTab">
<Size>
<AbsDimension x="20" y="32"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="5"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.15625" top="0" bottom="1.0"/>
</Texture>
<Texture name="$parentMiddleDisabled" file="Interface\PaperDollInfoFrame\UI-Character-ActiveTab">
<Size>
<AbsDimension x="88" y="32"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLeftDisabled" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0.15625" right="0.84375" top="0" bottom="1.0"/>
</Texture>
<Texture name="$parentRightDisabled" file="Interface\PaperDollInfoFrame\UI-Character-ActiveTab">
<Size>
<AbsDimension x="20" y="32"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentMiddleDisabled" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0.84375" right="1.0" top="0" bottom="1.0"/>
</Texture>
<Texture name="$parentLeft" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab">
<Size>
<AbsDimension x="20" y="32"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
<TexCoords left="0" right="0.15625" top="0" bottom="1.0"/>
</Texture>
<Texture name="$parentMiddle" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab">
<Size>
<AbsDimension x="88" y="32"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0.15625" right="0.84375" top="0" bottom="1.0"/>
</Texture>
<Texture name="$parentRight" file="Interface\PaperDollInfoFrame\UI-Character-InActiveTab">
<Size>
<AbsDimension x="20" y="32"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentMiddle" relativePoint="RIGHT"/>
</Anchors>
<TexCoords left="0.84375" right="1.0" top="0" bottom="1.0"/>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnLoad>
this:SetFrameLevel(this:GetFrameLevel() + 4);
</OnLoad>
<OnClick>
PanelTemplates_Tab_OnClick(GathererUI_DialogFrame);
GathererUIFrameTab_OnClick();
</OnClick>
<OnShow>
PanelTemplates_TabResize(0);
getglobal(this:GetName().."HighlightTexture"):SetWidth(this:GetTextWidth() + 30);
</OnShow>
</Scripts>
<NormalText name="$parentText" inherits="GameFontNormalSmall">
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="2"/>
</Offset>
</Anchor>
</Anchors>
</NormalText>
<HighlightText name="$parentHighlightText" inherits="GameFontHighlightSmall">
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="2"/>
</Offset>
</Anchor>
</Anchors>
</HighlightText>
<DisabledText name="$parentDisabledText" inherits="GameFontHighlightSmall">
<Anchors>
<Anchor point="CENTER">
<Offset>
<AbsDimension x="0" y="2"/>
</Offset>
</Anchor>
</Anchors>
</DisabledText>
<HighlightTexture name="$parentHighlightTexture" file="Interface\PaperDollInfoFrame\UI-Character-Tab-Highlight" alphaMode="ADD">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="10" y="2"/>
</Offset>
</Anchor>
<Anchor point="RIGHT">
<Offset>
<AbsDimension x="-10" y="2"/>
</Offset>
</Anchor>
</Anchors>
</HighlightTexture>
</Button>
<!-- Minimap Icon frame -->
<Frame name="GathererUI_IconFrame" enableMouse="true" hidden="true" parent="Minimap" frameStrata="MEDIUM">
<Size>
<AbsDimension x="33" y="33"/>
</Size>
<Layers>
<Layer level="ARTWORK">
<Texture name="GathererUI_IconTexture" file="Interface\Addons\Gatherer\Skin\GatherOrb">
<Size>
<AbsDimension x="17" y="17"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="7" y="-6"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture file="Interface\Minimap\MiniMap-TrackingBorder">
<Size>
<AbsDimension x="52" y="52"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT"/>
</Anchors>
</Texture>
</Layer>
</Layers>
<Scripts>
<OnEnter>
GathererUI_IconFrameOnEnter();
</OnEnter>
<OnMouseUp>
GathererUI_IconFrameOnClick();
</OnMouseUp>
</Scripts>
</Frame>
<!-- Quickmenu button template -->
<Button name="GathererUI_PopupButtonTemplate" virtual="true">
<Size>
<AbsDimension x="64" y="12"/>
</Size>
<Scripts>
<OnClick>
GathererUI_ButtonClick();
</OnClick>
</Scripts>
<NormalText inherits="GameFontNormal" justifyH="LEFT"/>
<HighlightText inherits="GameFontHighlight" justifyH="LEFT"/>
<DisabledText inherits="GameFontDisable" justifyH="LEFT"/>
</Button>
<!-- Quickmenu frame -->
<Frame name="GathererUI_Popup" frameStrata="DIALOG" hidden="true" parent="UIParent">
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
<BackgroundInsets>
<AbsInset left="11" right="12" top="12" bottom="11"/>
</BackgroundInsets>
<TileSize>
<AbsValue val="32"/>
</TileSize>
<EdgeSize>
<AbsValue val="32"/>
</EdgeSize>
</Backdrop>
<Frames>
<Button name="GathererUI_TitleButton" inherits="GathererUI_PopupButtonTemplate" text="GATHERER_TEXT_TITLE_BUTTON">
<Anchors>
<Anchor point="TOP" relativeTo="$parent" relativePoint="TOP">
<Offset>
<AbsDimension x="0" y="-16"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
this:SetWidth(this:GetTextWidth() + 2 * GathererUI_BORDER_WIDTH);
this.tooltipText=GATHERER_MENUTITLE_TIP;
</OnLoad>
<OnClick>
GathererUI_ShowOptions();
</OnClick>
<OnEnter>
GameTooltip:SetOwner(GathererUI_Popup, "ANCHOR_LEFT");
GameTooltip:SetText(this.tooltipText);
GameTooltip:Show();
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
<NormalText inherits="GameFontGreen"/>
<HighlightText inherits="GameFontRed"/>
<DisabledText inherits="GameFontDisable"/>
</Button>
<Button name="GathererUI_PopupButton1" inherits="GathererUI_PopupButtonTemplate" id="10">
<Anchors>
<Anchor point="TOP" relativeTo="GathererUI_TitleButton" relativePoint="BOTTOM">
<Offset>
<AbsDimension x="0" y="-8"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GathererUI_PopupButton2" inherits="GathererUI_PopupButtonTemplate" id="11">
<Anchors>
<Anchor point="TOP" relativeTo="GathererUI_PopupButton1" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="GathererUI_PopupButton3" inherits="GathererUI_PopupButtonTemplate" id="12">
<Anchors>
<Anchor point="TOP" relativeTo="GathererUI_PopupButton2" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="GathererUI_PopupButton4" inherits="GathererUI_PopupButtonTemplate" id="13">
<Anchors>
<Anchor point="TOP" relativeTo="GathererUI_PopupButton3" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="GathererUI_PopupButton5" inherits="GathererUI_PopupButtonTemplate" id="14">
<Anchors>
<Anchor point="TOP" relativeTo="GathererUI_PopupButton4" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="GathererUI_PopupButton6" inherits="GathererUI_PopupButtonTemplate" id="15">
<Anchors>
<Anchor point="TOP" relativeTo="GathererUI_PopupButton5" relativePoint="BOTTOM"/>
</Anchors>
</Button>
<Button name="GathererUI_PopupButton7" inherits="GathererUI_PopupButtonTemplate" id="16">
<Anchors>
<Anchor point="TOP" relativeTo="GathererUI_PopupButton6" relativePoint="BOTTOM"/>
</Anchors>
</Button>
</Frames>
<Scripts>
<OnShow>
PlaySound("UChatScrollButton");
GathererUI_InitializeMenu();
</OnShow>
</Scripts>
</Frame>
<!-- Gatherer Options Dialog frame -->
<Frame name="GathererUI_DialogFrame" toplevel="true" movable="true" enableMouse="true" frameStrata="DIALOG" hidden="true" parent="UIParent">
<Size>
<AbsDimension x="440" y="315"/>
</Size>
<Anchors>
<Anchor point="TOP" relativeTo="UIParent" relativePoint="TOP">
<Offset>
<AbsDimension x="0" y="-40"/>
</Offset>
</Anchor>
</Anchors>
<TitleRegion setAllPoints="true"/>
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
<BackgroundInsets>
<AbsInset left="11" right="12" top="12" bottom="11"/>
</BackgroundInsets>
<TileSize>
<AbsValue val="32"/>
</TileSize>
<EdgeSize>
<AbsValue val="32"/>
</EdgeSize>
</Backdrop>
<Layers>
<Layer level="ARTWORK">
<Texture name="$parentHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
<Size>
<AbsDimension x="375" y="64"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="1" y="12"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString inherits="GameFontNormal" text="GATHERER_TEXT_CONFIG_TITLE" nonspacewrap="true">
<Anchors>
<Anchor point="TOP" relativeTo="$parentHeader">
<Offset>
<AbsDimension x="0" y="-13"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<Layer level="ARTWORK">
<Texture name="GathererUI_OptionIconTexture" file="Interface\Addons\Gatherer\Skin\GatherOrb">
<Size>
<AbsDimension x="26" y="26"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="0" y="1"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
<Layer level="OVERLAY">
<Texture file="Interface\Minimap\MiniMap-TrackingBorder">
<Size>
<AbsDimension x="64" y="64"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="-7" y="7"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
</Layer>
</Layers>
<Frames>
<!-- Tabs -->
<Button name="GathererUI_DialogFrameTab1" inherits="GathererUI_FrameTabButtonTemplate" id="1" text="GATHERER_TAB_FILTERS_TEXT">
<Anchors>
<Anchor point="CENTER" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="50" y="-10"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnEnter>
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
GameTooltip:SetText(GATHERER_TAB_FILTERS_TEXT_TIP);
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
</Button>
<Button name="GathererUI_DialogFrameTab2" inherits="GathererUI_FrameTabButtonTemplate" id="2" text="GATHERER_TAB_GLOBALS_TEXT">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GathererUI_DialogFrameTab1" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-15" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnEnter>
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
GameTooltip:SetText(GATHERER_TAB_GLOBALS_TEXT_TIP);
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
</Button>
<Button name="GathererUI_DialogFrameTab3" inherits="GathererUI_FrameTabButtonTemplate" id="3" text="GATHERER_TAB_MENU_TEXT">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GathererUI_DialogFrameTab2" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-15" y="0"/>
</Offset>
</Anchor>
</Anchors>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -