📄 gathererinfo.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: GathererInfo.xml 210 2006-05-02 08:40:28Z islorgris $
-->
<!-- Load scripts -->
<Script file="GathererInfo.lua"/>
<!-- Templates -->
<Button name="GathererInfo_FrameColumnHeaderTemplate" virtual="true">
<Size>
<AbsDimension x="10" 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>
<Scripts>
<OnClick>
if ( this.sortType ) then
SortGathererInfo(this.sortType, (GathererInfo_LastSortType == this.sortType or GathererInfo_LastSearchSortType == this.sortType), this.search);
-- GathererInfo_LastSortType=this.sortType;
end
PlaySound("igMainMenuOptionCheckBoxOn");
</OnClick>
</Scripts>
<NormalText inherits="GameFontHighlightSmall">
<Anchors>
<Anchor point="LEFT">
<Offset>
<AbsDimension x="8" y="0"/>
</Offset>
</Anchor>
</Anchors>
</NormalText>
</Button>
<Button name="GathererInfo_FrameEntryStatusButtonTemplate" virtual="true" id="0">
<Size>
<AbsDimension x="298" y="16"/>
</Size>
<Layers>
<Layer level="BORDER">
<FontString name="$parentType" inherits="GameFontHighlightSmall" justifyH="LEFT">
<Size>
<AbsDimension x="112" y="14"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="14" y="-3"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<Texture name="$parentIcon">
<Size>
<AbsDimension x="16" y="16"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentType" relativePoint="RIGHT">
<Offset>
<AbsDimension x="4" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString name="$parentGatherable" inherits="GameFontNormalSmall" justifyH="LEFT">
<Size>
<AbsDimension x="230" y="14"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentIcon" relativePoint="RIGHT">
<Offset>
<AbsDimension x="2" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentNumber" inherits="GameFontHighlightSmall" justifyH="CENTER">
<Size>
<AbsDimension x="50" y="8"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentGatherable" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-4" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentTypePercent" inherits="GameFontHighlightSmall" justifyH="CENTER">
<Size>
<AbsDimension x="70" y="14"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentNumber" relativePoint="RIGHT">
<Offset>
<AbsDimension x="0" y="-2"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="$parentDensityPercent" inherits="GameFontHighlightSmall" justifyH="CENTER">
<Size>
<AbsDimension x="70" y="14"/>
</Size>
<Anchors>
<Anchor point="LEFT" relativeTo="$parentTypePercent" relativePoint="RIGHT">
<Offset>
<AbsDimension x="4" y="0"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
</Button>
<Button name="GathererInfo_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(GathererInfo_DialogFrame);
GathererInfoFrameTab_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>
<!-- Main Frame -->
<Frame name="GathererInfo_DialogFrame" toplevel="true" parent="UIParent" movable="true" frameStrata="DIALOG" enableMouse="true" hidden="true">
<Size>
<AbsDimension x="640" y="390"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="5" y="-200"/>
</Offset>
</Anchor>
</Anchors>
<TitleRegion setAllPoints="true"/>
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
<BackgroundInsets>
<AbsInset left="12" right="12" top="12" bottom="12"/>
</BackgroundInsets>
<TileSize>
<AbsValue val="32"/>
</TileSize>
<EdgeSize>
<AbsValue val="32"/>
</EdgeSize>
</Backdrop>
<Layers>
<Layer level="ARTWORK">
<Texture name="GathererInfo_FrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
<Size>
<AbsDimension x="336" y="64"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="-12" y="12"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString inherits="GameFontNormal" text="Gatherer Info">
<Size>
<AbsDimension x="360" y="0"/>
</Size>
<Anchors>
<Anchor point="TOP" relativeTo="GathererInfo_FrameHeader">
<Offset>
<AbsDimension x="0" y="-14"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<!-- Tab code -->
<Button name="GathererInfo_DialogFrameTab1" inherits="GathererInfo_FrameTabButtonTemplate" id="1" text="GATHERER_TEXT_TOGGLE_REPORT">
<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_REPORT_TIP);
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
</Button>
<Button name="GathererInfo_DialogFrameTab2" inherits="GathererInfo_FrameTabButtonTemplate" id="2" text="GATHERER_TEXT_TOGGLE_SEARCH">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GathererInfo_DialogFrameTab1" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-15" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnEnter>
GameTooltip:SetOwner(this, "ANCHOR_RIGHT");
GameTooltip:SetText(GATHERER_TAB_SEARCH_TIP);
</OnEnter>
<OnLeave>
GameTooltip:Hide();
</OnLeave>
</Scripts>
</Button>
<Button name="GathererInfo_FrameHomeCancel" inherits="GameMenuButtonTemplate" text="CLOSE">
<Anchors>
<Anchor point="BOTTOMRIGHT" relativeTo="GathererInfo_DialogFrame" relativePoint="BOTTOMRIGHT">
<Offset>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -