vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <Ui |
2 | xmlns = "http://www.blizzard.com/wow/ui/" |
||
3 | xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" |
||
4 | xsi:schemaLocation = "http://www.blizzard.com/wow/ui/ ..\FrameXML\UI.xsd"> |
||
5 | <Script file = "DepositBox.lua"/> |
||
6 | <Frame |
||
7 | name = "DepositBoxUI_Frame" |
||
8 | frameStrata = "HIGH" |
||
9 | toplevel = "true"> |
||
10 | <Frames> |
||
11 | <Button |
||
12 | name = "DepositBoxUI_Main_BlockButton" |
||
13 | movable = "true" |
||
14 | frameStrata = "HIGH" |
||
15 | toplevel = "true" |
||
16 | hidden = "false" |
||
17 | parent = "UIParent" |
||
18 | enableMouse = "true"> |
||
19 | <Size> |
||
20 | <AbsDimension x = "130" y = "32"/> |
||
21 | </Size> |
||
22 | <Anchors> |
||
23 | <Anchor point = "TOPLEFT" relativePoint = "TOPLEFT"></Anchor> |
||
24 | </Anchors> |
||
25 | <Backdrop |
||
26 | name = "$parentBackdrop" |
||
27 | bgFile = "Interface\TutorialFrame\TutorialFrameBackground" |
||
28 | edgeFile = "Interface\DialogFrame\UI-DialogBox-Border" |
||
29 | tile = "true"> |
||
30 | <EdgeSize> |
||
31 | <AbsValue val = "16"/> |
||
32 | </EdgeSize> |
||
33 | <TileSize> |
||
34 | <AbsValue val = "32"/> |
||
35 | </TileSize> |
||
36 | <BackgroundInsets> |
||
37 | <AbsInset |
||
38 | left = "5" |
||
39 | right = "5" |
||
40 | top = "5" |
||
41 | bottom = "5"/> |
||
42 | </BackgroundInsets> |
||
43 | </Backdrop> |
||
44 | <Layers> |
||
45 | <Layer level = "BACKGROUND"> |
||
46 | <FontString |
||
47 | name = "DepositBoxUI_BlockButtonText" |
||
48 | inherits = "GameFontNormal" |
||
49 | nonspacewrap = "true" |
||
50 | text = "Deposit Box"> |
||
51 | <Size> |
||
52 | <AbsDimension x = "90" y = "12"/> |
||
53 | </Size> |
||
54 | <Anchors> |
||
55 | <Anchor point = "CENTER"> |
||
56 | <Offset> |
||
57 | <AbsDimension x = "0" y = "1"/> |
||
58 | </Offset> |
||
59 | </Anchor> |
||
60 | </Anchors> |
||
61 | </FontString> |
||
62 | </Layer> |
||
63 | </Layers> |
||
64 | <Frames> |
||
65 | <Frame name = "DepositBoxUI_Main_MoneyDisplayFrame"> |
||
66 | <Size> |
||
67 | <AbsDimension x = "170" y = "32"/> |
||
68 | </Size> |
||
69 | <Anchors> |
||
70 | <Anchor point = "TOP"> |
||
71 | <Offset> |
||
72 | <AbsDimension x = "-30" y = "1"/> |
||
73 | </Offset> |
||
74 | </Anchor> |
||
75 | </Anchors> |
||
76 | <Frames> |
||
77 | <Button name = "DepositBoxUI_Main_MoneyDisplayCopper"> |
||
78 | <Size> |
||
79 | <AbsDimension x = "32" y = "13"/> |
||
80 | </Size> |
||
81 | <Anchors> |
||
82 | <Anchor point = "RIGHT"> |
||
83 | <Offset> |
||
84 | <AbsDimension x = "-2" y = "0"/> |
||
85 | </Offset> |
||
86 | </Anchor> |
||
87 | </Anchors> |
||
88 | <NormalTexture file = "Interface\MoneyFrame\UI-MoneyIcons"> |
||
89 | <Size> |
||
90 | <AbsDimension x = "13" y = "13"/> |
||
91 | </Size> |
||
92 | <Anchors> |
||
93 | <Anchor point = "RIGHT"/> |
||
94 | </Anchors> |
||
95 | <TexCoords |
||
96 | left = "0.5" |
||
97 | right = "0.75" |
||
98 | top = "0" |
||
99 | bottom = "1"/> |
||
100 | </NormalTexture> |
||
101 | <NormalText |
||
102 | name = "DepositBoxUI_Main_MoneyDisplayCopperText" |
||
103 | inherits = "NumberFontNormal" |
||
104 | justifyH = "LEFT"> |
||
105 | <Anchors> |
||
106 | <Anchor point = "LEFT"> |
||
107 | <Offset> |
||
108 | <AbsDimension x = "1" y = "0"/> |
||
109 | </Offset> |
||
110 | </Anchor> |
||
111 | </Anchors> |
||
112 | </NormalText> |
||
113 | <PushedTextOffset x = "0" y = "0"/> |
||
114 | <Scripts> |
||
115 | <OnClick>DepositBox_ToggleDepositBox();</OnClick> |
||
116 | <OnMouseUp> |
||
117 | if ( DepositBoxUI_Main_BlockButton.isMoving ) then |
||
118 | DepositBoxUI_Main_BlockButton:StopMovingOrSizing(); |
||
119 | DepositBoxUI_Main_BlockButton.isMoving = false; |
||
120 | end |
||
121 | </OnMouseUp> |
||
122 | <OnDragStart> |
||
123 | DepositBoxUI_Main_BlockButton:StartMoving(); |
||
124 | DepositBoxUI_Main_BlockButton.isMoving = true; |
||
125 | </OnDragStart> |
||
126 | <OnDragStop> |
||
127 | DepositBoxUI_Main_BlockButton:StopMovingOrSizing(); |
||
128 | DepositBoxUI_Main_BlockButton.isMoving = false; |
||
129 | </OnDragStop> |
||
130 | <OnShow>this:RegisterForDrag("LeftButton");</OnShow> |
||
131 | </Scripts> |
||
132 | </Button> |
||
133 | <Button name = "DepositBoxUI_Main_MoneyDisplaySilver"> |
||
134 | <Size> |
||
135 | <AbsDimension x = "32" y = "13"/> |
||
136 | </Size> |
||
137 | <Anchors> |
||
138 | <Anchor |
||
139 | point = "RIGHT" |
||
140 | relativeTo = "DepositBoxUI_Main_MoneyDisplayCopper" |
||
141 | relativePoint = "LEFT"> |
||
142 | <Offset> |
||
143 | <AbsDimension x = "-1" y = "0"/> |
||
144 | </Offset> |
||
145 | </Anchor> |
||
146 | </Anchors> |
||
147 | <NormalTexture file = "Interface\MoneyFrame\UI-MoneyIcons"> |
||
148 | <Size> |
||
149 | <AbsDimension x = "13" y = "13"/> |
||
150 | </Size> |
||
151 | <Anchors> |
||
152 | <Anchor point = "RIGHT"/> |
||
153 | </Anchors> |
||
154 | <TexCoords |
||
155 | left = "0.25" |
||
156 | right = "0.5" |
||
157 | top = "0" |
||
158 | bottom = "1"/> |
||
159 | </NormalTexture> |
||
160 | <NormalText |
||
161 | name = "DepositBoxUI_Main_MoneyDisplaySilverText" |
||
162 | inherits = "NumberFontNormal" |
||
163 | justifyH = "LEFT"> |
||
164 | <Anchors> |
||
165 | <Anchor point = "LEFT"> |
||
166 | <Offset> |
||
167 | <AbsDimension x = "1" y = "0"/> |
||
168 | </Offset> |
||
169 | </Anchor> |
||
170 | </Anchors> |
||
171 | </NormalText> |
||
172 | <PushedTextOffset x = "0" y = "0"/> |
||
173 | <Scripts> |
||
174 | <OnClick>DepositBox_ToggleDepositBox();</OnClick> |
||
175 | <OnMouseUp> |
||
176 | if ( DepositBoxUI_Main_BlockButton.isMoving ) then |
||
177 | DepositBoxUI_Main_BlockButton:StopMovingOrSizing(); |
||
178 | DepositBoxUI_Main_BlockButton.isMoving = false; |
||
179 | end |
||
180 | </OnMouseUp> |
||
181 | <OnDragStart> |
||
182 | DepositBoxUI_Main_BlockButton:StartMoving(); |
||
183 | DepositBoxUI_Main_BlockButton.isMoving = true; |
||
184 | </OnDragStart> |
||
185 | <OnDragStop> |
||
186 | DepositBoxUI_Main_BlockButton:StopMovingOrSizing(); |
||
187 | DepositBoxUI_Main_BlockButton.isMoving = false; |
||
188 | </OnDragStop> |
||
189 | <OnShow>this:RegisterForDrag("LeftButton");</OnShow> |
||
190 | </Scripts> |
||
191 | </Button> |
||
192 | <Button name = "DepositBoxUI_Main_MoneyDisplayGold"> |
||
193 | <Size> |
||
194 | <AbsDimension x = "32" y = "13"/> |
||
195 | </Size> |
||
196 | <Anchors> |
||
197 | <Anchor |
||
198 | point = "RIGHT" |
||
199 | relativeTo = "DepositBoxUI_Main_MoneyDisplaySilver" |
||
200 | relativePoint = "LEFT"> |
||
201 | <Offset> |
||
202 | <AbsDimension x = "-1" y = "0"/> |
||
203 | </Offset> |
||
204 | </Anchor> |
||
205 | </Anchors> |
||
206 | <NormalTexture file = "Interface\MoneyFrame\UI-MoneyIcons"> |
||
207 | <Size> |
||
208 | <AbsDimension x = "13" y = "13"/> |
||
209 | </Size> |
||
210 | <Anchors> |
||
211 | <Anchor point = "RIGHT"/> |
||
212 | </Anchors> |
||
213 | <TexCoords |
||
214 | left = "0" |
||
215 | right = "0.25" |
||
216 | top = "0" |
||
217 | bottom = "1"/> |
||
218 | </NormalTexture> |
||
219 | <NormalText |
||
220 | name = "DepositBoxUI_Main_MoneyDisplayGoldText" |
||
221 | inherits = "NumberFontNormal" |
||
222 | justifyH = "RIGHT"> |
||
223 | <Anchors> |
||
224 | <Anchor point = "RIGHT"> |
||
225 | <Offset> |
||
226 | <AbsDimension x = "-15" y = "0"/> |
||
227 | </Offset> |
||
228 | </Anchor> |
||
229 | </Anchors> |
||
230 | </NormalText> |
||
231 | <PushedTextOffset x = "0" y = "0"/> |
||
232 | <Scripts> |
||
233 | <OnClick>DepositBox_ToggleDepositBox();</OnClick> |
||
234 | <OnMouseUp> |
||
235 | if ( DepositBoxUI_Main_BlockButton.isMoving ) then |
||
236 | DepositBoxUI_Main_BlockButton:StopMovingOrSizing(); |
||
237 | DepositBoxUI_Main_BlockButton.isMoving = false; |
||
238 | end |
||
239 | </OnMouseUp> |
||
240 | <OnDragStart> |
||
241 | DepositBoxUI_Main_BlockButton:StartMoving(); |
||
242 | DepositBoxUI_Main_BlockButton.isMoving = true; |
||
243 | </OnDragStart> |
||
244 | <OnDragStop> |
||
245 | DepositBoxUI_Main_BlockButton:StopMovingOrSizing(); |
||
246 | DepositBoxUI_Main_BlockButton.isMoving = false; |
||
247 | </OnDragStop> |
||
248 | <OnShow>this:RegisterForDrag("LeftButton");</OnShow> |
||
249 | </Scripts> |
||
250 | </Button> |
||
251 | </Frames> |
||
252 | </Frame> |
||
253 | </Frames> |
||
254 | <Scripts> |
||
255 | <OnClick>DepositBox_ToggleDepositBox();</OnClick> |
||
256 | <OnMouseUp> |
||
257 | if ( this.isMoving ) then |
||
258 | this:StopMovingOrSizing(); |
||
259 | this.isMoving = false; |
||
260 | end |
||
261 | </OnMouseUp> |
||
262 | <OnDragStart> |
||
263 | this:StartMoving(); |
||
264 | this.isMoving = true; |
||
265 | </OnDragStart> |
||
266 | <OnDragStop> |
||
267 | this:StopMovingOrSizing(); |
||
268 | this.isMoving = false; |
||
269 | </OnDragStop> |
||
270 | <OnShow>this:RegisterForDrag("LeftButton");</OnShow> |
||
271 | </Scripts> |
||
272 | </Button> |
||
273 | <!--MINIMAP BUTTON --> |
||
274 | <Frame |
||
275 | name = "DepositBoxUI_Main_MiniMapButtonFrame" |
||
276 | parent = "Minimap" |
||
277 | enableMouse = "true" |
||
278 | hidden = "false" |
||
279 | frameStrata = "MEDIUM"> |
||
280 | <Size> |
||
281 | <AbsDimension x = "32" y = "32"/> |
||
282 | </Size> |
||
283 | <Anchors> |
||
284 | <Anchor |
||
285 | point = "TOPLEFT" |
||
286 | relativeTo = "Minimap" |
||
287 | relativePoint = "RIGHT"> |
||
288 | <Offset> |
||
289 | <AbsDimension x = "2" y = "0"/> |
||
290 | </Offset> |
||
291 | </Anchor> |
||
292 | </Anchors> |
||
293 | <Frames> |
||
294 | <Button name = "DepositBoxUI_Main_MiniMapButton"> |
||
295 | <Size> |
||
296 | <AbsDimension x = "32" y = "32"/> |
||
297 | </Size> |
||
298 | <Anchors> |
||
299 | <Anchor point = "TOPLEFT"> |
||
300 | <Offset> |
||
301 | <AbsDimension x = "0" y = "0"/> |
||
302 | </Offset> |
||
303 | </Anchor> |
||
304 | </Anchors> |
||
305 | <NormalTexture file = "Interface\AddOns\DepositBox\Images\DepositBoxMiniMapButton-Up"/> |
||
306 | <PushedTexture file = "Interface\AddOns\DepositBox\Images\DepositBoxMiniMapButton-Down"/> |
||
307 | <HighlightTexture alphaMode = "ADD" file = "Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/> |
||
308 | <Scripts> |
||
309 | <OnClick>DepositBox_ToggleDepositBox();</OnClick> |
||
310 | <OnEnter> |
||
311 | GameTooltip:SetOwner(DepositBoxUI_Main_MiniMapButton, "ANCHOR_LEFT"); |
||
312 | GameTooltip:SetText("Deposit Box"); |
||
313 | </OnEnter> |
||
314 | <OnLeave>GameTooltip:Hide();</OnLeave> |
||
315 | </Scripts> |
||
316 | </Button> |
||
317 | </Frames> |
||
318 | </Frame> |
||
319 | <!--DEPOSIT BOX FRAME --> |
||
320 | <Frame |
||
321 | name = "DepositBoxUI_DepositBoxFrame" |
||
322 | frameStrata = "FULLSCREEN" |
||
323 | toplevel = "true" |
||
324 | parent = "UIParent" |
||
325 | enableMouse = "true"> |
||
326 | <Size> |
||
327 | <AbsDimension x = "260" y = "260"/> |
||
328 | </Size> |
||
329 | <Backdrop |
||
330 | name = "DepositBox_Backdrop" |
||
331 | bgFile = "Interface\TutorialFrame\TutorialFrameBackground" |
||
332 | edgeFile = "Interface\Tooltips\UI-Tooltip-Border" |
||
333 | tile = "true"> |
||
334 | <EdgeSize> |
||
335 | <AbsValue val = "16"/> |
||
336 | </EdgeSize> |
||
337 | <BackgroundInsets> |
||
338 | <AbsInset |
||
339 | left = "5" |
||
340 | right = "5" |
||
341 | top = "5" |
||
342 | bottom = "5"/> |
||
343 | </BackgroundInsets> |
||
344 | </Backdrop> |
||
345 | <Anchors> |
||
346 | <Anchor point = "TOP"> |
||
347 | <Offset> |
||
348 | <AbsDimension x = "0" y = "-30"/> |
||
349 | </Offset> |
||
350 | </Anchor> |
||
351 | </Anchors> |
||
352 | <Frames> |
||
353 | <Frame name = "DepositBoxUI_DepositBox_MoneyStoredFrame"> |
||
354 | <Size> |
||
355 | <AbsDimension x = "170" y = "32"/> |
||
356 | </Size> |
||
357 | <Anchors> |
||
358 | <Anchor point = "TOP"> |
||
359 | <Offset> |
||
360 | <AbsDimension x = "25" y = "-7"/> |
||
361 | </Offset> |
||
362 | </Anchor> |
||
363 | </Anchors> |
||
364 | <Frames> |
||
365 | <Button name = "DepositBoxUI_DepositBox_MoneyStoredCopper"> |
||
366 | <Size> |
||
367 | <AbsDimension x = "32" y = "13"/> |
||
368 | </Size> |
||
369 | <Anchors> |
||
370 | <Anchor point = "RIGHT"> |
||
371 | <Offset> |
||
372 | <AbsDimension x = "-2" y = "0"/> |
||
373 | </Offset> |
||
374 | </Anchor> |
||
375 | </Anchors> |
||
376 | <NormalTexture file = "Interface\MoneyFrame\UI-MoneyIcons"> |
||
377 | <Size> |
||
378 | <AbsDimension x = "13" y = "13"/> |
||
379 | </Size> |
||
380 | <Anchors> |
||
381 | <Anchor point = "RIGHT"/> |
||
382 | </Anchors> |
||
383 | <TexCoords |
||
384 | left = "0.5" |
||
385 | right = "0.75" |
||
386 | top = "0" |
||
387 | bottom = "1"/> |
||
388 | </NormalTexture> |
||
389 | <NormalText |
||
390 | name = "DepositBoxUI_DepositBox_MoneyStoredCopperText" |
||
391 | inherits = "NumberFontNormal" |
||
392 | justifyH = "LEFT"> |
||
393 | <Anchors> |
||
394 | <Anchor point = "LEFT"> |
||
395 | <Offset> |
||
396 | <AbsDimension x = "-3" y = "0"/> |
||
397 | </Offset> |
||
398 | </Anchor> |
||
399 | </Anchors> |
||
400 | </NormalText> |
||
401 | </Button> |
||
402 | <Button name = "DepositBoxUI_DepositBox_MoneyStoredSilver"> |
||
403 | <Size> |
||
404 | <AbsDimension x = "32" y = "13"/> |
||
405 | </Size> |
||
406 | <Anchors> |
||
407 | <Anchor |
||
408 | point = "RIGHT" |
||
409 | relativeTo = "DepositBoxUI_DepositBox_MoneyStoredCopper" |
||
410 | relativePoint = "LEFT"> |
||
411 | <Offset> |
||
412 | <AbsDimension x = "-14" y = "0"/> |
||
413 | </Offset> |
||
414 | </Anchor> |
||
415 | </Anchors> |
||
416 | <NormalTexture file = "Interface\MoneyFrame\UI-MoneyIcons"> |
||
417 | <Size> |
||
418 | <AbsDimension x = "13" y = "13"/> |
||
419 | </Size> |
||
420 | <Anchors> |
||
421 | <Anchor point = "RIGHT"/> |
||
422 | </Anchors> |
||
423 | <TexCoords |
||
424 | left = "0.25" |
||
425 | right = "0.5" |
||
426 | top = "0" |
||
427 | bottom = "1"/> |
||
428 | </NormalTexture> |
||
429 | <NormalText |
||
430 | name = "DepositBoxUI_DepositBox_MoneyStoredSilverText" |
||
431 | inherits = "NumberFontNormal" |
||
432 | justifyH = "LEFT"> |
||
433 | <Anchors> |
||
434 | <Anchor point = "LEFT"> |
||
435 | <Offset> |
||
436 | <AbsDimension x = "-3" y = "0"/> |
||
437 | </Offset> |
||
438 | </Anchor> |
||
439 | </Anchors> |
||
440 | </NormalText> |
||
441 | </Button> |
||
442 | <Button name = "DepositBoxUI_DepositBox_MoneyStoredGold"> |
||
443 | <Size> |
||
444 | <AbsDimension x = "32" y = "13"/> |
||
445 | </Size> |
||
446 | <Anchors> |
||
447 | <Anchor |
||
448 | point = "RIGHT" |
||
449 | relativeTo = "DepositBoxUI_DepositBox_MoneyStoredSilver" |
||
450 | relativePoint = "LEFT"> |
||
451 | <Offset> |
||
452 | <AbsDimension x = "-14" y = "0"/> |
||
453 | </Offset> |
||
454 | </Anchor> |
||
455 | </Anchors> |
||
456 | <NormalTexture file = "Interface\MoneyFrame\UI-MoneyIcons"> |
||
457 | <Size> |
||
458 | <AbsDimension x = "13" y = "13"/> |
||
459 | </Size> |
||
460 | <Anchors> |
||
461 | <Anchor point = "RIGHT"/> |
||
462 | </Anchors> |
||
463 | <TexCoords |
||
464 | left = "0" |
||
465 | right = "0.25" |
||
466 | top = "0" |
||
467 | bottom = "1"/> |
||
468 | </NormalTexture> |
||
469 | <NormalText |
||
470 | name = "DepositBoxUI_DepositBox_MoneyStoredGoldText" |
||
471 | inherits = "NumberFontNormal" |
||
472 | justifyH = "RIGHT"> |
||
473 | <Anchors> |
||
474 | <Anchor point = "RIGHT"> |
||
475 | <Offset> |
||
476 | <AbsDimension x = "-23" y = "0"/> |
||
477 | </Offset> |
||
478 | </Anchor> |
||
479 | </Anchors> |
||
480 | </NormalText> |
||
481 | </Button> |
||
482 | <Button name = "DepositBoxUI_DepositBox_MoneyStoredLabel"> |
||
483 | <Size> |
||
484 | <AbsDimension x = "50" y = "13"/> |
||
485 | </Size> |
||
486 | <Anchors> |
||
487 | <Anchor |
||
488 | point = "LEFT" |
||
489 | relativeTo = "DepositBoxUI_DepositBox_MoneyStoredGold" |
||
490 | relativePoint = "LEFT"> |
||
491 | <Offset> |
||
492 | <AbsDimension x = "-88" y = "0"/> |
||
493 | </Offset> |
||
494 | </Anchor> |
||
495 | </Anchors> |
||
496 | <NormalText |
||
497 | name = "DepositBoxUI_DepositBox_MoneyStoredLabelText" |
||
498 | inherits = "GameFontNormal" |
||
499 | justifyH = "LEFT"> |
||
500 | <Anchors> |
||
501 | <Anchor point = "LEFT"/> |
||
502 | </Anchors> |
||
503 | </NormalText> |
||
504 | <Scripts> |
||
505 | <OnEnter>DepositBox_ShowTotalMoney();</OnEnter> |
||
506 | <OnLeave>GameTooltip:Hide();</OnLeave> |
||
507 | </Scripts> |
||
508 | </Button> |
||
509 | </Frames> |
||
510 | </Frame> |
||
511 | <Frame name = "DepositBoxUI_DepositBox_MoneyBagFrame"> |
||
512 | <Size> |
||
513 | <AbsDimension x = "170" y = "32"/> |
||
514 | </Size> |
||
515 | <Anchors> |
||
516 | <Anchor |
||
517 | point = "TOPRIGHT" |
||
518 | relativeTo = "DepositBoxUI_DepositBox_MoneyStoredFrame" |
||
519 | relativePoint = "BOTTOMRIGHT"> |
||
520 | <Offset> |
||
521 | <AbsDimension x = "0" y = "-20"/> |
||
522 | </Offset> |
||
523 | </Anchor> |
||
524 | </Anchors> |
||
525 | <Frames> |
||
526 | <Button name = "DepositBoxUI_DepositBox_MoneyBagCopper"> |
||
527 | <Size> |
||
528 | <AbsDimension x = "32" y = "13"/> |
||
529 | </Size> |
||
530 | <Anchors> |
||
531 | <Anchor point = "RIGHT"> |
||
532 | <Offset> |
||
533 | <AbsDimension x = "-2" y = "0"/> |
||
534 | </Offset> |
||
535 | </Anchor> |
||
536 | </Anchors> |
||
537 | <NormalTexture file = "Interface\MoneyFrame\UI-MoneyIcons"> |
||
538 | <Size> |
||
539 | <AbsDimension x = "13" y = "13"/> |
||
540 | </Size> |
||
541 | <Anchors> |
||
542 | <Anchor point = "RIGHT"/> |
||
543 | </Anchors> |
||
544 | <TexCoords |
||
545 | left = "0.5" |
||
546 | right = "0.75" |
||
547 | top = "0" |
||
548 | bottom = "1"/> |
||
549 | </NormalTexture> |
||
550 | <NormalText |
||
551 | name = "DepositBoxUI_DepositBox_MoneyBagCopperText" |
||
552 | inherits = "NumberFontNormal" |
||
553 | justifyH = "LEFT"> |
||
554 | <Anchors> |
||
555 | <Anchor point = "LEFT"> |
||
556 | <Offset> |
||
557 | <AbsDimension x = "-3" y = "0"/> |
||
558 | </Offset> |
||
559 | </Anchor> |
||
560 | </Anchors> |
||
561 | </NormalText> |
||
562 | </Button> |
||
563 | <Button name = "DepositBoxUI_DepositBox_MoneyBagSilver"> |
||
564 | <Size> |
||
565 | <AbsDimension x = "32" y = "12"/> |
||
566 | </Size> |
||
567 | <Anchors> |
||
568 | <Anchor |
||
569 | point = "RIGHT" |
||
570 | relativeTo = "DepositBoxUI_DepositBox_MoneyBagCopper" |
||
571 | relativePoint = "LEFT"> |
||
572 | <Offset> |
||
573 | <AbsDimension x = "-14" y = "0"/> |
||
574 | </Offset> |
||
575 | </Anchor> |
||
576 | </Anchors> |
||
577 | <NormalTexture file = "Interface\MoneyFrame\UI-MoneyIcons"> |
||
578 | <Size> |
||
579 | <AbsDimension x = "13" y = "13"/> |
||
580 | </Size> |
||
581 | <Anchors> |
||
582 | <Anchor point = "RIGHT"/> |
||
583 | </Anchors> |
||
584 | <TexCoords |
||
585 | left = "0.25" |
||
586 | right = "0.5" |
||
587 | top = "0" |
||
588 | bottom = "1"/> |
||
589 | </NormalTexture> |
||
590 | <NormalText |
||
591 | name = "DepositBoxUI_DepositBox_MoneyBagSilverText" |
||
592 | inherits = "NumberFontNormal" |
||
593 | justifyH = "LEFT"> |
||
594 | <Anchors> |
||
595 | <Anchor point = "LEFT"> |
||
596 | <Offset> |
||
597 | <AbsDimension x = "-3" y = "0"/> |
||
598 | </Offset> |
||
599 | </Anchor> |
||
600 | </Anchors> |
||
601 | </NormalText> |
||
602 | </Button> |
||
603 | <Button name = "DepositBoxUI_DepositBox_MoneyBagGold"> |
||
604 | <Size> |
||
605 | <AbsDimension x = "32" y = "12"/> |
||
606 | </Size> |
||
607 | <Anchors> |
||
608 | <Anchor |
||
609 | point = "RIGHT" |
||
610 | relativeTo = "DepositBoxUI_DepositBox_MoneyBagSilver" |
||
611 | relativePoint = "LEFT"> |
||
612 | <Offset> |
||
613 | <AbsDimension x = "-14" y = "0"/> |
||
614 | </Offset> |
||
615 | </Anchor> |
||
616 | </Anchors> |
||
617 | <NormalTexture file = "Interface\MoneyFrame\UI-MoneyIcons"> |
||
618 | <Size> |
||
619 | <AbsDimension x = "13" y = "13"/> |
||
620 | </Size> |
||
621 | <Anchors> |
||
622 | <Anchor point = "RIGHT"/> |
||
623 | </Anchors> |
||
624 | <TexCoords |
||
625 | left = "0" |
||
626 | right = "0.25" |
||
627 | top = "0" |
||
628 | bottom = "1"/> |
||
629 | </NormalTexture> |
||
630 | <NormalText |
||
631 | name = "DepositBoxUI_DepositBox_MoneyBagGoldText" |
||
632 | inherits = "NumberFontNormal" |
||
633 | justifyH = "RIGHT"> |
||
634 | <Anchors> |
||
635 | <Anchor point = "RIGHT"> |
||
636 | <Offset> |
||
637 | <AbsDimension x = "-23" y = "0"/> |
||
638 | </Offset> |
||
639 | </Anchor> |
||
640 | </Anchors> |
||
641 | </NormalText> |
||
642 | </Button> |
||
643 | <Button name = "DepositBoxUI_DepositBox_MoneyBagLabel"> |
||
644 | <Size> |
||
645 | <AbsDimension x = "32" y = "13"/> |
||
646 | </Size> |
||
647 | <Anchors> |
||
648 | <Anchor |
||
649 | point = "LEFT" |
||
650 | relativeTo = "DepositBoxUI_DepositBox_MoneyBagGold" |
||
651 | relativePoint = "LEFT"> |
||
652 | <Offset> |
||
653 | <AbsDimension x = "-88" y = "0"/> |
||
654 | </Offset> |
||
655 | </Anchor> |
||
656 | </Anchors> |
||
657 | <NormalText |
||
658 | name = "DepositBoxUI_DepositBox_MoneyBagLabelText" |
||
659 | inherits = "GameFontNormal" |
||
660 | justifyH = "LEFT"> |
||
661 | <Anchors> |
||
662 | <Anchor point = "LEFT"/> |
||
663 | </Anchors> |
||
664 | </NormalText> |
||
665 | <Scripts> |
||
666 | <OnEnter>DepositBox_ShowTotalMoney();</OnEnter> |
||
667 | <OnLeave>GameTooltip:Hide();</OnLeave> |
||
668 | </Scripts> |
||
669 | </Button> |
||
670 | </Frames> |
||
671 | </Frame> |
||
672 | <Frame name = "DepositBoxUI_DepositBox_MoneyInputFrame" inherits = "MoneyInputFrameTemplate"> |
||
673 | <Anchors> |
||
674 | <Anchor |
||
675 | point = "TOPRIGHT" |
||
676 | relativeTo = "DepositBoxUI_DepositBox_MoneyBagFrame" |
||
677 | relativePoint = "BOTTOMRIGHT"> |
||
678 | <Offset> |
||
679 | <AbsDimension x = "9" y = "-30"/> |
||
680 | </Offset> |
||
681 | </Anchor> |
||
682 | </Anchors> |
||
683 | <Layers> |
||
684 | <Layer level = "ARTWORK"> |
||
685 | <FontString |
||
686 | name = "DepositBoxUI_DepositBox_MoneyInputLabel" |
||
687 | inherits = "GameFontHighlightSmall" |
||
688 | text = "Money Input:"> |
||
689 | <Anchors> |
||
690 | <Anchor point = "BOTTOMLEFT" relativePoint = "TOPLEFT"> |
||
691 | <Offset> |
||
692 | <AbsDimension x = "-47" y = "6"/> |
||
693 | </Offset> |
||
694 | </Anchor> |
||
695 | </Anchors> |
||
696 | </FontString> |
||
697 | </Layer> |
||
698 | </Layers> |
||
699 | </Frame> |
||
700 | <Button name = "DepositBoxUI_DepositBox_ClearButton"> |
||
701 | <Size> |
||
702 | <AbsDimension x = "32" y = "32"/> |
||
703 | </Size> |
||
704 | <Anchors> |
||
705 | <Anchor |
||
706 | point = "TOPLEFT" |
||
707 | relativeTo = "DepositBoxUI_DepositBox_MoneyInputLabel" |
||
708 | relativePoint = "BOTTOMLEFT"> |
||
709 | <Offset> |
||
710 | <AbsDimension x = "-5" y = "-3"/> |
||
711 | </Offset> |
||
712 | </Anchor> |
||
713 | </Anchors> |
||
714 | <NormalTexture file = "Interface\Buttons\CancelButton-Up"/> |
||
715 | <PushedTexture file = "Interface\Buttons\CancelButton-Down"/> |
||
716 | <HighlightTexture alphaMode = "ADD" file = "Interface\Buttons\CancelButton-Highlight"/> |
||
717 | <Scripts> |
||
718 | <OnClick> |
||
719 | MoneyInputFrame_ResetMoney(DepositBoxUI_DepositBox_MoneyInputFrame); |
||
720 | MoneyInputFrame_ClearFocus(DepositBoxUI_DepositBox_MoneyInputFrame); |
||
721 | </OnClick> |
||
722 | <OnEnter> |
||
723 | if (DepositBox_Location == "ABOVELEFT" or DepositBox_Location == "BELOWLEFT") then |
||
724 | GameTooltip:SetOwner(DepositBoxUI_DepositBoxFrame, "ANCHOR_TOPLEFT"); |
||
725 | else |
||
726 | GameTooltip:SetOwner(DepositBoxUI_DepositBoxFrame, "ANCHOR_TOPRIGHT"); |
||
727 | end |
||
728 | GameTooltip:SetText("Clear Input"); |
||
729 | </OnEnter> |
||
730 | <OnLeave>GameTooltip:Hide();</OnLeave> |
||
731 | </Scripts> |
||
732 | </Button> |
||
733 | <Button name = "DepositBoxUI_DepositBox_StoreButton"> |
||
734 | <Size> |
||
735 | <AbsDimension x = "32" y = "32"/> |
||
736 | </Size> |
||
737 | <Anchors> |
||
738 | <Anchor |
||
739 | point = "LEFT" |
||
740 | relativeTo = "DepositBoxUI_DepositBox_MoneyBagFrame" |
||
741 | relativePoint = "CENTER"> |
||
742 | <Offset> |
||
743 | <AbsDimension x = "15" y = "25"/> |
||
744 | </Offset> |
||
745 | </Anchor> |
||
746 | </Anchors> |
||
747 | <NormalTexture file = "Interface\Buttons\UI-ScrollBar-ScrollUpButton-Up"/> |
||
748 | <PushedTexture file = "Interface\Buttons\UI-ScrollBar-ScrollUpButton-Down"/> |
||
749 | <HighlightTexture alphaMode = "ADD" file = "Interface\Buttons\UI-ScrollBar-ScrollUpButton-Highlight"/> |
||
750 | <Scripts> |
||
751 | <OnClick> |
||
752 | if (GetCursorMoney() > 0) then |
||
753 | DropCursorMoney(); |
||
754 | end |
||
755 | DepositBox_StoreCash(); |
||
756 | </OnClick> |
||
757 | <OnEnter> |
||
758 | if (DepositBox_Location == "ABOVELEFT" or DepositBox_Location == "BELOWLEFT") then |
||
759 | GameTooltip:SetOwner(DepositBoxUI_DepositBoxFrame, "ANCHOR_TOPLEFT"); |
||
760 | else |
||
761 | GameTooltip:SetOwner(DepositBoxUI_DepositBoxFrame, "ANCHOR_TOPRIGHT"); |
||
762 | end |
||
763 | GameTooltip:SetText("Deposit Money"); |
||
764 | </OnEnter> |
||
765 | <OnLeave>GameTooltip:Hide();</OnLeave> |
||
766 | </Scripts> |
||
767 | </Button> |
||
768 | <Button name = "DepositBoxUI_DepositBox_RetrieveButton"> |
||
769 | <Size> |
||
770 | <AbsDimension x = "32" y = "32"/> |
||
771 | </Size> |
||
772 | <Anchors> |
||
773 | <Anchor |
||
774 | point = "LEFT" |
||
775 | relativeTo = "DepositBoxUI_DepositBox_StoreButton" |
||
776 | relativePoint = "RIGHT"> |
||
777 | <Offset> |
||
778 | <AbsDimension x = "10" y = "0"/> |
||
779 | </Offset> |
||
780 | </Anchor> |
||
781 | </Anchors> |
||
782 | <NormalTexture file = "Interface\Buttons\UI-ScrollBar-ScrollDownButton-Up"/> |
||
783 | <PushedTexture file = "Interface\Buttons\UI-ScrollBar-ScrollDownButton-Down"/> |
||
784 | <HighlightTexture alphaMode = "ADD" file = "Interface\Buttons\UI-ScrollBar-ScrollDownButton-Highlight"/> |
||
785 | <Scripts> |
||
786 | <OnClick> |
||
787 | if (GetCursorMoney() > 0) then |
||
788 | DropCursorMoney(); |
||
789 | end |
||
790 | DepositBox_RetrieveCash(); |
||
791 | </OnClick> |
||
792 | <OnEnter> |
||
793 | if (DepositBox_Location == "ABOVELEFT" or DepositBox_Location == "BELOWLEFT") then |
||
794 | GameTooltip:SetOwner(DepositBoxUI_DepositBoxFrame, "ANCHOR_TOPLEFT"); |
||
795 | else |
||
796 | GameTooltip:SetOwner(DepositBoxUI_DepositBoxFrame, "ANCHOR_TOPRIGHT"); |
||
797 | end |
||
798 | GameTooltip:SetText("Withdraw Money"); |
||
799 | </OnEnter> |
||
800 | <OnLeave>GameTooltip:Hide();</OnLeave> |
||
801 | </Scripts> |
||
802 | </Button> |
||
803 | <CheckButton name = "DepositBoxUI_DepositBox_DirectCheckButton"> |
||
804 | <Size> |
||
805 | <AbsDimension x = "30" y = "30"/> |
||
806 | </Size> |
||
807 | <Anchors> |
||
808 | <Anchor |
||
809 | point = "TOPLEFT" |
||
810 | relativeTo = "DepositBoxUI_DepositBox_ClearButton" |
||
811 | relativePoint = "BOTTOMLEFT"> |
||
812 | <Offset> |
||
813 | <AbsDimension x = "3" y = "-25"/> |
||
814 | </Offset> |
||
815 | </Anchor> |
||
816 | </Anchors> |
||
817 | <Layers> |
||
818 | <Layer level = "ARTWORK"> |
||
819 | <FontString |
||
820 | name = "DepositBoxDirectLabel" |
||
821 | inherits = "GameFontHighlightSmall" |
||
822 | text = "Direct Deposit:"> |
||
823 | <Anchors> |
||
824 | <Anchor point = "BOTTOMLEFT" relativePoint = "TOPLEFT"> |
||
825 | <Offset> |
||
826 | <AbsDimension x = "0" y = "0"/> |
||
827 | </Offset> |
||
828 | </Anchor> |
||
829 | </Anchors> |
||
830 | </FontString> |
||
831 | </Layer> |
||
832 | </Layers> |
||
833 | <Scripts> |
||
834 | <OnClick>DepositBox_ToggleUsingDirectDeposit();</OnClick> |
||
835 | <OnEnter> |
||
836 | if (DepositBox_Location == "ABOVELEFT" or DepositBox_Location == "BELOWLEFT") then |
||
837 | GameTooltip:SetOwner(DepositBoxUI_DepositBoxFrame, "ANCHOR_TOPLEFT"); |
||
838 | else |
||
839 | GameTooltip:SetOwner(DepositBoxUI_DepositBoxFrame, "ANCHOR_TOPRIGHT"); |
||
840 | end |
||
841 | GameTooltip:SetText("Toggle Direct Deposit"); |
||
842 | </OnEnter> |
||
843 | <OnLeave>GameTooltip:Hide();</OnLeave> |
||
844 | </Scripts> |
||
845 | <NormalTexture file = "Interface\Buttons\UI-CheckBox-UP"> |
||
846 | <Size> |
||
847 | <AbsDimension x = "30" y = "30"/> |
||
848 | </Size> |
||
849 | <Anchors> |
||
850 | <Anchor point = "TOPLEFT"/> |
||
851 | </Anchors> |
||
852 | </NormalTexture> |
||
853 | <HighlightTexture file = "Interface\Buttons\UI-CheckBox-Highlight" alphaMode = "ADD"> |
||
854 | <Size> |
||
855 | <AbsDimension x = "30" y = "30"/> |
||
856 | </Size> |
||
857 | <Anchors> |
||
858 | <Anchor point = "TOPLEFT"> |
||
859 | <Offset> |
||
860 | <AbsDimension x = "0" y = "0"/> |
||
861 | </Offset> |
||
862 | </Anchor> |
||
863 | </Anchors> |
||
864 | </HighlightTexture> |
||
865 | <CheckedTexture name = "$parentCheck" file = "Interface\Buttons\UI-CheckBox-Check"/> |
||
866 | </CheckButton> |
||
867 | <Slider |
||
868 | name = "DepositBoxUI_DepositBox_PercentageSlider" |
||
869 | orientation = "HORIZONTAL" |
||
870 | minValue = "1" |
||
871 | maxValue = "100" |
||
872 | valueStep = "1" |
||
873 | defaultValue = "1"> |
||
874 | <Size> |
||
875 | <AbsDimension x = "150" y = "16"/> |
||
876 | </Size> |
||
877 | <Anchors> |
||
878 | <Anchor |
||
879 | point = "TOPLEFT" |
||
880 | relativeTo = "DepositBoxUI_DepositBox_DirectCheckButton" |
||
881 | relativePoint = "TOPLEFT"> |
||
882 | <Offset> |
||
883 | <AbsDimension x = "50" y = "-5"/> |
||
884 | </Offset> |
||
885 | </Anchor> |
||
886 | </Anchors> |
||
887 | <Backdrop |
||
888 | bgFile = "Interface\Buttons\UI-SliderBar-Background" |
||
889 | edgeFile = "Interface\Buttons\UI-SliderBar-Border" |
||
890 | tile = "true"> |
||
891 | <EdgeSize> |
||
892 | <AbsValue val = "8"/> |
||
893 | </EdgeSize> |
||
894 | <TileSize> |
||
895 | <AbsValue val = "8"/> |
||
896 | </TileSize> |
||
897 | <BackgroundInsets> |
||
898 | <AbsInset |
||
899 | left = "3" |
||
900 | right = "3" |
||
901 | top = "6" |
||
902 | bottom = "6"/> |
||
903 | </BackgroundInsets> |
||
904 | </Backdrop> |
||
905 | <Layers> |
||
906 | <Layer level = "ARTWORK"> |
||
907 | <FontString name = "$parentText" inherits = "GameFontNormalSmall"> |
||
908 | <Anchors> |
||
909 | <Anchor point = "BOTTOM" relativePoint = "TOP"/> |
||
910 | </Anchors> |
||
911 | </FontString> |
||
912 | <FontString inherits = "GameFontHighlightSmall" text = "1%"> |
||
913 | <Anchors> |
||
914 | <Anchor point = "TOP" relativePoint = "BOTTOMLEFT"></Anchor> |
||
915 | </Anchors> |
||
916 | </FontString> |
||
917 | <FontString inherits = "GameFontHighlightSmall" text = "100%"> |
||
918 | <Anchors> |
||
919 | <Anchor point = "TOP" relativePoint = "BOTTOMRIGHT"></Anchor> |
||
920 | </Anchors> |
||
921 | </FontString> |
||
922 | <FontString |
||
923 | name = "DepositBoxPercentageText" |
||
924 | inherits = "GameFontHighlightSmall" |
||
925 | text = "1%"> |
||
926 | <Anchors> |
||
927 | <Anchor point = "BOTTOM" relativePoint = "TOP"></Anchor> |
||
928 | </Anchors> |
||
929 | </FontString> |
||
930 | </Layer> |
||
931 | </Layers> |
||
932 | <Scripts> |
||
933 | <OnValueChanged>DepositBox_OnValueChanged();</OnValueChanged> |
||
934 | </Scripts> |
||
935 | <ThumbTexture file = "Interface\Buttons\UI-SliderBar-Button-Vertical"> |
||
936 | <Size> |
||
937 | <AbsDimension x = "32" y = "32"/> |
||
938 | </Size> |
||
939 | </ThumbTexture> |
||
940 | </Slider> |
||
941 | <CheckButton name = "DepositBoxUI_DepositBox_ThresholdCheckButton"> |
||
942 | <Size> |
||
943 | <AbsDimension x = "30" y = "30"/> |
||
944 | </Size> |
||
945 | <Anchors> |
||
946 | <Anchor |
||
947 | point = "TOPLEFT" |
||
948 | relativeTo = "DepositBoxUI_DepositBox_DirectCheckButton" |
||
949 | relativePoint = "BOTTOMLEFT"> |
||
950 | <Offset> |
||
951 | <AbsDimension x = "0" y = "-20"/> |
||
952 | </Offset> |
||
953 | </Anchor> |
||
954 | </Anchors> |
||
955 | <Layers> |
||
956 | <Layer level = "ARTWORK"> |
||
957 | <FontString |
||
958 | name = "DepositBoxThresholdLabel" |
||
959 | inherits = "GameFontHighlightSmall" |
||
960 | text = "Bag Threshold:"> |
||
961 | <Anchors> |
||
962 | <Anchor point = "BOTTOMLEFT" relativePoint = "TOPLEFT"> |
||
963 | <Offset> |
||
964 | <AbsDimension x = "0" y = "0"/> |
||
965 | </Offset> |
||
966 | </Anchor> |
||
967 | </Anchors> |
||
968 | </FontString> |
||
969 | </Layer> |
||
970 | </Layers> |
||
971 | <Scripts> |
||
972 | <OnClick>DepositBox_ToggleUsingThreshold();</OnClick> |
||
973 | <OnEnter> |
||
974 | if (DepositBox_Location == "ABOVELEFT" or DepositBox_Location == "BELOWLEFT") then |
||
975 | GameTooltip:SetOwner(DepositBoxUI_DepositBoxFrame, "ANCHOR_TOPLEFT"); |
||
976 | else |
||
977 | GameTooltip:SetOwner(DepositBoxUI_DepositBoxFrame, "ANCHOR_TOPRIGHT"); |
||
978 | end |
||
979 | GameTooltip:SetText("Toggle Using a Bag Money Threshold"); |
||
980 | </OnEnter> |
||
981 | <OnLeave>GameTooltip:Hide();</OnLeave> |
||
982 | </Scripts> |
||
983 | <NormalTexture file = "Interface\Buttons\UI-CheckBox-UP"/> |
||
984 | <HighlightTexture file = "Interface\Buttons\UI-CheckBox-Highlight" alphaMode = "ADD"/> |
||
985 | <CheckedTexture file = "Interface\Buttons\UI-CheckBox-Check"/> |
||
986 | <DisabledTexture file = "Interface\AddOns\DepositBox\Images\DepositBoxCheckDisabled"> |
||
987 | <Size> |
||
988 | <AbsDimension x = "30" y = "30"/> |
||
989 | </Size> |
||
990 | <Anchors> |
||
991 | <Anchor point = "CENTER"> |
||
992 | <Offset> |
||
993 | <AbsDimension x = "0" y = "2"/> |
||
994 | </Offset> |
||
995 | </Anchor> |
||
996 | </Anchors> |
||
997 | </DisabledTexture> |
||
998 | <DisabledCheckedTexture file = "Interface\Buttons\UI-CheckBox-Disabled"/> |
||
999 | </CheckButton> |
||
1000 | <Frame name = "DepositBoxUI_DepositBox_ThresholdFrame"> |
||
1001 | <Size> |
||
1002 | <AbsDimension x = "170" y = "32"/> |
||
1003 | </Size> |
||
1004 | <Anchors> |
||
1005 | <Anchor |
||
1006 | point = "TOPLEFT" |
||
1007 | relativeTo = "DepositBoxUI_DepositBox_ThresholdCheckButton" |
||
1008 | relativePoint = "TOPRIGHT"> |
||
1009 | <Offset> |
||
1010 | <AbsDimension x = "13" y = "2"/> |
||
1011 | </Offset> |
||
1012 | </Anchor> |
||
1013 | </Anchors> |
||
1014 | <Frames> |
||
1015 | <Button name = "DepositBoxUI_DepositBox_ThresholdCopper"> |
||
1016 | <Size> |
||
1017 | <AbsDimension x = "32" y = "13"/> |
||
1018 | </Size> |
||
1019 | <Anchors> |
||
1020 | <Anchor point = "RIGHT"> |
||
1021 | <Offset> |
||
1022 | <AbsDimension x = "-2" y = "0"/> |
||
1023 | </Offset> |
||
1024 | </Anchor> |
||
1025 | </Anchors> |
||
1026 | <NormalTexture file = "Interface\MoneyFrame\UI-MoneyIcons"> |
||
1027 | <Size> |
||
1028 | <AbsDimension x = "13" y = "13"/> |
||
1029 | </Size> |
||
1030 | <Anchors> |
||
1031 | <Anchor point = "RIGHT"/> |
||
1032 | </Anchors> |
||
1033 | <TexCoords |
||
1034 | left = "0.5" |
||
1035 | right = "0.75" |
||
1036 | top = "0" |
||
1037 | bottom = "1"/> |
||
1038 | </NormalTexture> |
||
1039 | <NormalText |
||
1040 | name = "DepositBoxUI_DepositBox_ThresholdCopperText" |
||
1041 | inherits = "NumberFontNormal" |
||
1042 | justifyH = "LEFT"> |
||
1043 | <Anchors> |
||
1044 | <Anchor point = "LEFT"> |
||
1045 | <Offset> |
||
1046 | <AbsDimension x = "-3" y = "0"/> |
||
1047 | </Offset> |
||
1048 | </Anchor> |
||
1049 | </Anchors> |
||
1050 | </NormalText> |
||
1051 | </Button> |
||
1052 | <Button name = "DepositBoxUI_DepositBox_ThresholdSilver"> |
||
1053 | <Size> |
||
1054 | <AbsDimension x = "32" y = "12"/> |
||
1055 | </Size> |
||
1056 | <Anchors> |
||
1057 | <Anchor |
||
1058 | point = "RIGHT" |
||
1059 | relativeTo = "DepositBoxUI_DepositBox_ThresholdCopper" |
||
1060 | relativePoint = "LEFT"> |
||
1061 | <Offset> |
||
1062 | <AbsDimension x = "-14" y = "0"/> |
||
1063 | </Offset> |
||
1064 | </Anchor> |
||
1065 | </Anchors> |
||
1066 | <NormalTexture file = "Interface\MoneyFrame\UI-MoneyIcons"> |
||
1067 | <Size> |
||
1068 | <AbsDimension x = "13" y = "13"/> |
||
1069 | </Size> |
||
1070 | <Anchors> |
||
1071 | <Anchor point = "RIGHT"/> |
||
1072 | </Anchors> |
||
1073 | <TexCoords |
||
1074 | left = "0.25" |
||
1075 | right = "0.5" |
||
1076 | top = "0" |
||
1077 | bottom = "1"/> |
||
1078 | </NormalTexture> |
||
1079 | <NormalText |
||
1080 | name = "DepositBoxUI_DepositBox_ThresholdSilverText" |
||
1081 | inherits = "NumberFontNormal" |
||
1082 | justifyH = "LEFT"> |
||
1083 | <Anchors> |
||
1084 | <Anchor point = "LEFT"> |
||
1085 | <Offset> |
||
1086 | <AbsDimension x = "-3" y = "0"/> |
||
1087 | </Offset> |
||
1088 | </Anchor> |
||
1089 | </Anchors> |
||
1090 | </NormalText> |
||
1091 | </Button> |
||
1092 | <Button name = "DepositBoxUI_DepositBox_ThresholdGold"> |
||
1093 | <Size> |
||
1094 | <AbsDimension x = "32" y = "12"/> |
||
1095 | </Size> |
||
1096 | <Anchors> |
||
1097 | <Anchor |
||
1098 | point = "RIGHT" |
||
1099 | relativeTo = "DepositBoxUI_DepositBox_ThresholdSilver" |
||
1100 | relativePoint = "LEFT"> |
||
1101 | <Offset> |
||
1102 | <AbsDimension x = "-14" y = "0"/> |
||
1103 | </Offset> |
||
1104 | </Anchor> |
||
1105 | </Anchors> |
||
1106 | <NormalTexture file = "Interface\MoneyFrame\UI-MoneyIcons"> |
||
1107 | <Size> |
||
1108 | <AbsDimension x = "13" y = "13"/> |
||
1109 | </Size> |
||
1110 | <Anchors> |
||
1111 | <Anchor point = "RIGHT"/> |
||
1112 | </Anchors> |
||
1113 | <TexCoords |
||
1114 | left = "0" |
||
1115 | right = "0.25" |
||
1116 | top = "0" |
||
1117 | bottom = "1"/> |
||
1118 | </NormalTexture> |
||
1119 | <NormalText |
||
1120 | name = "DepositBoxUI_DepositBox_ThresholdGoldText" |
||
1121 | inherits = "NumberFontNormal" |
||
1122 | justifyH = "LEFT"> |
||
1123 | <Anchors> |
||
1124 | <Anchor point = "LEFT"> |
||
1125 | <Offset> |
||
1126 | <AbsDimension x = "-13" y = "0"/> |
||
1127 | </Offset> |
||
1128 | </Anchor> |
||
1129 | </Anchors> |
||
1130 | </NormalText> |
||
1131 | </Button> |
||
1132 | </Frames> |
||
1133 | <Scripts> |
||
1134 | <OnShow>DepositBox_UpdateThresholdDisplay();</OnShow> |
||
1135 | </Scripts> |
||
1136 | </Frame> |
||
1137 | <!--<Frame name = "DepositBoxUI_DepositBox_ThresholdDisplayFrame"> |
||
1138 | <Size> |
||
1139 | <AbsDimension x = "170" y = "32"/> |
||
1140 | </Size> |
||
1141 | <Anchors> |
||
1142 | <Anchor |
||
1143 | point = "TOPLEFT" |
||
1144 | relativeTo = "DepositBoxUI_DepositBox_ThresholdCheckButton" |
||
1145 | relativePoint = "TOPRIGHT"> |
||
1146 | <Offset> |
||
1147 | <AbsDimension x = "13" y = "1"/> |
||
1148 | </Offset> |
||
1149 | </Anchor> |
||
1150 | </Anchors> |
||
1151 | <Frames> |
||
1152 | <Button name = "DepositBoxUI_DepositBox_ThresholdCopper"> |
||
1153 | <Size> |
||
1154 | <AbsDimension x = "32" y = "13"/> |
||
1155 | </Size> |
||
1156 | <Anchors> |
||
1157 | <Anchor point = "RIGHT"> |
||
1158 | <Offset> |
||
1159 | <AbsDimension x = "-2" y = "0"/> |
||
1160 | </Offset> |
||
1161 | </Anchor> |
||
1162 | </Anchors> |
||
1163 | <NormalTexture file = "Interface\MoneyFrame\UI-MoneyIcons"> |
||
1164 | <Size> |
||
1165 | <AbsDimension x = "13" y = "13"/> |
||
1166 | </Size> |
||
1167 | <Anchors> |
||
1168 | <Anchor point = "RIGHT"/> |
||
1169 | </Anchors> |
||
1170 | <TexCoords |
||
1171 | left = "0.5" |
||
1172 | right = "0.75" |
||
1173 | top = "0" |
||
1174 | bottom = "1"/> |
||
1175 | </NormalTexture> |
||
1176 | <NormalText |
||
1177 | name = "DepositBoxUI_DepositBox_ThresholdCopperText" |
||
1178 | inherits = "NumberFontNormal" |
||
1179 | justifyH = "LEFT"> |
||
1180 | <Anchors> |
||
1181 | <Anchor point = "LEFT"> |
||
1182 | <Offset> |
||
1183 | <AbsDimension x = "-3" y = "0"/> |
||
1184 | </Offset> |
||
1185 | </Anchor> |
||
1186 | </Anchors> |
||
1187 | </NormalText> |
||
1188 | </Button> |
||
1189 | <Button name = "DepositBoxUI_DepositBox_ThresholdSilver"> |
||
1190 | <Size> |
||
1191 | <AbsDimension x = "32" y = "12"/> |
||
1192 | </Size> |
||
1193 | <Anchors> |
||
1194 | <Anchor |
||
1195 | point = "RIGHT" |
||
1196 | relativeTo = "DepositBoxUI_DepositBox_ThresholdCopper" |
||
1197 | relativePoint = "LEFT"> |
||
1198 | <Offset> |
||
1199 | <AbsDimension x = "-14" y = "0"/> |
||
1200 | </Offset> |
||
1201 | </Anchor> |
||
1202 | </Anchors> |
||
1203 | <NormalTexture file = "Interface\MoneyFrame\UI-MoneyIcons"> |
||
1204 | <Size> |
||
1205 | <AbsDimension x = "13" y = "13"/> |
||
1206 | </Size> |
||
1207 | <Anchors> |
||
1208 | <Anchor point = "RIGHT"/> |
||
1209 | </Anchors> |
||
1210 | <TexCoords |
||
1211 | left = "0.25" |
||
1212 | right = "0.5" |
||
1213 | top = "0" |
||
1214 | bottom = "1"/> |
||
1215 | </NormalTexture> |
||
1216 | <NormalText |
||
1217 | name = "DepositBoxUI_DepositBox_ThresholdSilverText" |
||
1218 | inherits = "NumberFontNormal" |
||
1219 | justifyH = "LEFT"> |
||
1220 | <Anchors> |
||
1221 | <Anchor point = "LEFT"> |
||
1222 | <Offset> |
||
1223 | <AbsDimension x = "-3" y = "0"/> |
||
1224 | </Offset> |
||
1225 | </Anchor> |
||
1226 | </Anchors> |
||
1227 | </NormalText> |
||
1228 | </Button> |
||
1229 | <Button name = "DepositBoxUI_DepositBox_ThresholdGold"> |
||
1230 | <Size> |
||
1231 | <AbsDimension x = "32" y = "12"/> |
||
1232 | </Size> |
||
1233 | <Anchors> |
||
1234 | <Anchor |
||
1235 | point = "RIGHT" |
||
1236 | relativeTo = "DepositBoxUI_DepositBox_ThresholdSilver" |
||
1237 | relativePoint = "LEFT"> |
||
1238 | <Offset> |
||
1239 | <AbsDimension x = "-14" y = "0"/> |
||
1240 | </Offset> |
||
1241 | </Anchor> |
||
1242 | </Anchors> |
||
1243 | <NormalTexture file = "Interface\MoneyFrame\UI-MoneyIcons"> |
||
1244 | <Size> |
||
1245 | <AbsDimension x = "13" y = "13"/> |
||
1246 | </Size> |
||
1247 | <Anchors> |
||
1248 | <Anchor point = "RIGHT"/> |
||
1249 | </Anchors> |
||
1250 | <TexCoords |
||
1251 | left = "0" |
||
1252 | right = "0.25" |
||
1253 | top = "0" |
||
1254 | bottom = "1"/> |
||
1255 | </NormalTexture> |
||
1256 | <NormalText |
||
1257 | name = "DepositBoxUI_DepositBox_ThresholdGoldText" |
||
1258 | inherits = "NumberFontNormal" |
||
1259 | justifyH = "LEFT"> |
||
1260 | <Anchors> |
||
1261 | <Anchor point = "LEFT"> |
||
1262 | <Offset> |
||
1263 | <AbsDimension x = "-13" y = "0"/> |
||
1264 | </Offset> |
||
1265 | </Anchor> |
||
1266 | </Anchors> |
||
1267 | </NormalText> |
||
1268 | </Button> |
||
1269 | </Frames> |
||
1270 | <Scripts> |
||
1271 | <OnShow>DepositBox_UpdateThresholdDisplay();</OnShow> |
||
1272 | </Scripts> |
||
1273 | </Frame>--> |
||
1274 | <Frame name = "DepositBoxUI_DepositBox_ThresholdInputFrame" inherits = "MoneyInputFrameTemplate"> |
||
1275 | <Anchors> |
||
1276 | <Anchor |
||
1277 | point = "TOPLEFT" |
||
1278 | relativeTo = "DepositBoxUI_DepositBox_ThresholdFrame" |
||
1279 | relativePoint = "TOPLEFT"> |
||
1280 | <Offset> |
||
1281 | <AbsDimension x = "3" y = "-6"/> |
||
1282 | </Offset> |
||
1283 | </Anchor> |
||
1284 | </Anchors> |
||
1285 | <Scripts> |
||
1286 | <OnHide> |
||
1287 | if (DepositBoxUI_DepositBox_ThresholdFrame ~= nil) then |
||
1288 | DepositBoxUI_DepositBox_ThresholdFrame:Show(); |
||
1289 | end |
||
1290 | </OnHide> |
||
1291 | <OnShow> |
||
1292 | if (DepositBoxUI_DepositBox_ThresholdFrame ~= nil) then |
||
1293 | DepositBoxUI_DepositBox_ThresholdFrame:Hide(); |
||
1294 | end |
||
1295 | </OnShow> |
||
1296 | </Scripts> |
||
1297 | </Frame> |
||
1298 | </Frames> |
||
1299 | <Scripts> |
||
1300 | <OnShow> |
||
1301 | if (DepositBoxUI_OptionsFrame ~= nil) then |
||
1302 | DepositBoxUI_OptionsFrame:Hide(); |
||
1303 | end |
||
1304 | if (DepositBoxUI_OptionsTab ~= nil) then |
||
1305 | DepositBoxUI_OptionsTab:SetChecked(0); |
||
1306 | end |
||
1307 | if (DepositBoxUI_DepositBoxTab ~= nil) then |
||
1308 | DepositBoxUI_DepositBoxTab:SetChecked(1); |
||
1309 | end |
||
1310 | </OnShow> |
||
1311 | </Scripts> |
||
1312 | </Frame> |
||
1313 | <!--OPTIONS FRAME --> |
||
1314 | <Frame |
||
1315 | name = "DepositBoxUI_OptionsFrame" |
||
1316 | frameStrata = "HIGH" |
||
1317 | toplevel = "true" |
||
1318 | parent = "UIParent" |
||
1319 | enableMouse = "true"> |
||
1320 | <Size> |
||
1321 | <AbsDimension x = "260" y = "260"/> |
||
1322 | </Size> |
||
1323 | <Backdrop |
||
1324 | bgFile = "Interface\TutorialFrame\TutorialFrameBackground" |
||
1325 | edgeFile = "Interface\Tooltips\UI-Tooltip-Border" |
||
1326 | tile = "true"> |
||
1327 | <EdgeSize> |
||
1328 | <AbsValue val = "16"/> |
||
1329 | </EdgeSize> |
||
1330 | <BackgroundInsets> |
||
1331 | <AbsInset |
||
1332 | left = "5" |
||
1333 | right = "5" |
||
1334 | top = "5" |
||
1335 | bottom = "5"/> |
||
1336 | </BackgroundInsets> |
||
1337 | </Backdrop> |
||
1338 | <Anchors> |
||
1339 | <Anchor |
||
1340 | point = "TOPLEFT" |
||
1341 | relativeTo = "DepositBoxUI_DepositBoxFrame" |
||
1342 | relativePoint = "TOPLEFT"> |
||
1343 | <Offset> |
||
1344 | <AbsDimension x = "0" y = "0"/> |
||
1345 | </Offset> |
||
1346 | </Anchor> |
||
1347 | </Anchors> |
||
1348 | <Scripts> |
||
1349 | <OnShow> |
||
1350 | DepositBoxUI_DepositBoxFrame:Hide(); |
||
1351 | DepositBoxUI_OptionsTab:SetChecked(1); |
||
1352 | DepositBoxUI_DepositBoxTab:SetChecked(0); |
||
1353 | </OnShow> |
||
1354 | <OnLoad>DepositBoxUI_OptionsFrame:Hide();</OnLoad> |
||
1355 | </Scripts> |
||
1356 | <Frames> |
||
1357 | <Slider |
||
1358 | name = "DepositBoxUI_Options_MiniMapSlider" |
||
1359 | orientation = "HORIZONTAL" |
||
1360 | minValue = "1" |
||
1361 | maxValue = "360" |
||
1362 | valueStep = "1" |
||
1363 | defaultValue = "1"> |
||
1364 | <Size> |
||
1365 | <AbsDimension x = "150" y = "16"/> |
||
1366 | </Size> |
||
1367 | <Anchors> |
||
1368 | <Anchor point = "TOP" relativePoint = "TOP"> |
||
1369 | <Offset> |
||
1370 | <AbsDimension x = "20" y = "-30"/> |
||
1371 | </Offset> |
||
1372 | </Anchor> |
||
1373 | </Anchors> |
||
1374 | <Backdrop |
||
1375 | bgFile = "Interface\Buttons\UI-SliderBar-Background" |
||
1376 | edgeFile = "Interface\Buttons\UI-SliderBar-Border" |
||
1377 | tile = "true"> |
||
1378 | <EdgeSize> |
||
1379 | <AbsValue val = "8"/> |
||
1380 | </EdgeSize> |
||
1381 | <TileSize> |
||
1382 | <AbsValue val = "8"/> |
||
1383 | </TileSize> |
||
1384 | <BackgroundInsets> |
||
1385 | <AbsInset |
||
1386 | left = "3" |
||
1387 | right = "3" |
||
1388 | top = "6" |
||
1389 | bottom = "6"/> |
||
1390 | </BackgroundInsets> |
||
1391 | </Backdrop> |
||
1392 | <Layers> |
||
1393 | <Layer level = "ARTWORK"> |
||
1394 | <FontString |
||
1395 | name = "DepositBoxUI_Options_MiniMapLabel" |
||
1396 | inherits = "GameFontHighlightSmall" |
||
1397 | text = "Minimap Button:"> |
||
1398 | <Anchors> |
||
1399 | <Anchor point = "BOTTOMRIGHT" relativePoint = "TOP"> |
||
1400 | <Offset> |
||
1401 | <AbsDimension x = "-37" y = "10"/> |
||
1402 | </Offset> |
||
1403 | </Anchor> |
||
1404 | </Anchors> |
||
1405 | </FontString> |
||
1406 | <FontString inherits = "GameFontHighlightSmall" text = "1"> |
||
1407 | <Anchors> |
||
1408 | <Anchor point = "TOP" relativePoint = "BOTTOMLEFT"></Anchor> |
||
1409 | </Anchors> |
||
1410 | </FontString> |
||
1411 | <FontString inherits = "GameFontHighlightSmall" text = "360"> |
||
1412 | <Anchors> |
||
1413 | <Anchor point = "TOP" relativePoint = "BOTTOMRIGHT"></Anchor> |
||
1414 | </Anchors> |
||
1415 | </FontString> |
||
1416 | <FontString |
||
1417 | name = "DepositBoxUI_Options_MiniMapSliderText" |
||
1418 | inherits = "GameFontHighlightSmall" |
||
1419 | text = "1"> |
||
1420 | <Anchors> |
||
1421 | <Anchor point = "BOTTOM" relativePoint = "TOP"></Anchor> |
||
1422 | </Anchors> |
||
1423 | </FontString> |
||
1424 | </Layer> |
||
1425 | </Layers> |
||
1426 | <Scripts> |
||
1427 | <OnValueChanged>DepositBox_MiniMapOnValueChanged();</OnValueChanged> |
||
1428 | </Scripts> |
||
1429 | <ThumbTexture file = "Interface\Buttons\UI-SliderBar-Button-Vertical"> |
||
1430 | <Size> |
||
1431 | <AbsDimension x = "32" y = "32"/> |
||
1432 | </Size> |
||
1433 | </ThumbTexture> |
||
1434 | </Slider> |
||
1435 | <CheckButton name = "DepositBoxUI_Options_MiniMapCheckButton"> |
||
1436 | <Size> |
||
1437 | <AbsDimension x = "30" y = "30"/> |
||
1438 | </Size> |
||
1439 | <Anchors> |
||
1440 | <Anchor |
||
1441 | point = "TOPLEFT" |
||
1442 | relativeTo = "DepositBoxUI_Options_MiniMapLabel" |
||
1443 | relativePoint = "BOTTOMLEFT"> |
||
1444 | <Offset> |
||
1445 | <AbsDimension x = "-4" y = "-3"/> |
||
1446 | </Offset> |
||
1447 | </Anchor> |
||
1448 | </Anchors> |
||
1449 | <Scripts> |
||
1450 | <OnClick>DepositBox_ToggleMiniMapButton();</OnClick> |
||
1451 | <OnEnter> |
||
1452 | if (DepositBox_Location == "ABOVELEFT" or DepositBox_Location == "BELOWLEFT") then |
||
1453 | GameTooltip:SetOwner(DepositBoxUI_DepositBoxFrame, "ANCHOR_TOPLEFT"); |
||
1454 | else |
||
1455 | GameTooltip:SetOwner(DepositBoxUI_DepositBoxFrame, "ANCHOR_TOPRIGHT"); |
||
1456 | end |
||
1457 | GameTooltip:SetText("Toggle MiniMap Button"); |
||
1458 | </OnEnter> |
||
1459 | <OnLeave>GameTooltip:Hide();</OnLeave> |
||
1460 | </Scripts> |
||
1461 | <NormalTexture file = "Interface\Buttons\UI-CheckBox-UP"> |
||
1462 | <Size> |
||
1463 | <AbsDimension x = "30" y = "30"/> |
||
1464 | </Size> |
||
1465 | <Anchors> |
||
1466 | <Anchor point = "TOPLEFT"/> |
||
1467 | </Anchors> |
||
1468 | </NormalTexture> |
||
1469 | <HighlightTexture file = "Interface\Buttons\UI-CheckBox-Highlight" alphaMode = "ADD"> |
||
1470 | <Size> |
||
1471 | <AbsDimension x = "30" y = "30"/> |
||
1472 | </Size> |
||
1473 | <Anchors> |
||
1474 | <Anchor point = "TOPLEFT"> |
||
1475 | <Offset> |
||
1476 | <AbsDimension x = "0" y = "0"/> |
||
1477 | </Offset> |
||
1478 | </Anchor> |
||
1479 | </Anchors> |
||
1480 | </HighlightTexture> |
||
1481 | <CheckedTexture name = "$parentCheck" file = "Interface\Buttons\UI-CheckBox-Check"/> |
||
1482 | <DisabledTexture file = "Interface\AddOns\DepositBox\Images\DepositBoxCheckDisabled"> |
||
1483 | <Size> |
||
1484 | <AbsDimension x = "30" y = "30"/> |
||
1485 | </Size> |
||
1486 | <Anchors> |
||
1487 | <Anchor point = "CENTER"> |
||
1488 | <Offset> |
||
1489 | <AbsDimension x = "0" y = "1"/> |
||
1490 | </Offset> |
||
1491 | </Anchor> |
||
1492 | </Anchors> |
||
1493 | </DisabledTexture> |
||
1494 | <DisabledCheckedTexture file = "Interface\Buttons\UI-CheckBox-Check-Disabled"/> |
||
1495 | </CheckButton> |
||
1496 | <!--Money Display --> |
||
1497 | <Frame name = "DepositBoxUI_Options_MoneyDisplayFrame"> |
||
1498 | <Size> |
||
1499 | <AbsDimension x = "60" y = "30"/> |
||
1500 | </Size> |
||
1501 | <Anchors> |
||
1502 | <Anchor |
||
1503 | point = "TOPLEFT" |
||
1504 | relativeTo = "DepositBoxUI_Options_MiniMapSlider" |
||
1505 | relativePoint = "BOTTOMLEFT"> |
||
1506 | <Offset> |
||
1507 | <AbsDimension x = "0" y = "-40"/> |
||
1508 | </Offset> |
||
1509 | </Anchor> |
||
1510 | </Anchors> |
||
1511 | <Layers> |
||
1512 | <Layer level = "ARTWORK"> |
||
1513 | <FontString |
||
1514 | name = "DepositBoxUI_Options_MoneyDisplayLabel" |
||
1515 | inherits = "GameFontHighlightSmall" |
||
1516 | text = "Money Display:"> |
||
1517 | <Anchors> |
||
1518 | <Anchor point = "BOTTOMLEFT" relativePoint = "TOPLEFT"> |
||
1519 | <Offset> |
||
1520 | <AbsDimension x = "-50" y = "6"/> |
||
1521 | </Offset> |
||
1522 | </Anchor> |
||
1523 | </Anchors> |
||
1524 | </FontString> |
||
1525 | </Layer> |
||
1526 | </Layers> |
||
1527 | <Frames> |
||
1528 | <CheckButton name = "DepositBoxUI_Options_MoneyDisplayCheckButton"> |
||
1529 | <Size> |
||
1530 | <AbsDimension x = "30" y = "30"/> |
||
1531 | </Size> |
||
1532 | <Anchors> |
||
1533 | <Anchor |
||
1534 | point = "TOPLEFT" |
||
1535 | relativeTo = "DepositBoxUI_Options_MoneyDisplayLabel" |
||
1536 | relativePoint = "BOTTOMLEFT"> |
||
1537 | <Offset> |
||
1538 | <AbsDimension x = "-4" y = "-3"/> |
||
1539 | </Offset> |
||
1540 | </Anchor> |
||
1541 | </Anchors> |
||
1542 | <Scripts> |
||
1543 | <OnClick>DepositBox_ToggleUsingMoneyDisplay();</OnClick> |
||
1544 | <OnEnter> |
||
1545 | if (DepositBox_Location == "ABOVELEFT" or DepositBox_Location == "BELOWLEFT") then |
||
1546 | GameTooltip:SetOwner(DepositBoxUI_DepositBoxFrame, "ANCHOR_TOPLEFT"); |
||
1547 | else |
||
1548 | GameTooltip:SetOwner(DepositBoxUI_DepositBoxFrame, "ANCHOR_TOPRIGHT"); |
||
1549 | end |
||
1550 | GameTooltip:SetText("Toggle Money Display"); |
||
1551 | </OnEnter> |
||
1552 | <OnLeave>GameTooltip:Hide();</OnLeave> |
||
1553 | </Scripts> |
||
1554 | <NormalTexture file = "Interface\Buttons\UI-CheckBox-UP"/> |
||
1555 | <HighlightTexture file = "Interface\Buttons\UI-CheckBox-Highlight" alphaMode = "ADD"/> |
||
1556 | <CheckedTexture file = "Interface\Buttons\UI-CheckBox-Check"/> |
||
1557 | <DisabledTexture file = "Interface\AddOns\DepositBox\Images\DepositBoxCheckDisabled"> |
||
1558 | <Size> |
||
1559 | <AbsDimension x = "30" y = "30"/> |
||
1560 | </Size> |
||
1561 | <Anchors> |
||
1562 | <Anchor point = "CENTER"> |
||
1563 | <Offset> |
||
1564 | <AbsDimension x = "0" y = "2"/> |
||
1565 | </Offset> |
||
1566 | </Anchor> |
||
1567 | </Anchors> |
||
1568 | </DisabledTexture> |
||
1569 | <DisabledCheckedTexture file = "Interface\Buttons\UI-CheckBox-Check-Disabled"/> |
||
1570 | </CheckButton> |
||
1571 | <CheckButton name = "DepositBoxUI_Options_MoneyDisplay_BagCheckButton"> |
||
1572 | <Size> |
||
1573 | <AbsDimension x = "20" y = "20"/> |
||
1574 | </Size> |
||
1575 | <Anchors> |
||
1576 | <Anchor |
||
1577 | point = "TOPLEFT" |
||
1578 | relativeTo = "DepositBoxUI_Options_MoneyDisplayCheckButton" |
||
1579 | relativePoint = "TOPRIGHT"> |
||
1580 | <Offset> |
||
1581 | <AbsDimension x = "40" y = "-6"/> |
||
1582 | </Offset> |
||
1583 | </Anchor> |
||
1584 | </Anchors> |
||
1585 | <Scripts> |
||
1586 | <OnClick>DepositBox_ToggleMoneyDisplayType("Bag");</OnClick> |
||
1587 | <OnEnter> |
||
1588 | if (DepositBox_Location == "ABOVELEFT" or DepositBox_Location == "BELOWLEFT") then |
||
1589 | GameTooltip:SetOwner(DepositBoxUI_DepositBoxFrame, "ANCHOR_TOPLEFT"); |
||
1590 | else |
||
1591 | GameTooltip:SetOwner(DepositBoxUI_DepositBoxFrame, "ANCHOR_TOPRIGHT"); |
||
1592 | end |
||
1593 | GameTooltip:SetText("Display Bag Money"); |
||
1594 | </OnEnter> |
||
1595 | <OnLeave>GameTooltip:Hide();</OnLeave> |
||
1596 | </Scripts> |
||
1597 | <NormalTexture file = "Interface\Buttons\UI-CheckBox-UP"/> |
||
1598 | <HighlightTexture file = "Interface\Buttons\UI-CheckBox-Highlight" alphaMode = "ADD"/> |
||
1599 | <CheckedTexture file = "Interface\Buttons\UI-CheckBox-Check"/> |
||
1600 | <DisabledTexture file = "Interface\AddOns\DepositBox\Images\DepositBoxCheckDisabled"> |
||
1601 | <Size> |
||
1602 | <AbsDimension x = "20" y = "20"/> |
||
1603 | </Size> |
||
1604 | <Anchors> |
||
1605 | <Anchor point = "CENTER"> |
||
1606 | <Offset> |
||
1607 | <AbsDimension x = "0" y = "1"/> |
||
1608 | </Offset> |
||
1609 | </Anchor> |
||
1610 | </Anchors> |
||
1611 | </DisabledTexture> |
||
1612 | <DisabledCheckedTexture file = "Interface\Buttons\UI-CheckBox-Check-Disabled"/> |
||
1613 | <NormalText |
||
1614 | inherits = "GameFontHighlightSmall" |
||
1615 | justifyH = "LEFT" |
||
1616 | text = "Bag:"> |
||
1617 | <Anchors> |
||
1618 | <Anchor |
||
1619 | point = "RIGHT" |
||
1620 | relativeTo = "DepositBoxUI_Options_MoneyDisplay_BagCheckButton" |
||
1621 | relativePoint = "LEFT"> |
||
1622 | <Offset> |
||
1623 | <AbsDimension x = "0" y = "2"/> |
||
1624 | </Offset> |
||
1625 | </Anchor> |
||
1626 | </Anchors> |
||
1627 | </NormalText> |
||
1628 | <PushedTextOffset x = "0" y = "0"/> |
||
1629 | </CheckButton> |
||
1630 | <CheckButton name = "DepositBoxUI_Options_MoneyDisplay_BoxCheckButton"> |
||
1631 | <Size> |
||
1632 | <AbsDimension x = "20" y = "20"/> |
||
1633 | </Size> |
||
1634 | <Anchors> |
||
1635 | <Anchor |
||
1636 | point = "TOPLEFT" |
||
1637 | relativeTo = "DepositBoxUI_Options_MoneyDisplay_BagCheckButton" |
||
1638 | relativePoint = "TOPRIGHT"> |
||
1639 | <Offset> |
||
1640 | <AbsDimension x = "50" y = "0"/> |
||
1641 | </Offset> |
||
1642 | </Anchor> |
||
1643 | </Anchors> |
||
1644 | <Scripts> |
||
1645 | <OnClick>DepositBox_ToggleMoneyDisplayType("Box");</OnClick> |
||
1646 | <OnEnter> |
||
1647 | if (DepositBox_Location == "ABOVELEFT" or DepositBox_Location == "BELOWLEFT") then |
||
1648 | GameTooltip:SetOwner(DepositBoxUI_DepositBoxFrame, "ANCHOR_TOPLEFT"); |
||
1649 | else |
||
1650 | GameTooltip:SetOwner(DepositBoxUI_DepositBoxFrame, "ANCHOR_TOPRIGHT"); |
||
1651 | end |
||
1652 | GameTooltip:SetText("Display Stored Money"); |
||
1653 | </OnEnter> |
||
1654 | <OnLeave>GameTooltip:Hide();</OnLeave> |
||
1655 | </Scripts> |
||
1656 | <NormalTexture file = "Interface\Buttons\UI-CheckBox-UP"/> |
||
1657 | <HighlightTexture file = "Interface\Buttons\UI-CheckBox-Highlight" alphaMode = "ADD"/> |
||
1658 | <CheckedTexture file = "Interface\Buttons\UI-CheckBox-Check"/> |
||
1659 | <DisabledTexture file = "Interface\AddOns\DepositBox\Images\DepositBoxCheckDisabled"> |
||
1660 | <Size> |
||
1661 | <AbsDimension x = "20" y = "20"/> |
||
1662 | </Size> |
||
1663 | <Anchors> |
||
1664 | <Anchor point = "CENTER"> |
||
1665 | <Offset> |
||
1666 | <AbsDimension x = "0" y = "1"/> |
||
1667 | </Offset> |
||
1668 | </Anchor> |
||
1669 | </Anchors> |
||
1670 | </DisabledTexture> |
||
1671 | <DisabledCheckedTexture file = "Interface\Buttons\UI-CheckBox-Check-Disabled"/> |
||
1672 | <NormalText |
||
1673 | inherits = "GameFontHighlightSmall" |
||
1674 | justifyH = "LEFT" |
||
1675 | text = "Stored:"> |
||
1676 | <Anchors> |
||
1677 | <Anchor |
||
1678 | point = "RIGHT" |
||
1679 | relativeTo = "DepositBoxUI_Options_MoneyDisplay_BoxCheckButton" |
||
1680 | relativePoint = "LEFT"> |
||
1681 | <Offset> |
||
1682 | <AbsDimension x = "0" y = "2"/> |
||
1683 | </Offset> |
||
1684 | </Anchor> |
||
1685 | </Anchors> |
||
1686 | </NormalText> |
||
1687 | <PushedTextOffset x = "0" y = "0"/> |
||
1688 | </CheckButton> |
||
1689 | </Frames> |
||
1690 | </Frame> |
||
1691 | <!--Money Alert / Storage Target Frame --> |
||
1692 | <Frame name = "DepositBoxUI_Options_MoneyInputFrame" inherits = "MoneyInputFrameTemplate"> |
||
1693 | <Anchors> |
||
1694 | <Anchor |
||
1695 | point = "TOPLEFT" |
||
1696 | relativeTo = "DepositBoxUI_Options_MoneyDisplayFrame" |
||
1697 | relativePoint = "BOTTOMLEFT"> |
||
1698 | <Offset> |
||
1699 | <AbsDimension x = "0" y = "-20"/> |
||
1700 | </Offset> |
||
1701 | </Anchor> |
||
1702 | </Anchors> |
||
1703 | <Layers> |
||
1704 | <Layer level = "ARTWORK"> |
||
1705 | <FontString |
||
1706 | name = "DepositBoxUI_Options_MoneyAlertLabel" |
||
1707 | inherits = "GameFontHighlightSmall" |
||
1708 | text = "Storage Target:"> |
||
1709 | <Anchors> |
||
1710 | <Anchor point = "BOTTOMLEFT" relativePoint = "TOPLEFT"> |
||
1711 | <Offset> |
||
1712 | <AbsDimension x = "-50" y = "6"/> |
||
1713 | </Offset> |
||
1714 | </Anchor> |
||
1715 | </Anchors> |
||
1716 | </FontString> |
||
1717 | </Layer> |
||
1718 | </Layers> |
||
1719 | <Scripts> |
||
1720 | <OnHide> |
||
1721 | if (DepositBoxUI_Options_MoneyAlertFrame ~= nil) then |
||
1722 | DepositBoxUI_Options_MoneyAlertFrame:Show(); |
||
1723 | end |
||
1724 | </OnHide> |
||
1725 | <OnShow> |
||
1726 | if (DepositBoxUI_Options_MoneyAlertFrame ~= nil) then |
||
1727 | DepositBoxUI_Options_MoneyAlertFrame:Hide(); |
||
1728 | end |
||
1729 | </OnShow> |
||
1730 | </Scripts> |
||
1731 | </Frame> |
||
1732 | <CheckButton name = "DepositBoxUI_Options_MoneyAlertCheckButton"> |
||
1733 | <Size> |
||
1734 | <AbsDimension x = "30" y = "30"/> |
||
1735 | </Size> |
||
1736 | <Anchors> |
||
1737 | <Anchor |
||
1738 | point = "TOPLEFT" |
||
1739 | relativeTo = "DepositBoxUI_Options_MoneyAlertLabel" |
||
1740 | relativePoint = "BOTTOMLEFT"> |
||
1741 | <Offset> |
||
1742 | <AbsDimension x = "-4" y = "-3"/> |
||
1743 | </Offset> |
||
1744 | </Anchor> |
||
1745 | </Anchors> |
||
1746 | <Scripts> |
||
1747 | <OnClick>DepositBox_ToggleUsingMoneyAlert();</OnClick> |
||
1748 | <OnEnter> |
||
1749 | if (DepositBox_Location == "ABOVELEFT" or DepositBox_Location == "BELOWLEFT") then |
||
1750 | GameTooltip:SetOwner(DepositBoxUI_DepositBoxFrame, "ANCHOR_TOPLEFT"); |
||
1751 | else |
||
1752 | GameTooltip:SetOwner(DepositBoxUI_DepositBoxFrame, "ANCHOR_TOPRIGHT"); |
||
1753 | end |
||
1754 | GameTooltip:SetText("Toggle Using a Storage Target"); |
||
1755 | </OnEnter> |
||
1756 | <OnLeave>GameTooltip:Hide();</OnLeave> |
||
1757 | </Scripts> |
||
1758 | <NormalTexture file = "Interface\Buttons\UI-CheckBox-UP"/> |
||
1759 | <HighlightTexture file = "Interface\Buttons\UI-CheckBox-Highlight" alphaMode = "ADD"/> |
||
1760 | <CheckedTexture file = "Interface\Buttons\UI-CheckBox-Check"/> |
||
1761 | <DisabledTexture file = "Interface\AddOns\DepositBox\Images\DepositBoxCheckDisabled"> |
||
1762 | <Size> |
||
1763 | <AbsDimension x = "30" y = "30"/> |
||
1764 | </Size> |
||
1765 | <Anchors> |
||
1766 | <Anchor point = "CENTER"> |
||
1767 | <Offset> |
||
1768 | <AbsDimension x = "0" y = "2"/> |
||
1769 | </Offset> |
||
1770 | </Anchor> |
||
1771 | </Anchors> |
||
1772 | </DisabledTexture> |
||
1773 | <DisabledCheckedTexture file = "Interface\Buttons\UI-CheckBox-Disabled"/> |
||
1774 | </CheckButton> |
||
1775 | <Frame name = "DepositBoxUI_Options_MoneyAlertFrame"> |
||
1776 | <Size> |
||
1777 | <AbsDimension x = "170" y = "32"/> |
||
1778 | </Size> |
||
1779 | <Anchors> |
||
1780 | <Anchor |
||
1781 | point = "TOPLEFT" |
||
1782 | relativeTo = "DepositBoxUI_Options_MoneyInputFrame" |
||
1783 | relativePoint = "TOPLEFT"> |
||
1784 | <Offset> |
||
1785 | <AbsDimension x = "-3" y = "6"/> |
||
1786 | </Offset> |
||
1787 | </Anchor> |
||
1788 | </Anchors> |
||
1789 | <Layers> |
||
1790 | <Layer level = "ARTWORK"> |
||
1791 | <FontString inherits = "GameFontHighlightSmall" text = "Storage Target:"> |
||
1792 | <Anchors> |
||
1793 | <Anchor |
||
1794 | point = "TOPLEFT" |
||
1795 | relativeTo = "DepositBoxUI_Options_MoneyAlertLabel" |
||
1796 | relativePoint = "TOPLEFT"> |
||
1797 | <Offset> |
||
1798 | <AbsDimension x = "0" y = "0"/> |
||
1799 | </Offset> |
||
1800 | </Anchor> |
||
1801 | </Anchors> |
||
1802 | </FontString> |
||
1803 | </Layer> |
||
1804 | </Layers> |
||
1805 | <Frames> |
||
1806 | <Button name = "DepositBoxUI_Options_MoneyAlertCopper"> |
||
1807 | <Size> |
||
1808 | <AbsDimension x = "32" y = "13"/> |
||
1809 | </Size> |
||
1810 | <Anchors> |
||
1811 | <Anchor point = "RIGHT"> |
||
1812 | <Offset> |
||
1813 | <AbsDimension x = "-2" y = "0"/> |
||
1814 | </Offset> |
||
1815 | </Anchor> |
||
1816 | </Anchors> |
||
1817 | <NormalTexture file = "Interface\MoneyFrame\UI-MoneyIcons"> |
||
1818 | <Size> |
||
1819 | <AbsDimension x = "13" y = "13"/> |
||
1820 | </Size> |
||
1821 | <Anchors> |
||
1822 | <Anchor point = "RIGHT"/> |
||
1823 | </Anchors> |
||
1824 | <TexCoords |
||
1825 | left = "0.5" |
||
1826 | right = "0.75" |
||
1827 | top = "0" |
||
1828 | bottom = "1"/> |
||
1829 | </NormalTexture> |
||
1830 | <NormalText |
||
1831 | name = "DepositBoxUI_Options_MoneyAlertCopperText" |
||
1832 | inherits = "NumberFontNormal" |
||
1833 | justifyH = "LEFT"> |
||
1834 | <Anchors> |
||
1835 | <Anchor point = "LEFT"> |
||
1836 | <Offset> |
||
1837 | <AbsDimension x = "-3" y = "0"/> |
||
1838 | </Offset> |
||
1839 | </Anchor> |
||
1840 | </Anchors> |
||
1841 | </NormalText> |
||
1842 | </Button> |
||
1843 | <Button name = "DepositBoxUI_Options_MoneyAlertSilver"> |
||
1844 | <Size> |
||
1845 | <AbsDimension x = "32" y = "12"/> |
||
1846 | </Size> |
||
1847 | <Anchors> |
||
1848 | <Anchor |
||
1849 | point = "RIGHT" |
||
1850 | relativeTo = "DepositBoxUI_Options_MoneyAlertCopper" |
||
1851 | relativePoint = "LEFT"> |
||
1852 | <Offset> |
||
1853 | <AbsDimension x = "-14" y = "0"/> |
||
1854 | </Offset> |
||
1855 | </Anchor> |
||
1856 | </Anchors> |
||
1857 | <NormalTexture file = "Interface\MoneyFrame\UI-MoneyIcons"> |
||
1858 | <Size> |
||
1859 | <AbsDimension x = "13" y = "13"/> |
||
1860 | </Size> |
||
1861 | <Anchors> |
||
1862 | <Anchor point = "RIGHT"/> |
||
1863 | </Anchors> |
||
1864 | <TexCoords |
||
1865 | left = "0.25" |
||
1866 | right = "0.5" |
||
1867 | top = "0" |
||
1868 | bottom = "1"/> |
||
1869 | </NormalTexture> |
||
1870 | <NormalText |
||
1871 | name = "DepositBoxUI_Options_MoneyAlertSilverText" |
||
1872 | inherits = "NumberFontNormal" |
||
1873 | justifyH = "LEFT"> |
||
1874 | <Anchors> |
||
1875 | <Anchor point = "LEFT"> |
||
1876 | <Offset> |
||
1877 | <AbsDimension x = "-3" y = "0"/> |
||
1878 | </Offset> |
||
1879 | </Anchor> |
||
1880 | </Anchors> |
||
1881 | </NormalText> |
||
1882 | </Button> |
||
1883 | <Button name = "DepositBoxUI_Options_MoneyAlertGold"> |
||
1884 | <Size> |
||
1885 | <AbsDimension x = "32" y = "12"/> |
||
1886 | </Size> |
||
1887 | <Anchors> |
||
1888 | <Anchor |
||
1889 | point = "RIGHT" |
||
1890 | relativeTo = "DepositBoxUI_Options_MoneyAlertSilver" |
||
1891 | relativePoint = "LEFT"> |
||
1892 | <Offset> |
||
1893 | <AbsDimension x = "-14" y = "0"/> |
||
1894 | </Offset> |
||
1895 | </Anchor> |
||
1896 | </Anchors> |
||
1897 | <NormalTexture file = "Interface\MoneyFrame\UI-MoneyIcons"> |
||
1898 | <Size> |
||
1899 | <AbsDimension x = "13" y = "13"/> |
||
1900 | </Size> |
||
1901 | <Anchors> |
||
1902 | <Anchor point = "RIGHT"/> |
||
1903 | </Anchors> |
||
1904 | <TexCoords |
||
1905 | left = "0" |
||
1906 | right = "0.25" |
||
1907 | top = "0" |
||
1908 | bottom = "1"/> |
||
1909 | </NormalTexture> |
||
1910 | <NormalText |
||
1911 | name = "DepositBoxUI_Options_MoneyAlertGoldText" |
||
1912 | inherits = "NumberFontNormal" |
||
1913 | justifyH = "LEFT"> |
||
1914 | <Anchors> |
||
1915 | <Anchor point = "LEFT"> |
||
1916 | <Offset> |
||
1917 | <AbsDimension x = "-13" y = "0"/> |
||
1918 | </Offset> |
||
1919 | </Anchor> |
||
1920 | </Anchors> |
||
1921 | </NormalText> |
||
1922 | </Button> |
||
1923 | </Frames> |
||
1924 | <Scripts> |
||
1925 | <OnShow>DepositBox_UpdateMoneyAlertDisplay();</OnShow> |
||
1926 | </Scripts> |
||
1927 | </Frame> |
||
1928 | <Button |
||
1929 | name = "DepositBoxUI_Options_HideButton" |
||
1930 | inherits = "OptionsButtonTemplate" |
||
1931 | text = "Hide"> |
||
1932 | <Size> |
||
1933 | <AbsDimension x = "80" y = "20"/> |
||
1934 | </Size> |
||
1935 | <Anchors> |
||
1936 | <Anchor |
||
1937 | point = "TOPRIGHT" |
||
1938 | relativeTo = "DepositBoxUI_Options_MoneyAlertFrame" |
||
1939 | relativePoint = "BOTTOMRIGHT"> |
||
1940 | <Offset> |
||
1941 | <AbsDimension x = "0" y = "-25"/> |
||
1942 | </Offset> |
||
1943 | </Anchor> |
||
1944 | </Anchors> |
||
1945 | <Scripts> |
||
1946 | <OnClick> |
||
1947 | if (DepositBoxUI_Options_MoneyAlertCheckButton:GetChecked() ~= nil) then |
||
1948 | DepositBox_PerformTargetHide(); |
||
1949 | end |
||
1950 | </OnClick> |
||
1951 | <OnEnter> |
||
1952 | if (DepositBox_Location == "ABOVELEFT" or DepositBox_Location == "BELOWLEFT") then |
||
1953 | GameTooltip:SetOwner(DepositBoxUI_DepositBoxFrame, "ANCHOR_TOPLEFT"); |
||
1954 | else |
||
1955 | GameTooltip:SetOwner(DepositBoxUI_DepositBoxFrame, "ANCHOR_TOPRIGHT"); |
||
1956 | end |
||
1957 | GameTooltip:SetText("Hide until target is reached"); |
||
1958 | </OnEnter> |
||
1959 | <OnLeave>GameTooltip:Hide();</OnLeave> |
||
1960 | </Scripts> |
||
1961 | </Button> |
||
1962 | <CheckButton name = "DepositBoxUI_Options_CompatableCheckButton"> |
||
1963 | <Size> |
||
1964 | <AbsDimension x = "30" y = "30"/> |
||
1965 | </Size> |
||
1966 | <Anchors> |
||
1967 | <Anchor |
||
1968 | point = "TOPLEFT" |
||
1969 | relativeTo = "DepositBoxUI_Options_MoneyAlertCheckButton" |
||
1970 | relativePoint = "BOTTOMLEFT"> |
||
1971 | <Offset> |
||
1972 | <AbsDimension x = "0" y = "-25"/> |
||
1973 | </Offset> |
||
1974 | </Anchor> |
||
1975 | </Anchors> |
||
1976 | <Scripts> |
||
1977 | <OnClick>DepositBox_ToggleACMode();</OnClick> |
||
1978 | <OnEnter> |
||
1979 | if (DepositBox_Location == "ABOVELEFT" or DepositBox_Location == "BELOWLEFT") then |
||
1980 | GameTooltip:SetOwner(DepositBoxUI_DepositBoxFrame, "ANCHOR_TOPLEFT"); |
||
1981 | else |
||
1982 | GameTooltip:SetOwner(DepositBoxUI_DepositBoxFrame, "ANCHOR_TOPRIGHT"); |
||
1983 | end |
||
1984 | GameTooltip:SetText("Toggle Compatibility with Accountant type Addons"); |
||
1985 | </OnEnter> |
||
1986 | <OnLeave>GameTooltip:Hide();</OnLeave> |
||
1987 | </Scripts> |
||
1988 | <NormalTexture file = "Interface\Buttons\UI-CheckBox-UP"> |
||
1989 | <Size> |
||
1990 | <AbsDimension x = "30" y = "30"/> |
||
1991 | </Size> |
||
1992 | <Anchors> |
||
1993 | <Anchor point = "TOPLEFT"/> |
||
1994 | </Anchors> |
||
1995 | </NormalTexture> |
||
1996 | <HighlightTexture file = "Interface\Buttons\UI-CheckBox-Highlight" alphaMode = "ADD"> |
||
1997 | <Size> |
||
1998 | <AbsDimension x = "30" y = "30"/> |
||
1999 | </Size> |
||
2000 | <Anchors> |
||
2001 | <Anchor point = "TOPLEFT"> |
||
2002 | <Offset> |
||
2003 | <AbsDimension x = "0" y = "0"/> |
||
2004 | </Offset> |
||
2005 | </Anchor> |
||
2006 | </Anchors> |
||
2007 | </HighlightTexture> |
||
2008 | <CheckedTexture name = "$parentCheck" file = "Interface\Buttons\UI-CheckBox-Check"/> |
||
2009 | <NormalText |
||
2010 | inherits = "GameFontHighlightSmall" |
||
2011 | justifyH = "LEFT" |
||
2012 | text = "AC Mode:"> |
||
2013 | <Anchors> |
||
2014 | <Anchor |
||
2015 | point = "BOTTOMLEFT" |
||
2016 | relativeTo = "DepositBoxUI_Options_CompatableCheckButton" |
||
2017 | relativePoint = "TOPLEFT"> |
||
2018 | <Offset> |
||
2019 | <AbsDimension x = "4" y = "0"/> |
||
2020 | </Offset> |
||
2021 | </Anchor> |
||
2022 | </Anchors> |
||
2023 | </NormalText> |
||
2024 | <PushedTextOffset x = "0" y = "0"/> |
||
2025 | </CheckButton> |
||
2026 | </Frames> |
||
2027 | </Frame> |
||
2028 | <!--TABS --> |
||
2029 | <Frame |
||
2030 | name = "DepositBoxUI_Main_TabsFrame" |
||
2031 | parent = "UIParent" |
||
2032 | toplevel = "true" |
||
2033 | frameStrata = "HIGH"> |
||
2034 | <Size> |
||
2035 | <AbsDimension x = "200" y = "30"/> |
||
2036 | </Size> |
||
2037 | <Frames> |
||
2038 | <!--Storage Tab --> |
||
2039 | <CheckButton name = "DepositBoxUI_DepositBoxTab"> |
||
2040 | <Size> |
||
2041 | <AbsDimension x = "80" y = "30"/> |
||
2042 | </Size> |
||
2043 | <Anchors> |
||
2044 | <Anchor |
||
2045 | point = "TOPLEFT" |
||
2046 | relativeTo = "DepositBoxUI_Main_TabsFrame" |
||
2047 | relativePoint = "TOPLEFT"> |
||
2048 | </Anchor> |
||
2049 | </Anchors> |
||
2050 | <Backdrop |
||
2051 | bgFile = "Interface\TutorialFrame\TutorialFrameBackground" |
||
2052 | edgeFile = "Interface\Tooltips\UI-Tooltip-Border" |
||
2053 | tile = "true"> |
||
2054 | <EdgeSize> |
||
2055 | <AbsValue val = "16"/> |
||
2056 | </EdgeSize> |
||
2057 | <BackgroundInsets> |
||
2058 | <AbsInset |
||
2059 | left = "5" |
||
2060 | right = "5" |
||
2061 | top = "5" |
||
2062 | bottom = "5"/> |
||
2063 | </BackgroundInsets> |
||
2064 | </Backdrop> |
||
2065 | <Layers> |
||
2066 | <Layer level = "BACKGROUND"> |
||
2067 | <FontString |
||
2068 | inherits = "GameFontNormal" |
||
2069 | nonspacewrap = "true" |
||
2070 | text = "Storage"> |
||
2071 | <Size> |
||
2072 | <AbsDimension x = "90" y = "12"/> |
||
2073 | </Size> |
||
2074 | </FontString> |
||
2075 | </Layer> |
||
2076 | </Layers> |
||
2077 | <CheckedTexture |
||
2078 | name = "$parentCheck" |
||
2079 | file = "Interface\Buttons\CheckButtonHilight" |
||
2080 | alphaMode = "ADD"> |
||
2081 | <Size> |
||
2082 | <AbsDimension x = "76" y = "26"/> |
||
2083 | </Size> |
||
2084 | <Anchors> |
||
2085 | <Anchor point = "CENTER"/> |
||
2086 | </Anchors> |
||
2087 | </CheckedTexture> |
||
2088 | <HighlightTexture |
||
2089 | name = "$parentCheck" |
||
2090 | file = "Interface\Buttons\ButtonHilight-Square" |
||
2091 | alphaMode = "ADD"> |
||
2092 | <Size> |
||
2093 | <AbsDimension x = "76" y = "26"/> |
||
2094 | </Size> |
||
2095 | <Anchors> |
||
2096 | <Anchor point = "CENTER"/> |
||
2097 | </Anchors> |
||
2098 | </HighlightTexture> |
||
2099 | <Scripts> |
||
2100 | <OnClick> |
||
2101 | if (DepositBoxUI_DepositBoxFrame:IsShown()) then |
||
2102 | DepositBoxUI_DepositBoxTab:SetChecked(1); |
||
2103 | end |
||
2104 | DepositBoxUI_DepositBoxFrame:Show(); |
||
2105 | DepositBoxUI_OptionsTab:SetChecked(0); |
||
2106 | </OnClick> |
||
2107 | </Scripts> |
||
2108 | </CheckButton> |
||
2109 | <!--Options Tab --> |
||
2110 | <CheckButton name = "DepositBoxUI_OptionsTab"> |
||
2111 | <Size> |
||
2112 | <AbsDimension x = "80" y = "30"/> |
||
2113 | </Size> |
||
2114 | <Anchors> |
||
2115 | <Anchor |
||
2116 | point = "TOPLEFT" |
||
2117 | relativeTo = "DepositBoxUI_DepositBoxTab" |
||
2118 | relativePoint = "TOPRIGHT"> |
||
2119 | <Offset> |
||
2120 | <AbsDimension x = "1" y = "0"/> |
||
2121 | </Offset> |
||
2122 | </Anchor> |
||
2123 | </Anchors> |
||
2124 | <Backdrop |
||
2125 | bgFile = "Interface\TutorialFrame\TutorialFrameBackground" |
||
2126 | edgeFile = "Interface\Tooltips\UI-Tooltip-Border" |
||
2127 | tile = "true"> |
||
2128 | <EdgeSize> |
||
2129 | <AbsValue val = "16"/> |
||
2130 | </EdgeSize> |
||
2131 | <BackgroundInsets> |
||
2132 | <AbsInset |
||
2133 | left = "5" |
||
2134 | right = "5" |
||
2135 | top = "5" |
||
2136 | bottom = "5"/> |
||
2137 | </BackgroundInsets> |
||
2138 | </Backdrop> |
||
2139 | <Layers> |
||
2140 | <Layer level = "BACKGROUND"> |
||
2141 | <FontString |
||
2142 | inherits = "GameFontNormal" |
||
2143 | nonspacewrap = "true" |
||
2144 | text = "Options"> |
||
2145 | <Size> |
||
2146 | <AbsDimension x = "90" y = "12"/> |
||
2147 | </Size> |
||
2148 | </FontString> |
||
2149 | </Layer> |
||
2150 | </Layers> |
||
2151 | <CheckedTexture |
||
2152 | name = "$parentCheck" |
||
2153 | file = "Interface\Buttons\CheckButtonHilight" |
||
2154 | alphaMode = "ADD"> |
||
2155 | <Size> |
||
2156 | <AbsDimension x = "76" y = "26"/> |
||
2157 | </Size> |
||
2158 | <Anchors> |
||
2159 | <Anchor point = "CENTER"/> |
||
2160 | </Anchors> |
||
2161 | </CheckedTexture> |
||
2162 | <HighlightTexture |
||
2163 | name = "$parentCheck" |
||
2164 | file = "Interface\Buttons\ButtonHilight-Square" |
||
2165 | alphaMode = "ADD"> |
||
2166 | <Size> |
||
2167 | <AbsDimension x = "76" y = "26"/> |
||
2168 | </Size> |
||
2169 | <Anchors> |
||
2170 | <Anchor point = "CENTER"/> |
||
2171 | </Anchors> |
||
2172 | </HighlightTexture> |
||
2173 | <Scripts> |
||
2174 | <OnClick> |
||
2175 | if (DepositBoxUI_OptionsFrame:IsShown()) then |
||
2176 | DepositBoxUI_DepositBoxTab:SetChecked(0); |
||
2177 | DepositBoxUI_OptionsTab:SetChecked(1); |
||
2178 | end |
||
2179 | DepositBoxUI_DepositBoxTab:SetChecked(0); |
||
2180 | DepositBoxUI_OptionsFrame:Show(); |
||
2181 | </OnClick> |
||
2182 | </Scripts> |
||
2183 | </CheckButton> |
||
2184 | </Frames> |
||
2185 | </Frame> |
||
2186 | </Frames> |
||
2187 | <Scripts> |
||
2188 | <OnLoad> |
||
2189 | DepositBoxUI_DepositBox_MoneyStoredCopperText:SetText("0"); |
||
2190 | DepositBoxUI_DepositBox_MoneyStoredSilverText:SetText("0"); |
||
2191 | DepositBoxUI_DepositBox_MoneyStoredGoldText:SetText("0"); |
||
2192 | DepositBoxUI_DepositBox_MoneyStoredLabelText:SetText("Stored:"); |
||
2193 | |||
2194 | DepositBoxUI_DepositBox_MoneyBagCopperText:SetText("0"); |
||
2195 | DepositBoxUI_DepositBox_MoneyBagSilverText:SetText("0"); |
||
2196 | DepositBoxUI_DepositBox_MoneyBagGoldText:SetText("0"); |
||
2197 | DepositBoxUI_DepositBox_MoneyBagLabelText:SetText("Bag:"); |
||
2198 | |||
2199 | DepositBoxUI_DepositBoxFrame:Hide(); |
||
2200 | DepositBoxUI_OptionsFrame:Hide(); |
||
2201 | DepositBoxUI_Main_BlockButton:Hide(); |
||
2202 | DepositBoxUI_Main_MiniMapButtonFrame:Hide(); |
||
2203 | DepositBoxUI_Main_TabsFrame:Hide(); |
||
2204 | |||
2205 | DepositBox_OnLoad(); |
||
2206 | </OnLoad> |
||
2207 | <OnEvent>DepositBox_OnEvent();</OnEvent> |
||
2208 | </Scripts> |
||
2209 | </Frame> |
||
2210 | <Frame parent = "UIParent"> |
||
2211 | <Frames> |
||
2212 | <Button |
||
2213 | name = "TitanPanelDepositBoxButton" |
||
2214 | inherits = "TitanPanelComboTemplate" |
||
2215 | frameStrata = "FULLSCREEN" |
||
2216 | toplevel = "true"> |
||
2217 | <Frames> |
||
2218 | <Button |
||
2219 | name = "$parentGoldButton" |
||
2220 | inherits = "TitanPanelChildButtonTemplate" |
||
2221 | hidden = "false"> |
||
2222 | <Size> |
||
2223 | <AbsDimension x = "32" y = "13"/> |
||
2224 | </Size> |
||
2225 | <Anchors> |
||
2226 | <Anchor |
||
2227 | point = "LEFT" |
||
2228 | relativeTo = "$parentText" |
||
2229 | relativePoint = "RIGHT"> |
||
2230 | <Offset> |
||
2231 | <AbsDimension x = "2" y = "0"/> |
||
2232 | </Offset> |
||
2233 | </Anchor> |
||
2234 | </Anchors> |
||
2235 | <Scripts> |
||
2236 | <OnClick> |
||
2237 | if(TitanPanelBarButton~=nil) then |
||
2238 | if (arg1 == "LeftButton") then |
||
2239 | DepositBox_ToggleDepositBox(); |
||
2240 | end |
||
2241 | TitanPanelButton_OnClick(arg1) |
||
2242 | end |
||
2243 | </OnClick> |
||
2244 | </Scripts> |
||
2245 | <NormalTexture file = "Interface\MoneyFrame\UI-MoneyIcons"> |
||
2246 | <Size> |
||
2247 | <AbsDimension x = "13" y = "13"/> |
||
2248 | </Size> |
||
2249 | <Anchors> |
||
2250 | <Anchor point = "RIGHT"/> |
||
2251 | </Anchors> |
||
2252 | <TexCoords |
||
2253 | left = "0" |
||
2254 | right = "0.25" |
||
2255 | top = "0" |
||
2256 | bottom = "1"/> |
||
2257 | </NormalTexture> |
||
2258 | <NormalText |
||
2259 | name = "$parentText" |
||
2260 | inherits = "GameFontHighlightSmall" |
||
2261 | justifyH = "LEFT"> |
||
2262 | <Anchors> |
||
2263 | <Anchor point = "RIGHT"> |
||
2264 | <Offset> |
||
2265 | <AbsDimension x = "-14" y = "0"/> |
||
2266 | </Offset> |
||
2267 | </Anchor> |
||
2268 | </Anchors> |
||
2269 | </NormalText> |
||
2270 | <PushedTextOffset x = "0" y = "0"/> |
||
2271 | </Button> |
||
2272 | <Button |
||
2273 | name = "$parentSilverButton" |
||
2274 | inherits = "TitanPanelChildButtonTemplate" |
||
2275 | hidden = "false"> |
||
2276 | <Size> |
||
2277 | <AbsDimension x = "32" y = "13"/> |
||
2278 | </Size> |
||
2279 | <Anchors> |
||
2280 | <Anchor |
||
2281 | point = "LEFT" |
||
2282 | relativeTo = "$parentGoldButton" |
||
2283 | relativePoint = "RIGHT"> |
||
2284 | <Offset> |
||
2285 | <AbsDimension x = "-1" y = "0"/> |
||
2286 | </Offset> |
||
2287 | </Anchor> |
||
2288 | </Anchors> |
||
2289 | <Scripts> |
||
2290 | <OnClick> |
||
2291 | if(TitanPanelBarButton~=nil) then |
||
2292 | if (arg1 == "LeftButton") then |
||
2293 | DepositBox_ToggleDepositBox(); |
||
2294 | end |
||
2295 | TitanPanelButton_OnClick(arg1) |
||
2296 | end |
||
2297 | </OnClick> |
||
2298 | </Scripts> |
||
2299 | <NormalTexture file = "Interface\MoneyFrame\UI-MoneyIcons"> |
||
2300 | <Size> |
||
2301 | <AbsDimension x = "13" y = "13"/> |
||
2302 | </Size> |
||
2303 | <Anchors> |
||
2304 | <Anchor point = "RIGHT"/> |
||
2305 | </Anchors> |
||
2306 | <TexCoords |
||
2307 | left = "0.25" |
||
2308 | right = "0.5" |
||
2309 | top = "0" |
||
2310 | bottom = "1"/> |
||
2311 | </NormalTexture> |
||
2312 | <NormalText |
||
2313 | name = "$parentText" |
||
2314 | inherits = "GameFontHighlightSmall" |
||
2315 | justifyH = "LEFT"> |
||
2316 | <Anchors> |
||
2317 | <Anchor point = "LEFT"> |
||
2318 | <Offset> |
||
2319 | <AbsDimension x = "3" y = "0"/> |
||
2320 | </Offset> |
||
2321 | </Anchor> |
||
2322 | </Anchors> |
||
2323 | </NormalText> |
||
2324 | <PushedTextOffset x = "0" y = "0"/> |
||
2325 | </Button> |
||
2326 | <Button |
||
2327 | name = "$parentCopperButton" |
||
2328 | inherits = "TitanPanelChildButtonTemplate" |
||
2329 | hidden = "false"> |
||
2330 | <Size> |
||
2331 | <AbsDimension x = "32" y = "13"/> |
||
2332 | </Size> |
||
2333 | <Anchors> |
||
2334 | <Anchor |
||
2335 | point = "LEFT" |
||
2336 | relativeTo = "$parentSilverButton" |
||
2337 | relativePoint = "RIGHT"> |
||
2338 | <Offset> |
||
2339 | <AbsDimension x = "-1" y = "0"/> |
||
2340 | </Offset> |
||
2341 | </Anchor> |
||
2342 | </Anchors> |
||
2343 | <Scripts> |
||
2344 | <OnClick> |
||
2345 | if(TitanPanelBarButton~=nil) then |
||
2346 | if (arg1 == "LeftButton") then |
||
2347 | DepositBox_ToggleDepositBox(); |
||
2348 | end |
||
2349 | TitanPanelButton_OnClick(arg1) |
||
2350 | end |
||
2351 | </OnClick> |
||
2352 | </Scripts> |
||
2353 | <NormalTexture file = "Interface\MoneyFrame\UI-MoneyIcons"> |
||
2354 | <Size> |
||
2355 | <AbsDimension x = "13" y = "13"/> |
||
2356 | </Size> |
||
2357 | <Anchors> |
||
2358 | <Anchor point = "RIGHT"/> |
||
2359 | </Anchors> |
||
2360 | <TexCoords |
||
2361 | left = "0.5" |
||
2362 | right = "0.75" |
||
2363 | top = "0" |
||
2364 | bottom = "1"/> |
||
2365 | </NormalTexture> |
||
2366 | <NormalText |
||
2367 | name = "$parentText" |
||
2368 | inherits = "GameFontHighlightSmall" |
||
2369 | justifyH = "LEFT"> |
||
2370 | <Anchors> |
||
2371 | <Anchor point = "LEFT"> |
||
2372 | <Offset> |
||
2373 | <AbsDimension x = "3" y = "0"/> |
||
2374 | </Offset> |
||
2375 | </Anchor> |
||
2376 | </Anchors> |
||
2377 | </NormalText> |
||
2378 | <PushedTextOffset x = "0" y = "0"/> |
||
2379 | </Button> |
||
2380 | </Frames> |
||
2381 | <Scripts> |
||
2382 | <OnLoad> |
||
2383 | if(TitanPanelBarButton ~= nil) then |
||
2384 | DepositBox_Titan_OnLoad(); |
||
2385 | TitanPanelButton_OnLoad(); |
||
2386 | end |
||
2387 | </OnLoad> |
||
2388 | <OnClick> |
||
2389 | if(TitanPanelBarButton ~= nil) then |
||
2390 | if (arg1 == "LeftButton") then |
||
2391 | DepositBox_ToggleDepositBox(); |
||
2392 | end |
||
2393 | TitanPanelButton_OnClick(arg1) |
||
2394 | end |
||
2395 | </OnClick> |
||
2396 | </Scripts> |
||
2397 | </Button> |
||
2398 | </Frames> |
||
2399 | </Frame> |
||
2400 | </Ui> |