vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/"> |
2 | <!-- |
||
3 | Version: 3.9.0.1000 (Kangaroo) |
||
4 | Revision: $Id: AuctionFramePost.xml 791 2006-04-02 01:58:59Z vindicator $ |
||
5 | |||
6 | License: |
||
7 | This program is free software; you can redistribute it and/or |
||
8 | modify it under the terms of the GNU General Public License |
||
9 | as published by the Free Software Foundation; either version 2 |
||
10 | of the License, or (at your option) any later version. |
||
11 | |||
12 | This program is distributed in the hope that it will be useful, |
||
13 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
||
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
||
15 | GNU General Public License for more details. |
||
16 | |||
17 | You should have received a copy of the GNU General Public License |
||
18 | along with this program(see GPL.txt); if not, write to the Free Software |
||
19 | Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
||
20 | --> |
||
21 | <Script file="AuctionFramePost.lua"/> |
||
22 | |||
23 | <Frame name="AuctionFramePost" inherits="AuctionFrameTemplate" hidden="true"> |
||
24 | <Layers> |
||
25 | <Layer level="BACKGROUND"> |
||
26 | <FontString name="$parentTitle" inherits="GameFontNormal"> |
||
27 | <Anchors> |
||
28 | <Anchor point="TOP"> |
||
29 | <Offset> |
||
30 | <AbsDimension x="0" y="-18"/> |
||
31 | </Offset> |
||
32 | </Anchor> |
||
33 | </Anchors> |
||
34 | </FontString> |
||
35 | </Layer> |
||
36 | <Layer level="ARTWORK"> |
||
37 | <FontString name="$parentTabText" inherits="GameFontHighlightSmall"> |
||
38 | <Anchors> |
||
39 | <Anchor point="TOP" relativePoint="TOPLEFT"> |
||
40 | <Offset> |
||
41 | <AbsDimension x="85" y="-85"/> |
||
42 | </Offset> |
||
43 | </Anchor> |
||
44 | </Anchors> |
||
45 | </FontString> |
||
46 | <FontString name="$parentPriceModelText" inherits="GameFontHighlightSmall"> |
||
47 | <Anchors> |
||
48 | <Anchor point="TOPLEFT"> |
||
49 | <Offset> |
||
50 | <AbsDimension x="27" y="-152"/> |
||
51 | </Offset> |
||
52 | </Anchor> |
||
53 | </Anchors> |
||
54 | </FontString> |
||
55 | <FontString name="$parentPriceModelNoteText" inherits="GameFontHighlightSmall" hidden="true"> |
||
56 | <Anchors> |
||
57 | <Anchor point="TOPLEFT" relativeTo="$parentPriceModelText"> |
||
58 | <Offset> |
||
59 | <AbsDimension x="0" y="-46"/> |
||
60 | </Offset> |
||
61 | </Anchor> |
||
62 | </Anchors> |
||
63 | </FontString> |
||
64 | <FontString name="$parentSavePriceText" inherits="GameFontNormalSmall" hidden="true"> |
||
65 | <Anchors> |
||
66 | <Anchor point="TOPLEFT" relativeTo="$parentPriceModelText"> |
||
67 | <Offset> |
||
68 | <AbsDimension x="25" y="-46"/> |
||
69 | </Offset> |
||
70 | </Anchor> |
||
71 | </Anchors> |
||
72 | </FontString> |
||
73 | <FontString name="$parentStartPriceText" inherits="GameFontHighlightSmall"> |
||
74 | <Anchors> |
||
75 | <Anchor point="TOPLEFT" relativeTo="$parentPriceModelNoteText"> |
||
76 | <Offset> |
||
77 | <AbsDimension x="0" y="-18"/> |
||
78 | </Offset> |
||
79 | </Anchor> |
||
80 | </Anchors> |
||
81 | </FontString> |
||
82 | <FontString name="$parentStartPriceInvalidText" inherits="GameFontRedSmall" hidden="true"> |
||
83 | <Anchors> |
||
84 | <Anchor point="TOPLEFT" relativeTo="$parentStartPriceText" relativePoint="TOPRIGHT"> |
||
85 | <Offset> |
||
86 | <AbsDimension x="10" y="0"/> |
||
87 | </Offset> |
||
88 | </Anchor> |
||
89 | </Anchors> |
||
90 | </FontString> |
||
91 | <FontString name="$parentBuyoutPriceText" inherits="GameFontHighlightSmall"> |
||
92 | <Anchors> |
||
93 | <Anchor point="TOPLEFT" relativeTo="$parentStartPriceText"> |
||
94 | <Offset> |
||
95 | <AbsDimension x="0" y="-36"/> |
||
96 | </Offset> |
||
97 | </Anchor> |
||
98 | </Anchors> |
||
99 | </FontString> |
||
100 | <FontString name="$parentBuyoutPriceInvalidText" inherits="GameFontRedSmall" hidden="true"> |
||
101 | <Anchors> |
||
102 | <Anchor point="TOPLEFT" relativeTo="$parentBuyoutPriceText" relativePoint="TOPRIGHT"> |
||
103 | <Offset> |
||
104 | <AbsDimension x="10" y="0"/> |
||
105 | </Offset> |
||
106 | </Anchor> |
||
107 | </Anchors> |
||
108 | </FontString> |
||
109 | <FontString name="$parentQuantityText" inherits="GameFontHighlightSmall"> |
||
110 | <Anchors> |
||
111 | <Anchor point="TOPLEFT" relativeTo="$parentBuyoutPriceText"> |
||
112 | <Offset> |
||
113 | <AbsDimension x="0" y="-36"/> |
||
114 | </Offset> |
||
115 | </Anchor> |
||
116 | </Anchors> |
||
117 | </FontString> |
||
118 | <FontString name="$parentQuantityInvalidText" inherits="GameFontRedSmall" hidden="true"> |
||
119 | <Anchors> |
||
120 | <Anchor point="TOPLEFT" relativeTo="$parentQuantityText" relativePoint="TOPRIGHT"> |
||
121 | <Offset> |
||
122 | <AbsDimension x="10" y="0"/> |
||
123 | </Offset> |
||
124 | </Anchor> |
||
125 | </Anchors> |
||
126 | </FontString> |
||
127 | <FontString name="$parentMultiplyText" inherits="GameFontHighlightSmall"> |
||
128 | <Anchors> |
||
129 | <Anchor point="TOPLEFT" relativeTo="$parentQuantityText"> |
||
130 | <Offset> |
||
131 | <AbsDimension x="35" y="-18"/> |
||
132 | </Offset> |
||
133 | </Anchor> |
||
134 | </Anchors> |
||
135 | </FontString> |
||
136 | <FontString name="$parentStackCountText" inherits="GameFontHighlightSmall"> |
||
137 | <Anchors> |
||
138 | <Anchor point="TOPLEFT" relativeTo="$parentMultiplyText" relativePoint="TOPRIGHT"> |
||
139 | <Offset> |
||
140 | <AbsDimension x="31" y="0"/> |
||
141 | </Offset> |
||
142 | </Anchor> |
||
143 | </Anchors> |
||
144 | </FontString> |
||
145 | <FontString name="$parentDurationText" inherits="GameFontHighlightSmall"> |
||
146 | <Anchors> |
||
147 | <Anchor point="TOPLEFT" relativeTo="$parentQuantityText"> |
||
148 | <Offset> |
||
149 | <AbsDimension x="0" y="-36"/> |
||
150 | </Offset> |
||
151 | </Anchor> |
||
152 | </Anchors> |
||
153 | </FontString> |
||
154 | <FontString name="$parentDepositText" inherits="GameFontHighlightSmall"> |
||
155 | <Anchors> |
||
156 | <Anchor point="TOPLEFT" relativeTo="$parentDurationText"> |
||
157 | <Offset> |
||
158 | <AbsDimension x="0" y="-36"/> |
||
159 | </Offset> |
||
160 | </Anchor> |
||
161 | </Anchors> |
||
162 | </FontString> |
||
163 | <FontString name="$parentUnknownDepositText" inherits="GameFontRedSmall" hidden="true"> |
||
164 | <Anchors> |
||
165 | <Anchor point="TOPLEFT" relativeTo="$parentDepositText" relativePoint="TOPRIGHT"> |
||
166 | <Offset> |
||
167 | <AbsDimension x="10" y="0"/> |
||
168 | </Offset> |
||
169 | </Anchor> |
||
170 | </Anchors> |
||
171 | </FontString> |
||
172 | </Layer> |
||
173 | </Layers> |
||
174 | |||
175 | <!-- Post Auctions controls --> |
||
176 | <Frames> |
||
177 | <Button name="$parentAuctionItem"> |
||
178 | <Size> |
||
179 | <AbsDimension x="37" y="37"/> |
||
180 | </Size> |
||
181 | <Anchors> |
||
182 | <Anchor point="TOPLEFT"> |
||
183 | <Offset> |
||
184 | <AbsDimension x="30" y="-113"/> |
||
185 | </Offset> |
||
186 | </Anchor> |
||
187 | </Anchors> |
||
188 | <Layers> |
||
189 | <Layer level="BACKGROUND"> |
||
190 | <Texture file="Interface\Buttons\UI-Slot-Background"> |
||
191 | <Size> |
||
192 | <AbsDimension x="39" y="39"/> |
||
193 | </Size> |
||
194 | <Anchors> |
||
195 | <Anchor point="TOPLEFT"> |
||
196 | <Offset> |
||
197 | <AbsDimension x="-2" y="2"/> |
||
198 | </Offset> |
||
199 | </Anchor> |
||
200 | </Anchors> |
||
201 | <TexCoords left="0" right="0.640625" top="0" bottom="0.640625"/> |
||
202 | </Texture> |
||
203 | <FontString name="$parentName" inherits="GameFontNormal"> |
||
204 | <Size> |
||
205 | <AbsDimension x="100" y="30"/> |
||
206 | </Size> |
||
207 | <Anchors> |
||
208 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT"> |
||
209 | <Offset> |
||
210 | <AbsDimension x="5" y="0"/> |
||
211 | </Offset> |
||
212 | </Anchor> |
||
213 | </Anchors> |
||
214 | </FontString> |
||
215 | </Layer> |
||
216 | <Layer level="ARTWORK"> |
||
217 | <FontString name="$parentCount" inherits="NumberFontNormal" justifyH="RIGHT" hidden="true"> |
||
218 | <Anchors> |
||
219 | <Anchor point="BOTTOMRIGHT"> |
||
220 | <Offset> |
||
221 | <AbsDimension x="-5" y="2"/> |
||
222 | </Offset> |
||
223 | </Anchor> |
||
224 | </Anchors> |
||
225 | </FontString> |
||
226 | </Layer> |
||
227 | <Layer level="BORDER"> |
||
228 | <Texture name="$parentIconTexture"/> |
||
229 | </Layer> |
||
230 | </Layers> |
||
231 | <Scripts> |
||
232 | <OnLoad> |
||
233 | this:RegisterForDrag("LeftButton"); |
||
234 | </OnLoad> |
||
235 | <OnReceiveDrag> |
||
236 | AuctionFramePost_AuctionItem_OnClick(this); |
||
237 | </OnReceiveDrag> |
||
238 | <OnDragStart> |
||
239 | AuctionFramePost_AuctionItem_OnClick(this); |
||
240 | </OnDragStart> |
||
241 | <OnClick> |
||
242 | AuctionFramePost_AuctionItem_OnClick(this); |
||
243 | </OnClick> |
||
244 | <OnEnter> |
||
245 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
246 | local parent = this:GetParent() |
||
247 | local name = parent:GetItemName(); |
||
248 | if (name) then |
||
249 | local bag, slot, id = EnhTooltip.FindItemInBags(name); |
||
250 | local _, link, rarity = GetItemInfo(id); |
||
251 | GameTooltip:SetHyperlink(link); |
||
252 | GameTooltip:Show(); |
||
253 | local hyperlink = GetContainerItemLink(bag, slot); |
||
254 | EnhTooltip.TooltipCall(GameTooltip, parent:GetItemName(), hyperlink, rarity, parent:GetStackSize()); |
||
255 | else |
||
256 | GameTooltip:SetText(AUCTION_ITEM_TEXT, 1.0, 1.0, 1.0); |
||
257 | end |
||
258 | </OnEnter> |
||
259 | <OnLeave> |
||
260 | GameTooltip:Hide(); |
||
261 | </OnLeave> |
||
262 | </Scripts> |
||
263 | <HighlightTexture alphaMode="ADD" file="Interface\Buttons\ButtonHilight-Square"/> |
||
264 | </Button> |
||
265 | <Frame name="$parentPriceModelDropDown" inherits="UIDropDownMenuTemplate"> |
||
266 | <Anchors> |
||
267 | <Anchor point="TOPLEFT" relativeTo="$parentPriceModelText" relativePoint="BOTTOMLEFT"> |
||
268 | <Offset> |
||
269 | <AbsDimension x="-20" y="-4"/> |
||
270 | </Offset> |
||
271 | </Anchor> |
||
272 | </Anchors> |
||
273 | <Scripts> |
||
274 | <OnLoad> |
||
275 | UIDropDownMenu_SetWidth(130); |
||
276 | getglobal(this:GetName().."Text"):SetJustifyH("LEFT"); |
||
277 | </OnLoad> |
||
278 | </Scripts> |
||
279 | </Frame> |
||
280 | <CheckButton name="$parentSavePriceCheckBox" hidden="true"> |
||
281 | <Size> |
||
282 | <AbsDimension x="20" y="20"/> |
||
283 | </Size> |
||
284 | <Anchors> |
||
285 | <Anchor point="TOPRIGHT" relativeTo="$parentSavePriceText" relativePoint="TOPLEFT"> |
||
286 | <Offset> |
||
287 | <AbsDimension x="0" y="3"/> |
||
288 | </Offset> |
||
289 | </Anchor> |
||
290 | </Anchors> |
||
291 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/> |
||
292 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/> |
||
293 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/> |
||
294 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/> |
||
295 | <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/> |
||
296 | </CheckButton> |
||
297 | <Frame name="$parentStartPrice" inherits="AuctioneerMoneyInputFrameTemplate"> |
||
298 | <Anchors> |
||
299 | <Anchor point="TOPLEFT" relativeTo="$parentStartPriceText" relativePoint="BOTTOMLEFT"> |
||
300 | <Offset> |
||
301 | <AbsDimension x="3" y="-4"/> |
||
302 | </Offset> |
||
303 | </Anchor> |
||
304 | </Anchors> |
||
305 | <Scripts> |
||
306 | <OnLoad> |
||
307 | MoneyInputFrame_SetOnvalueChangedFunc(this, AuctionFramePost_StartPrice_OnChanged); |
||
308 | </OnLoad> |
||
309 | </Scripts> |
||
310 | </Frame> |
||
311 | <Frame name="$parentBuyoutPrice" inherits="AuctioneerMoneyInputFrameTemplate"> |
||
312 | <Anchors> |
||
313 | <Anchor point="TOPLEFT" relativeTo="$parentBuyoutPriceText" relativePoint="BOTTOMLEFT"> |
||
314 | <Offset> |
||
315 | <AbsDimension x="3" y="-4"/> |
||
316 | </Offset> |
||
317 | </Anchor> |
||
318 | </Anchors> |
||
319 | <Scripts> |
||
320 | <OnLoad> |
||
321 | MoneyInputFrame_SetOnvalueChangedFunc(this, AuctionFramePost_BuyoutPrice_OnChanged); |
||
322 | </OnLoad> |
||
323 | </Scripts> |
||
324 | </Frame> |
||
325 | <EditBox name="$parentStackSize" letters="3" numeric="true" autoFocus="false" inherits="InputBoxTemplate"> |
||
326 | <Size> |
||
327 | <AbsDimension x="30" y="16"/> |
||
328 | </Size> |
||
329 | <Anchors> |
||
330 | <Anchor point="TOPLEFT" relativeTo="$parentQuantityText" relativePoint="BOTTOMLEFT"> |
||
331 | <Offset> |
||
332 | <AbsDimension x="3" y="-6"/> |
||
333 | </Offset> |
||
334 | </Anchor> |
||
335 | </Anchors> |
||
336 | <Scripts> |
||
337 | <OnTextChanged> |
||
338 | AuctionFramePost_StackSize_OnTextChanged(); |
||
339 | </OnTextChanged> |
||
340 | <OnTabPressed> |
||
341 | if (IsShiftKeyDown()) then |
||
342 | getglobal(this:GetParent():GetName().."BuyoutPriceCopper"):SetFocus(); |
||
343 | else |
||
344 | getglobal(this:GetParent():GetName().."StackCount"):SetFocus(); |
||
345 | end |
||
346 | </OnTabPressed> |
||
347 | <OnEditFocusLost> |
||
348 | this:HighlightText(0, 0); |
||
349 | </OnEditFocusLost> |
||
350 | <OnEditFocusGained> |
||
351 | this:HighlightText(); |
||
352 | </OnEditFocusGained> |
||
353 | </Scripts> |
||
354 | </EditBox> |
||
355 | <EditBox name="$parentStackCount" letters="2" numeric="true" autoFocus="false" inherits="InputBoxTemplate"> |
||
356 | <Size> |
||
357 | <AbsDimension x="22" y="16"/> |
||
358 | </Size> |
||
359 | <Anchors> |
||
360 | <Anchor point="TOPLEFT" relativeTo="$parentStackSize" relativePoint="TOPRIGHT"> |
||
361 | <Offset> |
||
362 | <AbsDimension x="17" y="0"/> |
||
363 | </Offset> |
||
364 | </Anchor> |
||
365 | </Anchors> |
||
366 | <Scripts> |
||
367 | <OnTextChanged> |
||
368 | AuctionFramePost_StackCount_OnTextChanged(); |
||
369 | </OnTextChanged> |
||
370 | <OnTabPressed> |
||
371 | if (IsShiftKeyDown()) then |
||
372 | getglobal(this:GetParent():GetName().."StackSize"):SetFocus(); |
||
373 | else |
||
374 | getglobal(this:GetParent():GetName().."StartPriceGold"):SetFocus(); |
||
375 | end |
||
376 | </OnTabPressed> |
||
377 | <OnEditFocusLost> |
||
378 | this:HighlightText(0, 0); |
||
379 | </OnEditFocusLost> |
||
380 | <OnEditFocusGained> |
||
381 | this:HighlightText(); |
||
382 | </OnEditFocusGained> |
||
383 | </Scripts> |
||
384 | </EditBox> |
||
385 | <CheckButton name="$parentShortAuctionRadio" inherits="AuctioneerRadioButtonTemplate" id="1"> |
||
386 | <Anchors> |
||
387 | <Anchor point="TOPLEFT" relativeTo="$parentDurationText" relativePoint="BOTTOMLEFT"> |
||
388 | <Offset> |
||
389 | <AbsDimension x="3" y="-4"/> |
||
390 | </Offset> |
||
391 | </Anchor> |
||
392 | </Anchors> |
||
393 | <Scripts> |
||
394 | <OnLoad>getglobal(this:GetName().."Text"):SetText("2");</OnLoad> |
||
395 | <OnClick>AuctionFramePost_DurationRadioButton_OnClick(this, this:GetID())</OnClick> |
||
396 | </Scripts> |
||
397 | </CheckButton> |
||
398 | <CheckButton name="$parentMediumAuctionRadio" inherits="AuctioneerRadioButtonTemplate" id="2"> |
||
399 | <Anchors> |
||
400 | <Anchor point="LEFT" relativeTo="$parentShortAuctionRadio" relativePoint="RIGHT"> |
||
401 | <Offset> |
||
402 | <AbsDimension x="16" y="0"/> |
||
403 | </Offset> |
||
404 | </Anchor> |
||
405 | </Anchors> |
||
406 | <Scripts> |
||
407 | <OnLoad>getglobal(this:GetName().."Text"):SetText("8");</OnLoad> |
||
408 | <OnClick>AuctionFramePost_DurationRadioButton_OnClick(this, this:GetID())</OnClick> |
||
409 | </Scripts> |
||
410 | </CheckButton> |
||
411 | <CheckButton name="$parentLongAuctionRadio" inherits="AuctioneerRadioButtonTemplate" id="3"> |
||
412 | <Anchors> |
||
413 | <Anchor point="LEFT" relativeTo="$parentMediumAuctionRadio" relativePoint="RIGHT"> |
||
414 | <Offset> |
||
415 | <AbsDimension x="16" y="0"/> |
||
416 | </Offset> |
||
417 | </Anchor> |
||
418 | </Anchors> |
||
419 | <Scripts> |
||
420 | <OnLoad>getglobal(this:GetName().."Text"):SetText("24");</OnLoad> |
||
421 | <OnClick>AuctionFramePost_DurationRadioButton_OnClick(this, this:GetID())</OnClick> |
||
422 | </Scripts> |
||
423 | </CheckButton> |
||
424 | <Frame name="$parentDepositMoneyFrame" inherits="SmallMoneyFrameTemplate"> |
||
425 | <Anchors> |
||
426 | <Anchor point="TOPLEFT" relativeTo="$parentDepositText" relativePoint="TOPRIGHT"> |
||
427 | <Offset> |
||
428 | <AbsDimension x="3" y="1"/> |
||
429 | </Offset> |
||
430 | </Anchor> |
||
431 | </Anchors> |
||
432 | <Scripts> |
||
433 | <OnLoad> |
||
434 | this.small = 1; |
||
435 | this.staticMoney = 0; |
||
436 | MoneyFrame_SetType("STATIC"); |
||
437 | </OnLoad> |
||
438 | </Scripts> |
||
439 | </Frame> |
||
440 | <Button name="$parentCreateAuctionButton" inherits="UIPanelButtonTemplate"> |
||
441 | <Size> |
||
442 | <AbsDimension x="120" y="22"/> |
||
443 | </Size> |
||
444 | <Anchors> |
||
445 | <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT"> |
||
446 | <Offset> |
||
447 | <AbsDimension x="40" y="48"/> |
||
448 | </Offset> |
||
449 | </Anchor> |
||
450 | </Anchors> |
||
451 | <Scripts> |
||
452 | <OnLoad> |
||
453 | this:SetText(_AUCT('UiPostAuctions')); |
||
454 | </OnLoad> |
||
455 | <OnClick> |
||
456 | AuctionFramePost_CreateAuctionButton_OnClick(this); |
||
457 | </OnClick> |
||
458 | </Scripts> |
||
459 | </Button> |
||
460 | |||
461 | <!-- Current Auctions List --> |
||
462 | <Frame name="$parentList" inherits="ListTemplate"> |
||
463 | <Anchors> |
||
464 | <Anchor point="TOPLEFT"> |
||
465 | <Offset> |
||
466 | <AbsDimension x="187" y="-77"/> |
||
467 | </Offset> |
||
468 | </Anchor> |
||
469 | </Anchors> |
||
470 | <Size> |
||
471 | <AbsDimension x="610" y="334"/> |
||
472 | </Size> |
||
473 | <Frames> |
||
474 | <Button name="$parentItem1" inherits="ListItemTemplate" id="1"> |
||
475 | <Anchors> |
||
476 | <Anchor point="TOPLEFT" relativeTo="$parentColumn1Sort" relativePoint="BOTTOMLEFT"> |
||
477 | <Offset> |
||
478 | <AbsDimension x="4" y="-4"/> |
||
479 | </Offset> |
||
480 | </Anchor> |
||
481 | </Anchors> |
||
482 | </Button> |
||
483 | <Button name="$parentItem2" inherits="ListItemTemplate" id="2"> |
||
484 | <Anchors> |
||
485 | <Anchor point="TOPLEFT" relativeTo="$parentItem1" relativePoint="BOTTOMLEFT"> |
||
486 | <Offset> |
||
487 | <AbsDimension x="0" y="0"/> |
||
488 | </Offset> |
||
489 | </Anchor> |
||
490 | </Anchors> |
||
491 | </Button> |
||
492 | <Button name="$parentItem3" inherits="ListItemTemplate" id="3"> |
||
493 | <Anchors> |
||
494 | <Anchor point="TOPLEFT" relativeTo="$parentItem2" relativePoint="BOTTOMLEFT"> |
||
495 | <Offset> |
||
496 | <AbsDimension x="0" y="0"/> |
||
497 | </Offset> |
||
498 | </Anchor> |
||
499 | </Anchors> |
||
500 | </Button> |
||
501 | <Button name="$parentItem4" inherits="ListItemTemplate" id="4"> |
||
502 | <Anchors> |
||
503 | <Anchor point="TOPLEFT" relativeTo="$parentItem3" relativePoint="BOTTOMLEFT"> |
||
504 | <Offset> |
||
505 | <AbsDimension x="0" y="0"/> |
||
506 | </Offset> |
||
507 | </Anchor> |
||
508 | </Anchors> |
||
509 | </Button> |
||
510 | <Button name="$parentItem5" inherits="ListItemTemplate" id="5"> |
||
511 | <Anchors> |
||
512 | <Anchor point="TOPLEFT" relativeTo="$parentItem4" relativePoint="BOTTOMLEFT"> |
||
513 | <Offset> |
||
514 | <AbsDimension x="0" y="0"/> |
||
515 | </Offset> |
||
516 | </Anchor> |
||
517 | </Anchors> |
||
518 | </Button> |
||
519 | <Button name="$parentItem6" inherits="ListItemTemplate" id="6"> |
||
520 | <Anchors> |
||
521 | <Anchor point="TOPLEFT" relativeTo="$parentItem5" relativePoint="BOTTOMLEFT"> |
||
522 | <Offset> |
||
523 | <AbsDimension x="0" y="0"/> |
||
524 | </Offset> |
||
525 | </Anchor> |
||
526 | </Anchors> |
||
527 | </Button> |
||
528 | <Button name="$parentItem7" inherits="ListItemTemplate" id="7"> |
||
529 | <Anchors> |
||
530 | <Anchor point="TOPLEFT" relativeTo="$parentItem6" relativePoint="BOTTOMLEFT"> |
||
531 | <Offset> |
||
532 | <AbsDimension x="0" y="0"/> |
||
533 | </Offset> |
||
534 | </Anchor> |
||
535 | </Anchors> |
||
536 | </Button> |
||
537 | <Button name="$parentItem8" inherits="ListItemTemplate" id="8"> |
||
538 | <Anchors> |
||
539 | <Anchor point="TOPLEFT" relativeTo="$parentItem7" relativePoint="BOTTOMLEFT"> |
||
540 | <Offset> |
||
541 | <AbsDimension x="0" y="0"/> |
||
542 | </Offset> |
||
543 | </Anchor> |
||
544 | </Anchors> |
||
545 | </Button> |
||
546 | <Button name="$parentItem9" inherits="ListItemTemplate" id="9"> |
||
547 | <Anchors> |
||
548 | <Anchor point="TOPLEFT" relativeTo="$parentItem8" relativePoint="BOTTOMLEFT"> |
||
549 | <Offset> |
||
550 | <AbsDimension x="0" y="0"/> |
||
551 | </Offset> |
||
552 | </Anchor> |
||
553 | </Anchors> |
||
554 | </Button> |
||
555 | <Button name="$parentItem10" inherits="ListItemTemplate" id="10"> |
||
556 | <Anchors> |
||
557 | <Anchor point="TOPLEFT" relativeTo="$parentItem9" relativePoint="BOTTOMLEFT"> |
||
558 | <Offset> |
||
559 | <AbsDimension x="0" y="0"/> |
||
560 | </Offset> |
||
561 | </Anchor> |
||
562 | </Anchors> |
||
563 | </Button> |
||
564 | <Button name="$parentItem11" inherits="ListItemTemplate" id="11"> |
||
565 | <Anchors> |
||
566 | <Anchor point="TOPLEFT" relativeTo="$parentItem10" relativePoint="BOTTOMLEFT"> |
||
567 | <Offset> |
||
568 | <AbsDimension x="0" y="0"/> |
||
569 | </Offset> |
||
570 | </Anchor> |
||
571 | </Anchors> |
||
572 | </Button> |
||
573 | <Button name="$parentItem12" inherits="ListItemTemplate" id="12"> |
||
574 | <Anchors> |
||
575 | <Anchor point="TOPLEFT" relativeTo="$parentItem11" relativePoint="BOTTOMLEFT"> |
||
576 | <Offset> |
||
577 | <AbsDimension x="0" y="0"/> |
||
578 | </Offset> |
||
579 | </Anchor> |
||
580 | </Anchors> |
||
581 | </Button> |
||
582 | <Button name="$parentItem13" inherits="ListItemTemplate" id="13"> |
||
583 | <Anchors> |
||
584 | <Anchor point="TOPLEFT" relativeTo="$parentItem12" relativePoint="BOTTOMLEFT"> |
||
585 | <Offset> |
||
586 | <AbsDimension x="0" y="0"/> |
||
587 | </Offset> |
||
588 | </Anchor> |
||
589 | </Anchors> |
||
590 | </Button> |
||
591 | <Button name="$parentItem14" inherits="ListItemTemplate" id="14"> |
||
592 | <Anchors> |
||
593 | <Anchor point="TOPLEFT" relativeTo="$parentItem13" relativePoint="BOTTOMLEFT"> |
||
594 | <Offset> |
||
595 | <AbsDimension x="0" y="0"/> |
||
596 | </Offset> |
||
597 | </Anchor> |
||
598 | </Anchors> |
||
599 | </Button> |
||
600 | <Button name="$parentItem15" inherits="ListItemTemplate" id="15"> |
||
601 | <Anchors> |
||
602 | <Anchor point="TOPLEFT" relativeTo="$parentItem14" relativePoint="BOTTOMLEFT"> |
||
603 | <Offset> |
||
604 | <AbsDimension x="0" y="0"/> |
||
605 | </Offset> |
||
606 | </Anchor> |
||
607 | </Anchors> |
||
608 | </Button> |
||
609 | <Button name="$parentItem16" inherits="ListItemTemplate" id="16"> |
||
610 | <Anchors> |
||
611 | <Anchor point="TOPLEFT" relativeTo="$parentItem15" relativePoint="BOTTOMLEFT"> |
||
612 | <Offset> |
||
613 | <AbsDimension x="0" y="0"/> |
||
614 | </Offset> |
||
615 | </Anchor> |
||
616 | </Anchors> |
||
617 | </Button> |
||
618 | <Button name="$parentItem17" inherits="ListItemTemplate" id="17"> |
||
619 | <Anchors> |
||
620 | <Anchor point="TOPLEFT" relativeTo="$parentItem16" relativePoint="BOTTOMLEFT"> |
||
621 | <Offset> |
||
622 | <AbsDimension x="0" y="0"/> |
||
623 | </Offset> |
||
624 | </Anchor> |
||
625 | </Anchors> |
||
626 | </Button> |
||
627 | <Button name="$parentItem18" inherits="ListItemTemplate" id="18"> |
||
628 | <Anchors> |
||
629 | <Anchor point="TOPLEFT" relativeTo="$parentItem17" relativePoint="BOTTOMLEFT"> |
||
630 | <Offset> |
||
631 | <AbsDimension x="0" y="0"/> |
||
632 | </Offset> |
||
633 | </Anchor> |
||
634 | </Anchors> |
||
635 | </Button> |
||
636 | <Button name="$parentItem19" inherits="ListItemTemplate" id="19"> |
||
637 | <Anchors> |
||
638 | <Anchor point="TOPLEFT" relativeTo="$parentItem18" relativePoint="BOTTOMLEFT"> |
||
639 | <Offset> |
||
640 | <AbsDimension x="0" y="0"/> |
||
641 | </Offset> |
||
642 | </Anchor> |
||
643 | </Anchors> |
||
644 | </Button> |
||
645 | </Frames> |
||
646 | </Frame> |
||
647 | </Frames> |
||
648 | <Scripts> |
||
649 | <OnLoad> |
||
650 | getglobal(this:GetName().."Title"):SetText(_AUCT('UiPostAuctions')); |
||
651 | getglobal(this:GetName().."TabText"):SetText(_AUCT('UiPost')); |
||
652 | getglobal(this:GetName().."PriceModelText"):SetText(_AUCT('UiPriceBasedOnLabel')); |
||
653 | getglobal(this:GetName().."SavePriceText"):SetText(_AUCT('UiMakeFixedPriceLabel')); |
||
654 | getglobal(this:GetName().."StartPriceText"):SetText(_AUCT('UiStartingPriceLabel')); |
||
655 | getglobal(this:GetName().."StartPriceInvalidText"):SetText(_AUCT('UiStartingPriceRequiredError')); |
||
656 | getglobal(this:GetName().."BuyoutPriceText"):SetText(_AUCT('UiBuyoutPriceLabel')); |
||
657 | getglobal(this:GetName().."BuyoutPriceInvalidText"):SetText(_AUCT('UiBuyoutPriceTooLowError')); |
||
658 | getglobal(this:GetName().."QuantityText"):SetText(_AUCT('UiQuantityLabel')); |
||
659 | getglobal(this:GetName().."MultiplyText"):SetText("x"); |
||
660 | getglobal(this:GetName().."StackCountText"):SetText(_AUCT('UiStacksLabel')); |
||
661 | getglobal(this:GetName().."DurationText"):SetText(_AUCT('UiDurationLabel')); |
||
662 | getglobal(this:GetName().."DepositText"):SetText(_AUCT('UiDepositLabel')); |
||
663 | getglobal(this:GetName().."UnknownDepositText"):SetText(_AUCT('UiUnknownError')); |
||
664 | AuctionFramePost_OnLoad(); |
||
665 | </OnLoad> |
||
666 | </Scripts> |
||
667 | </Frame> |
||
668 | |||
669 | <Button name="AuctionFrameTabPost" inherits="AuctionTabTemplate" hidden="true"> |
||
670 | <Scripts> |
||
671 | <OnLoad> |
||
672 | this:SetText(_AUCT('UiPostAuctions')); |
||
673 | </OnLoad> |
||
674 | </Scripts> |
||
675 | </Button> |
||
676 | </Ui> |