📄 auctionframesearch.xml
字号:
</FontString> </Layer> </Layers> <Frames> <Frame name="$parentMaxPrice" inherits="AuctioneerMoneyInputFrameTemplate"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentMaxPriceText" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="3" y="-2"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> MoneyInputFrame_SetCopper(this, 0); </OnLoad> </Scripts> </Frame> <Frame name="$parentCategoryDropDown" inherits="UIDropDownMenuTemplate"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentCategoryText" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="-20" y="-2"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> UIDropDownMenu_SetWidth(130); getglobal(this:GetName().."Text"):SetJustifyH("LEFT"); AuctioneerDropDownMenu_Initialize(this, AuctionFrameSearch_CategoryDropDown_Initialize); AuctioneerDropDownMenu_SetSelectedID(this, 1); </OnLoad> </Scripts> </Frame> <Frame name="$parentMinQualityDropDown" inherits="UIDropDownMenuTemplate"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentMinQualityText" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="-20" y="-2"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> UIDropDownMenu_SetWidth(130); getglobal(this:GetName().."Text"):SetJustifyH("LEFT"); AuctioneerDropDownMenu_Initialize(this, AuctionFrameSearch_MinQualityDropDown_Initialize); AuctioneerDropDownMenu_SetSelectedID(this, 1); </OnLoad> </Scripts> </Frame> <EditBox name="$parentSearchEdit" autoFocus="false" inherits="InputBoxTemplate"> <Size> <AbsDimension x="140" y="16"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentSearchText" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="5" y="-2"/> </Offset> </Anchor> </Anchors> <Scripts> <OnTabPressed> getglobal(this:GetParent():GetName().."BidMinProfitGold"):SetFocus(); </OnTabPressed> <OnEnterPressed> AuctionFrameSearchPlain_SearchButton_OnClick(this); </OnEnterPressed> </Scripts> </EditBox> <Button name="$parentSearchButton" inherits="UIPanelButtonTemplate"> <Size> <AbsDimension x="120" y="22"/> </Size> <Anchors> <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="13" y="10"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> AuctionFrameSearchPlain_SearchButton_OnClick(this); </OnClick> </Scripts> </Button> </Frames> <Scripts> <OnLoad> getglobal(this:GetName().."MaxPriceText"):SetText(_AUCT('UiMaximumPriceLabel')); getglobal(this:GetName().."SearchButton"):SetText(_AUCT('UiSearch')); getglobal(this:GetName().."CategoryText"):SetText(_AUCT('UiCategoryLabel')); getglobal(this:GetName().."MinQualityText"):SetText(_AUCT('UiMinimumQualityLabel')); getglobal(this:GetName().."SearchText"):SetText(_AUCT('UiSearchForLabel')); </OnLoad> </Scripts> </Frame> <!-- Results List --> <Frame name="$parentList" inherits="ListTemplate"> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="187" y="-77"/> </Offset> </Anchor> </Anchors> <Size> <AbsDimension x="610" y="334"/> </Size> <Frames> <Button name="$parentItem1" inherits="SearchListItemTemplate" id="1"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentColumn1Sort" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="4" y="-4"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem2" inherits="SearchListItemTemplate" id="2"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem1" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem3" inherits="SearchListItemTemplate" id="3"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem2" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem4" inherits="SearchListItemTemplate" id="4"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem3" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem5" inherits="SearchListItemTemplate" id="5"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem4" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem6" inherits="SearchListItemTemplate" id="6"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem5" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem7" inherits="SearchListItemTemplate" id="7"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem6" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem8" inherits="SearchListItemTemplate" id="8"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem7" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem9" inherits="SearchListItemTemplate" id="9"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem8" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem10" inherits="SearchListItemTemplate" id="10"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem9" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem11" inherits="SearchListItemTemplate" id="11"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem10" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem12" inherits="SearchListItemTemplate" id="12"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem11" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem13" inherits="SearchListItemTemplate" id="13"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem12" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem14" inherits="SearchListItemTemplate" id="14"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem13" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem15" inherits="SearchListItemTemplate" id="15"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem14" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem16" inherits="SearchListItemTemplate" id="16"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem15" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem17" inherits="SearchListItemTemplate" id="17"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem16" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem18" inherits="SearchListItemTemplate" id="18"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem17" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem19" inherits="SearchListItemTemplate" id="19"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem18" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> </Frames> </Frame> <Button name="$parentBuyoutButton" inherits="UIPanelButtonTemplate"> <Size> <AbsDimension x="80" y="22"/> </Size> <Anchors> <Anchor point="RIGHT" relativeTo="$parentCloseButton" relativePoint="LEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> AuctionFrameSearch_BuyoutButton_OnClick(this); </OnClick> </Scripts> </Button> <Button name="$parentBidButton" inherits="UIPanelButtonTemplate"> <Size> <AbsDimension x="80" y="22"/> </Size> <Anchors> <Anchor point="RIGHT" relativeTo="$parentBuyoutButton" relativePoint="LEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> <Scripts> <OnClick> AuctionFrameSearch_BidButton_OnClick(this); </OnClick> </Scripts> </Button> </Frames> <Scripts> <OnLoad> getglobal(this:GetName().."Title"):SetText(_AUCT('UiSearchAuctions')); getglobal(this:GetName().."TabText"):SetText(_AUCT('UiSearch')); getglobal(this:GetName().."SearchText"):SetText(_AUCT('UiSearchDropDownLabel')); getglobal(this:GetName().."BidButton"):SetText(_AUCT('UiBid')); getglobal(this:GetName().."BuyoutButton"):SetText(_AUCT('UiBuyout')); getglobal(this:GetName().."SavedSearchText"):SetText(_AUCT('UiSavedSearchLabel')); getglobal(this:GetName().."SaveSearchButton"):SetText(_AUCT('UiSaveSearchButton')); getglobal(this:GetName().."RemoveSearchButton"):SetText(_AUCT('UiRemoveSearchButton')); AuctionFrameSearch_OnLoad(); </OnLoad> <OnShow> AuctionFrameSearch_OnShow(); </OnShow> </Scripts> </Frame> <Button name="AuctionFrameTabSearch" inherits="AuctionTabTemplate" hidden="true"> <Scripts> <OnLoad> this:SetText(_AUCT('UiSearchAuctions')); </OnLoad> </Scripts> </Button></Ui>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -