📄 auctionframesearch.xml
字号:
<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> AuctionFrameSearchBid_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> AuctionFrameSearchBid_SearchButton_OnClick(this); </OnClick> </Scripts> </Button> </Frames> <Scripts> <OnLoad> getglobal(this:GetName().."MinProfitText"):SetText(_AUCT('UiMinimumProfitLabel')); getglobal(this:GetName().."MinPercentLessText"):SetText(_AUCT('UiMinimumPercentLessLabel')); getglobal(this:GetName().."TimeLeftText"):SetText(_AUCT('UiMaximumTimeLeftLabel')); getglobal(this:GetName().."CategoryText"):SetText(_AUCT('UiCategoryLabel')); getglobal(this:GetName().."MinQualityText"):SetText(_AUCT('UiMinimumQualityLabel')); getglobal(this:GetName().."SearchText"):SetText(_AUCT('UiSearchForLabel')); getglobal(this:GetName().."SearchButton"):SetText(_AUCT('UiSearch')); </OnLoad> </Scripts> </Frame> <!-- Buyout Search Frame --> <Frame name="$parentBuyout" inherits="SearchParametersTemplate"> <Layers> <Layer level="ARTWORK"> <FontString name="$parentMinProfitText" inherits="GameFontHighlightSmall"> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentMinPercentLessText" inherits="GameFontHighlightSmall"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentMinProfitText"> <Offset> <AbsDimension x="0" y="-38"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentCategoryText" inherits="GameFontHighlightSmall"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentMinPercentLessText"> <Offset> <AbsDimension x="0" y="-38"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentMinQualityText" inherits="GameFontHighlightSmall"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentCategoryText"> <Offset> <AbsDimension x="0" y="-38"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentSearchText" inherits="GameFontHighlightSmall"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentMinQualityText"> <Offset> <AbsDimension x="0" y="-42"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Frames> <Frame name="$parentMinProfit" inherits="AuctioneerMoneyInputFrameTemplate"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentMinProfitText" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="3" y="-4"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> MoneyInputFrame_SetCopper(this, 5000); </OnLoad> </Scripts> </Frame> <EditBox name="$parentMinPercentLessEdit" letters="5" autoFocus="false" inherits="InputBoxTemplate"> <Size> <AbsDimension x="40" y="16"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentMinPercentLessText" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="3" y="-6"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> this:SetNumber(30); </OnLoad> <OnEditFocusLost> this:HighlightText(0, 0); </OnEditFocusLost> <OnEditFocusGained> this:HighlightText(); </OnEditFocusGained> </Scripts> </EditBox> <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> AuctionFrameSearchBuyout_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> AuctionFrameSearchBuyout_SearchButton_OnClick(this); </OnClick> </Scripts> </Button> </Frames> <Scripts> <OnLoad> getglobal(this:GetName().."MinProfitText"):SetText(_AUCT('UiMinimumProfitLabel')); getglobal(this:GetName().."MinPercentLessText"):SetText(_AUCT('UiMinimumPercentLessLabel')); 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> <!-- Compete Search Frame --> <Frame name="$parentCompete" inherits="SearchParametersTemplate"> <Layers> <Layer level="ARTWORK"> <FontString name="$parentUndercutText" inherits="GameFontHighlightSmall"> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <Frames> <Frame name="$parentUndercut" inherits="AuctioneerMoneyInputFrameTemplate"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentUndercutText" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="3" y="-4"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> MoneyInputFrame_SetCopper(this, 500); </OnLoad> </Scripts> </Frame> <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> AuctionFrameSearchCompete_SearchButton_OnClick(this); </OnClick> </Scripts> </Button> </Frames> <Scripts> <OnLoad> getglobal(this:GetName().."UndercutText"):SetText(_AUCT('UiMinimumUndercutLabel')); getglobal(this:GetName().."SearchButton"):SetText(_AUCT('UiSearch')); </OnLoad> </Scripts> </Frame> <!-- Plain Search Frame --> <Frame name="$parentPlain" inherits="SearchParametersTemplate"> <Layers> <Layer level="ARTWORK"> <FontString name="$parentMaxPriceText" inherits="GameFontHighlightSmall"> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentCategoryText" inherits="GameFontHighlightSmall"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentMaxPriceText"> <Offset> <AbsDimension x="0" y="-38"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentMinQualityText" inherits="GameFontHighlightSmall"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentCategoryText"> <Offset> <AbsDimension x="0" y="-42"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentSearchText" inherits="GameFontHighlightSmall"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentMinQualityText"> <Offset> <AbsDimension x="0" y="-42"/> </Offset> </Anchor> </Anchors>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -