vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <Ui xsi:schemaLocation="http://www.blizzard.com/wow/ui/"> |
2 | <Script file="localization-EFD.lua"/> |
||
3 | <Script file="Bag_Status_Meters.lua"/> |
||
4 | <FontString name="BSM_Font1" inherits="MasterFont" font="Fonts\FRIZQT__.TTF" virtual="true"> |
||
5 | <FontHeight> |
||
6 | <AbsValue val="10"/> |
||
7 | </FontHeight> |
||
8 | <Color r="1.0" g="1.0" b="1.0"/> |
||
9 | </FontString> |
||
10 | |||
11 | <StatusBar name="BSM_StatusTemplate" virtual="true" frameStrata="MEDIUM" toplevel="true" hidden="false"> |
||
12 | <Size> |
||
13 | <AbsDimension y="8"/> |
||
14 | </Size> |
||
15 | <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/> |
||
16 | <BarColor r="0.0" g="1.0" b="0.0" a="0.6"/> |
||
17 | </StatusBar> |
||
18 | <!-- |
||
19 | <Model name="BSM_CooldownTemplate" file="Interface\Cooldown\UI-Cooldown-Indicator.mdx" scale="0.85" setAllPoints="true" hidden="true" virtual="true"> |
||
20 | <Scripts> |
||
21 | <OnUpdateModel> |
||
22 | BSM_Cooldown_OnUpdate(); |
||
23 | </OnUpdateModel> |
||
24 | <OnAnimFinished> |
||
25 | BSM_Cooldown_OnFinished(); |
||
26 | </OnAnimFinished> |
||
27 | </Scripts> |
||
28 | </Model> |
||
29 | --> |
||
30 | <StatusBar name="BSM_DropdownBarTemplate" hidden="false" virtual="true"> |
||
31 | <Size> |
||
32 | <AbsDimension x="66" y="10"/> |
||
33 | </Size> |
||
34 | <Scripts> |
||
35 | <OnLoad> |
||
36 | this:SetFrameLevel(this:GetFrameLevel() - 1); |
||
37 | </OnLoad> |
||
38 | </Scripts> |
||
39 | <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/> |
||
40 | <BarColor r="0.0" g="1.0" b="0.0"/> |
||
41 | </StatusBar> |
||
42 | <Button name="BSM_DropdownTemplate" hidden="false" virtual="true"> |
||
43 | <Size> |
||
44 | <AbsDimension x="70" y="19"/> |
||
45 | </Size> |
||
46 | <Layers> |
||
47 | <Layer level="ARTWORK"> |
||
48 | <Texture file="Interface\Tooltips\UI-StatusBar-Border"/> |
||
49 | </Layer> |
||
50 | </Layers> |
||
51 | <Scripts> |
||
52 | <OnMouseDown> |
||
53 | if ( arg1 == "LeftButton" and not BSM_Save.O.lock ) then |
||
54 | getglobal(BSM_FRAME):StartMoving(); |
||
55 | end |
||
56 | </OnMouseDown> |
||
57 | <OnMouseUp> |
||
58 | if ( arg1 == "LeftButton" ) then |
||
59 | getglobal(BSM_FRAME):StopMovingOrSizing(); |
||
60 | BSM_SavePosition(); |
||
61 | getglobal("BSM_Options_PositionX"):SetText(math.floor(BSM_Save.dispX)); |
||
62 | getglobal("BSM_Options_PositionY"):SetText(math.floor(BSM_Save.dispY)); |
||
63 | end |
||
64 | </OnMouseUp> |
||
65 | </Scripts> |
||
66 | </Button> |
||
67 | <!-- |
||
68 | <FontString name="BSM_BindingLabel" inherits="BSM_Font1" virtual="true"> |
||
69 | <Size> |
||
70 | <AbsDimension x="20" y="19"/> |
||
71 | </Size> |
||
72 | <Anchors> |
||
73 | <Anchor point="RIGHT" relativeTo="$parent" relativePoint="LEFT"/> |
||
74 | </Anchors> |
||
75 | </FontString> |
||
76 | --> |
||
77 | <Button name="BSM_BindingButton" inherits="UIPanelButtonTemplate" virtual="true"> |
||
78 | <Size> |
||
79 | <AbsDimension x="16" y="16"/> |
||
80 | </Size> |
||
81 | <Anchors> |
||
82 | <Anchor point="RIGHT" relativeTo="$parent" relativePoint="LEFT"/> |
||
83 | </Anchors> |
||
84 | <NormalText inherits="GameFontHighlightSmall"/> |
||
85 | <DisabledText inherits="GameFontDisableSmall"/> |
||
86 | <HighlightText inherits="GameFontHighlightSmall"/> |
||
87 | <Scripts> |
||
88 | <OnClick> |
||
89 | BSM_openBag(this); |
||
90 | </OnClick> |
||
91 | </Scripts> |
||
92 | </Button> |
||
93 | <Frame name="BSM_BankBagTemplate" virtual="true" hidden="true"> |
||
94 | <Size> |
||
95 | <AbsDimension y="8"/> |
||
96 | </Size> |
||
97 | <Layers> |
||
98 | <Layer level="OVERLAY"> |
||
99 | <FontString name="$parentLabel" inherits="BSM_Font1" wraponspaces="true" toplevel="true"> |
||
100 | <Size> |
||
101 | <AbsDimension y="8"/> |
||
102 | </Size> |
||
103 | <Anchors> |
||
104 | <Anchor point="BOTTOMRIGHT" relativeTo="$parent"/> |
||
105 | <Anchor point="BOTTOMLEFT" relativeTo="$parent"/> |
||
106 | </Anchors> |
||
107 | </FontString> |
||
108 | </Layer> |
||
109 | </Layers> |
||
110 | <!--Doesn't show correctly on first load--> |
||
111 | <!--<Frames> |
||
112 | <StatusBar name="$parentBar" inherits="BSM_StatusTemplate"> |
||
113 | <Anchors> |
||
114 | <Anchor point="BOTTOMRIGHT"/> |
||
115 | <Anchor point="BOTTOMLEFT"/> |
||
116 | </Anchors> |
||
117 | </StatusBar> |
||
118 | </Frames>--> |
||
119 | </Frame> |
||
120 | |||
121 | |||
122 | |||
123 | <Frame name="BSM_BarLabels" toplevel="true" frameStrata="HIGH" movable="false" enableMouse="false" hidden="false" parent="MainMenuBarArtFrame"> |
||
124 | <Size> |
||
125 | <AbsDimension x="0" y="8"/> |
||
126 | </Size> |
||
127 | <Anchors> |
||
128 | <Anchor point="BOTTOMRIGHT" relativeTo="MainMenuBarBackpackButton" relativePoint="BOTTOMRIGHT"/> |
||
129 | <Anchor point="BOTTOMLEFT" relativeTo="CharacterBag3Slot" relativePoint="BOTTOMLEFT"/> |
||
130 | </Anchors> |
||
131 | <Layers> |
||
132 | <Layer level="OVERLAY"> |
||
133 | <FontString name="$parent0" inherits="BSM_Font1" justifyH="CENTER"> |
||
134 | <Anchors> |
||
135 | <Anchor point="BOTTOMRIGHT" relativeTo="MainMenuBarBackpackButton" relativePoint="BOTTOMRIGHT"/> |
||
136 | <Anchor point="BOTTOMLEFT" relativeTo="MainMenuBarBackpackButton" relativePoint="BOTTOMLEFT"/> |
||
137 | </Anchors> |
||
138 | </FontString> |
||
139 | <FontString name="$parent1" inherits="BSM_Font1" justifyH="CENTER"> |
||
140 | <Anchors> |
||
141 | <Anchor point="BOTTOMRIGHT" relativeTo="CharacterBag0Slot" relativePoint="BOTTOMRIGHT"/> |
||
142 | <Anchor point="BOTTOMLEFT" relativeTo="CharacterBag0Slot" relativePoint="BOTTOMLEFT"/> |
||
143 | </Anchors> |
||
144 | </FontString> |
||
145 | <FontString name="$parent2" inherits="BSM_Font1" justifyH="CENTER"> |
||
146 | <Anchors> |
||
147 | <Anchor point="BOTTOMRIGHT" relativeTo="CharacterBag1Slot" relativePoint="BOTTOMRIGHT"/> |
||
148 | <Anchor point="BOTTOMLEFT" relativeTo="CharacterBag1Slot" relativePoint="BOTTOMLEFT"/> |
||
149 | </Anchors> |
||
150 | </FontString> |
||
151 | <FontString name="$parent3" inherits="BSM_Font1" justifyH="CENTER"> |
||
152 | <Anchors> |
||
153 | <Anchor point="BOTTOMRIGHT" relativeTo="CharacterBag2Slot" relativePoint="BOTTOMRIGHT"/> |
||
154 | <Anchor point="BOTTOMLEFT" relativeTo="CharacterBag2Slot" relativePoint="BOTTOMLEFT"/> |
||
155 | </Anchors> |
||
156 | </FontString> |
||
157 | <FontString name="$parent4" inherits="BSM_Font1" justifyH="CENTER"> |
||
158 | <Anchors> |
||
159 | <Anchor point="BOTTOMRIGHT" relativeTo="CharacterBag3Slot" relativePoint="BOTTOMRIGHT"/> |
||
160 | <Anchor point="BOTTOMLEFT" relativeTo="CharacterBag3Slot" relativePoint="BOTTOMLEFT"/> |
||
161 | </Anchors> |
||
162 | </FontString> |
||
163 | </Layer> |
||
164 | </Layers> |
||
165 | </Frame> |
||
166 | |||
167 | <Frame name="BSM_Bars" toplevel="false" frameStrata="HIGH" movable="false" enableMouse="false" hidden="false" parent="MainMenuBarArtFrame"> |
||
168 | <Size> |
||
169 | <AbsDimension x="0" y="8"/> |
||
170 | </Size> |
||
171 | <Anchors> |
||
172 | <Anchor point="BOTTOMRIGHT" relativeTo="MainMenuBarBackpackButton" relativePoint="BOTTOMRIGHT"/> |
||
173 | <Anchor point="BOTTOMLEFT" relativeTo="CharacterBag3Slot" relativePoint="BOTTOMLEFT"/> |
||
174 | </Anchors> |
||
175 | <Frames> |
||
176 | <StatusBar name="$parent0" inherits="BSM_StatusTemplate"> |
||
177 | <Anchors> |
||
178 | <Anchor point="BOTTOMRIGHT" relativeTo="MainMenuBarBackpackButton" relativePoint="BOTTOMRIGHT"/> |
||
179 | <Anchor point="BOTTOMLEFT" relativeTo="MainMenuBarBackpackButton" relativePoint="BOTTOMLEFT"/> |
||
180 | </Anchors> |
||
181 | </StatusBar> |
||
182 | <StatusBar name="$parent1" inherits="BSM_StatusTemplate"> |
||
183 | <Anchors> |
||
184 | <Anchor point="BOTTOMRIGHT" relativeTo="CharacterBag0Slot" relativePoint="BOTTOMRIGHT"/> |
||
185 | <Anchor point="BOTTOMLEFT" relativeTo="CharacterBag0Slot" relativePoint="BOTTOMLEFT"/> |
||
186 | </Anchors> |
||
187 | </StatusBar> |
||
188 | <StatusBar name="$parent2" inherits="BSM_StatusTemplate"> |
||
189 | <Anchors> |
||
190 | <Anchor point="BOTTOMRIGHT" relativeTo="CharacterBag1Slot" relativePoint="BOTTOMRIGHT"/> |
||
191 | <Anchor point="BOTTOMLEFT" relativeTo="CharacterBag1Slot" relativePoint="BOTTOMLEFT"/> |
||
192 | </Anchors> |
||
193 | </StatusBar> |
||
194 | <StatusBar name="$parent3" inherits="BSM_StatusTemplate"> |
||
195 | <Anchors> |
||
196 | <Anchor point="BOTTOMRIGHT" relativeTo="CharacterBag2Slot" relativePoint="BOTTOMRIGHT"/> |
||
197 | <Anchor point="BOTTOMLEFT" relativeTo="CharacterBag2Slot" relativePoint="BOTTOMLEFT"/> |
||
198 | </Anchors> |
||
199 | </StatusBar> |
||
200 | <StatusBar name="$parent4" inherits="BSM_StatusTemplate"> |
||
201 | <Anchors> |
||
202 | <Anchor point="BOTTOMRIGHT" relativeTo="CharacterBag3Slot" relativePoint="BOTTOMRIGHT"/> |
||
203 | <Anchor point="BOTTOMLEFT" relativeTo="CharacterBag3Slot" relativePoint="BOTTOMLEFT"/> |
||
204 | </Anchors> |
||
205 | </StatusBar> |
||
206 | </Frames> |
||
207 | </Frame> |
||
208 | |||
209 | <!-- |
||
210 | <Frame name="BSM_Cooldowns" toplevel="true" movable="false" enableMouse="false" hidden="false" parent="MainMenuBarArtFrame"> |
||
211 | <Size> |
||
212 | <AbsDimension x="0" y="8"/> |
||
213 | </Size> |
||
214 | <Anchors> |
||
215 | <Anchor point="BOTTOMRIGHT" relativeTo="MainMenuBarBackpackButton" relativePoint="BOTTOMRIGHT"/> |
||
216 | <Anchor point="TOPLEFT" relativeTo="CharacterBag3Slot" relativePoint="TOPLEFT"/> |
||
217 | </Anchors> |
||
218 | <Frames> |
||
219 | <Model name="$parent0" inherits="BSM_CooldownTemplate" parent="MainMenuBarBackpackButton"/> |
||
220 | <Model name="$parent1" inherits="BSM_CooldownTemplate" parent="CharacterBag0Slot"/> |
||
221 | <Model name="$parent2" inherits="BSM_CooldownTemplate" parent="CharacterBag1Slot"/> |
||
222 | <Model name="$parent3" inherits="BSM_CooldownTemplate" parent="CharacterBag2Slot"/> |
||
223 | <Model name="$parent4" inherits="BSM_CooldownTemplate" parent="CharacterBag3Slot"/> |
||
224 | </Frames> |
||
225 | </Frame> |
||
226 | --> |
||
227 | |||
228 | <Frame name="BSM_Frame" toplevel="false" movable="true" hidden="false" frameStrata="LOW" parent="UIParent"> |
||
229 | <Size> |
||
230 | <AbsDimension x="90" y="25"/> |
||
231 | </Size> |
||
232 | <Layers> |
||
233 | <Layer level="BACKGROUND"> |
||
234 | <Texture name="$parentBackAlpha"> |
||
235 | <Size> |
||
236 | <AbsDimension x="80" y="15"/> |
||
237 | </Size> |
||
238 | <Anchors> |
||
239 | <Anchor point="TOP"> |
||
240 | <Offset> |
||
241 | <AbsDimension x="0" y="-5"/> |
||
242 | </Offset> |
||
243 | </Anchor> |
||
244 | </Anchors> |
||
245 | <Color r="0" g="0" b="0" a="0.5"/> |
||
246 | </Texture> |
||
247 | </Layer> |
||
248 | <Layer level="OVERLAY"> |
||
249 | <Texture name="$parentBorder" file="Interface\CastingBar\UI-CastingBar-Border"> |
||
250 | <Size> |
||
251 | <AbsDimension x="102" y="50"/> |
||
252 | </Size> |
||
253 | <Anchors> |
||
254 | <Anchor point="TOP"> |
||
255 | <Offset> |
||
256 | <AbsDimension x="0" y="13"/> |
||
257 | </Offset> |
||
258 | </Anchor> |
||
259 | </Anchors> |
||
260 | </Texture> |
||
261 | </Layer> |
||
262 | </Layers> |
||
263 | <Frames> |
||
264 | <Button name="BSM_FrameButton"> |
||
265 | <Size> |
||
266 | <AbsDimension x="47" y="19"/> |
||
267 | </Size> |
||
268 | <Anchors> |
||
269 | <Anchor point="TOP"> |
||
270 | <Offset> |
||
271 | <AbsDimension x="0" y="13"/> |
||
272 | </Offset> |
||
273 | </Anchor> |
||
274 | </Anchors> |
||
275 | <Layers> |
||
276 | <Layer level="OVERLAY"> |
||
277 | <FontString name="BSM_FrameButtonLabel" inherits="GameFontHighlight" wraponspaces="true" text="BSM_FREEBAGSLOTS"> |
||
278 | <Anchors> |
||
279 | <Anchor point="CENTER"> |
||
280 | <Offset> |
||
281 | <AbsDimension x="0" y="0"/> |
||
282 | </Offset> |
||
283 | </Anchor> |
||
284 | </Anchors> |
||
285 | </FontString> |
||
286 | <FontString name="BSM_FrameText" inherits="GameFontHighlight"> |
||
287 | <Size> |
||
288 | <AbsDimension x="105" y="21"/> |
||
289 | </Size> |
||
290 | <Anchors> |
||
291 | <Anchor point="TOP" relativeTo="BSM_Frame"> |
||
292 | <Offset> |
||
293 | <AbsDimension x="0" y="0"/> |
||
294 | </Offset> |
||
295 | </Anchor> |
||
296 | </Anchors> |
||
297 | </FontString> |
||
298 | </Layer> |
||
299 | </Layers> |
||
300 | </Button> |
||
301 | <StatusBar name="BSM_FrameStatus"> |
||
302 | <Size> |
||
303 | <AbsDimension x="74" y="8"/> |
||
304 | </Size> |
||
305 | <Anchors> |
||
306 | <Anchor point="TOP"> |
||
307 | <Offset> |
||
308 | <AbsDimension x="0" y="-8"/> |
||
309 | </Offset> |
||
310 | </Anchor> |
||
311 | </Anchors> |
||
312 | <Scripts> |
||
313 | <OnLoad> |
||
314 | this:SetFrameLevel(this:GetFrameLevel() - 1); |
||
315 | </OnLoad> |
||
316 | </Scripts> |
||
317 | <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/> |
||
318 | <BarColor r="0.0" g="1.0" b="0.0"/> |
||
319 | </StatusBar> |
||
320 | </Frames> |
||
321 | <Scripts> |
||
322 | <!-- causes error on xml-load and has no sense since BSM_Save is not defined --> |
||
323 | <!-- <OnClick> |
||
324 | if BSM_Save.click then |
||
325 | BSM_openBag(this); |
||
326 | end |
||
327 | </OnClick> |
||
328 | --> |
||
329 | <OnLoad> |
||
330 | this:RegisterEvent("BAG_UPDATE"); |
||
331 | this:RegisterEvent("UNIT_MODEL_CHANGED"); |
||
332 | this:RegisterEvent("ITEM_LOCK_CHANGED"); |
||
333 | this:RegisterEvent("VARIABLES_LOADED"); |
||
334 | BSM_initCommands(); |
||
335 | </OnLoad> |
||
336 | <OnEvent> |
||
337 | if event == "VARIABLES_LOADED" then |
||
338 | BSM_loadVariables(); |
||
339 | end |
||
340 | if event ~= "UNIT_MODEL_CHANGED" or arg1 == "player" then |
||
341 | BSM_updateFreeSlots(); |
||
342 | end |
||
343 | </OnEvent> |
||
344 | <OnMouseDown> |
||
345 | if ( arg1 == "LeftButton" and not BSM_Save.O.lock ) then |
||
346 | this:StartMoving(); |
||
347 | end |
||
348 | </OnMouseDown> |
||
349 | <OnMouseUp> |
||
350 | if ( arg1 == "LeftButton" ) then |
||
351 | this:StopMovingOrSizing(); |
||
352 | BSM_SavePosition(); |
||
353 | getglobal("BSM_Options_PositionX"):SetText(math.floor(BSM_Save.dispX)); |
||
354 | getglobal("BSM_Options_PositionY"):SetText(math.floor(BSM_Save.dispY)); |
||
355 | end |
||
356 | </OnMouseUp> |
||
357 | </Scripts> |
||
358 | </Frame> |
||
359 | |||
360 | <Frame name="BSM_Dropdowns" toplevel="false" movable="true" enableMouse="false" hidden="true" frameStrata="LOW" parent="UIParent"> |
||
361 | <Size> |
||
362 | <AbsDimension x="70" y="100"/> |
||
363 | </Size> |
||
364 | <Anchors> |
||
365 | <Anchor point="TOPRIGHT" relativeTo="BSM_Frame" relativePoint="BOTTOMRIGHT"> |
||
366 | <Offset> |
||
367 | <AbsDimension x="-5" y="5"/> |
||
368 | </Offset> |
||
369 | </Anchor> |
||
370 | </Anchors> |
||
371 | <Frames> |
||
372 | <Button name="$parent0" inherits="BSM_DropdownTemplate"> |
||
373 | <Anchors> |
||
374 | <Anchor point="TOPRIGHT"> |
||
375 | <Offset> |
||
376 | <AbsDimension x="0" y="-1"/> |
||
377 | </Offset> |
||
378 | </Anchor> |
||
379 | </Anchors> |
||
380 | <Frames> |
||
381 | <Button name="$parentKey" inherits="BSM_BindingButton"/> |
||
382 | </Frames> |
||
383 | <!--<Layers> |
||
384 | <Layer level="OVERLAY"> |
||
385 | <FontString name="$parentKey" inherits="BSM_BindingLabel"/> |
||
386 | </Layer> |
||
387 | </Layers>--> |
||
388 | </Button> |
||
389 | <Button name="$parent1" inherits="BSM_DropdownTemplate"> |
||
390 | <Anchors> |
||
391 | <Anchor point="TOPRIGHT" relativeTo="$parent0" relativePoint="BOTTOMRIGHT"> |
||
392 | <Offset> |
||
393 | <AbsDimension x="0" y="-1"/> |
||
394 | </Offset> |
||
395 | </Anchor> |
||
396 | </Anchors> |
||
397 | <Frames> |
||
398 | <Button name="$parentKey" inherits="BSM_BindingButton"/> |
||
399 | </Frames> |
||
400 | <!--<Layers> |
||
401 | <Layer level="OVERLAY"> |
||
402 | <FontString name="$parentKey" inherits="BSM_BindingLabel"/> |
||
403 | </Layer> |
||
404 | </Layers>--> |
||
405 | </Button> |
||
406 | <Button name="$parent2" inherits="BSM_DropdownTemplate"> |
||
407 | <Anchors> |
||
408 | <Anchor point="TOPRIGHT" relativeTo="$parent1" relativePoint="BOTTOMRIGHT"> |
||
409 | <Offset> |
||
410 | <AbsDimension x="0" y="-1"/> |
||
411 | </Offset> |
||
412 | </Anchor> |
||
413 | </Anchors> |
||
414 | <Frames> |
||
415 | <Button name="$parentKey" inherits="BSM_BindingButton"/> |
||
416 | </Frames> |
||
417 | <!--<Layers> |
||
418 | <Layer level="OVERLAY"> |
||
419 | <FontString name="$parentKey" inherits="BSM_BindingLabel"/> |
||
420 | </Layer> |
||
421 | </Layers>--> |
||
422 | </Button> |
||
423 | <Button name="$parent3" inherits="BSM_DropdownTemplate"> |
||
424 | <Anchors> |
||
425 | <Anchor point="TOPRIGHT" relativeTo="$parent2" relativePoint="BOTTOMRIGHT"> |
||
426 | <Offset> |
||
427 | <AbsDimension x="0" y="-1"/> |
||
428 | </Offset> |
||
429 | </Anchor> |
||
430 | </Anchors> |
||
431 | <Frames> |
||
432 | <Button name="$parentKey" inherits="BSM_BindingButton"/> |
||
433 | </Frames> |
||
434 | <!--<Layers> |
||
435 | <Layer level="OVERLAY"> |
||
436 | <FontString name="$parentKey" inherits="BSM_BindingLabel"/> |
||
437 | </Layer> |
||
438 | </Layers>--> |
||
439 | </Button> |
||
440 | <Button name="$parent4" inherits="BSM_DropdownTemplate"> |
||
441 | <Anchors> |
||
442 | <Anchor point="TOPRIGHT" relativeTo="$parent3" relativePoint="BOTTOMRIGHT"> |
||
443 | <Offset> |
||
444 | <AbsDimension x="0" y="-1"/> |
||
445 | </Offset> |
||
446 | </Anchor> |
||
447 | </Anchors> |
||
448 | <Frames> |
||
449 | <Button name="$parentKey" inherits="BSM_BindingButton"/> |
||
450 | </Frames> |
||
451 | <!--<Layers> |
||
452 | <Layer level="OVERLAY"> |
||
453 | <FontString name="$parentKey" inherits="BSM_BindingLabel"/> |
||
454 | </Layer> |
||
455 | </Layers>--> |
||
456 | </Button> |
||
457 | <StatusBar name="$parentBars0" inherits="BSM_DropdownBarTemplate"> |
||
458 | <Anchors> |
||
459 | <Anchor point="LEFT" relativeTo="$parent0"> |
||
460 | <Offset> |
||
461 | <AbsDimension x="2" y="0"/> |
||
462 | </Offset> |
||
463 | </Anchor> |
||
464 | </Anchors> |
||
465 | </StatusBar> |
||
466 | <StatusBar name="$parentBars1" inherits="BSM_DropdownBarTemplate"> |
||
467 | <Anchors> |
||
468 | <Anchor point="LEFT" relativeTo="$parent1"> |
||
469 | <Offset> |
||
470 | <AbsDimension x="2" y="0"/> |
||
471 | </Offset> |
||
472 | </Anchor> |
||
473 | </Anchors> |
||
474 | </StatusBar> |
||
475 | <StatusBar name="$parentBars2" inherits="BSM_DropdownBarTemplate"> |
||
476 | <Anchors> |
||
477 | <Anchor point="LEFT" relativeTo="$parent2"> |
||
478 | <Offset> |
||
479 | <AbsDimension x="2" y="0"/> |
||
480 | </Offset> |
||
481 | </Anchor> |
||
482 | </Anchors> |
||
483 | </StatusBar> |
||
484 | <StatusBar name="$parentBars3" inherits="BSM_DropdownBarTemplate"> |
||
485 | <Anchors> |
||
486 | <Anchor point="LEFT" relativeTo="$parent3"> |
||
487 | <Offset> |
||
488 | <AbsDimension x="2" y="0"/> |
||
489 | </Offset> |
||
490 | </Anchor> |
||
491 | </Anchors> |
||
492 | </StatusBar> |
||
493 | <StatusBar name="$parentBars4" inherits="BSM_DropdownBarTemplate"> |
||
494 | <Anchors> |
||
495 | <Anchor point="LEFT" relativeTo="$parent4"> |
||
496 | <Offset> |
||
497 | <AbsDimension x="2" y="0"/> |
||
498 | </Offset> |
||
499 | </Anchor> |
||
500 | </Anchors> |
||
501 | </StatusBar> |
||
502 | </Frames> |
||
503 | </Frame> |
||
504 | <Frame name="BSM_DropdownLabels" toplevel="true" movable="false" enableMouse="false" hidden="false" parent="BSM_Dropdowns"> |
||
505 | <Anchors> |
||
506 | <Anchor point="TOPRIGHT"/> |
||
507 | <Anchor point="BOTTOMLEFT"/> |
||
508 | </Anchors> |
||
509 | <Layers> |
||
510 | <Layer level="OVERLAY"> |
||
511 | <FontString name="$parent0" inherits="BSM_Font1" text="16/16"> |
||
512 | <Anchors> |
||
513 | <Anchor point="CENTER" relativeTo="BSM_Dropdowns0"> |
||
514 | <Offset> |
||
515 | <AbsDimension x="0" y="1"/> |
||
516 | </Offset> |
||
517 | </Anchor> |
||
518 | </Anchors> |
||
519 | </FontString> |
||
520 | <FontString name="$parent1" inherits="BSM_Font1" text="16/16"> |
||
521 | <Anchors> |
||
522 | <Anchor point="CENTER" relativeTo="BSM_Dropdowns1"> |
||
523 | <Offset> |
||
524 | <AbsDimension x="0" y="1"/> |
||
525 | </Offset> |
||
526 | </Anchor> |
||
527 | </Anchors> |
||
528 | </FontString> |
||
529 | <FontString name="$parent2" inherits="BSM_Font1" text="16/16"> |
||
530 | <Anchors> |
||
531 | <Anchor point="CENTER" relativeTo="BSM_Dropdowns2"> |
||
532 | <Offset> |
||
533 | <AbsDimension x="0" y="1"/> |
||
534 | </Offset> |
||
535 | </Anchor> |
||
536 | </Anchors> |
||
537 | </FontString> |
||
538 | <FontString name="$parent3" inherits="BSM_Font1" text="16/16"> |
||
539 | <Anchors> |
||
540 | <Anchor point="CENTER" relativeTo="BSM_Dropdowns3"> |
||
541 | <Offset> |
||
542 | <AbsDimension x="0" y="1"/> |
||
543 | </Offset> |
||
544 | </Anchor> |
||
545 | </Anchors> |
||
546 | </FontString> |
||
547 | <FontString name="$parent4" inherits="BSM_Font1" text="16/16"> |
||
548 | <Anchors> |
||
549 | <Anchor point="CENTER" relativeTo="BSM_Dropdowns4"> |
||
550 | <Offset> |
||
551 | <AbsDimension x="0" y="1"/> |
||
552 | </Offset> |
||
553 | </Anchor> |
||
554 | </Anchors> |
||
555 | </FontString> |
||
556 | </Layer> |
||
557 | </Layers> |
||
558 | </Frame> |
||
559 | |||
560 | <Frame name="BSM_Bank_Bars" toplevel="false" frameStrata="HIGH" movable="false" enableMouse="false" hidden="true" parent="BankFrame"> |
||
561 | <Size> |
||
562 | <AbsDimension x="0" y="8"/> |
||
563 | </Size> |
||
564 | <Anchors> |
||
565 | <Anchor point="BOTTOMRIGHT" relativeTo="BankFrameBag6" relativePoint="BOTTOMRIGHT"/> |
||
566 | <Anchor point="BOTTOMLEFT" relativeTo="BankFrameBag1" relativePoint="BOTTOMLEFT"/> |
||
567 | </Anchors> |
||
568 | <Frames> |
||
569 | <Frame name="BSM_BankBag1" inherits="BSM_BankBagTemplate"> |
||
570 | <Anchors> |
||
571 | <Anchor point="BOTTOMRIGHT" relativeTo="BankFrameBag1" relativePoint="BOTTOMRIGHT"/> |
||
572 | <Anchor point="BOTTOMLEFT" relativeTo="BankFrameBag1" relativePoint="BOTTOMLEFT"/> |
||
573 | </Anchors> |
||
574 | </Frame> |
||
575 | <Frame name="BSM_BankBag2" inherits="BSM_BankBagTemplate"> |
||
576 | <Anchors> |
||
577 | <Anchor point="BOTTOMRIGHT" relativeTo="BankFrameBag2" relativePoint="BOTTOMRIGHT"/> |
||
578 | <Anchor point="BOTTOMLEFT" relativeTo="BankFrameBag2" relativePoint="BOTTOMLEFT"/> |
||
579 | </Anchors> |
||
580 | </Frame> |
||
581 | <Frame name="BSM_BankBag3" inherits="BSM_BankBagTemplate"> |
||
582 | <Anchors> |
||
583 | <Anchor point="BOTTOMRIGHT" relativeTo="BankFrameBag3" relativePoint="BOTTOMRIGHT"/> |
||
584 | <Anchor point="BOTTOMLEFT" relativeTo="BankFrameBag3" relativePoint="BOTTOMLEFT"/> |
||
585 | </Anchors> |
||
586 | </Frame> |
||
587 | <Frame name="BSM_BankBag4" inherits="BSM_BankBagTemplate"> |
||
588 | <Anchors> |
||
589 | <Anchor point="BOTTOMRIGHT" relativeTo="BankFrameBag4" relativePoint="BOTTOMRIGHT"/> |
||
590 | <Anchor point="BOTTOMLEFT" relativeTo="BankFrameBag4" relativePoint="BOTTOMLEFT"/> |
||
591 | </Anchors> |
||
592 | </Frame> |
||
593 | <Frame name="BSM_BankBag5" inherits="BSM_BankBagTemplate"> |
||
594 | <Anchors> |
||
595 | <Anchor point="BOTTOMRIGHT" relativeTo="BankFrameBag5" relativePoint="BOTTOMRIGHT"/> |
||
596 | <Anchor point="BOTTOMLEFT" relativeTo="BankFrameBag5" relativePoint="BOTTOMLEFT"/> |
||
597 | </Anchors> |
||
598 | </Frame> |
||
599 | <Frame name="BSM_BankBag6" inherits="BSM_BankBagTemplate"> |
||
600 | <Anchors> |
||
601 | <Anchor point="BOTTOMRIGHT" relativeTo="BankFrameBag6" relativePoint="BOTTOMRIGHT"/> |
||
602 | <Anchor point="BOTTOMLEFT" relativeTo="BankFrameBag6" relativePoint="BOTTOMLEFT"/> |
||
603 | </Anchors> |
||
604 | </Frame> |
||
605 | </Frames> |
||
606 | <Scripts> |
||
607 | <OnLoad> |
||
608 | this:RegisterEvent("BANKFRAME_OPENED"); |
||
609 | this:RegisterEvent("BANKFRAME_CLOSED"); |
||
610 | this:RegisterEvent("PLAYERBANKBAGSLOTS_CHANGED"); |
||
611 | </OnLoad> |
||
612 | <OnEvent> |
||
613 | if event == "BANKFRAME_OPENED" then |
||
614 | this:Show(); |
||
615 | BSM_updateBankBags(); |
||
616 | elseif event == "BANKFRAME_CLOSED" then |
||
617 | this:Hide(); |
||
618 | elseif this:IsVisible() then |
||
619 | BSM_updateBankBags(); |
||
620 | end |
||
621 | </OnEvent> |
||
622 | <OnUpdate> |
||
623 | if this:IsVisible() then |
||
624 | BSM_updateBankBags(); |
||
625 | end |
||
626 | </OnUpdate> |
||
627 | </Scripts> |
||
628 | </Frame> |
||
629 | </Ui> |