vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <Ui xmlns="http://www.blizzard.com/wow/ui/" |
2 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
||
3 | xsi:schemaLocation="http://www.blizzard.com/wow/ui/ |
||
4 | ..\..\FrameXML\UI.xsd"> |
||
5 | <Frame name="YatlasFrame" frameStrata="HIGH" toplevel="true" movable="true" parent="UIParent" inherits="YatlasFrameTemplatePreBuilt" hidden="true"> |
||
6 | <Size> |
||
7 | <AbsDimension x="539" y="628"/> |
||
8 | </Size> |
||
9 | <Anchors> |
||
10 | <Anchor point="TOPLEFT"> |
||
11 | <Offset> |
||
12 | <AbsDimension x="64" y="-64"/> |
||
13 | </Offset> |
||
14 | </Anchor> |
||
15 | </Anchors> |
||
16 | <Layers> |
||
17 | <Layer level="BACKGROUND"> |
||
18 | <Texture name="$parentPortrait" file="Interface\WorldMap\WorldMap-Icon"> |
||
19 | <Size> |
||
20 | <AbsDimension x="64" y="64"/> |
||
21 | </Size> |
||
22 | <Anchors> |
||
23 | <Anchor point="TOPLEFT"> |
||
24 | <Offset> |
||
25 | <AbsDimension x="6" y="-4"/> |
||
26 | </Offset> |
||
27 | </Anchor> |
||
28 | </Anchors> |
||
29 | </Texture> |
||
30 | </Layer> |
||
31 | <Layer level="BORDER"> |
||
32 | <Texture file="Interface\AddOns\Yatlas\images\frame-topleft"> |
||
33 | <Size> |
||
34 | <AbsDimension x="512" y="512"/> |
||
35 | </Size> |
||
36 | <Anchors> |
||
37 | <Anchor point="TOPLEFT"> |
||
38 | <Offset> |
||
39 | <AbsDimension x="0" y="0"/> |
||
40 | </Offset> |
||
41 | </Anchor> |
||
42 | </Anchors> |
||
43 | </Texture> |
||
44 | <Texture file="Interface\AddOns\Yatlas\images\frame-botleft"> |
||
45 | <Size> |
||
46 | <AbsDimension x="512" y="128"/> |
||
47 | </Size> |
||
48 | <Anchors> |
||
49 | <Anchor point="TOPLEFT"> |
||
50 | <Offset> |
||
51 | <AbsDimension x="0" y="-510"/> |
||
52 | </Offset> |
||
53 | </Anchor> |
||
54 | </Anchors> |
||
55 | </Texture> |
||
56 | <Texture file="Interface\AddOns\Yatlas\images\frame-topright"> |
||
57 | <Size> |
||
58 | <AbsDimension x="128" y="512"/> |
||
59 | </Size> |
||
60 | <Anchors> |
||
61 | <Anchor point="TOPLEFT"> |
||
62 | <Offset> |
||
63 | <AbsDimension x="512" y="0"/> |
||
64 | </Offset> |
||
65 | </Anchor> |
||
66 | </Anchors> |
||
67 | </Texture> |
||
68 | <Texture file="Interface\AddOns\Yatlas\images\frame-botright"> |
||
69 | <Size> |
||
70 | <AbsDimension x="128" y="128"/> |
||
71 | </Size> |
||
72 | <Anchors> |
||
73 | <Anchor point="TOPLEFT"> |
||
74 | <Offset> |
||
75 | <AbsDimension x="512" y="-510"/> |
||
76 | </Offset> |
||
77 | </Anchor> |
||
78 | </Anchors> |
||
79 | </Texture> |
||
80 | </Layer> |
||
81 | <Layer level="OVERLAY"> |
||
82 | <FontString name="$parentName" inherits="GameFontHighlight" text="YATLAS_TITLE"> |
||
83 | <Size> |
||
84 | <AbsDimension x="256" y="12"/> |
||
85 | </Size> |
||
86 | <Anchors> |
||
87 | <Anchor point="TOP"> |
||
88 | <Offset> |
||
89 | <AbsDimension x="1" y="-17"/> |
||
90 | </Offset> |
||
91 | </Anchor> |
||
92 | </Anchors> |
||
93 | </FontString> |
||
94 | <FontString name="$parentVersion" inherits="GameFontHighlight" justifyH="RIGHT" text="YATLAS_VERSION"> |
||
95 | <Size> |
||
96 | <AbsDimension x="112" y="12"/> |
||
97 | </Size> |
||
98 | <Anchors> |
||
99 | <Anchor point="TOPRIGHT"> |
||
100 | <Offset> |
||
101 | <AbsDimension x="-45" y="-18"/> |
||
102 | </Offset> |
||
103 | </Anchor> |
||
104 | </Anchors> |
||
105 | <Color r="0.4" g="0.4" b="0.4"/> |
||
106 | </FontString> |
||
107 | </Layer> |
||
108 | </Layers> |
||
109 | <Frames> |
||
110 | <Button name="YatlasFrameCloseButton" inherits="UIPanelCloseButton"> |
||
111 | <Anchors> |
||
112 | <Anchor point="CENTER" relativeTo="YatlasFrame" relativePoint="TOPRIGHT"> |
||
113 | <Offset> |
||
114 | <AbsDimension x="-8" y="-25"/> |
||
115 | </Offset> |
||
116 | </Anchor> |
||
117 | </Anchors> |
||
118 | <Scripts> |
||
119 | <OnLoad> |
||
120 | this:SetFrameLevel(this:GetFrameLevel() + 4); |
||
121 | </OnLoad> |
||
122 | </Scripts> |
||
123 | </Button> |
||
124 | <Button name="YatlasFrameLockButton"> |
||
125 | <Size> |
||
126 | <AbsDimension x="32" y="32"/> |
||
127 | </Size> |
||
128 | <Anchors> |
||
129 | <Anchor point="RIGHT" relativeTo="YatlasFrameCloseButton" relativePoint="LEFT"> |
||
130 | <Offset> |
||
131 | <AbsDimension x="11" y="0"/> |
||
132 | </Offset> |
||
133 | </Anchor> |
||
134 | </Anchors> |
||
135 | <Scripts> |
||
136 | <OnLoad> |
||
137 | this:SetFrameLevel(this:GetFrameLevel() + 4); |
||
138 | </OnLoad> |
||
139 | <OnClick> |
||
140 | YatlasFrame:ToggleLock(); |
||
141 | </OnClick> |
||
142 | </Scripts> |
||
143 | <NormalTexture name="$parentNorm"/> |
||
144 | <PushedTexture name="$parentPush"/> |
||
145 | <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/> |
||
146 | </Button> |
||
147 | <Frame name="$parentViewFrame" enableMouse="true" inherits="YatlasFrameViewTemplate"> |
||
148 | <Size> |
||
149 | <AbsDimension x="512" y="512"/> |
||
150 | </Size> |
||
151 | <Anchors> |
||
152 | <Anchor point="TOPLEFT"> |
||
153 | <Offset> |
||
154 | <AbsDimension x="22" y="-74"/> |
||
155 | </Offset> |
||
156 | </Anchor> |
||
157 | </Anchors> |
||
158 | </Frame> |
||
159 | <Button name="YatlasFrameDropDown" inherits="UIDropDownMenuTemplate"> |
||
160 | <Anchors> |
||
161 | <Anchor point="TOPLEFT"> |
||
162 | <Offset> |
||
163 | <AbsDimension x="58" y="-40"/> |
||
164 | </Offset> |
||
165 | </Anchor> |
||
166 | </Anchors> |
||
167 | <Scripts> |
||
168 | <OnLoad> |
||
169 | YatlasFrameDropDown_OnLoad(); |
||
170 | </OnLoad> |
||
171 | <OnEvent> |
||
172 | YatlasFrameDropDown_OnEvent(event); |
||
173 | </OnEvent> |
||
174 | </Scripts> |
||
175 | </Button> |
||
176 | <Button name="YatlasFrameDropDown2" inherits="UIDropDownMenuTemplate"> |
||
177 | <Anchors> |
||
178 | <Anchor point="TOPLEFT"> |
||
179 | <Offset> |
||
180 | <AbsDimension x="235" y="-40"/> |
||
181 | </Offset> |
||
182 | </Anchor> |
||
183 | </Anchors> |
||
184 | <Scripts> |
||
185 | <OnLoad> |
||
186 | YatlasFrameDropDown2_OnLoad(); |
||
187 | </OnLoad> |
||
188 | <OnEvent> |
||
189 | YatlasFrameDropDown2_OnEvent(event); |
||
190 | </OnEvent> |
||
191 | </Scripts> |
||
192 | </Button> |
||
193 | <Button name="YatlasFramePlayerJumpButton" text="YATLAS_PLAYERJUMP" inherits="UIPanelButtonTemplate2"> |
||
194 | <Size> |
||
195 | <AbsDimension x="108" y="24"/> |
||
196 | </Size> |
||
197 | <Anchors> |
||
198 | <Anchor point="TOPLEFT"> |
||
199 | <Offset> |
||
200 | <AbsDimension x="425" y="-42"/> |
||
201 | </Offset> |
||
202 | </Anchor> |
||
203 | </Anchors> |
||
204 | <Scripts> |
||
205 | <OnLoad> |
||
206 | this:SetFrameLevel(this:GetFrameLevel() + 4); |
||
207 | this:RegisterEvent("VARIABLES_LOADED"); |
||
208 | </OnLoad> |
||
209 | <OnEvent> |
||
210 | YatlasFramePlayerJumpButton_Update(this); |
||
211 | </OnEvent> |
||
212 | <OnClick> |
||
213 | if(IsShiftKeyDown()) then |
||
214 | YatlasFramePlayerJumpButton_Toggle(this); |
||
215 | else |
||
216 | YatlasFramePlayerJumpButton_Jump(this); |
||
217 | end |
||
218 | </OnClick> |
||
219 | <OnMouseUp> |
||
220 | YatlasFramePlayerJumpButton_Update(this); |
||
221 | </OnMouseUp> |
||
222 | <OnShow> |
||
223 | YatlasFramePlayerJumpButton_Update(this); |
||
224 | </OnShow> |
||
225 | </Scripts> |
||
226 | </Button> |
||
227 | <Button name="YatlasFrameOptionsButton" inherits="UIPanelButtonTemplate" text="YATLAS_OPTIONSBUTTON"> |
||
228 | <Size> |
||
229 | <AbsDimension x="108" y="24"/> |
||
230 | </Size> |
||
231 | <Anchors> |
||
232 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT"> |
||
233 | <Offset> |
||
234 | <AbsDimension x="-5" y="8"/> |
||
235 | </Offset> |
||
236 | </Anchor> |
||
237 | </Anchors> |
||
238 | <Scripts> |
||
239 | <OnLoad> |
||
240 | this:SetFrameLevel(this:GetFrameLevel() + 4); |
||
241 | </OnLoad> |
||
242 | <OnClick> |
||
243 | if(YatlasOptionsFrame:IsShown()) then |
||
244 | YatlasOptionsFrame:Hide() |
||
245 | else |
||
246 | YatlasOptionsFrame:Show(); |
||
247 | end |
||
248 | </OnClick> |
||
249 | </Scripts> |
||
250 | </Button> |
||
251 | </Frames> |
||
252 | <Scripts> |
||
253 | <OnLoad> |
||
254 | tinsert(UISpecialFrames,"YatlasFrame"); |
||
255 | YatlasFrame_Bootstrap(); |
||
256 | YatlasFrame_OnLoadExtra(); |
||
257 | </OnLoad> |
||
258 | </Scripts> |
||
259 | </Frame> |
||
260 | |||
261 | <Frame name="YatlasTooltip" frameStrata="TOOLTIP" hidden="true" parent="YatlasFrame" inherits="YatlasTooltipTemplate"> |
||
262 | <Anchors> |
||
263 | <Anchor point="BOTTOMRIGHT" relativeTo="YatlasFrameViewFrame" relativePoint="BOTTOMRIGHT"> |
||
264 | <Offset> |
||
265 | <AbsDimension x="0" y="0"/> |
||
266 | </Offset> |
||
267 | </Anchor> |
||
268 | </Anchors> |
||
269 | </Frame> |
||
270 | |||
271 | <Button name="YFOO" parent="YatlasFrameViewFrame"> <!-- call me YFOO --> |
||
272 | <Size> |
||
273 | <AbsDimension x="24" y="24"/> |
||
274 | </Size> |
||
275 | <Anchors> |
||
276 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT"> |
||
277 | <Offset> |
||
278 | <AbsDimension x="-8" y="8"/> |
||
279 | </Offset> |
||
280 | </Anchor> |
||
281 | </Anchors> |
||
282 | <Frames> |
||
283 | <Frame name="$parentDropDown" inherits="UIDropDownMenuTemplate" hidden="true"> |
||
284 | <Anchors> |
||
285 | <Anchor point="TOP"> |
||
286 | <Offset> |
||
287 | <AbsDimension x="-80" y="-35"/> |
||
288 | </Offset> |
||
289 | </Anchor> |
||
290 | </Anchors> |
||
291 | <Scripts> |
||
292 | <OnLoad> |
||
293 | YFOO_Init(); |
||
294 | </OnLoad> |
||
295 | </Scripts> |
||
296 | </Frame> |
||
297 | </Frames> |
||
298 | <Scripts> |
||
299 | <OnLoad> |
||
300 | this:SetFrameLevel(this:GetFrameLevel() + 4); |
||
301 | </OnLoad> |
||
302 | <OnClick> |
||
303 | YFOO_OnClick(); |
||
304 | </OnClick> |
||
305 | </Scripts> |
||
306 | <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/> |
||
307 | <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/> |
||
308 | <DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Disabled"/> |
||
309 | <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/> |
||
310 | </Button> |
||
311 | |||
312 | <Button name="YatlasFrameZoomButton" parent="YatlasFrameViewFrame"> |
||
313 | <Size> |
||
314 | <AbsDimension x="24" y="24"/> |
||
315 | </Size> |
||
316 | <Anchors> |
||
317 | <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT"> |
||
318 | <Offset> |
||
319 | <AbsDimension x="8" y="8"/> |
||
320 | </Offset> |
||
321 | </Anchor> |
||
322 | </Anchors> |
||
323 | <Frames> |
||
324 | <Frame name="YatlasFrameZoomFrame" inherits="YatlasZoomTemplate" hidden="true"> |
||
325 | <Anchors> |
||
326 | <Anchor point="TOP"> |
||
327 | <Offset> |
||
328 | <AbsDimension x="0" y="-20"/> |
||
329 | </Offset> |
||
330 | </Anchor> |
||
331 | </Anchors> |
||
332 | </Frame> |
||
333 | </Frames> |
||
334 | <Scripts> |
||
335 | <OnClick> |
||
336 | if(not YatlasFrameZoomFrame:IsShown()) then |
||
337 | YatlasFrameZoomFrame:Show(); |
||
338 | else |
||
339 | YatlasFrameZoomFrame:Hide(); |
||
340 | end |
||
341 | </OnClick> |
||
342 | </Scripts> |
||
343 | <NormalTexture file="Interface\AddOns\Yatlas\images\MagButton-Up"/> |
||
344 | <PushedTexture file="Interface\AddOns\Yatlas\images\MagButton-Down"/> |
||
345 | <DisabledTexture file="Interface\AddOns\Yatlas\images\MagButton-Disabled"/> |
||
346 | <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/> |
||
347 | </Button> |
||
348 | |||
349 | <Frame name="BigYatlasFrame" setAllPoints="true" frameStrata="FULLSCREEN" hidden="true" enableKeyboard="true" inherits="YatlasFrameTemplatePreBuilt"> |
||
350 | <Layers> |
||
351 | <Layer level="ARTWORK"> |
||
352 | <Texture file="Interface\AddOns\Yatlas\images\bframe-top1"> |
||
353 | <Size> |
||
354 | <AbsDimension x="256" y="256"/> |
||
355 | </Size> |
||
356 | <Anchors> |
||
357 | <Anchor point="TOPLEFT" relativePoint="CENTER"> |
||
358 | <Offset> |
||
359 | <AbsDimension x="-512" y="384"/> |
||
360 | </Offset> |
||
361 | </Anchor> |
||
362 | </Anchors> |
||
363 | </Texture> |
||
364 | <Texture file="Interface\AddOns\Yatlas\images\bframe-top2"> |
||
365 | <Size> |
||
366 | <AbsDimension x="256" y="256"/> |
||
367 | </Size> |
||
368 | <Anchors> |
||
369 | <Anchor point="TOPLEFT" relativePoint="CENTER"> |
||
370 | <Offset> |
||
371 | <AbsDimension x="-256" y="384"/> |
||
372 | </Offset> |
||
373 | </Anchor> |
||
374 | </Anchors> |
||
375 | </Texture> |
||
376 | <Texture file="Interface\AddOns\Yatlas\images\bframe-top3"> |
||
377 | <Size> |
||
378 | <AbsDimension x="256" y="256"/> |
||
379 | </Size> |
||
380 | <Anchors> |
||
381 | <Anchor point="TOPLEFT" relativePoint="CENTER"> |
||
382 | <Offset> |
||
383 | <AbsDimension x="0" y="384"/> |
||
384 | </Offset> |
||
385 | </Anchor> |
||
386 | </Anchors> |
||
387 | </Texture> |
||
388 | <Texture file="Interface\AddOns\Yatlas\images\bframe-top4"> |
||
389 | <Size> |
||
390 | <AbsDimension x="256" y="256"/> |
||
391 | </Size> |
||
392 | <Anchors> |
||
393 | <Anchor point="TOPLEFT" relativePoint="CENTER"> |
||
394 | <Offset> |
||
395 | <AbsDimension x="256" y="384"/> |
||
396 | </Offset> |
||
397 | </Anchor> |
||
398 | </Anchors> |
||
399 | </Texture> |
||
400 | <Texture file="Interface\AddOns\Yatlas\images\bframe-mid1"> |
||
401 | <Size> |
||
402 | <AbsDimension x="256" y="256"/> |
||
403 | </Size> |
||
404 | <Anchors> |
||
405 | <Anchor point="TOPLEFT" relativePoint="CENTER"> |
||
406 | <Offset> |
||
407 | <AbsDimension x="-512" y="128"/> |
||
408 | </Offset> |
||
409 | </Anchor> |
||
410 | </Anchors> |
||
411 | </Texture> |
||
412 | <Texture file="Interface\AddOns\Yatlas\images\bframe-mid4"> |
||
413 | <Size> |
||
414 | <AbsDimension x="256" y="256"/> |
||
415 | </Size> |
||
416 | <Anchors> |
||
417 | <Anchor point="TOPLEFT" relativePoint="CENTER"> |
||
418 | <Offset> |
||
419 | <AbsDimension x="256" y="128"/> |
||
420 | </Offset> |
||
421 | </Anchor> |
||
422 | </Anchors> |
||
423 | </Texture> |
||
424 | <Texture file="Interface\AddOns\Yatlas\images\bframe-bot1"> |
||
425 | <Size> |
||
426 | <AbsDimension x="256" y="256"/> |
||
427 | </Size> |
||
428 | <Anchors> |
||
429 | <Anchor point="TOPLEFT" relativePoint="CENTER"> |
||
430 | <Offset> |
||
431 | <AbsDimension x="-512" y="-128"/> |
||
432 | </Offset> |
||
433 | </Anchor> |
||
434 | </Anchors> |
||
435 | </Texture> |
||
436 | <Texture file="Interface\AddOns\Yatlas\images\bframe-bot2"> |
||
437 | <Size> |
||
438 | <AbsDimension x="256" y="256"/> |
||
439 | </Size> |
||
440 | <Anchors> |
||
441 | <Anchor point="TOPLEFT" relativePoint="CENTER"> |
||
442 | <Offset> |
||
443 | <AbsDimension x="-256" y="-128"/> |
||
444 | </Offset> |
||
445 | </Anchor> |
||
446 | </Anchors> |
||
447 | </Texture> |
||
448 | <Texture file="Interface\AddOns\Yatlas\images\bframe-bot3"> |
||
449 | <Size> |
||
450 | <AbsDimension x="256" y="256"/> |
||
451 | </Size> |
||
452 | <Anchors> |
||
453 | <Anchor point="TOPLEFT" relativePoint="CENTER"> |
||
454 | <Offset> |
||
455 | <AbsDimension x="0" y="-128"/> |
||
456 | </Offset> |
||
457 | </Anchor> |
||
458 | </Anchors> |
||
459 | </Texture> |
||
460 | <Texture file="Interface\AddOns\Yatlas\images\bframe-bot4"> |
||
461 | <Size> |
||
462 | <AbsDimension x="256" y="256"/> |
||
463 | </Size> |
||
464 | <Anchors> |
||
465 | <Anchor point="TOPLEFT" relativePoint="CENTER"> |
||
466 | <Offset> |
||
467 | <AbsDimension x="256" y="-128"/> |
||
468 | </Offset> |
||
469 | </Anchor> |
||
470 | </Anchors> |
||
471 | </Texture> |
||
472 | <FontString inherits="GameFontNormal" text="YATLAS_TITLE"> |
||
473 | <Anchors> |
||
474 | <Anchor point="CENTER"> |
||
475 | <Offset> |
||
476 | <AbsDimension x="0" y="372"/> |
||
477 | </Offset> |
||
478 | </Anchor> |
||
479 | </Anchors> |
||
480 | </FontString> |
||
481 | </Layer> |
||
482 | </Layers> |
||
483 | <Frames> |
||
484 | <Frame name="BigYatlasPositioningGuide"> |
||
485 | <Size> |
||
486 | <AbsDimension x="1024" y="768" /> |
||
487 | </Size> |
||
488 | <Anchors> |
||
489 | <Anchor point="CENTER" relativePoint="CENTER"> |
||
490 | <Offset> |
||
491 | <AbsDimension x="0" y="0" /> |
||
492 | </Offset> |
||
493 | </Anchor> |
||
494 | </Anchors> |
||
495 | <Layers> |
||
496 | <Layer level="ARTWORK"> |
||
497 | <!-- This stuff probably belongs elsewhere, but we need position correctly --> |
||
498 | <FontString name="$parentVersion" inherits="GameFontHighlight" justifyH="RIGHT" text="YATLAS_VERSION"> |
||
499 | <Size> |
||
500 | <AbsDimension x="112" y="12"/> |
||
501 | </Size> |
||
502 | <Anchors> |
||
503 | <Anchor point="TOPRIGHT"> |
||
504 | <Offset> |
||
505 | <AbsDimension x="-29" y="-6"/> |
||
506 | </Offset> |
||
507 | </Anchor> |
||
508 | </Anchors> |
||
509 | <Color r="0.4" g="0.4" b="0.4"/> |
||
510 | </FontString> |
||
511 | </Layer> |
||
512 | </Layers> |
||
513 | </Frame> |
||
514 | <Button name="BigYatlasFrameCloseButton" inherits="UIPanelCloseButton"> |
||
515 | <Anchors> |
||
516 | <Anchor point="TOPRIGHT" relativePoint="TOP" relativeTo="BigYatlasPositioningGuide"> |
||
517 | <Offset> |
||
518 | <AbsDimension x="516" y="4"/> |
||
519 | </Offset> |
||
520 | </Anchor> |
||
521 | </Anchors> |
||
522 | </Button> |
||
523 | <Button name="$parentDropDown" inherits="UIDropDownMenuTemplate"> |
||
524 | <Anchors> |
||
525 | <Anchor point="TOP" relativePoint="TOP" relativeTo="BigYatlasPositioningGuide"> |
||
526 | <Offset> |
||
527 | <AbsDimension x="-120" y="-35"/> |
||
528 | </Offset> |
||
529 | </Anchor> |
||
530 | </Anchors> |
||
531 | <Layers> |
||
532 | <Layer level="OVERLAY"> |
||
533 | <FontString inherits="GameFontNormalSmall" text="CONTINENT"> |
||
534 | <Anchors> |
||
535 | <Anchor point="TOPLEFT"> |
||
536 | <Offset> |
||
537 | <AbsDimension x="20" y="10"/> |
||
538 | </Offset> |
||
539 | </Anchor> |
||
540 | </Anchors> |
||
541 | </FontString> |
||
542 | </Layer> |
||
543 | </Layers> |
||
544 | <Scripts> |
||
545 | <OnLoad> |
||
546 | YatlasFrameDropDown_OnLoad(); |
||
547 | </OnLoad> |
||
548 | <OnEvent> |
||
549 | YatlasFrameDropDown_OnEvent(event); |
||
550 | </OnEvent> |
||
551 | </Scripts> |
||
552 | </Button> |
||
553 | <Button name="$parentDropDown2" inherits="UIDropDownMenuTemplate"> |
||
554 | <Anchors> |
||
555 | <Anchor point="LEFT" relativeTo="$parentDropDown" relativePoint="RIGHT"> |
||
556 | <Offset> |
||
557 | <AbsDimension x="13" y="0"/> |
||
558 | </Offset> |
||
559 | </Anchor> |
||
560 | </Anchors> |
||
561 | <Layers> |
||
562 | <Layer level="OVERLAY"> |
||
563 | <FontString inherits="GameFontNormalSmall" text="ZONE"> |
||
564 | <Anchors> |
||
565 | <Anchor point="TOPLEFT"> |
||
566 | <Offset> |
||
567 | <AbsDimension x="20" y="10"/> |
||
568 | </Offset> |
||
569 | </Anchor> |
||
570 | </Anchors> |
||
571 | </FontString> |
||
572 | </Layer> |
||
573 | </Layers> |
||
574 | <Scripts> |
||
575 | <OnLoad> |
||
576 | YatlasFrameDropDown2_OnLoad(); |
||
577 | </OnLoad> |
||
578 | <OnEvent> |
||
579 | YatlasFrameDropDown2_OnEvent(event); |
||
580 | </OnEvent> |
||
581 | </Scripts> |
||
582 | </Button> |
||
583 | <Button name="BigYatlasFramePlayerJumpButton" text="YATLAS_PLAYERJUMP" inherits="UIPanelButtonTemplate2"> |
||
584 | <Size> |
||
585 | <AbsDimension x="108" y="24"/> |
||
586 | </Size> |
||
587 | <Anchors> |
||
588 | <Anchor point="LEFT" relativeTo="$parentDropDown2" relativePoint="RIGHT"> |
||
589 | <Offset> |
||
590 | <AbsDimension x="11" y="2"/> |
||
591 | </Offset> |
||
592 | </Anchor> |
||
593 | </Anchors> |
||
594 | <Scripts> |
||
595 | <OnLoad> |
||
596 | this:SetFrameLevel(this:GetFrameLevel() + 4); |
||
597 | this:RegisterEvent("VARIABLES_LOADED"); |
||
598 | </OnLoad> |
||
599 | <OnEvent> |
||
600 | YatlasFramePlayerJumpButton_Update(this); |
||
601 | </OnEvent> |
||
602 | <OnClick> |
||
603 | if(IsShiftKeyDown()) then |
||
604 | YatlasFramePlayerJumpButton_Toggle(this); |
||
605 | else |
||
606 | YatlasFramePlayerJumpButton_Jump(this); |
||
607 | end |
||
608 | </OnClick> |
||
609 | <OnMouseUp> |
||
610 | YatlasFramePlayerJumpButton_Update(this); |
||
611 | </OnMouseUp> |
||
612 | <OnShow> |
||
613 | YatlasFramePlayerJumpButton_Update(this); |
||
614 | </OnShow> |
||
615 | </Scripts> |
||
616 | </Button> |
||
617 | <Frame name="$parentViewFrame" enableMouse="true" inherits="YatlasFrameViewTemplate"> |
||
618 | <Size> |
||
619 | <AbsDimension x="1004" y="670"/> |
||
620 | </Size> |
||
621 | <Anchors> |
||
622 | <Anchor point="TOPLEFT" relativePoint="TOP" relativeTo="BigYatlasPositioningGuide"> |
||
623 | <Offset> |
||
624 | <AbsDimension x="-502" y="-69"/> |
||
625 | </Offset> |
||
626 | </Anchor> |
||
627 | </Anchors> |
||
628 | </Frame> |
||
629 | </Frames> |
||
630 | <Scripts> |
||
631 | <OnLoad> |
||
632 | YatlasFrame_Bootstrap(); |
||
633 | BigYatlasFrame_OnLoadExtra(); |
||
634 | </OnLoad> |
||
635 | <OnKeyDown> |
||
636 | local toggleKey1, toggleKey2 = GetBindingKey("YATLAS_BIG_TOGGLE"); |
||
637 | local screenshotKey = GetBindingKey("SCREENSHOT"); |
||
638 | local keyPressed = arg1; |
||
639 | if ( IsShiftKeyDown() ) then |
||
640 | keyPressed = "SHIFT-"..keyPressed; |
||
641 | end |
||
642 | if ( IsControlKeyDown() ) then |
||
643 | keyPressed = "CTRL-"..keyPressed; |
||
644 | end |
||
645 | if ( IsAltKeyDown() ) then |
||
646 | keyPressed = "ALT-"..keyPressed; |
||
647 | end |
||
648 | if ( (toggleKey1 and (keyPressed == toggleKey1)) or (toggleKey2 and (keyPressed == toggleKey2)) or (arg1 == "ESCAPE") ) then |
||
649 | RunBinding("YATLAS_BIG_TOGGLE"); |
||
650 | elseif ( screenshotKey and (arg1 == screenshotKey) ) then |
||
651 | RunBinding("SCREENSHOT"); |
||
652 | end |
||
653 | </OnKeyDown> |
||
654 | </Scripts> |
||
655 | </Frame> |
||
656 | <Frame name="BigYatlasTooltip" frameStrata="TOOLTIP" hidden="true" parent="BigYatlasFrame" inherits="YatlasTooltipTemplate"> |
||
657 | <Anchors> |
||
658 | <Anchor point="BOTTOMRIGHT" relativeTo="BigYatlasFrameViewFrame" relativePoint="BOTTOMRIGHT"> |
||
659 | <Offset> |
||
660 | <AbsDimension x="0" y="0"/> |
||
661 | </Offset> |
||
662 | </Anchor> |
||
663 | </Anchors> |
||
664 | </Frame> |
||
665 | |||
666 | <Button name="BigYFOO" parent="BigYatlasPositioningGuide"> <!-- call me YFOO --> |
||
667 | <Size> |
||
668 | <AbsDimension x="24" y="24"/> |
||
669 | </Size> |
||
670 | <Anchors> |
||
671 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT"> |
||
672 | <Offset> |
||
673 | <AbsDimension x="-11" y="4"/> |
||
674 | </Offset> |
||
675 | </Anchor> |
||
676 | </Anchors> |
||
677 | <Frames> |
||
678 | <Frame name="$parentDropDown" inherits="UIDropDownMenuTemplate" hidden="true"> |
||
679 | <Anchors> |
||
680 | <Anchor point="TOP"> |
||
681 | <Offset> |
||
682 | <AbsDimension x="-80" y="-35"/> |
||
683 | </Offset> |
||
684 | </Anchor> |
||
685 | </Anchors> |
||
686 | <Scripts> |
||
687 | <OnLoad> |
||
688 | YFOO_Init(); |
||
689 | </OnLoad> |
||
690 | </Scripts> |
||
691 | </Frame> |
||
692 | </Frames> |
||
693 | <Scripts> |
||
694 | <OnLoad> |
||
695 | this:SetFrameLevel(this:GetFrameLevel() + 4); |
||
696 | </OnLoad> |
||
697 | <OnClick> |
||
698 | YFOO_OnClick(); |
||
699 | </OnClick> |
||
700 | </Scripts> |
||
701 | <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/> |
||
702 | <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/> |
||
703 | <DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Disabled"/> |
||
704 | <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/> |
||
705 | </Button> |
||
706 | |||
707 | <Button name="BigYatlasFrameZoomButton" parent="BigYatlasFrameViewFrame"> |
||
708 | <Size> |
||
709 | <AbsDimension x="24" y="24"/> |
||
710 | </Size> |
||
711 | <Anchors> |
||
712 | <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT"> |
||
713 | <Offset> |
||
714 | <AbsDimension x="11" y="4"/> |
||
715 | </Offset> |
||
716 | </Anchor> |
||
717 | </Anchors> |
||
718 | <Frames> |
||
719 | <Frame name="BigYatlasFrameZoomFrame" inherits="YatlasZoomTemplate" hidden="true"> |
||
720 | <Anchors> |
||
721 | <Anchor point="BOTTOM"> |
||
722 | <Offset> |
||
723 | <AbsDimension x="0" y="20"/> |
||
724 | </Offset> |
||
725 | </Anchor> |
||
726 | </Anchors> |
||
727 | </Frame> |
||
728 | </Frames> |
||
729 | <Scripts> |
||
730 | <OnClick> |
||
731 | if(not BigYatlasFrameZoomFrame:IsShown()) then |
||
732 | BigYatlasFrameZoomFrame:Show(); |
||
733 | else |
||
734 | BigYatlasFrameZoomFrame:Hide(); |
||
735 | end |
||
736 | </OnClick> |
||
737 | </Scripts> |
||
738 | <NormalTexture file="Interface\AddOns\Yatlas\images\MagButton-Up"/> |
||
739 | <PushedTexture file="Interface\AddOns\Yatlas\images\MagButton-Down"/> |
||
740 | <DisabledTexture file="Interface\AddOns\Yatlas\images\MagButton-Disabled"/> |
||
741 | <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/> |
||
742 | </Button> |
||
743 | |||
744 | |||
745 | |||
746 | </Ui> |