vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/"> |
2 | <Script file="BankItems.lua"/> |
||
3 | <Button name="BankItems_ButtonTemplate" inherits="ItemButtonTemplate" virtual="true"> |
||
4 | <Scripts> |
||
5 | <OnEnter> |
||
6 | if ( this:GetParent():GetName() == "BankItems_Frame" ) then |
||
7 | BankItems_Button_OnEnter(); |
||
8 | else |
||
9 | BankItems_BagItem_OnEnter(); |
||
10 | end |
||
11 | </OnEnter> |
||
12 | <OnLeave> |
||
13 | ResetCursor(); |
||
14 | GameTooltip:Hide(); |
||
15 | </OnLeave> |
||
16 | <OnClick> |
||
17 | if ( this:GetParent():GetName() == "BankItems_Frame" ) then |
||
18 | BankItems_Button_OnClick(arg1); |
||
19 | else |
||
20 | BankItems_BagItem_OnClick(arg1); |
||
21 | end |
||
22 | </OnClick> |
||
23 | </Scripts> |
||
24 | </Button> |
||
25 | <Button name="BankItems_BagTemplate" inherits="ItemButtonTemplate" virtual="true"> |
||
26 | <Scripts> |
||
27 | <OnEnter> |
||
28 | BankItems_Bag_OnEnter(); |
||
29 | </OnEnter> |
||
30 | <OnLeave> |
||
31 | GameTooltip:Hide(); |
||
32 | </OnLeave> |
||
33 | <OnClick> |
||
34 | BankItems_Bag_OnClick(this:GetID()); |
||
35 | </OnClick> |
||
36 | <OnLoad> |
||
37 | this.isBag = 1; |
||
38 | </OnLoad> |
||
39 | </Scripts> |
||
40 | <Frames> |
||
41 | <Frame name="$parentHighlightFrame" setAllPoints="true"> |
||
42 | <Layers> |
||
43 | <Layer> |
||
44 | <Texture name="$parentTexture" alphaMode="ADD" file="Interface\Buttons\CheckButtonHilight" setAllPoints="true" hidden="true"/> |
||
45 | </Layer> |
||
46 | </Layers> |
||
47 | </Frame> |
||
48 | </Frames> |
||
49 | </Button> |
||
50 | <Frame name="BankItems_Frame" toplevel="true" movable="true" enableMouse="true" hidden="true" parent="UIParent"> |
||
51 | <Size> |
||
52 | <AbsDimension x="384" y="512"/> |
||
53 | </Size> |
||
54 | <Anchors> |
||
55 | <Anchor point="TOPLEFT"> |
||
56 | <Offset> |
||
57 | <AbsDimension x="50" y="-104"/> |
||
58 | </Offset> |
||
59 | </Anchor> |
||
60 | </Anchors> |
||
61 | <TitleRegion setAllPoints="true"/> |
||
62 | <HitRectInsets> |
||
63 | <AbsInset left="0" right="30" top="0" bottom="70"/> |
||
64 | </HitRectInsets> |
||
65 | <Layers> |
||
66 | <Layer level="BACKGROUND"> |
||
67 | <Texture name="BankItems_Portrait"> |
||
68 | <Size> |
||
69 | <AbsDimension x="58" y="58"/> |
||
70 | </Size> |
||
71 | <Anchors> |
||
72 | <Anchor point="TOPLEFT"> |
||
73 | <Offset> |
||
74 | <AbsDimension x="12" y="-8"/> |
||
75 | </Offset> |
||
76 | </Anchor> |
||
77 | </Anchors> |
||
78 | </Texture> |
||
79 | </Layer> |
||
80 | <Layer level="ARTWORK"> |
||
81 | <Texture file="Interface\BankFrame\UI-BankFrame-TopLeft"> |
||
82 | <Size> |
||
83 | <AbsDimension x="256" y="256"/> |
||
84 | </Size> |
||
85 | <Anchors> |
||
86 | <Anchor point="TOPLEFT"/> |
||
87 | </Anchors> |
||
88 | </Texture> |
||
89 | <Texture file="Interface\BankFrame\UI-BankFrame-TopRight"> |
||
90 | <Size> |
||
91 | <AbsDimension x="128" y="256"/> |
||
92 | </Size> |
||
93 | <Anchors> |
||
94 | <Anchor point="TOPRIGHT"/> |
||
95 | </Anchors> |
||
96 | </Texture> |
||
97 | <Texture file="Interface\BankFrame\UI-BankFrame-BotLeft"> |
||
98 | <Size> |
||
99 | <AbsDimension x="256" y="256"/> |
||
100 | </Size> |
||
101 | <Anchors> |
||
102 | <Anchor point="BOTTOMLEFT"/> |
||
103 | </Anchors> |
||
104 | </Texture> |
||
105 | <Texture file="Interface\BankFrame\UI-BankFrame-BotRight"> |
||
106 | <Size> |
||
107 | <AbsDimension x="128" y="256"/> |
||
108 | </Size> |
||
109 | <Anchors> |
||
110 | <Anchor point="BOTTOMRIGHT"/> |
||
111 | </Anchors> |
||
112 | </Texture> |
||
113 | <FontString name="BankItems_TitleText" inherits="GameFontHighlight" text="Bank Items"> |
||
114 | <Anchors> |
||
115 | <Anchor point="CENTER"> |
||
116 | <Offset> |
||
117 | <AbsDimension x="6" y="230"/> |
||
118 | </Offset> |
||
119 | </Anchor> |
||
120 | </Anchors> |
||
121 | </FontString> |
||
122 | <FontString inherits="GameFontNormal" text="ITEMSLOTTEXT"> |
||
123 | <Anchors> |
||
124 | <Anchor point="CENTER"> |
||
125 | <Offset> |
||
126 | <AbsDimension x="-11" y="195"/> |
||
127 | </Offset> |
||
128 | </Anchor> |
||
129 | </Anchors> |
||
130 | </FontString> |
||
131 | <FontString inherits="GameFontNormal" text="BAGSLOTTEXT"> |
||
132 | <Anchors> |
||
133 | <Anchor point="CENTER"> |
||
134 | <Offset> |
||
135 | <AbsDimension x="-11" y="-5"/> |
||
136 | </Offset> |
||
137 | </Anchor> |
||
138 | </Anchors> |
||
139 | </FontString> |
||
140 | </Layer> |
||
141 | </Layers> |
||
142 | <Frames> |
||
143 | <Button name="BankItems_CloseButton" inherits="UIPanelCloseButton"> |
||
144 | <Anchors> |
||
145 | <Anchor point="CENTER" relativeTo="BankItems_Frame" relativePoint="TOPRIGHT"> |
||
146 | <Offset> |
||
147 | <AbsDimension x="-46" y="-24"/> |
||
148 | </Offset> |
||
149 | </Anchor> |
||
150 | </Anchors> |
||
151 | <Scripts> |
||
152 | <OnClick> |
||
153 | -- HideUIPanel(this:GetParent()); |
||
154 | this:GetParent():Hide(); |
||
155 | </OnClick> |
||
156 | </Scripts> |
||
157 | </Button> |
||
158 | <Button name="BankItems_Item1" inherits="BankItems_ButtonTemplate" id="1"> |
||
159 | <Anchors> |
||
160 | <Anchor point="TOPLEFT"> |
||
161 | <Offset> |
||
162 | <AbsDimension x="40" y="-73"/> |
||
163 | </Offset> |
||
164 | </Anchor> |
||
165 | </Anchors> |
||
166 | </Button> |
||
167 | <Button name="BankItems_Item2" inherits="BankItems_ButtonTemplate" id="2"> |
||
168 | <Anchors> |
||
169 | <Anchor point="TOPLEFT" relativeTo="BankItems_Item1" relativePoint="TOPRIGHT"> |
||
170 | <Offset> |
||
171 | <AbsDimension x="12" y="0"/> |
||
172 | </Offset> |
||
173 | </Anchor> |
||
174 | </Anchors> |
||
175 | </Button> |
||
176 | <Button name="BankItems_Item3" inherits="BankItems_ButtonTemplate" id="3"> |
||
177 | <Anchors> |
||
178 | <Anchor point="TOPLEFT" relativeTo="BankItems_Item2" relativePoint="TOPRIGHT"> |
||
179 | <Offset> |
||
180 | <AbsDimension x="12" y="0"/> |
||
181 | </Offset> |
||
182 | </Anchor> |
||
183 | </Anchors> |
||
184 | </Button> |
||
185 | <Button name="BankItems_Item4" inherits="BankItems_ButtonTemplate" id="4"> |
||
186 | <Anchors> |
||
187 | <Anchor point="TOPLEFT" relativeTo="BankItems_Item3" relativePoint="TOPRIGHT"> |
||
188 | <Offset> |
||
189 | <AbsDimension x="12" y="0"/> |
||
190 | </Offset> |
||
191 | </Anchor> |
||
192 | </Anchors> |
||
193 | </Button> |
||
194 | <Button name="BankItems_Item5" inherits="BankItems_ButtonTemplate" id="5"> |
||
195 | <Anchors> |
||
196 | <Anchor point="TOPLEFT" relativeTo="BankItems_Item4" relativePoint="TOPRIGHT"> |
||
197 | <Offset> |
||
198 | <AbsDimension x="12" y="0"/> |
||
199 | </Offset> |
||
200 | </Anchor> |
||
201 | </Anchors> |
||
202 | </Button> |
||
203 | <Button name="BankItems_Item6" inherits="BankItems_ButtonTemplate" id="6"> |
||
204 | <Anchors> |
||
205 | <Anchor point="TOPLEFT" relativeTo="BankItems_Item5" relativePoint="TOPRIGHT"> |
||
206 | <Offset> |
||
207 | <AbsDimension x="12" y="0"/> |
||
208 | </Offset> |
||
209 | </Anchor> |
||
210 | </Anchors> |
||
211 | </Button> |
||
212 | <Button name="BankItems_Item7" inherits="BankItems_ButtonTemplate" id="7"> |
||
213 | <Anchors> |
||
214 | <Anchor point="TOPLEFT" relativeTo="BankItems_Item1" relativePoint="BOTTOMLEFT"> |
||
215 | <Offset> |
||
216 | <AbsDimension x="0" y="-7"/> |
||
217 | </Offset> |
||
218 | </Anchor> |
||
219 | </Anchors> |
||
220 | </Button> |
||
221 | <Button name="BankItems_Item8" inherits="BankItems_ButtonTemplate" id="8"> |
||
222 | <Anchors> |
||
223 | <Anchor point="TOPLEFT" relativeTo="BankItems_Item7" relativePoint="TOPRIGHT"> |
||
224 | <Offset> |
||
225 | <AbsDimension x="12" y="0"/> |
||
226 | </Offset> |
||
227 | </Anchor> |
||
228 | </Anchors> |
||
229 | </Button> |
||
230 | <Button name="BankItems_Item9" inherits="BankItems_ButtonTemplate" id="9"> |
||
231 | <Anchors> |
||
232 | <Anchor point="TOPLEFT" relativeTo="BankItems_Item8" relativePoint="TOPRIGHT"> |
||
233 | <Offset> |
||
234 | <AbsDimension x="12" y="0"/> |
||
235 | </Offset> |
||
236 | </Anchor> |
||
237 | </Anchors> |
||
238 | </Button> |
||
239 | <Button name="BankItems_Item10" inherits="BankItems_ButtonTemplate" id="10"> |
||
240 | <Anchors> |
||
241 | <Anchor point="TOPLEFT" relativeTo="BankItems_Item9" relativePoint="TOPRIGHT"> |
||
242 | <Offset> |
||
243 | <AbsDimension x="12" y="0"/> |
||
244 | </Offset> |
||
245 | </Anchor> |
||
246 | </Anchors> |
||
247 | </Button> |
||
248 | <Button name="BankItems_Item11" inherits="BankItems_ButtonTemplate" id="11"> |
||
249 | <Anchors> |
||
250 | <Anchor point="TOPLEFT" relativeTo="BankItems_Item10" relativePoint="TOPRIGHT"> |
||
251 | <Offset> |
||
252 | <AbsDimension x="12" y="0"/> |
||
253 | </Offset> |
||
254 | </Anchor> |
||
255 | </Anchors> |
||
256 | </Button> |
||
257 | <Button name="BankItems_Item12" inherits="BankItems_ButtonTemplate" id="12"> |
||
258 | <Anchors> |
||
259 | <Anchor point="TOPLEFT" relativeTo="BankItems_Item11" relativePoint="TOPRIGHT"> |
||
260 | <Offset> |
||
261 | <AbsDimension x="12" y="0"/> |
||
262 | </Offset> |
||
263 | </Anchor> |
||
264 | </Anchors> |
||
265 | </Button> |
||
266 | <Button name="BankItems_Item13" inherits="BankItems_ButtonTemplate" id="13"> |
||
267 | <Anchors> |
||
268 | <Anchor point="TOPLEFT" relativeTo="BankItems_Item7" relativePoint="BOTTOMLEFT"> |
||
269 | <Offset> |
||
270 | <AbsDimension x="0" y="-7"/> |
||
271 | </Offset> |
||
272 | </Anchor> |
||
273 | </Anchors> |
||
274 | </Button> |
||
275 | <Button name="BankItems_Item14" inherits="BankItems_ButtonTemplate" id="14"> |
||
276 | <Anchors> |
||
277 | <Anchor point="TOPLEFT" relativeTo="BankItems_Item13" relativePoint="TOPRIGHT"> |
||
278 | <Offset> |
||
279 | <AbsDimension x="12" y="0"/> |
||
280 | </Offset> |
||
281 | </Anchor> |
||
282 | </Anchors> |
||
283 | </Button> |
||
284 | <Button name="BankItems_Item15" inherits="BankItems_ButtonTemplate" id="15"> |
||
285 | <Anchors> |
||
286 | <Anchor point="TOPLEFT" relativeTo="BankItems_Item14" relativePoint="TOPRIGHT"> |
||
287 | <Offset> |
||
288 | <AbsDimension x="12" y="0"/> |
||
289 | </Offset> |
||
290 | </Anchor> |
||
291 | </Anchors> |
||
292 | </Button> |
||
293 | <Button name="BankItems_Item16" inherits="BankItems_ButtonTemplate" id="16"> |
||
294 | <Anchors> |
||
295 | <Anchor point="TOPLEFT" relativeTo="BankItems_Item15" relativePoint="TOPRIGHT"> |
||
296 | <Offset> |
||
297 | <AbsDimension x="12" y="0"/> |
||
298 | </Offset> |
||
299 | </Anchor> |
||
300 | </Anchors> |
||
301 | </Button> |
||
302 | <Button name="BankItems_Item17" inherits="BankItems_ButtonTemplate" id="17"> |
||
303 | <Anchors> |
||
304 | <Anchor point="TOPLEFT" relativeTo="BankItems_Item16" relativePoint="TOPRIGHT"> |
||
305 | <Offset> |
||
306 | <AbsDimension x="12" y="0"/> |
||
307 | </Offset> |
||
308 | </Anchor> |
||
309 | </Anchors> |
||
310 | </Button> |
||
311 | <Button name="BankItems_Item18" inherits="BankItems_ButtonTemplate" id="18"> |
||
312 | <Anchors> |
||
313 | <Anchor point="TOPLEFT" relativeTo="BankItems_Item17" relativePoint="TOPRIGHT"> |
||
314 | <Offset> |
||
315 | <AbsDimension x="12" y="0"/> |
||
316 | </Offset> |
||
317 | </Anchor> |
||
318 | </Anchors> |
||
319 | </Button> |
||
320 | <Button name="BankItems_Item19" inherits="BankItems_ButtonTemplate" id="19"> |
||
321 | <Anchors> |
||
322 | <Anchor point="TOPLEFT" relativeTo="BankItems_Item13" relativePoint="BOTTOMLEFT"> |
||
323 | <Offset> |
||
324 | <AbsDimension x="0" y="-7"/> |
||
325 | </Offset> |
||
326 | </Anchor> |
||
327 | </Anchors> |
||
328 | </Button> |
||
329 | <Button name="BankItems_Item20" inherits="BankItems_ButtonTemplate" id="20"> |
||
330 | <Anchors> |
||
331 | <Anchor point="TOPLEFT" relativeTo="BankItems_Item19" relativePoint="TOPRIGHT"> |
||
332 | <Offset> |
||
333 | <AbsDimension x="12" y="0"/> |
||
334 | </Offset> |
||
335 | </Anchor> |
||
336 | </Anchors> |
||
337 | </Button> |
||
338 | <Button name="BankItems_Item21" inherits="BankItems_ButtonTemplate" id="21"> |
||
339 | <Anchors> |
||
340 | <Anchor point="TOPLEFT" relativeTo="BankItems_Item20" relativePoint="TOPRIGHT"> |
||
341 | <Offset> |
||
342 | <AbsDimension x="12" y="0"/> |
||
343 | </Offset> |
||
344 | </Anchor> |
||
345 | </Anchors> |
||
346 | </Button> |
||
347 | <Button name="BankItems_Item22" inherits="BankItems_ButtonTemplate" id="22"> |
||
348 | <Anchors> |
||
349 | <Anchor point="TOPLEFT" relativeTo="BankItems_Item21" relativePoint="TOPRIGHT"> |
||
350 | <Offset> |
||
351 | <AbsDimension x="12" y="0"/> |
||
352 | </Offset> |
||
353 | </Anchor> |
||
354 | </Anchors> |
||
355 | </Button> |
||
356 | <Button name="BankItems_Item23" inherits="BankItems_ButtonTemplate" id="23"> |
||
357 | <Anchors> |
||
358 | <Anchor point="TOPLEFT" relativeTo="BankItems_Item22" relativePoint="TOPRIGHT"> |
||
359 | <Offset> |
||
360 | <AbsDimension x="12" y="0"/> |
||
361 | </Offset> |
||
362 | </Anchor> |
||
363 | </Anchors> |
||
364 | </Button> |
||
365 | <Button name="BankItems_Item24" inherits="BankItems_ButtonTemplate" id="24"> |
||
366 | <Anchors> |
||
367 | <Anchor point="TOPLEFT" relativeTo="BankItems_Item23" relativePoint="TOPRIGHT"> |
||
368 | <Offset> |
||
369 | <AbsDimension x="12" y="0"/> |
||
370 | </Offset> |
||
371 | </Anchor> |
||
372 | </Anchors> |
||
373 | </Button> |
||
374 | <!-- Extra Bank Bag Slots --> |
||
375 | <Button name="BankItems_Bag1" inherits="BankItems_BagTemplate" id="5"> |
||
376 | <Anchors> |
||
377 | <Anchor point="TOPLEFT" relativeTo="BankItems_Item19" relativePoint="BOTTOMLEFT"> |
||
378 | <Offset> |
||
379 | <AbsDimension x="0" y="-32"/> |
||
380 | </Offset> |
||
381 | </Anchor> |
||
382 | </Anchors> |
||
383 | </Button> |
||
384 | <Button name="BankItems_Bag2" inherits="BankItems_BagTemplate" id="6"> |
||
385 | <Anchors> |
||
386 | <Anchor point="TOPLEFT" relativeTo="BankItems_Bag1" relativePoint="TOPRIGHT"> |
||
387 | <Offset> |
||
388 | <AbsDimension x="12" y="0"/> |
||
389 | </Offset> |
||
390 | </Anchor> |
||
391 | </Anchors> |
||
392 | </Button> |
||
393 | <Button name="BankItems_Bag3" inherits="BankItems_BagTemplate" id="7"> |
||
394 | <Anchors> |
||
395 | <Anchor point="TOPLEFT" relativeTo="BankItems_Bag2" relativePoint="TOPRIGHT"> |
||
396 | <Offset> |
||
397 | <AbsDimension x="12" y="0"/> |
||
398 | </Offset> |
||
399 | </Anchor> |
||
400 | </Anchors> |
||
401 | </Button> |
||
402 | <Button name="BankItems_Bag4" inherits="BankItems_BagTemplate" id="8"> |
||
403 | <Anchors> |
||
404 | <Anchor point="TOPLEFT" relativeTo="BankItems_Bag3" relativePoint="TOPRIGHT"> |
||
405 | <Offset> |
||
406 | <AbsDimension x="12" y="0"/> |
||
407 | </Offset> |
||
408 | </Anchor> |
||
409 | </Anchors> |
||
410 | </Button> |
||
411 | <Button name="BankItems_Bag5" inherits="BankItems_BagTemplate" id="9"> |
||
412 | <Anchors> |
||
413 | <Anchor point="TOPLEFT" relativeTo="BankItems_Bag4" relativePoint="TOPRIGHT"> |
||
414 | <Offset> |
||
415 | <AbsDimension x="12" y="0"/> |
||
416 | </Offset> |
||
417 | </Anchor> |
||
418 | </Anchors> |
||
419 | </Button> |
||
420 | <Button name="BankItems_Bag6" inherits="BankItems_BagTemplate" id="10"> |
||
421 | <Anchors> |
||
422 | <Anchor point="TOPLEFT" relativeTo="BankItems_Bag5" relativePoint="TOPRIGHT"> |
||
423 | <Offset> |
||
424 | <AbsDimension x="12" y="0"/> |
||
425 | </Offset> |
||
426 | </Anchor> |
||
427 | </Anchors> |
||
428 | </Button> |
||
429 | <Frame name="BankItems_FrameInfo" hidden="false"> |
||
430 | <Size> |
||
431 | <AbsDimension x="300" y="72"/> |
||
432 | </Size> |
||
433 | <Anchors> |
||
434 | <Anchor point="CENTER" relativeTo="BankItems_Frame" relativePoint="CENTER"> |
||
435 | <Offset> |
||
436 | <AbsDimension x="-15" y="-100"/> |
||
437 | </Offset> |
||
438 | </Anchor> |
||
439 | </Anchors> |
||
440 | <Layers> |
||
441 | <Layer level="BACKGROUND"> |
||
442 | <FontString inherits="GameFontHighlight" text="BANKITEMS_VERSIONTEXT" justifyH="LEFT"> |
||
443 | <Size> |
||
444 | <AbsDimension x="280" y="0"/> |
||
445 | </Size> |
||
446 | <Anchors> |
||
447 | <Anchor point="CENTER"> |
||
448 | <Offset> |
||
449 | <AbsDimension x="10" y="20"/> |
||
450 | </Offset> |
||
451 | </Anchor> |
||
452 | </Anchors> |
||
453 | </FontString> |
||
454 | </Layer> |
||
455 | </Layers> |
||
456 | </Frame> |
||
457 | <Frame name="BankItems_UserDropdown" inherits="UIDropDownMenuTemplate" enableMouse="true"> |
||
458 | <Anchors> |
||
459 | <Anchor point="TOPRIGHT" relativeTo="BankItems_Frame" relativePoint="BOTTOMRIGHT"> |
||
460 | <Offset> |
||
461 | <AbsDimension x="-50" y="155"/> |
||
462 | </Offset> |
||
463 | </Anchor> |
||
464 | </Anchors> |
||
465 | <Layers> |
||
466 | <Layer level="BACKGROUND"> |
||
467 | <FontString name="$parentLabel" inherits="GameFontNormalSmall" text="Select Player's Bank to Show"> |
||
468 | <Anchors> |
||
469 | <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"> |
||
470 | <Offset> |
||
471 | <AbsDimension x="21" y="0"/> |
||
472 | </Offset> |
||
473 | </Anchor> |
||
474 | </Anchors> |
||
475 | </FontString> |
||
476 | </Layer> |
||
477 | </Layers> |
||
478 | <Scripts> |
||
479 | <OnShow> |
||
480 | BankItems_UserDropdown_OnLoad(); |
||
481 | </OnShow> |
||
482 | <OnEnter> |
||
483 | GameTooltip:SetOwner(this, "ANCHOR_TOPRIGHT"); |
||
484 | GameTooltip:SetText(this.tooltip, nil, nil, nil, nil, 1); |
||
485 | </OnEnter> |
||
486 | <OnLeave> |
||
487 | GameTooltip:Hide(); |
||
488 | </OnLeave> |
||
489 | </Scripts> |
||
490 | </Frame> |
||
491 | <CheckButton name="BankItems_ShowAllRealms_Check" inherits="UICheckButtonTemplate"> |
||
492 | <Anchors> |
||
493 | <Anchor point="BOTTOMLEFT"> |
||
494 | <Offset> |
||
495 | <AbsDimension x="30" y="127"/> |
||
496 | </Offset> |
||
497 | </Anchor> |
||
498 | </Anchors> |
||
499 | <HitRectInsets> |
||
500 | <AbsInset left="0" right="-100" top="0" bottom="0"/> |
||
501 | </HitRectInsets> |
||
502 | <Scripts> |
||
503 | <OnLoad> |
||
504 | BankItems_ShowAllRealms_CheckOnLoad(); |
||
505 | </OnLoad> |
||
506 | <OnClick> |
||
507 | if ( this:GetChecked() ) then |
||
508 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
509 | else |
||
510 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
511 | end |
||
512 | BankItems_ShowAllRealms_CheckOnClick(); |
||
513 | </OnClick> |
||
514 | <OnEnter> |
||
515 | if ( this.tooltipText ) then |
||
516 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
517 | GameTooltip:SetText(this.tooltipText, nil, nil, nil, nil, 1); |
||
518 | end |
||
519 | </OnEnter> |
||
520 | <OnLeave> |
||
521 | GameTooltip:Hide(); |
||
522 | </OnLeave> |
||
523 | </Scripts> |
||
524 | </CheckButton> |
||
525 | <!-- Bank Money Frame --> |
||
526 | <Frame name="BankItems_MoneyFrame" inherits="SmallMoneyFrameTemplate" hidden="false"> |
||
527 | <Anchors> |
||
528 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT"> |
||
529 | <Offset> |
||
530 | <AbsDimension x="-38" y="102"/> |
||
531 | </Offset> |
||
532 | </Anchor> |
||
533 | </Anchors> |
||
534 | <Scripts> |
||
535 | <OnLoad> |
||
536 | this.small = 1; |
||
537 | this.moneyType = "PLAYER"; |
||
538 | this.info = { |
||
539 | collapse = 1, |
||
540 | showSmallerCoins = "Backpack"}; |
||
541 | </OnLoad> |
||
542 | <OnShow> |
||
543 | -- Do nothing override |
||
544 | </OnShow> |
||
545 | </Scripts> |
||
546 | </Frame> |
||
547 | <Frame name="BankItems_MoneyFrameTotal" inherits="SmallMoneyFrameTemplate" hidden="false"> |
||
548 | <Anchors> |
||
549 | <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT"> |
||
550 | <Offset> |
||
551 | <AbsDimension x="38" y="102"/> |
||
552 | </Offset> |
||
553 | </Anchor> |
||
554 | </Anchors> |
||
555 | <Layers> |
||
556 | <Layer level="BACKGROUND"> |
||
557 | <FontString name="BankItems_TotalMoneyText" inherits="GameFontHighlightSmall" text="(total)" justifyH="LEFT"/> |
||
558 | </Layer> |
||
559 | </Layers> |
||
560 | <Scripts> |
||
561 | <OnLoad> |
||
562 | this.small = 1; |
||
563 | this.moneyType = "PLAYER"; |
||
564 | this.info = { |
||
565 | collapse = 1, |
||
566 | showSmallerCoins = "Backpack"}; |
||
567 | </OnLoad> |
||
568 | <OnShow> |
||
569 | -- Do nothing override |
||
570 | </OnShow> |
||
571 | </Scripts> |
||
572 | </Frame> |
||
573 | </Frames> |
||
574 | <Scripts> |
||
575 | <OnShow> |
||
576 | BankItems_Frame_OnShow(); |
||
577 | </OnShow> |
||
578 | <OnHide> |
||
579 | BankItems_Frame_OnHide(); |
||
580 | </OnHide> |
||
581 | <OnLoad> |
||
582 | BankItems_OnLoad(); |
||
583 | </OnLoad> |
||
584 | <OnEvent> |
||
585 | BankItems_OnEvent(event); |
||
586 | </OnEvent> |
||
587 | </Scripts> |
||
588 | </Frame> |
||
589 | <Frame name="BankItems_ContainerFrameTemplate" frameStrata="LOW" toplevel="true" movable="true" enableMouse="true" hidden="true" virtual="true"> |
||
590 | <Size> |
||
591 | <AbsDimension x="256" y="256"/> |
||
592 | </Size> |
||
593 | <TitleRegion setAllPoints="true"/> |
||
594 | <Layers> |
||
595 | <Layer level="BACKGROUND"> |
||
596 | <Texture name="$parentPortrait"> |
||
597 | <Size> |
||
598 | <AbsDimension x="40" y="40"/> |
||
599 | </Size> |
||
600 | <Anchors> |
||
601 | <Anchor point="TOPLEFT"> |
||
602 | <Offset> |
||
603 | <AbsDimension x="7" y="-5"/> |
||
604 | </Offset> |
||
605 | </Anchor> |
||
606 | </Anchors> |
||
607 | </Texture> |
||
608 | </Layer> |
||
609 | <Layer level="ARTWORK"> |
||
610 | <Texture name="$parentBackgroundTexture" file="Interface\ContainerFrame\UI-BackpackBackground"> |
||
611 | <Size> |
||
612 | <AbsDimension x="256" y="256"/> |
||
613 | </Size> |
||
614 | <Anchors> |
||
615 | <Anchor point="TOPRIGHT" relativeTo="$parent"> |
||
616 | <Offset> |
||
617 | <AbsDimension x="0" y="0"/> |
||
618 | </Offset> |
||
619 | </Anchor> |
||
620 | </Anchors> |
||
621 | </Texture> |
||
622 | <FontString name="$parentName" inherits="GameFontHighlight"> |
||
623 | <Size> |
||
624 | <AbsDimension x="112" y="12"/> |
||
625 | </Size> |
||
626 | <Anchors> |
||
627 | <Anchor point="TOPLEFT"> |
||
628 | <Offset> |
||
629 | <AbsDimension x="47" y="-10"/> |
||
630 | </Offset> |
||
631 | </Anchor> |
||
632 | </Anchors> |
||
633 | </FontString> |
||
634 | </Layer> |
||
635 | </Layers> |
||
636 | <Frames> |
||
637 | <Button name="$parentItem1" inherits="BankItems_ButtonTemplate" id="1"/> |
||
638 | <Button name="$parentItem2" inherits="BankItems_ButtonTemplate" id="2"/> |
||
639 | <Button name="$parentItem3" inherits="BankItems_ButtonTemplate" id="3"/> |
||
640 | <Button name="$parentItem4" inherits="BankItems_ButtonTemplate" id="4"/> |
||
641 | <Button name="$parentItem5" inherits="BankItems_ButtonTemplate" id="5"/> |
||
642 | <Button name="$parentItem6" inherits="BankItems_ButtonTemplate" id="6"/> |
||
643 | <Button name="$parentItem7" inherits="BankItems_ButtonTemplate" id="7"/> |
||
644 | <Button name="$parentItem8" inherits="BankItems_ButtonTemplate" id="8"/> |
||
645 | <Button name="$parentItem9" inherits="BankItems_ButtonTemplate" id="9"/> |
||
646 | <Button name="$parentItem10" inherits="BankItems_ButtonTemplate" id="10"/> |
||
647 | <Button name="$parentItem11" inherits="BankItems_ButtonTemplate" id="11"/> |
||
648 | <Button name="$parentItem12" inherits="BankItems_ButtonTemplate" id="12"/> |
||
649 | <Button name="$parentItem13" inherits="BankItems_ButtonTemplate" id="13"/> |
||
650 | <Button name="$parentItem14" inherits="BankItems_ButtonTemplate" id="14"/> |
||
651 | <Button name="$parentItem15" inherits="BankItems_ButtonTemplate" id="15"/> |
||
652 | <Button name="$parentItem16" inherits="BankItems_ButtonTemplate" id="16"/> |
||
653 | <Button name="$parentItem17" inherits="BankItems_ButtonTemplate" id="17"/> |
||
654 | <Button name="$parentItem18" inherits="BankItems_ButtonTemplate" id="18"/> |
||
655 | <Button name="$parentItem19" inherits="BankItems_ButtonTemplate" id="19"/> |
||
656 | <Button name="$parentItem20" inherits="BankItems_ButtonTemplate" id="20"/> |
||
657 | <Button name="$parentPortraitButton"> |
||
658 | <Size> |
||
659 | <AbsDimension x="40" y="40"/> |
||
660 | </Size> |
||
661 | <Anchors> |
||
662 | <Anchor point="TOPLEFT"> |
||
663 | <Offset> |
||
664 | <AbsDimension x="7" y="-5"/> |
||
665 | </Offset> |
||
666 | </Anchor> |
||
667 | </Anchors> |
||
668 | </Button> |
||
669 | <Button name="$parentCloseButton" inherits="UIPanelCloseButton"> |
||
670 | <Anchors> |
||
671 | <Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT"> |
||
672 | <Offset> |
||
673 | <AbsDimension x="0" y="-2"/> |
||
674 | </Offset> |
||
675 | </Anchor> |
||
676 | </Anchors> |
||
677 | <Scripts> |
||
678 | <OnClick> |
||
679 | this:GetParent():Hide(); |
||
680 | </OnClick> |
||
681 | </Scripts> |
||
682 | </Button> |
||
683 | </Frames> |
||
684 | <Scripts> |
||
685 | <OnShow> |
||
686 | BankItems_Bag_OnShow(); |
||
687 | </OnShow> |
||
688 | <OnHide> |
||
689 | BankItems_Bag_OnHide(); |
||
690 | </OnHide> |
||
691 | </Scripts> |
||
692 | </Frame> |
||
693 | <Frame name="BankItems_ContainerFrame1" inherits="BankItems_ContainerFrameTemplate" parent="UIParent" id="5" hidden="true"> |
||
694 | <Anchors> |
||
695 | <Anchor point="TOPLEFT" relativeTo="BankItems_Frame" relativePoint="TOPRIGHT"> |
||
696 | <Offset> |
||
697 | <AbsDimension x="0" y="0"/> |
||
698 | </Offset> |
||
699 | </Anchor> |
||
700 | </Anchors> |
||
701 | </Frame> |
||
702 | <Frame name="BankItems_ContainerFrame2" inherits="BankItems_ContainerFrameTemplate" parent="UIParent" id="6" hidden="true"> |
||
703 | <Anchors> |
||
704 | <Anchor point="TOPLEFT" relativeTo="BankItems_Frame" relativePoint="TOPRIGHT"> |
||
705 | <Offset> |
||
706 | <AbsDimension x="0" y="-260"/> |
||
707 | </Offset> |
||
708 | </Anchor> |
||
709 | </Anchors> |
||
710 | </Frame> |
||
711 | <Frame name="BankItems_ContainerFrame3" inherits="BankItems_ContainerFrameTemplate" parent="UIParent" id="7" hidden="true"> |
||
712 | <Anchors> |
||
713 | <Anchor point="TOPLEFT" relativeTo="BankItems_Frame" relativePoint="TOPRIGHT"> |
||
714 | <Offset> |
||
715 | <AbsDimension x="0" y="-520"/> |
||
716 | </Offset> |
||
717 | </Anchor> |
||
718 | </Anchors> |
||
719 | </Frame> |
||
720 | <Frame name="BankItems_ContainerFrame4" inherits="BankItems_ContainerFrameTemplate" parent="UIParent" id="8" hidden="true"> |
||
721 | <Anchors> |
||
722 | <Anchor point="TOPLEFT" relativeTo="BankItems_Frame" relativePoint="TOPRIGHT"> |
||
723 | <Offset> |
||
724 | <AbsDimension x="256" y="0"/> |
||
725 | </Offset> |
||
726 | </Anchor> |
||
727 | </Anchors> |
||
728 | </Frame> |
||
729 | <Frame name="BankItems_ContainerFrame5" inherits="BankItems_ContainerFrameTemplate" parent="UIParent" id="9" hidden="true"> |
||
730 | <Anchors> |
||
731 | <Anchor point="TOPLEFT" relativeTo="BankItems_Frame" relativePoint="TOPRIGHT"> |
||
732 | <Offset> |
||
733 | <AbsDimension x="256" y="-260"/> |
||
734 | </Offset> |
||
735 | </Anchor> |
||
736 | </Anchors> |
||
737 | </Frame> |
||
738 | <Frame name="BankItems_ContainerFrame6" inherits="BankItems_ContainerFrameTemplate" parent="UIParent" id="10" hidden="true"> |
||
739 | <Anchors> |
||
740 | <Anchor point="TOPLEFT" relativeTo="BankItems_Frame" relativePoint="TOPRIGHT"> |
||
741 | <Offset> |
||
742 | <AbsDimension x="256" y="-520"/> |
||
743 | </Offset> |
||
744 | </Anchor> |
||
745 | </Anchors> |
||
746 | </Frame> |
||
747 | </Ui> |