📄 auctionframepost.xml
字号:
<Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/"><!-- Version: 3.5.0.0917 (Platypus) Revision: $Id: AuctionFramePost.xml 791 2006-04-02 01:58:59Z vindicator $ License: This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program(see GPL.txt); if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.--> <Script file="AuctionFramePost.lua"/> <Frame name="AuctionFramePost" inherits="AuctionFrameTemplate" hidden="true"> <Layers> <Layer level="BACKGROUND"> <FontString name="$parentTitle" inherits="GameFontNormal"> <Anchors> <Anchor point="TOP"> <Offset> <AbsDimension x="0" y="-18"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> <Layer level="ARTWORK"> <FontString name="$parentTabText" inherits="GameFontHighlightSmall"> <Anchors> <Anchor point="TOP" relativePoint="TOPLEFT"> <Offset> <AbsDimension x="85" y="-85"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentPriceModelText" inherits="GameFontHighlightSmall"> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="27" y="-152"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentPriceModelNoteText" inherits="GameFontHighlightSmall" hidden="true"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentPriceModelText"> <Offset> <AbsDimension x="0" y="-46"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentSavePriceText" inherits="GameFontNormalSmall" hidden="true"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentPriceModelText"> <Offset> <AbsDimension x="25" y="-46"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentStartPriceText" inherits="GameFontHighlightSmall"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentPriceModelNoteText"> <Offset> <AbsDimension x="0" y="-18"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentStartPriceInvalidText" inherits="GameFontRedSmall" hidden="true"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentStartPriceText" relativePoint="TOPRIGHT"> <Offset> <AbsDimension x="10" y="0"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentBuyoutPriceText" inherits="GameFontHighlightSmall"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentStartPriceText"> <Offset> <AbsDimension x="0" y="-36"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentBuyoutPriceInvalidText" inherits="GameFontRedSmall" hidden="true"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentBuyoutPriceText" relativePoint="TOPRIGHT"> <Offset> <AbsDimension x="10" y="0"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentQuantityText" inherits="GameFontHighlightSmall"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentBuyoutPriceText"> <Offset> <AbsDimension x="0" y="-36"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentQuantityInvalidText" inherits="GameFontRedSmall" hidden="true"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentQuantityText" relativePoint="TOPRIGHT"> <Offset> <AbsDimension x="10" y="0"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentMultiplyText" inherits="GameFontHighlightSmall"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentQuantityText"> <Offset> <AbsDimension x="35" y="-18"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentStackCountText" inherits="GameFontHighlightSmall"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentMultiplyText" relativePoint="TOPRIGHT"> <Offset> <AbsDimension x="31" y="0"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentDurationText" inherits="GameFontHighlightSmall"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentQuantityText"> <Offset> <AbsDimension x="0" y="-36"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentDepositText" inherits="GameFontHighlightSmall"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentDurationText"> <Offset> <AbsDimension x="0" y="-36"/> </Offset> </Anchor> </Anchors> </FontString> <FontString name="$parentUnknownDepositText" inherits="GameFontRedSmall" hidden="true"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentDepositText" relativePoint="TOPRIGHT"> <Offset> <AbsDimension x="10" y="0"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> </Layers> <!-- Post Auctions controls --> <Frames> <Button name="$parentAuctionItem"> <Size> <AbsDimension x="37" y="37"/> </Size> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="30" y="-113"/> </Offset> </Anchor> </Anchors> <Layers> <Layer level="BACKGROUND"> <Texture file="Interface\Buttons\UI-Slot-Background"> <Size> <AbsDimension x="39" y="39"/> </Size> <Anchors> <Anchor point="TOPLEFT"> <Offset> <AbsDimension x="-2" y="2"/> </Offset> </Anchor> </Anchors> <TexCoords left="0" right="0.640625" top="0" bottom="0.640625"/> </Texture> <FontString name="$parentName" inherits="GameFontNormal"> <Size> <AbsDimension x="100" y="30"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativePoint="TOPRIGHT"> <Offset> <AbsDimension x="5" y="0"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> <Layer level="ARTWORK"> <FontString name="$parentCount" inherits="NumberFontNormal" justifyH="RIGHT" hidden="true"> <Anchors> <Anchor point="BOTTOMRIGHT"> <Offset> <AbsDimension x="-5" y="2"/> </Offset> </Anchor> </Anchors> </FontString> </Layer> <Layer level="BORDER"> <Texture name="$parentIconTexture"/> </Layer> </Layers> <Scripts> <OnLoad> this:RegisterForDrag("LeftButton"); </OnLoad> <OnReceiveDrag> AuctionFramePost_AuctionItem_OnClick(this); </OnReceiveDrag> <OnDragStart> AuctionFramePost_AuctionItem_OnClick(this); </OnDragStart> <OnClick> AuctionFramePost_AuctionItem_OnClick(this); </OnClick> <OnEnter> GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); local parent = this:GetParent() local name = parent:GetItemName(); if (name) then local bag, slot, id = EnhTooltip.FindItemInBags(name); local _, link, rarity = GetItemInfo(id); GameTooltip:SetHyperlink(link); GameTooltip:Show(); local hyperlink = GetContainerItemLink(bag, slot); EnhTooltip.TooltipCall(GameTooltip, parent:GetItemName(), hyperlink, rarity, parent:GetStackSize()); else GameTooltip:SetText(AUCTION_ITEM_TEXT, 1.0, 1.0, 1.0); end </OnEnter> <OnLeave> GameTooltip:Hide(); </OnLeave> </Scripts> <HighlightTexture alphaMode="ADD" file="Interface\Buttons\ButtonHilight-Square"/> </Button> <Frame name="$parentPriceModelDropDown" inherits="UIDropDownMenuTemplate"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentPriceModelText" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="-20" y="-4"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> UIDropDownMenu_SetWidth(130); getglobal(this:GetName().."Text"):SetJustifyH("LEFT"); </OnLoad> </Scripts> </Frame> <CheckButton name="$parentSavePriceCheckBox" hidden="true"> <Size> <AbsDimension x="20" y="20"/> </Size> <Anchors> <Anchor point="TOPRIGHT" relativeTo="$parentSavePriceText" relativePoint="TOPLEFT"> <Offset> <AbsDimension x="0" y="3"/> </Offset> </Anchor> </Anchors> <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/> <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/> <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/> <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/> <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/> </CheckButton> <Frame name="$parentStartPrice" inherits="AuctioneerMoneyInputFrameTemplate"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentStartPriceText" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="3" y="-4"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> MoneyInputFrame_SetOnvalueChangedFunc(this, AuctionFramePost_StartPrice_OnChanged); </OnLoad> </Scripts> </Frame> <Frame name="$parentBuyoutPrice" inherits="AuctioneerMoneyInputFrameTemplate"> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentBuyoutPriceText" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="3" y="-4"/> </Offset> </Anchor> </Anchors> <Scripts> <OnLoad> MoneyInputFrame_SetOnvalueChangedFunc(this, AuctionFramePost_BuyoutPrice_OnChanged); </OnLoad> </Scripts> </Frame> <EditBox name="$parentStackSize" letters="3" numeric="true" autoFocus="false" inherits="InputBoxTemplate"> <Size> <AbsDimension x="30" y="16"/> </Size> <Anchors> <Anchor point="TOPLEFT" relativeTo="$parentQuantityText" relativePoint="BOTTOMLEFT"> <Offset> <AbsDimension x="3" y="-6"/> </Offset> </Anchor> </Anchors> <Scripts> <OnTextChanged> AuctionFramePost_StackSize_OnTextChanged();
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -