📄 gathererinfo.xml
字号:
<AbsDimension x="-15" y="15"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
GathererInfo_DialogFrame:Hide();
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnLoad>
GathererInfo_LoadContinents( GetMapContinents() );
-- Tab Handling code
PanelTemplates_SetNumTabs(this, 2);
PanelTemplates_SetTab(this, 1);
</OnLoad>
<OnShow>
GathererInfo_SetDefaultLocation();
</OnShow>
</Scripts>
</Frame>
<Frame name="GathererInfo_ReportFrame" enableMouse="true" parent="GathererInfo_DialogFrame" hidden="true" id="1">
<Size>
<AbsDimension x="640" y="370"/>
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="GathererInfo_DialogFrame" relativePoint="CENTER">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
<!-- Target Information -->
<Frames>
<!-- Controls and Informational -->
<Frame name="GathererInfo_LocContinentDropDown" inherits="UIDropDownMenuTemplate" id="1">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GathererInfo_ReportFrame">
<Offset>
<AbsDimension x="15" y="-40"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
UIDropDownMenu_SetWidth(80);
</OnLoad>
<OnShow>
UIDropDownMenu_Initialize(this, GathererInfo_LocContinentDropDown_Initialize);
</OnShow>
</Scripts>
</Frame>
<Frame name="GathererInfo_LocZoneDropDown" inherits="UIDropDownMenuTemplate" id="2">
<Anchors>
<Anchor point="LEFT" relativeTo="GathererInfo_LocContinentDropDown">
<Offset>
<AbsDimension x="100" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
UIDropDownMenu_SetWidth(260);
</OnLoad>
<OnShow>
UIDropDownMenu_Initialize(this, GathererInfo_LocZoneDropDown_Initialize);
</OnShow>
</Scripts>
</Frame>
-- Display area
<Frame name="GathererInfo_Main" setAllPoints="true" hidden="false">
<Layers>
<Layer level="ARTWORK">
<FontString name="GathererInfo_FrameHomeTitle" inherits="GameFontNormalSmall" justifyH="LEFT" text="GATHERER_REPORT_LOCATION">
<Size>
<AbsDimension x="550" y="0"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="25" y="-15"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="GathererInfo_totalcount" inherits="GameFontNormalSmall" justifyH="LEFT">
<Size>
<AbsDimension x="200" y="16"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="GathererInfo_Main" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-15" y="-10"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<!-- headers -->
<Button name="GathererInfo_FrameColumnHeader3" inherits="GathererInfo_FrameColumnHeaderTemplate" text="GATHERER_REPORT_COL_TYPE" justifyH="LEFT">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="17" y="-70"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
WhoFrameColumn_SetWidth(130);
this.sortType = "gtype";
</OnLoad>
</Scripts>
</Button>
<Button name="GathererInfo_FrameColumnHeader1" inherits="GathererInfo_FrameColumnHeaderTemplate" text="GATHERER_REPORT_COL_NAME" justifyH="LEFT">
<Anchors>
<Anchor point="LEFT" relativeTo="GathererInfo_FrameColumnHeader3" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
WhoFrameColumn_SetWidth(244);
this.sortType = "name";
</OnLoad>
</Scripts>
</Button>
<Button name="GathererInfo_FrameColumnHeader2" inherits="GathererInfo_FrameColumnHeaderTemplate" text=" #" justifyH="CENTER">
<Anchors>
<Anchor point="LEFT" relativeTo="GathererInfo_FrameColumnHeader1" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
WhoFrameColumn_SetWidth(54);
this.sortType = "amount";
</OnLoad>
</Scripts>
</Button>
<Button name="GathererInfo_FrameColumnHeader4" inherits="GathererInfo_FrameColumnHeaderTemplate" text="GATHERER_REPORT_COL_PTYPE" justifyH="CENTER">
<Anchors>
<Anchor point="LEFT" relativeTo="GathererInfo_FrameColumnHeader2" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
WhoFrameColumn_SetWidth(74);
this.sortType = "percent";
</OnLoad>
</Scripts>
</Button>
<Button name="GathererInfo_FrameColumnHeader5" inherits="GathererInfo_FrameColumnHeaderTemplate" text="GATHERER_REPORT_COL_PDENSITY" justifyH="CENTER">
<Anchors>
<Anchor point="LEFT" relativeTo="GathererInfo_FrameColumnHeader4" relativePoint="RIGHT">
<Offset>
<AbsDimension x="-2" y="0"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
WhoFrameColumn_SetWidth(74);
this.sortType = "density";
</OnLoad>
</Scripts>
</Button>
<!-- Display Buttons -->
<Button name="GathererInfo_FrameButton1" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="1">
<Anchors>
<Anchor point="BOTTOMLEFT" relativeTo="GathererInfo_FrameColumnHeader3">
<Offset>
<AbsDimension x="0" y="-16"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GathererInfo_FrameButton2" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="2">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton1" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GathererInfo_FrameButton3" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="3">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton2" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GathererInfo_FrameButton4" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="4">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton3" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GathererInfo_FrameButton5" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="5">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton4" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GathererInfo_FrameButton6" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="6">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton5" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GathererInfo_FrameButton7" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="7">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton6" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GathererInfo_FrameButton8" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="8">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton7" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GathererInfo_FrameButton9" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="9">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton8" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GathererInfo_FrameButton10" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="10">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton9" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GathererInfo_FrameButton11" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="11">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton10" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GathererInfo_FrameButton12" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="12">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton11" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GathererInfo_FrameButton13" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="13">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton12" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GathererInfo_FrameButton14" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="14">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton13" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<Button name="GathererInfo_FrameButton15" inherits="GathererInfo_FrameEntryStatusButtonTemplate" id="15">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="GathererInfo_FrameButton14" relativePoint="BOTTOMLEFT">
<Offset>
<AbsDimension x="0" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Button>
<!-- Scrollbar -->
<ScrollFrame name="GathererInfo_ListScrollFrame" inherits="FauxScrollFrameTemplate">
<Size>
<AbsDimension x="296" y="240"/>
</Size>
<Anchors>
<Anchor point="TOPRIGHT" relativeTo="GathererInfo_ReportFrame" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-56" y="-96"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnVerticalScroll>
FauxScrollFrame_OnVerticalScroll(GATHERERINFO_FRAME_HEIGHT, GathererInfo_Update);
</OnVerticalScroll>
</Scripts>
<Layers>
<Layer level="BACKGROUND">
<Texture name="GathererInfo_ListScrollBarTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
<Size>
<AbsDimension x="31" y="246"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="-2" y="5"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0" right="0.484375" top="0" bottom="1.0"/>
</Texture>
<Texture name="GathererInfo_ListScrollBarBottom" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar">
<Size>
<AbsDimension x="31" y="106"/>
</Size>
<Anchors>
<Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT">
<Offset>
<AbsDimension x="-2" y="-2"/>
</Offset>
</Anchor>
</Anchors>
<TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/>
</Texture>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -