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: AuctionFrameSearch.xml 782 2006-04-01 05:30:22Z 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="AuctionFrameSearch.lua"/> |
||
22 | |||
23 | <Frame name="SearchParametersTemplate" virtual="true"> |
||
24 | <Anchors> |
||
25 | <Anchor point="TOPLEFT"> |
||
26 | <Offset> |
||
27 | <AbsDimension x="27" y="-150"/> |
||
28 | </Offset> |
||
29 | </Anchor> |
||
30 | </Anchors> |
||
31 | <Size> |
||
32 | <AbsDimension x="155" y="265"/> |
||
33 | </Size> |
||
34 | </Frame> |
||
35 | |||
36 | <Button name="SearchListItemTemplate" inherits="ListItemTemplate" virtual="true"> |
||
37 | <Scripts> |
||
38 | --Thanks to Miravlix (from irc://irc.datavertex.com/cosmostesters) for adding cursor support. |
||
39 | local scrollFrame = nil |
||
40 | local index = nil; |
||
41 | <OnEnter> |
||
42 | scrollFrame = getglobal(this:GetParent():GetName().."ScrollFrame"); |
||
43 | index = this:GetID() + FauxScrollFrame_GetOffset(scrollFrame); |
||
44 | AuctionFrameSearch_ListItem_OnEnter(index); |
||
45 | </OnEnter> |
||
46 | <OnLeave> |
||
47 | GameTooltip:Hide(); |
||
48 | ResetCursor(); |
||
49 | scrollFrame = nil; |
||
50 | index = nil; |
||
51 | </OnLeave> |
||
52 | <OnClick> |
||
53 | AuctionFrameSearch_ListItem_OnClick(index); |
||
54 | </OnClick> |
||
55 | <OnUpdate> |
||
56 | if (index) then |
||
57 | if (IsControlKeyDown()) then |
||
58 | ShowInspectCursor() |
||
59 | elseif (IsShiftKeyDown() and IsAltKeyDown()) then |
||
60 | SetCursor("BUY_CURSOR") |
||
61 | else |
||
62 | ResetCursor() |
||
63 | end |
||
64 | end |
||
65 | </OnUpdate> |
||
66 | </Scripts> |
||
67 | <HighlightTexture name="$parentHighlight" file="Interface\HelpFrame\HelpFrameButton-Highlight" alphaMode="ADD"> |
||
68 | <Anchors> |
||
69 | <Anchor point="TOPLEFT"> |
||
70 | <Offset> |
||
71 | <AbsDimension x="0" y="0"/> |
||
72 | </Offset> |
||
73 | </Anchor> |
||
74 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT"> |
||
75 | <Offset> |
||
76 | <AbsDimension x="0" y="0"/> |
||
77 | </Offset> |
||
78 | </Anchor> |
||
79 | </Anchors> |
||
80 | <TexCoords left="0" right="1.0" top="0" bottom="0.578125"/> |
||
81 | </HighlightTexture> |
||
82 | </Button> |
||
83 | |||
84 | <Frame name="AuctionFrameSearch" inherits="AuctionFrameTemplate" hidden="true"> |
||
85 | <Layers> |
||
86 | <Layer level="BACKGROUND"> |
||
87 | <FontString name="$parentTitle" inherits="GameFontNormal"> |
||
88 | <Anchors> |
||
89 | <Anchor point="TOP"> |
||
90 | <Offset> |
||
91 | <AbsDimension x="0" y="-18"/> |
||
92 | </Offset> |
||
93 | </Anchor> |
||
94 | </Anchors> |
||
95 | </FontString> |
||
96 | </Layer> |
||
97 | <Layer level="ARTWORK"> |
||
98 | <FontString name="$parentTabText" inherits="GameFontHighlightSmall"> |
||
99 | <Anchors> |
||
100 | <Anchor point="TOP" relativePoint="TOPLEFT"> |
||
101 | <Offset> |
||
102 | <AbsDimension x="85" y="-85"/> |
||
103 | </Offset> |
||
104 | </Anchor> |
||
105 | </Anchors> |
||
106 | </FontString> |
||
107 | <FontString name="$parentSearchText" inherits="GameFontHighlightSmall"> |
||
108 | <Anchors> |
||
109 | <Anchor point="TOPLEFT"> |
||
110 | <Offset> |
||
111 | <AbsDimension x="27" y="-107"/> |
||
112 | </Offset> |
||
113 | </Anchor> |
||
114 | </Anchors> |
||
115 | </FontString> |
||
116 | |||
117 | <FontString name="$parentSavedSearchText" inherits="GameFontHighlightSmall"> |
||
118 | <Anchors> |
||
119 | <Anchor point="TOPLEFT"> |
||
120 | <Offset> |
||
121 | <AbsDimension x="190" y="-52"/> |
||
122 | </Offset> |
||
123 | </Anchor> |
||
124 | </Anchors> |
||
125 | </FontString> |
||
126 | |||
127 | <FontString name="$parentPendingBidStatusText" inherits="GameFontHighlightSmall"> |
||
128 | <Anchors> |
||
129 | <Anchor point="BOTTOMLEFT"> |
||
130 | <Offset> |
||
131 | <AbsDimension x="200" y="22"/> |
||
132 | </Offset> |
||
133 | </Anchor> |
||
134 | </Anchors> |
||
135 | </FontString> |
||
136 | |||
137 | </Layer> |
||
138 | </Layers> |
||
139 | <Frames> |
||
140 | <EditBox name="$parentSaveSearchEdit" autoFocus="false" inherits="InputBoxTemplate"> |
||
141 | <Size> |
||
142 | <AbsDimension x="150" y="16"/> |
||
143 | </Size> |
||
144 | <Anchors> |
||
145 | <Anchor point="LEFT" relativeTo="$parentSavedSearchText" relativePoint="RIGHT"> |
||
146 | <Offset> |
||
147 | <AbsDimension x="10" y="-1"/> |
||
148 | </Offset> |
||
149 | </Anchor> |
||
150 | </Anchors> |
||
151 | <Scripts> |
||
152 | <OnTabPressed> |
||
153 | getglobal(this:GetParent():GetName().."BidMinProfitGold"):SetFocus(); |
||
154 | </OnTabPressed> |
||
155 | <OnEnterPressed> |
||
156 | AuctionFrameSearch_SaveSearchButton_OnClick(this); |
||
157 | </OnEnterPressed> |
||
158 | </Scripts> |
||
159 | </EditBox> |
||
160 | <Frame name="$parentSavedSearchDropDown" inherits="UIDropDownMenuTemplate"> |
||
161 | <Anchors> |
||
162 | <Anchor point="LEFT" relativeTo="$parentSaveSearchEdit" relativePoint="LEFT"> |
||
163 | <Offset> |
||
164 | <AbsDimension x="-13" y="-3"/> |
||
165 | </Offset> |
||
166 | </Anchor> |
||
167 | </Anchors> |
||
168 | <Scripts> |
||
169 | <OnLoad> |
||
170 | getglobal(this:GetName().."Left"):Hide(); |
||
171 | getglobal(this:GetName().."Middle"):Hide(); |
||
172 | getglobal(this:GetName().."Right"):Hide(); |
||
173 | getglobal(this:GetName().."Text"):Hide(); |
||
174 | UIDropDownMenu_SetWidth(getglobal(this:GetParent():GetName().."SaveSearchEdit"):GetWidth()); |
||
175 | AuctioneerDropDownMenu_Initialize(this, AuctionFrameSearch_SavedSearchDropDown_Initialize); |
||
176 | AuctioneerDropDownMenu_SetSelectedID(this, 1); |
||
177 | </OnLoad> |
||
178 | </Scripts> |
||
179 | </Frame> |
||
180 | <Button name="$parentSaveSearchButton" inherits="UIPanelButtonTemplate"> |
||
181 | <Size> |
||
182 | <AbsDimension x="80" y="22"/> |
||
183 | </Size> |
||
184 | <Anchors> |
||
185 | <Anchor point="LEFT" relativeTo="$parentSaveSearchEdit" relativePoint="RIGHT"> |
||
186 | <Offset> |
||
187 | <AbsDimension x="24" y="0"/> |
||
188 | </Offset> |
||
189 | </Anchor> |
||
190 | </Anchors> |
||
191 | <Scripts> |
||
192 | <OnClick> |
||
193 | AuctionFrameSearch_SaveSearchButton_OnClick(this); |
||
194 | </OnClick> |
||
195 | </Scripts> |
||
196 | </Button> |
||
197 | <Button name="$parentRemoveSearchButton" inherits="UIPanelButtonTemplate"> |
||
198 | <Size> |
||
199 | <AbsDimension x="80" y="22"/> |
||
200 | </Size> |
||
201 | <Anchors> |
||
202 | <Anchor point="LEFT" relativeTo="$parentSaveSearchButton" relativePoint="RIGHT"> |
||
203 | <Offset> |
||
204 | <AbsDimension x="2" y="0"/> |
||
205 | </Offset> |
||
206 | </Anchor> |
||
207 | </Anchors> |
||
208 | <Scripts> |
||
209 | <OnClick> |
||
210 | AuctionFrameSearch_RemoveSearchButton_OnClick(this); |
||
211 | </OnClick> |
||
212 | </Scripts> |
||
213 | </Button> |
||
214 | |||
215 | <Frame name="$parentSearchDropDown" inherits="UIDropDownMenuTemplate"> |
||
216 | <Anchors> |
||
217 | <Anchor point="TOPLEFT" relativeTo="$parentSearchText" relativePoint="BOTTOMLEFT"> |
||
218 | <Offset> |
||
219 | <AbsDimension x="-20" y="-4"/> |
||
220 | </Offset> |
||
221 | </Anchor> |
||
222 | </Anchors> |
||
223 | <Scripts> |
||
224 | <OnLoad> |
||
225 | UIDropDownMenu_SetWidth(130); |
||
226 | getglobal(this:GetName().."Text"):SetJustifyH("LEFT"); |
||
227 | </OnLoad> |
||
228 | </Scripts> |
||
229 | </Frame> |
||
230 | |||
231 | <!-- Bid Search Frame --> |
||
232 | <Frame name="$parentBid" inherits="SearchParametersTemplate"> |
||
233 | <Layers> |
||
234 | <Layer level="ARTWORK"> |
||
235 | <FontString name="$parentMinProfitText" inherits="GameFontHighlightSmall"> |
||
236 | <Anchors> |
||
237 | <Anchor point="TOPLEFT"> |
||
238 | <Offset> |
||
239 | <AbsDimension x="0" y="0"/> |
||
240 | </Offset> |
||
241 | </Anchor> |
||
242 | </Anchors> |
||
243 | </FontString> |
||
244 | <FontString name="$parentMinPercentLessText" inherits="GameFontHighlightSmall"> |
||
245 | <Anchors> |
||
246 | <Anchor point="TOPLEFT" relativeTo="$parentMinProfitText"> |
||
247 | <Offset> |
||
248 | <AbsDimension x="0" y="-38"/> |
||
249 | </Offset> |
||
250 | </Anchor> |
||
251 | </Anchors> |
||
252 | </FontString> |
||
253 | <FontString name="$parentTimeLeftText" inherits="GameFontHighlightSmall"> |
||
254 | <Anchors> |
||
255 | <Anchor point="TOPLEFT" relativeTo="$parentMinPercentLessText"> |
||
256 | <Offset> |
||
257 | <AbsDimension x="0" y="-38"/> |
||
258 | </Offset> |
||
259 | </Anchor> |
||
260 | </Anchors> |
||
261 | </FontString> |
||
262 | <FontString name="$parentCategoryText" inherits="GameFontHighlightSmall"> |
||
263 | <Anchors> |
||
264 | <Anchor point="TOPLEFT" relativeTo="$parentTimeLeftText"> |
||
265 | <Offset> |
||
266 | <AbsDimension x="0" y="-42"/> |
||
267 | </Offset> |
||
268 | </Anchor> |
||
269 | </Anchors> |
||
270 | </FontString> |
||
271 | <FontString name="$parentMinQualityText" inherits="GameFontHighlightSmall"> |
||
272 | <Anchors> |
||
273 | <Anchor point="TOPLEFT" relativeTo="$parentCategoryText"> |
||
274 | <Offset> |
||
275 | <AbsDimension x="0" y="-42"/> |
||
276 | </Offset> |
||
277 | </Anchor> |
||
278 | </Anchors> |
||
279 | </FontString> |
||
280 | <FontString name="$parentSearchText" inherits="GameFontHighlightSmall"> |
||
281 | <Anchors> |
||
282 | <Anchor point="TOPLEFT" relativeTo="$parentMinQualityText"> |
||
283 | <Offset> |
||
284 | <AbsDimension x="0" y="-42"/> |
||
285 | </Offset> |
||
286 | </Anchor> |
||
287 | </Anchors> |
||
288 | </FontString> |
||
289 | </Layer> |
||
290 | </Layers> |
||
291 | <Frames> |
||
292 | <Frame name="$parentMinProfit" inherits="AuctioneerMoneyInputFrameTemplate"> |
||
293 | <Anchors> |
||
294 | <Anchor point="TOPLEFT" relativeTo="$parentMinProfitText" relativePoint="BOTTOMLEFT"> |
||
295 | <Offset> |
||
296 | <AbsDimension x="3" y="-2"/> |
||
297 | </Offset> |
||
298 | </Anchor> |
||
299 | </Anchors> |
||
300 | <Scripts> |
||
301 | <OnLoad> |
||
302 | MoneyInputFrame_SetCopper(this, 5000); |
||
303 | </OnLoad> |
||
304 | </Scripts> |
||
305 | </Frame> |
||
306 | <EditBox name="$parentMinPercentLessEdit" letters="5" autoFocus="false" inherits="InputBoxTemplate"> |
||
307 | <Size> |
||
308 | <AbsDimension x="40" y="16"/> |
||
309 | </Size> |
||
310 | <Anchors> |
||
311 | <Anchor point="TOPLEFT" relativeTo="$parentMinPercentLessText" relativePoint="BOTTOMLEFT"> |
||
312 | <Offset> |
||
313 | <AbsDimension x="3" y="-4"/> |
||
314 | </Offset> |
||
315 | </Anchor> |
||
316 | </Anchors> |
||
317 | <Scripts> |
||
318 | <OnLoad> |
||
319 | this:SetNumber(30); |
||
320 | </OnLoad> |
||
321 | <OnEditFocusLost> |
||
322 | this:HighlightText(0, 0); |
||
323 | </OnEditFocusLost> |
||
324 | <OnEditFocusGained> |
||
325 | this:HighlightText(); |
||
326 | </OnEditFocusGained> |
||
327 | </Scripts> |
||
328 | </EditBox> |
||
329 | <Frame name="$parentTimeLeftDropDown" inherits="UIDropDownMenuTemplate"> |
||
330 | <Anchors> |
||
331 | <Anchor point="TOPLEFT" relativeTo="$parentTimeLeftText" relativePoint="BOTTOMLEFT"> |
||
332 | <Offset> |
||
333 | <AbsDimension x="-20" y="-2"/> |
||
334 | </Offset> |
||
335 | </Anchor> |
||
336 | </Anchors> |
||
337 | <Scripts> |
||
338 | <OnLoad> |
||
339 | UIDropDownMenu_SetWidth(130); |
||
340 | getglobal(this:GetName().."Text"):SetJustifyH("LEFT"); |
||
341 | AuctioneerDropDownMenu_Initialize(this, AuctionFrameSearch_TimeLeftDropDown_Initialize); |
||
342 | AuctioneerDropDownMenu_SetSelectedID(this, 2); |
||
343 | </OnLoad> |
||
344 | </Scripts> |
||
345 | </Frame> |
||
346 | <Frame name="$parentCategoryDropDown" inherits="UIDropDownMenuTemplate"> |
||
347 | <Anchors> |
||
348 | <Anchor point="TOPLEFT" relativeTo="$parentCategoryText" relativePoint="BOTTOMLEFT"> |
||
349 | <Offset> |
||
350 | <AbsDimension x="-20" y="-2"/> |
||
351 | </Offset> |
||
352 | </Anchor> |
||
353 | </Anchors> |
||
354 | <Scripts> |
||
355 | <OnLoad> |
||
356 | UIDropDownMenu_SetWidth(130); |
||
357 | getglobal(this:GetName().."Text"):SetJustifyH("LEFT"); |
||
358 | AuctioneerDropDownMenu_Initialize(this, AuctionFrameSearch_CategoryDropDown_Initialize); |
||
359 | AuctioneerDropDownMenu_SetSelectedID(this, 1); |
||
360 | </OnLoad> |
||
361 | </Scripts> |
||
362 | </Frame> |
||
363 | <Frame name="$parentMinQualityDropDown" inherits="UIDropDownMenuTemplate"> |
||
364 | <Anchors> |
||
365 | <Anchor point="TOPLEFT" relativeTo="$parentMinQualityText" relativePoint="BOTTOMLEFT"> |
||
366 | <Offset> |
||
367 | <AbsDimension x="-20" y="-2"/> |
||
368 | </Offset> |
||
369 | </Anchor> |
||
370 | </Anchors> |
||
371 | <Scripts> |
||
372 | <OnLoad> |
||
373 | UIDropDownMenu_SetWidth(130); |
||
374 | getglobal(this:GetName().."Text"):SetJustifyH("LEFT"); |
||
375 | AuctioneerDropDownMenu_Initialize(this, AuctionFrameSearch_MinQualityDropDown_Initialize); |
||
376 | AuctioneerDropDownMenu_SetSelectedID(this, 1); |
||
377 | </OnLoad> |
||
378 | </Scripts> |
||
379 | </Frame> |
||
380 | <EditBox name="$parentSearchEdit" autoFocus="false" inherits="InputBoxTemplate"> |
||
381 | <Size> |
||
382 | <AbsDimension x="140" y="16"/> |
||
383 | </Size> |
||
384 | <Anchors> |
||
385 | <Anchor point="TOPLEFT" relativeTo="$parentSearchText" relativePoint="BOTTOMLEFT"> |
||
386 | <Offset> |
||
387 | <AbsDimension x="5" y="-2"/> |
||
388 | </Offset> |
||
389 | </Anchor> |
||
390 | </Anchors> |
||
391 | <Scripts> |
||
392 | <OnTabPressed> |
||
393 | getglobal(this:GetParent():GetName().."BidMinProfitGold"):SetFocus(); |
||
394 | </OnTabPressed> |
||
395 | <OnEnterPressed> |
||
396 | AuctionFrameSearchBid_SearchButton_OnClick(this); |
||
397 | </OnEnterPressed> |
||
398 | </Scripts> |
||
399 | </EditBox> |
||
400 | <Button name="$parentSearchButton" inherits="UIPanelButtonTemplate"> |
||
401 | <Size> |
||
402 | <AbsDimension x="120" y="22"/> |
||
403 | </Size> |
||
404 | <Anchors> |
||
405 | <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT"> |
||
406 | <Offset> |
||
407 | <AbsDimension x="13" y="10"/> |
||
408 | </Offset> |
||
409 | </Anchor> |
||
410 | </Anchors> |
||
411 | <Scripts> |
||
412 | <OnClick> |
||
413 | AuctionFrameSearchBid_SearchButton_OnClick(this); |
||
414 | </OnClick> |
||
415 | </Scripts> |
||
416 | </Button> |
||
417 | </Frames> |
||
418 | <Scripts> |
||
419 | <OnLoad> |
||
420 | getglobal(this:GetName().."MinProfitText"):SetText(_AUCT('UiMinimumProfitLabel')); |
||
421 | getglobal(this:GetName().."MinPercentLessText"):SetText(_AUCT('UiMinimumPercentLessLabel')); |
||
422 | getglobal(this:GetName().."TimeLeftText"):SetText(_AUCT('UiMaximumTimeLeftLabel')); |
||
423 | getglobal(this:GetName().."CategoryText"):SetText(_AUCT('UiCategoryLabel')); |
||
424 | getglobal(this:GetName().."MinQualityText"):SetText(_AUCT('UiMinimumQualityLabel')); |
||
425 | getglobal(this:GetName().."SearchText"):SetText(_AUCT('UiSearchForLabel')); |
||
426 | getglobal(this:GetName().."SearchButton"):SetText(_AUCT('UiSearch')); |
||
427 | </OnLoad> |
||
428 | </Scripts> |
||
429 | </Frame> |
||
430 | |||
431 | <!-- Buyout Search Frame --> |
||
432 | <Frame name="$parentBuyout" inherits="SearchParametersTemplate"> |
||
433 | <Layers> |
||
434 | <Layer level="ARTWORK"> |
||
435 | <FontString name="$parentMinProfitText" inherits="GameFontHighlightSmall"> |
||
436 | <Anchors> |
||
437 | <Anchor point="TOPLEFT"> |
||
438 | <Offset> |
||
439 | <AbsDimension x="0" y="0"/> |
||
440 | </Offset> |
||
441 | </Anchor> |
||
442 | </Anchors> |
||
443 | </FontString> |
||
444 | <FontString name="$parentMinPercentLessText" inherits="GameFontHighlightSmall"> |
||
445 | <Anchors> |
||
446 | <Anchor point="TOPLEFT" relativeTo="$parentMinProfitText"> |
||
447 | <Offset> |
||
448 | <AbsDimension x="0" y="-38"/> |
||
449 | </Offset> |
||
450 | </Anchor> |
||
451 | </Anchors> |
||
452 | </FontString> |
||
453 | <FontString name="$parentCategoryText" inherits="GameFontHighlightSmall"> |
||
454 | <Anchors> |
||
455 | <Anchor point="TOPLEFT" relativeTo="$parentMinPercentLessText"> |
||
456 | <Offset> |
||
457 | <AbsDimension x="0" y="-38"/> |
||
458 | </Offset> |
||
459 | </Anchor> |
||
460 | </Anchors> |
||
461 | </FontString> |
||
462 | <FontString name="$parentMinQualityText" inherits="GameFontHighlightSmall"> |
||
463 | <Anchors> |
||
464 | <Anchor point="TOPLEFT" relativeTo="$parentCategoryText"> |
||
465 | <Offset> |
||
466 | <AbsDimension x="0" y="-38"/> |
||
467 | </Offset> |
||
468 | </Anchor> |
||
469 | </Anchors> |
||
470 | </FontString> |
||
471 | <FontString name="$parentSearchText" inherits="GameFontHighlightSmall"> |
||
472 | <Anchors> |
||
473 | <Anchor point="TOPLEFT" relativeTo="$parentMinQualityText"> |
||
474 | <Offset> |
||
475 | <AbsDimension x="0" y="-42"/> |
||
476 | </Offset> |
||
477 | </Anchor> |
||
478 | </Anchors> |
||
479 | </FontString> |
||
480 | </Layer> |
||
481 | </Layers> |
||
482 | <Frames> |
||
483 | <Frame name="$parentMinProfit" inherits="AuctioneerMoneyInputFrameTemplate"> |
||
484 | <Anchors> |
||
485 | <Anchor point="TOPLEFT" relativeTo="$parentMinProfitText" relativePoint="BOTTOMLEFT"> |
||
486 | <Offset> |
||
487 | <AbsDimension x="3" y="-4"/> |
||
488 | </Offset> |
||
489 | </Anchor> |
||
490 | </Anchors> |
||
491 | <Scripts> |
||
492 | <OnLoad> |
||
493 | MoneyInputFrame_SetCopper(this, 5000); |
||
494 | </OnLoad> |
||
495 | </Scripts> |
||
496 | </Frame> |
||
497 | <EditBox name="$parentMinPercentLessEdit" letters="5" autoFocus="false" inherits="InputBoxTemplate"> |
||
498 | <Size> |
||
499 | <AbsDimension x="40" y="16"/> |
||
500 | </Size> |
||
501 | <Anchors> |
||
502 | <Anchor point="TOPLEFT" relativeTo="$parentMinPercentLessText" relativePoint="BOTTOMLEFT"> |
||
503 | <Offset> |
||
504 | <AbsDimension x="3" y="-6"/> |
||
505 | </Offset> |
||
506 | </Anchor> |
||
507 | </Anchors> |
||
508 | <Scripts> |
||
509 | <OnLoad> |
||
510 | this:SetNumber(30); |
||
511 | </OnLoad> |
||
512 | <OnEditFocusLost> |
||
513 | this:HighlightText(0, 0); |
||
514 | </OnEditFocusLost> |
||
515 | <OnEditFocusGained> |
||
516 | this:HighlightText(); |
||
517 | </OnEditFocusGained> |
||
518 | </Scripts> |
||
519 | </EditBox> |
||
520 | <Frame name="$parentCategoryDropDown" inherits="UIDropDownMenuTemplate"> |
||
521 | <Anchors> |
||
522 | <Anchor point="TOPLEFT" relativeTo="$parentCategoryText" relativePoint="BOTTOMLEFT"> |
||
523 | <Offset> |
||
524 | <AbsDimension x="-20" y="-2"/> |
||
525 | </Offset> |
||
526 | </Anchor> |
||
527 | </Anchors> |
||
528 | <Scripts> |
||
529 | <OnLoad> |
||
530 | UIDropDownMenu_SetWidth(130); |
||
531 | getglobal(this:GetName().."Text"):SetJustifyH("LEFT"); |
||
532 | AuctioneerDropDownMenu_Initialize(this, AuctionFrameSearch_CategoryDropDown_Initialize); |
||
533 | AuctioneerDropDownMenu_SetSelectedID(this, 1); |
||
534 | </OnLoad> |
||
535 | </Scripts> |
||
536 | </Frame> |
||
537 | <Frame name="$parentMinQualityDropDown" inherits="UIDropDownMenuTemplate"> |
||
538 | <Anchors> |
||
539 | <Anchor point="TOPLEFT" relativeTo="$parentMinQualityText" relativePoint="BOTTOMLEFT"> |
||
540 | <Offset> |
||
541 | <AbsDimension x="-20" y="-2"/> |
||
542 | </Offset> |
||
543 | </Anchor> |
||
544 | </Anchors> |
||
545 | <Scripts> |
||
546 | <OnLoad> |
||
547 | UIDropDownMenu_SetWidth(130); |
||
548 | getglobal(this:GetName().."Text"):SetJustifyH("LEFT"); |
||
549 | AuctioneerDropDownMenu_Initialize(this, AuctionFrameSearch_MinQualityDropDown_Initialize); |
||
550 | AuctioneerDropDownMenu_SetSelectedID(this, 1); |
||
551 | </OnLoad> |
||
552 | </Scripts> |
||
553 | </Frame> |
||
554 | <EditBox name="$parentSearchEdit" autoFocus="false" inherits="InputBoxTemplate"> |
||
555 | <Size> |
||
556 | <AbsDimension x="140" y="16"/> |
||
557 | </Size> |
||
558 | <Anchors> |
||
559 | <Anchor point="TOPLEFT" relativeTo="$parentSearchText" relativePoint="BOTTOMLEFT"> |
||
560 | <Offset> |
||
561 | <AbsDimension x="5" y="-2"/> |
||
562 | </Offset> |
||
563 | </Anchor> |
||
564 | </Anchors> |
||
565 | <Scripts> |
||
566 | <OnTabPressed> |
||
567 | getglobal(this:GetParent():GetName().."BidMinProfitGold"):SetFocus(); |
||
568 | </OnTabPressed> |
||
569 | <OnEnterPressed> |
||
570 | AuctionFrameSearchBuyout_SearchButton_OnClick(this); |
||
571 | </OnEnterPressed> |
||
572 | </Scripts> |
||
573 | </EditBox> |
||
574 | <Button name="$parentSearchButton" inherits="UIPanelButtonTemplate"> |
||
575 | <Size> |
||
576 | <AbsDimension x="120" y="22"/> |
||
577 | </Size> |
||
578 | <Anchors> |
||
579 | <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT"> |
||
580 | <Offset> |
||
581 | <AbsDimension x="13" y="10"/> |
||
582 | </Offset> |
||
583 | </Anchor> |
||
584 | </Anchors> |
||
585 | <Scripts> |
||
586 | <OnClick> |
||
587 | AuctionFrameSearchBuyout_SearchButton_OnClick(this); |
||
588 | </OnClick> |
||
589 | </Scripts> |
||
590 | </Button> |
||
591 | </Frames> |
||
592 | <Scripts> |
||
593 | <OnLoad> |
||
594 | getglobal(this:GetName().."MinProfitText"):SetText(_AUCT('UiMinimumProfitLabel')); |
||
595 | getglobal(this:GetName().."MinPercentLessText"):SetText(_AUCT('UiMinimumPercentLessLabel')); |
||
596 | getglobal(this:GetName().."SearchButton"):SetText(_AUCT('UiSearch')); |
||
597 | getglobal(this:GetName().."CategoryText"):SetText(_AUCT('UiCategoryLabel')); |
||
598 | getglobal(this:GetName().."MinQualityText"):SetText(_AUCT('UiMinimumQualityLabel')); |
||
599 | getglobal(this:GetName().."SearchText"):SetText(_AUCT('UiSearchForLabel')); |
||
600 | </OnLoad> |
||
601 | </Scripts> |
||
602 | </Frame> |
||
603 | |||
604 | <!-- Compete Search Frame --> |
||
605 | <Frame name="$parentCompete" inherits="SearchParametersTemplate"> |
||
606 | <Layers> |
||
607 | <Layer level="ARTWORK"> |
||
608 | <FontString name="$parentUndercutText" inherits="GameFontHighlightSmall"> |
||
609 | <Anchors> |
||
610 | <Anchor point="TOPLEFT"> |
||
611 | <Offset> |
||
612 | <AbsDimension x="0" y="0"/> |
||
613 | </Offset> |
||
614 | </Anchor> |
||
615 | </Anchors> |
||
616 | </FontString> |
||
617 | </Layer> |
||
618 | </Layers> |
||
619 | <Frames> |
||
620 | <Frame name="$parentUndercut" inherits="AuctioneerMoneyInputFrameTemplate"> |
||
621 | <Anchors> |
||
622 | <Anchor point="TOPLEFT" relativeTo="$parentUndercutText" relativePoint="BOTTOMLEFT"> |
||
623 | <Offset> |
||
624 | <AbsDimension x="3" y="-4"/> |
||
625 | </Offset> |
||
626 | </Anchor> |
||
627 | </Anchors> |
||
628 | <Scripts> |
||
629 | <OnLoad> |
||
630 | MoneyInputFrame_SetCopper(this, 500); |
||
631 | </OnLoad> |
||
632 | </Scripts> |
||
633 | </Frame> |
||
634 | <Button name="$parentSearchButton" inherits="UIPanelButtonTemplate"> |
||
635 | <Size> |
||
636 | <AbsDimension x="120" y="22"/> |
||
637 | </Size> |
||
638 | <Anchors> |
||
639 | <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT"> |
||
640 | <Offset> |
||
641 | <AbsDimension x="13" y="10"/> |
||
642 | </Offset> |
||
643 | </Anchor> |
||
644 | </Anchors> |
||
645 | <Scripts> |
||
646 | <OnClick> |
||
647 | AuctionFrameSearchCompete_SearchButton_OnClick(this); |
||
648 | </OnClick> |
||
649 | </Scripts> |
||
650 | </Button> |
||
651 | </Frames> |
||
652 | <Scripts> |
||
653 | <OnLoad> |
||
654 | getglobal(this:GetName().."UndercutText"):SetText(_AUCT('UiMinimumUndercutLabel')); |
||
655 | getglobal(this:GetName().."SearchButton"):SetText(_AUCT('UiSearch')); |
||
656 | </OnLoad> |
||
657 | </Scripts> |
||
658 | </Frame> |
||
659 | |||
660 | <!-- Plain Search Frame --> |
||
661 | <Frame name="$parentPlain" inherits="SearchParametersTemplate"> |
||
662 | <Layers> |
||
663 | <Layer level="ARTWORK"> |
||
664 | <FontString name="$parentMaxPriceText" inherits="GameFontHighlightSmall"> |
||
665 | <Anchors> |
||
666 | <Anchor point="TOPLEFT"> |
||
667 | <Offset> |
||
668 | <AbsDimension x="0" y="0"/> |
||
669 | </Offset> |
||
670 | </Anchor> |
||
671 | </Anchors> |
||
672 | </FontString> |
||
673 | <FontString name="$parentCategoryText" inherits="GameFontHighlightSmall"> |
||
674 | <Anchors> |
||
675 | <Anchor point="TOPLEFT" relativeTo="$parentMaxPriceText"> |
||
676 | <Offset> |
||
677 | <AbsDimension x="0" y="-38"/> |
||
678 | </Offset> |
||
679 | </Anchor> |
||
680 | </Anchors> |
||
681 | </FontString> |
||
682 | <FontString name="$parentMinQualityText" inherits="GameFontHighlightSmall"> |
||
683 | <Anchors> |
||
684 | <Anchor point="TOPLEFT" relativeTo="$parentCategoryText"> |
||
685 | <Offset> |
||
686 | <AbsDimension x="0" y="-42"/> |
||
687 | </Offset> |
||
688 | </Anchor> |
||
689 | </Anchors> |
||
690 | </FontString> |
||
691 | <FontString name="$parentSearchText" inherits="GameFontHighlightSmall"> |
||
692 | <Anchors> |
||
693 | <Anchor point="TOPLEFT" relativeTo="$parentMinQualityText"> |
||
694 | <Offset> |
||
695 | <AbsDimension x="0" y="-42"/> |
||
696 | </Offset> |
||
697 | </Anchor> |
||
698 | </Anchors> |
||
699 | </FontString> |
||
700 | </Layer> |
||
701 | </Layers> |
||
702 | <Frames> |
||
703 | <Frame name="$parentMaxPrice" inherits="AuctioneerMoneyInputFrameTemplate"> |
||
704 | <Anchors> |
||
705 | <Anchor point="TOPLEFT" relativeTo="$parentMaxPriceText" relativePoint="BOTTOMLEFT"> |
||
706 | <Offset> |
||
707 | <AbsDimension x="3" y="-2"/> |
||
708 | </Offset> |
||
709 | </Anchor> |
||
710 | </Anchors> |
||
711 | <Scripts> |
||
712 | <OnLoad> |
||
713 | MoneyInputFrame_SetCopper(this, 0); |
||
714 | </OnLoad> |
||
715 | </Scripts> |
||
716 | </Frame> |
||
717 | <Frame name="$parentCategoryDropDown" inherits="UIDropDownMenuTemplate"> |
||
718 | <Anchors> |
||
719 | <Anchor point="TOPLEFT" relativeTo="$parentCategoryText" relativePoint="BOTTOMLEFT"> |
||
720 | <Offset> |
||
721 | <AbsDimension x="-20" y="-2"/> |
||
722 | </Offset> |
||
723 | </Anchor> |
||
724 | </Anchors> |
||
725 | <Scripts> |
||
726 | <OnLoad> |
||
727 | UIDropDownMenu_SetWidth(130); |
||
728 | getglobal(this:GetName().."Text"):SetJustifyH("LEFT"); |
||
729 | AuctioneerDropDownMenu_Initialize(this, AuctionFrameSearch_CategoryDropDown_Initialize); |
||
730 | AuctioneerDropDownMenu_SetSelectedID(this, 1); |
||
731 | </OnLoad> |
||
732 | </Scripts> |
||
733 | </Frame> |
||
734 | <Frame name="$parentMinQualityDropDown" inherits="UIDropDownMenuTemplate"> |
||
735 | <Anchors> |
||
736 | <Anchor point="TOPLEFT" relativeTo="$parentMinQualityText" relativePoint="BOTTOMLEFT"> |
||
737 | <Offset> |
||
738 | <AbsDimension x="-20" y="-2"/> |
||
739 | </Offset> |
||
740 | </Anchor> |
||
741 | </Anchors> |
||
742 | <Scripts> |
||
743 | <OnLoad> |
||
744 | UIDropDownMenu_SetWidth(130); |
||
745 | getglobal(this:GetName().."Text"):SetJustifyH("LEFT"); |
||
746 | AuctioneerDropDownMenu_Initialize(this, AuctionFrameSearch_MinQualityDropDown_Initialize); |
||
747 | AuctioneerDropDownMenu_SetSelectedID(this, 1); |
||
748 | </OnLoad> |
||
749 | </Scripts> |
||
750 | </Frame> |
||
751 | <EditBox name="$parentSearchEdit" autoFocus="false" inherits="InputBoxTemplate"> |
||
752 | <Size> |
||
753 | <AbsDimension x="140" y="16"/> |
||
754 | </Size> |
||
755 | <Anchors> |
||
756 | <Anchor point="TOPLEFT" relativeTo="$parentSearchText" relativePoint="BOTTOMLEFT"> |
||
757 | <Offset> |
||
758 | <AbsDimension x="5" y="-2"/> |
||
759 | </Offset> |
||
760 | </Anchor> |
||
761 | </Anchors> |
||
762 | <Scripts> |
||
763 | <OnTabPressed> |
||
764 | getglobal(this:GetParent():GetName().."BidMinProfitGold"):SetFocus(); |
||
765 | </OnTabPressed> |
||
766 | <OnEnterPressed> |
||
767 | AuctionFrameSearchPlain_SearchButton_OnClick(this); |
||
768 | </OnEnterPressed> |
||
769 | </Scripts> |
||
770 | </EditBox> |
||
771 | <Button name="$parentSearchButton" inherits="UIPanelButtonTemplate"> |
||
772 | <Size> |
||
773 | <AbsDimension x="120" y="22"/> |
||
774 | </Size> |
||
775 | <Anchors> |
||
776 | <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT"> |
||
777 | <Offset> |
||
778 | <AbsDimension x="13" y="10"/> |
||
779 | </Offset> |
||
780 | </Anchor> |
||
781 | </Anchors> |
||
782 | <Scripts> |
||
783 | <OnClick> |
||
784 | AuctionFrameSearchPlain_SearchButton_OnClick(this); |
||
785 | </OnClick> |
||
786 | </Scripts> |
||
787 | </Button> |
||
788 | </Frames> |
||
789 | <Scripts> |
||
790 | <OnLoad> |
||
791 | getglobal(this:GetName().."MaxPriceText"):SetText(_AUCT('UiMaximumPriceLabel')); |
||
792 | getglobal(this:GetName().."SearchButton"):SetText(_AUCT('UiSearch')); |
||
793 | getglobal(this:GetName().."CategoryText"):SetText(_AUCT('UiCategoryLabel')); |
||
794 | getglobal(this:GetName().."MinQualityText"):SetText(_AUCT('UiMinimumQualityLabel')); |
||
795 | getglobal(this:GetName().."SearchText"):SetText(_AUCT('UiSearchForLabel')); |
||
796 | </OnLoad> |
||
797 | </Scripts> |
||
798 | </Frame> |
||
799 | |||
800 | <!-- Results List --> |
||
801 | <Frame name="$parentList" inherits="ListTemplate"> |
||
802 | <Anchors> |
||
803 | <Anchor point="TOPLEFT"> |
||
804 | <Offset> |
||
805 | <AbsDimension x="187" y="-77"/> |
||
806 | </Offset> |
||
807 | </Anchor> |
||
808 | </Anchors> |
||
809 | <Size> |
||
810 | <AbsDimension x="610" y="334"/> |
||
811 | </Size> |
||
812 | <Frames> |
||
813 | <Button name="$parentItem1" inherits="SearchListItemTemplate" id="1"> |
||
814 | <Anchors> |
||
815 | <Anchor point="TOPLEFT" relativeTo="$parentColumn1Sort" relativePoint="BOTTOMLEFT"> |
||
816 | <Offset> |
||
817 | <AbsDimension x="4" y="-4"/> |
||
818 | </Offset> |
||
819 | </Anchor> |
||
820 | </Anchors> |
||
821 | </Button> |
||
822 | <Button name="$parentItem2" inherits="SearchListItemTemplate" id="2"> |
||
823 | <Anchors> |
||
824 | <Anchor point="TOPLEFT" relativeTo="$parentItem1" relativePoint="BOTTOMLEFT"> |
||
825 | <Offset> |
||
826 | <AbsDimension x="0" y="0"/> |
||
827 | </Offset> |
||
828 | </Anchor> |
||
829 | </Anchors> |
||
830 | </Button> |
||
831 | <Button name="$parentItem3" inherits="SearchListItemTemplate" id="3"> |
||
832 | <Anchors> |
||
833 | <Anchor point="TOPLEFT" relativeTo="$parentItem2" relativePoint="BOTTOMLEFT"> |
||
834 | <Offset> |
||
835 | <AbsDimension x="0" y="0"/> |
||
836 | </Offset> |
||
837 | </Anchor> |
||
838 | </Anchors> |
||
839 | </Button> |
||
840 | <Button name="$parentItem4" inherits="SearchListItemTemplate" id="4"> |
||
841 | <Anchors> |
||
842 | <Anchor point="TOPLEFT" relativeTo="$parentItem3" relativePoint="BOTTOMLEFT"> |
||
843 | <Offset> |
||
844 | <AbsDimension x="0" y="0"/> |
||
845 | </Offset> |
||
846 | </Anchor> |
||
847 | </Anchors> |
||
848 | </Button> |
||
849 | <Button name="$parentItem5" inherits="SearchListItemTemplate" id="5"> |
||
850 | <Anchors> |
||
851 | <Anchor point="TOPLEFT" relativeTo="$parentItem4" relativePoint="BOTTOMLEFT"> |
||
852 | <Offset> |
||
853 | <AbsDimension x="0" y="0"/> |
||
854 | </Offset> |
||
855 | </Anchor> |
||
856 | </Anchors> |
||
857 | </Button> |
||
858 | <Button name="$parentItem6" inherits="SearchListItemTemplate" id="6"> |
||
859 | <Anchors> |
||
860 | <Anchor point="TOPLEFT" relativeTo="$parentItem5" relativePoint="BOTTOMLEFT"> |
||
861 | <Offset> |
||
862 | <AbsDimension x="0" y="0"/> |
||
863 | </Offset> |
||
864 | </Anchor> |
||
865 | </Anchors> |
||
866 | </Button> |
||
867 | <Button name="$parentItem7" inherits="SearchListItemTemplate" id="7"> |
||
868 | <Anchors> |
||
869 | <Anchor point="TOPLEFT" relativeTo="$parentItem6" relativePoint="BOTTOMLEFT"> |
||
870 | <Offset> |
||
871 | <AbsDimension x="0" y="0"/> |
||
872 | </Offset> |
||
873 | </Anchor> |
||
874 | </Anchors> |
||
875 | </Button> |
||
876 | <Button name="$parentItem8" inherits="SearchListItemTemplate" id="8"> |
||
877 | <Anchors> |
||
878 | <Anchor point="TOPLEFT" relativeTo="$parentItem7" relativePoint="BOTTOMLEFT"> |
||
879 | <Offset> |
||
880 | <AbsDimension x="0" y="0"/> |
||
881 | </Offset> |
||
882 | </Anchor> |
||
883 | </Anchors> |
||
884 | </Button> |
||
885 | <Button name="$parentItem9" inherits="SearchListItemTemplate" id="9"> |
||
886 | <Anchors> |
||
887 | <Anchor point="TOPLEFT" relativeTo="$parentItem8" relativePoint="BOTTOMLEFT"> |
||
888 | <Offset> |
||
889 | <AbsDimension x="0" y="0"/> |
||
890 | </Offset> |
||
891 | </Anchor> |
||
892 | </Anchors> |
||
893 | </Button> |
||
894 | <Button name="$parentItem10" inherits="SearchListItemTemplate" id="10"> |
||
895 | <Anchors> |
||
896 | <Anchor point="TOPLEFT" relativeTo="$parentItem9" relativePoint="BOTTOMLEFT"> |
||
897 | <Offset> |
||
898 | <AbsDimension x="0" y="0"/> |
||
899 | </Offset> |
||
900 | </Anchor> |
||
901 | </Anchors> |
||
902 | </Button> |
||
903 | <Button name="$parentItem11" inherits="SearchListItemTemplate" id="11"> |
||
904 | <Anchors> |
||
905 | <Anchor point="TOPLEFT" relativeTo="$parentItem10" relativePoint="BOTTOMLEFT"> |
||
906 | <Offset> |
||
907 | <AbsDimension x="0" y="0"/> |
||
908 | </Offset> |
||
909 | </Anchor> |
||
910 | </Anchors> |
||
911 | </Button> |
||
912 | <Button name="$parentItem12" inherits="SearchListItemTemplate" id="12"> |
||
913 | <Anchors> |
||
914 | <Anchor point="TOPLEFT" relativeTo="$parentItem11" relativePoint="BOTTOMLEFT"> |
||
915 | <Offset> |
||
916 | <AbsDimension x="0" y="0"/> |
||
917 | </Offset> |
||
918 | </Anchor> |
||
919 | </Anchors> |
||
920 | </Button> |
||
921 | <Button name="$parentItem13" inherits="SearchListItemTemplate" id="13"> |
||
922 | <Anchors> |
||
923 | <Anchor point="TOPLEFT" relativeTo="$parentItem12" relativePoint="BOTTOMLEFT"> |
||
924 | <Offset> |
||
925 | <AbsDimension x="0" y="0"/> |
||
926 | </Offset> |
||
927 | </Anchor> |
||
928 | </Anchors> |
||
929 | </Button> |
||
930 | <Button name="$parentItem14" inherits="SearchListItemTemplate" id="14"> |
||
931 | <Anchors> |
||
932 | <Anchor point="TOPLEFT" relativeTo="$parentItem13" relativePoint="BOTTOMLEFT"> |
||
933 | <Offset> |
||
934 | <AbsDimension x="0" y="0"/> |
||
935 | </Offset> |
||
936 | </Anchor> |
||
937 | </Anchors> |
||
938 | </Button> |
||
939 | <Button name="$parentItem15" inherits="SearchListItemTemplate" id="15"> |
||
940 | <Anchors> |
||
941 | <Anchor point="TOPLEFT" relativeTo="$parentItem14" relativePoint="BOTTOMLEFT"> |
||
942 | <Offset> |
||
943 | <AbsDimension x="0" y="0"/> |
||
944 | </Offset> |
||
945 | </Anchor> |
||
946 | </Anchors> |
||
947 | </Button> |
||
948 | <Button name="$parentItem16" inherits="SearchListItemTemplate" id="16"> |
||
949 | <Anchors> |
||
950 | <Anchor point="TOPLEFT" relativeTo="$parentItem15" relativePoint="BOTTOMLEFT"> |
||
951 | <Offset> |
||
952 | <AbsDimension x="0" y="0"/> |
||
953 | </Offset> |
||
954 | </Anchor> |
||
955 | </Anchors> |
||
956 | </Button> |
||
957 | <Button name="$parentItem17" inherits="SearchListItemTemplate" id="17"> |
||
958 | <Anchors> |
||
959 | <Anchor point="TOPLEFT" relativeTo="$parentItem16" relativePoint="BOTTOMLEFT"> |
||
960 | <Offset> |
||
961 | <AbsDimension x="0" y="0"/> |
||
962 | </Offset> |
||
963 | </Anchor> |
||
964 | </Anchors> |
||
965 | </Button> |
||
966 | <Button name="$parentItem18" inherits="SearchListItemTemplate" id="18"> |
||
967 | <Anchors> |
||
968 | <Anchor point="TOPLEFT" relativeTo="$parentItem17" relativePoint="BOTTOMLEFT"> |
||
969 | <Offset> |
||
970 | <AbsDimension x="0" y="0"/> |
||
971 | </Offset> |
||
972 | </Anchor> |
||
973 | </Anchors> |
||
974 | </Button> |
||
975 | <Button name="$parentItem19" inherits="SearchListItemTemplate" id="19"> |
||
976 | <Anchors> |
||
977 | <Anchor point="TOPLEFT" relativeTo="$parentItem18" relativePoint="BOTTOMLEFT"> |
||
978 | <Offset> |
||
979 | <AbsDimension x="0" y="0"/> |
||
980 | </Offset> |
||
981 | </Anchor> |
||
982 | </Anchors> |
||
983 | </Button> |
||
984 | </Frames> |
||
985 | </Frame> |
||
986 | <Button name="$parentBuyoutButton" inherits="UIPanelButtonTemplate"> |
||
987 | <Size> |
||
988 | <AbsDimension x="80" y="22"/> |
||
989 | </Size> |
||
990 | <Anchors> |
||
991 | <Anchor point="RIGHT" relativeTo="$parentCloseButton" relativePoint="LEFT"> |
||
992 | <Offset> |
||
993 | <AbsDimension x="0" y="0"/> |
||
994 | </Offset> |
||
995 | </Anchor> |
||
996 | </Anchors> |
||
997 | <Scripts> |
||
998 | <OnClick> |
||
999 | AuctionFrameSearch_BuyoutButton_OnClick(this); |
||
1000 | </OnClick> |
||
1001 | </Scripts> |
||
1002 | </Button> |
||
1003 | <Button name="$parentBidButton" inherits="UIPanelButtonTemplate"> |
||
1004 | <Size> |
||
1005 | <AbsDimension x="80" y="22"/> |
||
1006 | </Size> |
||
1007 | <Anchors> |
||
1008 | <Anchor point="RIGHT" relativeTo="$parentBuyoutButton" relativePoint="LEFT"> |
||
1009 | <Offset> |
||
1010 | <AbsDimension x="0" y="0"/> |
||
1011 | </Offset> |
||
1012 | </Anchor> |
||
1013 | </Anchors> |
||
1014 | <Scripts> |
||
1015 | <OnClick> |
||
1016 | AuctionFrameSearch_BidButton_OnClick(this); |
||
1017 | </OnClick> |
||
1018 | </Scripts> |
||
1019 | </Button> |
||
1020 | </Frames> |
||
1021 | <Scripts> |
||
1022 | <OnLoad> |
||
1023 | getglobal(this:GetName().."Title"):SetText(_AUCT('UiSearchAuctions')); |
||
1024 | getglobal(this:GetName().."TabText"):SetText(_AUCT('UiSearch')); |
||
1025 | getglobal(this:GetName().."SearchText"):SetText(_AUCT('UiSearchDropDownLabel')); |
||
1026 | getglobal(this:GetName().."BidButton"):SetText(_AUCT('UiBid')); |
||
1027 | getglobal(this:GetName().."BuyoutButton"):SetText(_AUCT('UiBuyout')); |
||
1028 | getglobal(this:GetName().."SavedSearchText"):SetText(_AUCT('UiSavedSearchLabel')); |
||
1029 | getglobal(this:GetName().."SaveSearchButton"):SetText(_AUCT('UiSaveSearchButton')); |
||
1030 | getglobal(this:GetName().."RemoveSearchButton"):SetText(_AUCT('UiRemoveSearchButton')); |
||
1031 | AuctionFrameSearch_OnLoad(); |
||
1032 | </OnLoad> |
||
1033 | <OnShow> |
||
1034 | AuctionFrameSearch_OnShow(); |
||
1035 | </OnShow> |
||
1036 | </Scripts> |
||
1037 | </Frame> |
||
1038 | |||
1039 | <Button name="AuctionFrameTabSearch" inherits="AuctionTabTemplate" hidden="true"> |
||
1040 | <Scripts> |
||
1041 | <OnLoad> |
||
1042 | this:SetText(_AUCT('UiSearchAuctions')); |
||
1043 | </OnLoad> |
||
1044 | </Scripts> |
||
1045 | </Button> |
||
1046 | </Ui> |