📄 auctionframepost.xml
字号:
</OnTextChanged> <OnTabPressed> if (IsShiftKeyDown()) then getglobal(this:GetParent():GetName().."BuyoutPriceCopper"):SetFocus(); else getglobal(this:GetParent():GetName().."StackCount"):SetFocus(); end </OnTabPressed> <OnEditFocusLost> this:HighlightText(0, 0); </OnEditFocusLost> <OnEditFocusGained> this:HighlightText(); </OnEditFocusGained> </Scripts> </EditBox> <EditBox name="$parentStackCount" letters="2" numeric="true" autoFocus="false" inherits="InputBoxTemplate"> <Size> <AbsDimension x="22" y="16"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentStackSize" relativePoint="TOPRIGHT"> <Offset> <AbsDimension x="17" y="0"/> </Offset> </Anchor> </Anchors> <Scripts> <OnTextChanged> AuctionFramePost_StackCount_OnTextChanged(); </OnTextChanged> <OnTabPressed> if (IsShiftKeyDown()) then getglobal(this:GetParent():GetName().."StackSize"):SetFocus(); else getglobal(this:GetParent():GetName().."StartPriceGold"):SetFocus(); end </OnTabPressed> <OnEditFocusLost> this:HighlightText(0, 0); </OnEditFocusLost> <OnEditFocusGained> this:HighlightText(); </OnEditFocusGained> </Scripts> </EditBox> <CheckButton name="$parentShortAuctionRadio" inherits="AuctioneerRadioButtonTemplate" id="1"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentDurationText" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="3" y="-4"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad>getglobal(this:GetName().."Text"):SetText("2");</OnLoad> <OnClick>AuctionFramePost_DurationRadioButton_OnClick(this, this:GetID())</OnClick> </Scripts> </CheckButton> <CheckButton name="$parentMediumAuctionRadio" inherits="AuctioneerRadioButtonTemplate" id="2"> <Anchors> <Anchor point="LEFT" relativeTo="$parentShortAuctionRadio" relativePoint="RIGHT"> <Offset> <AbsDimension x="16" y="0"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad>getglobal(this:GetName().."Text"):SetText("8");</OnLoad> <OnClick>AuctionFramePost_DurationRadioButton_OnClick(this, this:GetID())</OnClick> </Scripts> </CheckButton> <CheckButton name="$parentLongAuctionRadio" inherits="AuctioneerRadioButtonTemplate" id="3"> <Anchors> <Anchor point="LEFT" relativeTo="$parentMediumAuctionRadio" relativePoint="RIGHT"> <Offset> <AbsDimension x="16" y="0"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad>getglobal(this:GetName().."Text"):SetText("24");</OnLoad> <OnClick>AuctionFramePost_DurationRadioButton_OnClick(this, this:GetID())</OnClick> </Scripts> </CheckButton> <Frame name="$parentDepositMoneyFrame" inherits="SmallMoneyFrameTemplate"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentDepositText" relativePoint="TOPRIGHT"> <Offset> <AbsDimension x="3" y="1"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> this.small = 1; this.staticMoney = 0; MoneyFrame_SetType("STATIC"); </OnLoad> </Scripts> </Frame> <Button name="$parentCreateAuctionButton" inherits="UIPanelButtonTemplate"> <Size> <AbsDimension x="120" y="22"/> </Size> <Anchors> <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="40" y="48"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> this:SetText(_AUCT('UiPostAuctions')); </OnLoad> <OnClick> AuctionFramePost_CreateAuctionButton_OnClick(this); </OnClick> </Scripts> </Button> <!-- Current Auctions 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="ListItemTemplate" id="1"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentColumn1Sort" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="4" y="-4"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem2" inherits="ListItemTemplate" id="2"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem1" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem3" inherits="ListItemTemplate" id="3"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem2" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem4" inherits="ListItemTemplate" id="4"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem3" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem5" inherits="ListItemTemplate" id="5"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem4" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem6" inherits="ListItemTemplate" id="6"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem5" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem7" inherits="ListItemTemplate" id="7"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem6" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem8" inherits="ListItemTemplate" id="8"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem7" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem9" inherits="ListItemTemplate" id="9"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem8" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem10" inherits="ListItemTemplate" id="10"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem9" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem11" inherits="ListItemTemplate" id="11"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem10" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem12" inherits="ListItemTemplate" id="12"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem11" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem13" inherits="ListItemTemplate" id="13"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem12" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem14" inherits="ListItemTemplate" id="14"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem13" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem15" inherits="ListItemTemplate" id="15"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem14" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem16" inherits="ListItemTemplate" id="16"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem15" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem17" inherits="ListItemTemplate" id="17"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem16" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem18" inherits="ListItemTemplate" id="18"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem17" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> <Button name="$parentItem19" inherits="ListItemTemplate" id="19"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentItem18" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="0" y="0"/> </Offset> </Anchor> </Anchors> </Button> </Frames> </Frame> </Frames> <Scripts> <OnLoad> getglobal(this:GetName().."Title"):SetText(_AUCT('UiPostAuctions')); getglobal(this:GetName().."TabText"):SetText(_AUCT('UiPost')); getglobal(this:GetName().."PriceModelText"):SetText(_AUCT('UiPriceBasedOnLabel')); getglobal(this:GetName().."SavePriceText"):SetText(_AUCT('UiMakeFixedPriceLabel')); getglobal(this:GetName().."StartPriceText"):SetText(_AUCT('UiStartingPriceLabel')); getglobal(this:GetName().."StartPriceInvalidText"):SetText(_AUCT('UiStartingPriceRequiredError')); getglobal(this:GetName().."BuyoutPriceText"):SetText(_AUCT('UiBuyoutPriceLabel')); getglobal(this:GetName().."BuyoutPriceInvalidText"):SetText(_AUCT('UiBuyoutPriceTooLowError')); getglobal(this:GetName().."QuantityText"):SetText(_AUCT('UiQuantityLabel')); getglobal(this:GetName().."MultiplyText"):SetText("x"); getglobal(this:GetName().."StackCountText"):SetText(_AUCT('UiStacksLabel')); getglobal(this:GetName().."DurationText"):SetText(_AUCT('UiDurationLabel')); getglobal(this:GetName().."DepositText"):SetText(_AUCT('UiDepositLabel')); getglobal(this:GetName().."UnknownDepositText"):SetText(_AUCT('UiUnknownError')); AuctionFramePost_OnLoad(); </OnLoad> </Scripts> </Frame> <Button name="AuctionFrameTabPost" inherits="AuctionTabTemplate" hidden="true"> <Scripts> <OnLoad> this:SetText(_AUCT('UiPostAuctions')); </OnLoad> </Scripts> </Button></Ui>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -