vanilla-wow-addons – Blame information for rev 1
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
1 | office | 1 | <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/ |
2 | C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd"> |
||
3 | |||
4 | <Script file="localization.lua"/> |
||
5 | <Script file="SimpleActionSets.lua"/> |
||
6 | <Script file="SimpleActionSets_Hooks.lua"/> |
||
7 | |||
8 | <Button name="SASMenuButtonTemplate" inherits="UIPanelButtonTemplate" virtual="true"> |
||
9 | <Size> |
||
10 | <AbsDimension x="100" y="21"/> |
||
11 | </Size> |
||
12 | </Button> |
||
13 | <Button name="SASActionButtonTemplate" virtual="true"> |
||
14 | <Size> |
||
15 | <AbsDimension x="36" y="36"/> |
||
16 | </Size> |
||
17 | <Layers> |
||
18 | <Layer level="BACKGROUND"> |
||
19 | <Texture name="$parentIcon"/> |
||
20 | </Layer> |
||
21 | <Layer level="ARTWORK"> |
||
22 | <Texture name="$parentFlash" file="Interface\Buttons\UI-QuickslotRed" hidden="true"/> |
||
23 | <FontString name="$parentHotKey" inherits="NumberFontNormalSmallGray" justifyH="RIGHT"> |
||
24 | <Size> |
||
25 | <AbsDimension x="32" y="10"/> |
||
26 | </Size> |
||
27 | <Anchors> |
||
28 | <Anchor point="TOPLEFT"> |
||
29 | <Offset> |
||
30 | <AbsDimension x="2" y="-2"/> |
||
31 | </Offset> |
||
32 | </Anchor> |
||
33 | </Anchors> |
||
34 | </FontString> |
||
35 | <FontString name="$parentCount" inherits="NumberFontNormal" justifyH="RIGHT"> |
||
36 | <Anchors> |
||
37 | <Anchor point="BOTTOMRIGHT"> |
||
38 | <Offset> |
||
39 | <AbsDimension x="-2" y="2"/> |
||
40 | </Offset> |
||
41 | </Anchor> |
||
42 | </Anchors> |
||
43 | </FontString> |
||
44 | </Layer> |
||
45 | <Layer level="OVERLAY"> |
||
46 | <FontString name="$parentName" inherits="GameFontHighlightSmallOutline"> |
||
47 | <Size> |
||
48 | <AbsDimension x="36" y="10"/> |
||
49 | </Size> |
||
50 | <Anchors> |
||
51 | <Anchor point="BOTTOM"> |
||
52 | <Offset> |
||
53 | <AbsDimension x="0" y="2"/> |
||
54 | </Offset> |
||
55 | </Anchor> |
||
56 | </Anchors> |
||
57 | </FontString> |
||
58 | <Texture name="$parentBorder" file="Interface\Buttons\UI-ActionButton-Border" hidden="true" alphaMode="ADD"> |
||
59 | <Size> |
||
60 | <AbsDimension x="62" y="62"/> |
||
61 | </Size> |
||
62 | <Anchors> |
||
63 | <Anchor point="CENTER"> |
||
64 | <Offset> |
||
65 | <AbsDimension x="0" y="0"/> |
||
66 | </Offset> |
||
67 | </Anchor> |
||
68 | </Anchors> |
||
69 | </Texture> |
||
70 | <Texture name="$parentDelete" file="Interface\Buttons\UI-GroupLoot-Pass-Up" hidden="true"> |
||
71 | <Size> |
||
72 | <AbsDimension x="32" y="32"/> |
||
73 | </Size> |
||
74 | <Anchors> |
||
75 | <Anchor point="CENTER"> |
||
76 | <Offset> |
||
77 | <AbsDimension x="0" y="0"/> |
||
78 | </Offset> |
||
79 | </Anchor> |
||
80 | </Anchors> |
||
81 | </Texture> |
||
82 | <Texture name="$parentCopy" file="Interface\Buttons\UI-AutoCastableOverlay" hidden="true"> |
||
83 | <Size> |
||
84 | <AbsDimension x="62" y="62"/> |
||
85 | </Size> |
||
86 | <Anchors> |
||
87 | <Anchor point="CENTER"> |
||
88 | <Offset> |
||
89 | <AbsDimension x="0" y="0"/> |
||
90 | </Offset> |
||
91 | </Anchor> |
||
92 | </Anchors> |
||
93 | </Texture> |
||
94 | </Layer> |
||
95 | </Layers> |
||
96 | <NormalTexture name="$parentNormalTexture" file="Interface\Buttons\UI-Quickslot2"> |
||
97 | <Size> |
||
98 | <AbsDimension x="66" y="66"/> |
||
99 | </Size> |
||
100 | <Anchors> |
||
101 | <Anchor point="CENTER"> |
||
102 | <Offset> |
||
103 | <AbsDimension x="0" y="-1"/> |
||
104 | </Offset> |
||
105 | </Anchor> |
||
106 | </Anchors> |
||
107 | </NormalTexture> |
||
108 | <PushedTexture file="Interface\Buttons\UI-Quickslot-Depress"/> |
||
109 | <HighlightTexture alphaMode="ADD" file="Interface\Buttons\ButtonHilight-Square"/> |
||
110 | <Scripts> |
||
111 | <OnLoad> |
||
112 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
113 | this:RegisterForDrag("LeftButton"); |
||
114 | this.IsSASAction = true; |
||
115 | getglobal( this:GetName().."HotKey" ):SetText(this:GetID()); |
||
116 | </OnLoad> |
||
117 | <OnClick> |
||
118 | SASActionButton_OnClick(arg1); |
||
119 | </OnClick> |
||
120 | <OnEnter> |
||
121 | SASActionButton_OnEnter(); |
||
122 | </OnEnter> |
||
123 | <OnLeave> |
||
124 | SASActionButton_OnLeave(); |
||
125 | </OnLeave> |
||
126 | <OnDragStart> |
||
127 | SASActionButton_OnDragStart(); |
||
128 | </OnDragStart> |
||
129 | <OnDragStop> |
||
130 | SASActionButton_OnDragStop(); |
||
131 | </OnDragStop> |
||
132 | <OnReceiveDrag> |
||
133 | SASActionButton_OnReceiveDrag(); |
||
134 | </OnReceiveDrag> |
||
135 | </Scripts> |
||
136 | </Button> |
||
137 | <Button name="SASActionBarButtonTemplate" virtual="true"> |
||
138 | <Size> |
||
139 | <AbsDimension x="29" y="44"/> |
||
140 | </Size> |
||
141 | <Layers> |
||
142 | <Layer level="ARTWORK"> |
||
143 | <FontString name="$parentNumber" inherits="GameFontNormalLarge"> |
||
144 | <Anchors> |
||
145 | <Anchor point="TOP" relativePoint="TOP"> |
||
146 | <Offset> |
||
147 | <AbsDimension x="-2" y="-4"/> |
||
148 | </Offset> |
||
149 | </Anchor> |
||
150 | </Anchors> |
||
151 | </FontString> |
||
152 | </Layer> |
||
153 | </Layers> |
||
154 | <HitRectInsets> |
||
155 | <AbsInset left="0" right="0" top="0" bottom="22"/> |
||
156 | </HitRectInsets> |
||
157 | <NormalTexture file="Interface\Buttons\UI-MicroButtonCharacter-Up"> |
||
158 | <TexCoords left="0.2" right="1.0" top="0.359375" bottom="1.0"/> |
||
159 | </NormalTexture> |
||
160 | <PushedTexture file="Interface\Buttons\UI-MicroButtonCharacter-Down"> |
||
161 | <TexCoords left="0.2" right="1.0" top="0.359375" bottom="1.0"/> |
||
162 | </PushedTexture> |
||
163 | <HighlightTexture file="Interface\Buttons\UI-MicroButton-Hilight"> |
||
164 | <TexCoords left="0.2" right="1.0" top="0.359375" bottom="1.0"/> |
||
165 | </HighlightTexture> |
||
166 | <Scripts> |
||
167 | <OnLoad> |
||
168 | --this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
169 | --this:RegisterForDrag("LeftButton", "RightButton"); |
||
170 | this:RegisterForClicks("LeftButtonUp"); |
||
171 | this:RegisterForDrag("LeftButton"); |
||
172 | this.IsSASBar = true; |
||
173 | getglobal( this:GetName().."Number" ):SetText(this:GetParent():GetID()+1); |
||
174 | </OnLoad> |
||
175 | <OnClick> |
||
176 | SASActionBarButton_OnClick(arg1); |
||
177 | </OnClick> |
||
178 | <OnEnter> |
||
179 | SASActionBarButton_OnEnter(); |
||
180 | </OnEnter> |
||
181 | <OnLeave> |
||
182 | SASActionBarButton_OnLeave(); |
||
183 | </OnLeave> |
||
184 | <OnDragStart> |
||
185 | SASActionBarButton_OnDragStart(); |
||
186 | </OnDragStart> |
||
187 | <OnDragStop> |
||
188 | SASActionBarButton_OnDragStop(); |
||
189 | </OnDragStop> |
||
190 | <OnReceiveDrag> |
||
191 | SASActionBarButton_OnReceiveDrag(); |
||
192 | </OnReceiveDrag> |
||
193 | </Scripts> |
||
194 | </Button> |
||
195 | <Frame name="SASActionBarTemplate" virtual="true"> |
||
196 | <Size> |
||
197 | <AbsDimension x="498" y="36"/> |
||
198 | </Size> |
||
199 | <Frames> |
||
200 | <Button name="$parentButton" inherits="SASActionBarButtonTemplate"> |
||
201 | <Anchors> |
||
202 | <Anchor point="RIGHT" relativePoint="LEFT"> |
||
203 | <Offset> |
||
204 | <AbsDimension x="0" y="0"/> |
||
205 | </Offset> |
||
206 | </Anchor> |
||
207 | </Anchors> |
||
208 | </Button> |
||
209 | <CheckButton name="$parentEnable" checked="true" inherits="UICheckButtonTemplate"> |
||
210 | <Size> |
||
211 | <AbsDimension x="24" y="24"/> |
||
212 | </Size> |
||
213 | <Anchors> |
||
214 | <Anchor point="BOTTOM" relativeTo="$parentButton" relativePoint="BOTTOM"> |
||
215 | <Offset> |
||
216 | <AbsDimension x="0" y="1"/> |
||
217 | </Offset> |
||
218 | </Anchor> |
||
219 | </Anchors> |
||
220 | <Scripts> |
||
221 | <OnClick> |
||
222 | SASActions_BarEnable_OnClick(this:GetParent():GetID(), this:GetChecked()); |
||
223 | </OnClick> |
||
224 | <OnReceiveDrag> |
||
225 | SASActionBarButton_OnReceiveDrag(); |
||
226 | </OnReceiveDrag> |
||
227 | </Scripts> |
||
228 | </CheckButton> |
||
229 | <CheckButton name="$parentAction1" inherits="SASActionButtonTemplate" id="1"> |
||
230 | <Anchors> |
||
231 | <Anchor point="BOTTOMLEFT"> |
||
232 | <Offset> |
||
233 | <AbsDimension x="8" y="0"/> |
||
234 | </Offset> |
||
235 | </Anchor> |
||
236 | </Anchors> |
||
237 | </CheckButton> |
||
238 | <CheckButton name="$parentAction2" inherits="SASActionButtonTemplate" id="2"> |
||
239 | <Anchors> |
||
240 | <Anchor point="LEFT" relativeTo="$parentAction1" relativePoint="RIGHT"> |
||
241 | <Offset> |
||
242 | <AbsDimension x="6" y="0"/> |
||
243 | </Offset> |
||
244 | </Anchor> |
||
245 | </Anchors> |
||
246 | </CheckButton> |
||
247 | <CheckButton name="$parentAction3" inherits="SASActionButtonTemplate" id="3"> |
||
248 | <Anchors> |
||
249 | <Anchor point="LEFT" relativeTo="$parentAction2" relativePoint="RIGHT"> |
||
250 | <Offset> |
||
251 | <AbsDimension x="6" y="0"/> |
||
252 | </Offset> |
||
253 | </Anchor> |
||
254 | </Anchors> |
||
255 | </CheckButton> |
||
256 | <CheckButton name="$parentAction4" inherits="SASActionButtonTemplate" id="4"> |
||
257 | <Anchors> |
||
258 | <Anchor point="LEFT" relativeTo="$parentAction3" relativePoint="RIGHT"> |
||
259 | <Offset> |
||
260 | <AbsDimension x="6" y="0"/> |
||
261 | </Offset> |
||
262 | </Anchor> |
||
263 | </Anchors> |
||
264 | </CheckButton> |
||
265 | <CheckButton name="$parentAction5" inherits="SASActionButtonTemplate" id="5"> |
||
266 | <Anchors> |
||
267 | <Anchor point="LEFT" relativeTo="$parentAction4" relativePoint="RIGHT"> |
||
268 | <Offset> |
||
269 | <AbsDimension x="6" y="0"/> |
||
270 | </Offset> |
||
271 | </Anchor> |
||
272 | </Anchors> |
||
273 | </CheckButton> |
||
274 | <CheckButton name="$parentAction6" inherits="SASActionButtonTemplate" id="6"> |
||
275 | <Anchors> |
||
276 | <Anchor point="LEFT" relativeTo="$parentAction5" relativePoint="RIGHT"> |
||
277 | <Offset> |
||
278 | <AbsDimension x="6" y="0"/> |
||
279 | </Offset> |
||
280 | </Anchor> |
||
281 | </Anchors> |
||
282 | </CheckButton> |
||
283 | <CheckButton name="$parentAction7" inherits="SASActionButtonTemplate" id="7"> |
||
284 | <Anchors> |
||
285 | <Anchor point="LEFT" relativeTo="$parentAction6" relativePoint="RIGHT"> |
||
286 | <Offset> |
||
287 | <AbsDimension x="6" y="0"/> |
||
288 | </Offset> |
||
289 | </Anchor> |
||
290 | </Anchors> |
||
291 | </CheckButton> |
||
292 | <CheckButton name="$parentAction8" inherits="SASActionButtonTemplate" id="8"> |
||
293 | <Anchors> |
||
294 | <Anchor point="LEFT" relativeTo="$parentAction7" relativePoint="RIGHT"> |
||
295 | <Offset> |
||
296 | <AbsDimension x="6" y="0"/> |
||
297 | </Offset> |
||
298 | </Anchor> |
||
299 | </Anchors> |
||
300 | </CheckButton> |
||
301 | <CheckButton name="$parentAction9" inherits="SASActionButtonTemplate" id="9"> |
||
302 | <Anchors> |
||
303 | <Anchor point="LEFT" relativeTo="$parentAction8" relativePoint="RIGHT"> |
||
304 | <Offset> |
||
305 | <AbsDimension x="6" y="0"/> |
||
306 | </Offset> |
||
307 | </Anchor> |
||
308 | </Anchors> |
||
309 | </CheckButton> |
||
310 | <CheckButton name="$parentAction10" inherits="SASActionButtonTemplate" id="10"> |
||
311 | <Anchors> |
||
312 | <Anchor point="LEFT" relativeTo="$parentAction9" relativePoint="RIGHT"> |
||
313 | <Offset> |
||
314 | <AbsDimension x="6" y="0"/> |
||
315 | </Offset> |
||
316 | </Anchor> |
||
317 | </Anchors> |
||
318 | </CheckButton> |
||
319 | <CheckButton name="$parentAction11" inherits="SASActionButtonTemplate" id="11"> |
||
320 | <Anchors> |
||
321 | <Anchor point="LEFT" relativeTo="$parentAction10" relativePoint="RIGHT"> |
||
322 | <Offset> |
||
323 | <AbsDimension x="6" y="0"/> |
||
324 | </Offset> |
||
325 | </Anchor> |
||
326 | </Anchors> |
||
327 | </CheckButton> |
||
328 | <CheckButton name="$parentAction12" inherits="SASActionButtonTemplate" id="12"> |
||
329 | <Anchors> |
||
330 | <Anchor point="LEFT" relativeTo="$parentAction11" relativePoint="RIGHT"> |
||
331 | <Offset> |
||
332 | <AbsDimension x="6" y="0"/> |
||
333 | </Offset> |
||
334 | </Anchor> |
||
335 | </Anchors> |
||
336 | </CheckButton> |
||
337 | </Frames> |
||
338 | </Frame> |
||
339 | <Button name="SASTabButtonTemplate" inherits="CharacterFrameTabButtonTemplate" virtual="true"> |
||
340 | <Scripts> |
||
341 | <OnClick> |
||
342 | PanelTemplates_Tab_OnClick(this:GetParent()); |
||
343 | SASMain_UpdateDisplay(); |
||
344 | </OnClick> |
||
345 | </Scripts> |
||
346 | </Button> |
||
347 | |||
348 | <Frame name="SASFrame"/> |
||
349 | <GameTooltip name="SASToolTip" inherits="GameTooltipTemplate" hidden="false"> |
||
350 | <Scripts> |
||
351 | <OnLoad> |
||
352 | this:RegisterEvent("PLAYER_ENTERING_WORLD"); |
||
353 | </OnLoad> |
||
354 | <OnEvent> |
||
355 | this:SetOwner(WorldFrame, "ANCHOR_NONE"); |
||
356 | </OnEvent> |
||
357 | </Scripts> |
||
358 | </GameTooltip> |
||
359 | |||
360 | <Frame name="SASMain" toplevel="true" parent="UIParent" movable="true" enableMouse="true" hidden="true"> |
||
361 | <Size> |
||
362 | <AbsDimension x="640" y="512"/> |
||
363 | </Size> |
||
364 | <Anchors> |
||
365 | <Anchor point="CENTER"> |
||
366 | <Offset> |
||
367 | <AbsDimension x="0" y="0"/> |
||
368 | </Offset> |
||
369 | </Anchor> |
||
370 | </Anchors> |
||
371 | <HitRectInsets> |
||
372 | <AbsInset left="0" right="44" top="0" bottom="13"/> |
||
373 | </HitRectInsets> |
||
374 | <Layers> |
||
375 | <Layer level="BACKGROUND"> |
||
376 | <Texture file="Interface\HelpFrame\HelpFrame-TopLeft"> |
||
377 | <Size> |
||
378 | <AbsDimension x="256" y="256"/> |
||
379 | </Size> |
||
380 | <Anchors> |
||
381 | <Anchor point="TOPLEFT"/> |
||
382 | </Anchors> |
||
383 | </Texture> |
||
384 | <Texture file="Interface\HelpFrame\HelpFrame-Top"> |
||
385 | <Size> |
||
386 | <AbsDimension x="256" y="256"/> |
||
387 | </Size> |
||
388 | <Anchors> |
||
389 | <Anchor point="TOPLEFT"> |
||
390 | <Offset> |
||
391 | <AbsDimension x="256" y="0"/> |
||
392 | </Offset> |
||
393 | </Anchor> |
||
394 | </Anchors> |
||
395 | </Texture> |
||
396 | <Texture file="Interface\HelpFrame\HelpFrame-TopRight"> |
||
397 | <Size> |
||
398 | <AbsDimension x="128" y="256"/> |
||
399 | </Size> |
||
400 | <Anchors> |
||
401 | <Anchor point="TOPRIGHT"/> |
||
402 | </Anchors> |
||
403 | </Texture> |
||
404 | <Texture file="Interface\HelpFrame\HelpFrame-BotLeft"> |
||
405 | <Size> |
||
406 | <AbsDimension x="256" y="256"/> |
||
407 | </Size> |
||
408 | <Anchors> |
||
409 | <Anchor point="BOTTOMLEFT"/> |
||
410 | </Anchors> |
||
411 | </Texture> |
||
412 | <Texture file="Interface\HelpFrame\HelpFrame-Bottom"> |
||
413 | <Size> |
||
414 | <AbsDimension x="256" y="256"/> |
||
415 | </Size> |
||
416 | <Anchors> |
||
417 | <Anchor point="BOTTOMLEFT"> |
||
418 | <Offset> |
||
419 | <AbsDimension x="256" y="0"/> |
||
420 | </Offset> |
||
421 | </Anchor> |
||
422 | </Anchors> |
||
423 | </Texture> |
||
424 | <Texture file="Interface\HelpFrame\HelpFrame-BotRight"> |
||
425 | <Size> |
||
426 | <AbsDimension x="128" y="256"/> |
||
427 | </Size> |
||
428 | <Anchors> |
||
429 | <Anchor point="BOTTOMRIGHT"/> |
||
430 | </Anchors> |
||
431 | </Texture> |
||
432 | </Layer> |
||
433 | <Layer level="ARTWORK"> |
||
434 | <Texture name="SASMainHeader" file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
435 | <Size> |
||
436 | <AbsDimension x="346" y="64"/> |
||
437 | </Size> |
||
438 | <Anchors> |
||
439 | <Anchor point="TOP"> |
||
440 | <Offset> |
||
441 | <AbsDimension x="-12" y="12"/> |
||
442 | </Offset> |
||
443 | </Anchor> |
||
444 | </Anchors> |
||
445 | </Texture> |
||
446 | <FontString inherits="GameFontNormal" text="SAS_TITLE"> |
||
447 | <Anchors> |
||
448 | <Anchor point="TOP" relativeTo="SASMainHeader"> |
||
449 | <Offset> |
||
450 | <AbsDimension x="0" y="-14"/> |
||
451 | </Offset> |
||
452 | </Anchor> |
||
453 | </Anchors> |
||
454 | </FontString> |
||
455 | </Layer> |
||
456 | </Layers> |
||
457 | <Scripts> |
||
458 | <OnShow> |
||
459 | SASActions_OnShow(); |
||
460 | SASActions_Display(); |
||
461 | </OnShow> |
||
462 | <OnHide> |
||
463 | SASActions_OnHide(); |
||
464 | </OnHide> |
||
465 | </Scripts> |
||
466 | <Frames> |
||
467 | <Frame name="$parentTabDivider" inherits="HelpFrameDividerTemplate"> |
||
468 | <Anchors> |
||
469 | <Anchor point="TOPLEFT"> |
||
470 | <Offset> |
||
471 | <AbsDimension x="12" y="-42"/> |
||
472 | </Offset> |
||
473 | </Anchor> |
||
474 | </Anchors> |
||
475 | </Frame> |
||
476 | <Button name="SASActionsDelete" inherits="SASMenuButtonTemplate" text="SAS_TEXT_DELETE"> |
||
477 | <Size> |
||
478 | <AbsDimension x="100" y="21"/> |
||
479 | </Size> |
||
480 | <Anchors> |
||
481 | <Anchor point="TOPRIGHT"> |
||
482 | <Offset> |
||
483 | <AbsDimension x="-53" y="-56"/> |
||
484 | </Offset> |
||
485 | </Anchor> |
||
486 | </Anchors> |
||
487 | <Scripts> |
||
488 | <OnClick> |
||
489 | SASActions_Delete(); |
||
490 | </OnClick> |
||
491 | </Scripts> |
||
492 | </Button> |
||
493 | <Button name="SASActionsSaveNew" inherits="SASMenuButtonTemplate" text="SAS_TEXT_SAVEAS"> |
||
494 | <Size> |
||
495 | <AbsDimension x="100" y="21"/> |
||
496 | </Size> |
||
497 | <Anchors> |
||
498 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="SASActionsDelete"> |
||
499 | <Offset> |
||
500 | <AbsDimension x="0" y="0"/> |
||
501 | </Offset> |
||
502 | </Anchor> |
||
503 | </Anchors> |
||
504 | <Scripts> |
||
505 | <OnClick> |
||
506 | SASActions_SaveNew(); |
||
507 | </OnClick> |
||
508 | </Scripts> |
||
509 | </Button> |
||
510 | <Frame name="SASActionSetsDropDown" inherits="UIDropDownMenuTemplate" hidden="false"> |
||
511 | <Size> |
||
512 | <AbsDimension x="160" y="16"/> |
||
513 | </Size> |
||
514 | <Anchors> |
||
515 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="SASActionsSaveNew"> |
||
516 | <Offset> |
||
517 | <AbsDimension x="16" y="-2"/> |
||
518 | </Offset> |
||
519 | </Anchor> |
||
520 | </Anchors> |
||
521 | <Scripts> |
||
522 | <OnShow> |
||
523 | SASActions_DropDown_OnLoad(); |
||
524 | </OnShow> |
||
525 | </Scripts> |
||
526 | </Frame> |
||
527 | <Button name="$parentTab1" inherits="SASTabButtonTemplate" id="1" text="SAS_TEXT_TAB_SETS"> |
||
528 | <Anchors> |
||
529 | <Anchor point="BOTTOMLEFT"> |
||
530 | <Offset> |
||
531 | <AbsDimension x="15" y="10"/> |
||
532 | </Offset> |
||
533 | </Anchor> |
||
534 | </Anchors> |
||
535 | </Button> |
||
536 | <Button name="$parentTab2" inherits="SASTabButtonTemplate" id="2" text="SAS_TEXT_TAB_OPTIONS"> |
||
537 | <Anchors> |
||
538 | <Anchor point="LEFT" relativeTo="$parentTab1" relativePoint="RIGHT"> |
||
539 | <Offset> |
||
540 | <AbsDimension x="-14" y="0"/> |
||
541 | </Offset> |
||
542 | </Anchor> |
||
543 | </Anchors> |
||
544 | </Button> |
||
545 | <Button name="$parentTab3" inherits="SASTabButtonTemplate" id="3" text="SAS_TEXT_TAB_HELP"> |
||
546 | <Anchors> |
||
547 | <Anchor point="LEFT" relativeTo="$parentTab2" relativePoint="RIGHT"> |
||
548 | <Offset> |
||
549 | <AbsDimension x="-14" y="0"/> |
||
550 | </Offset> |
||
551 | </Anchor> |
||
552 | </Anchors> |
||
553 | </Button> |
||
554 | <Button name="SASMainCloseButton" inherits="UIPanelCloseButton"> |
||
555 | <Anchors> |
||
556 | <Anchor point="TOPRIGHT"> |
||
557 | <Offset> |
||
558 | <AbsDimension x="-42" y="-3"/> |
||
559 | </Offset> |
||
560 | </Anchor> |
||
561 | </Anchors> |
||
562 | </Button> |
||
563 | <CheckButton name="SASActionsCheckAll" checked="true"> |
||
564 | <Size> |
||
565 | <AbsDimension x="28" y="28"/> |
||
566 | </Size> |
||
567 | <Anchors> |
||
568 | <Anchor point="TOPLEFT"> |
||
569 | <Offset> |
||
570 | <AbsDimension x="18" y="-52"/> |
||
571 | </Offset> |
||
572 | </Anchor> |
||
573 | </Anchors> |
||
574 | <Layers> |
||
575 | <Layer level="ARTWORK"> |
||
576 | <FontString name="$parentText" inherits="GameFontNormal" text="Check All Bars"> |
||
577 | <Anchors> |
||
578 | <Anchor point="LEFT" relativePoint="RIGHT"/> |
||
579 | </Anchors> |
||
580 | </FontString> |
||
581 | </Layer> |
||
582 | </Layers> |
||
583 | <NormalTexture file="Interface\Buttons\UI-CheckBox-Up"/> |
||
584 | <PushedTexture file="Interface\Buttons\UI-CheckBox-Down"/> |
||
585 | <HighlightTexture file="Interface\Buttons\UI-CheckBox-Highlight" alphaMode="ADD"/> |
||
586 | <CheckedTexture file="Interface\Buttons\UI-CheckBox-Check"/> |
||
587 | <DisabledCheckedTexture file="Interface\Buttons\UI-CheckBox-Check-Disabled"/> |
||
588 | <Scripts> |
||
589 | <OnLoad> |
||
590 | this.tooltipText = SAS_TEXT_CB_ALLBARS; |
||
591 | </OnLoad> |
||
592 | <OnClick> |
||
593 | SASActions_Bar_CheckAll(); |
||
594 | </OnClick> |
||
595 | </Scripts> |
||
596 | </CheckButton> |
||
597 | <Frame name="$parentTopDivider" inherits="HelpFrameDividerTemplate"> |
||
598 | <Anchors> |
||
599 | <Anchor point="TOPLEFT"> |
||
600 | <Offset> |
||
601 | <AbsDimension x="12" y="-72"/> |
||
602 | </Offset> |
||
603 | </Anchor> |
||
604 | </Anchors> |
||
605 | </Frame> |
||
606 | <Frame name="$parentBottomDivider" inherits="HelpFrameDividerTemplate"> |
||
607 | <Anchors> |
||
608 | <Anchor point="TOPLEFT" relativeTo="$parentTopDivider" relativePoint="BOTTOMLEFT"> |
||
609 | <Offset> |
||
610 | <AbsDimension x="0" y="-270"/> |
||
611 | </Offset> |
||
612 | </Anchor> |
||
613 | </Anchors> |
||
614 | </Frame> |
||
615 | <ScrollFrame name="SASActions" inherits="UIPanelScrollFrameTemplate"> |
||
616 | <Size> |
||
617 | <AbsDimension x="540" y="280"/> |
||
618 | </Size> |
||
619 | <Anchors> |
||
620 | <Anchor point="TOPLEFT" relativeTo="$parentTopDivider" relativePoint="BOTTOMLEFT"> |
||
621 | <Offset> |
||
622 | <AbsDimension x="8" y="4"/> |
||
623 | </Offset> |
||
624 | </Anchor> |
||
625 | </Anchors> |
||
626 | <Layers> |
||
627 | <Layer level="ARTWORK"> |
||
628 | <Texture name="SASActionsScrollBarTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar"> |
||
629 | <Size> |
||
630 | <AbsDimension x="31" y="128"/> |
||
631 | </Size> |
||
632 | <Anchors> |
||
633 | <!--<Anchor point="TOP" relativeTo="$parentScrollBarScrollUpButton">--> |
||
634 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT"> |
||
635 | <Offset> |
||
636 | <AbsDimension x="-2" y="6"/> |
||
637 | </Offset> |
||
638 | </Anchor> |
||
639 | </Anchors> |
||
640 | <TexCoords left="0" right="0.484375" top="0" bottom="0.5"/> |
||
641 | </Texture> |
||
642 | <Texture name="SASActionsScrollBarBottom" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar"> |
||
643 | <Size> |
||
644 | <AbsDimension x="31" y="108"/> |
||
645 | </Size> |
||
646 | <Anchors> |
||
647 | <!--<Anchor point="BOTTOM" relativeTo="$parentScrollBarScrollDownButton">--> |
||
648 | <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT"> |
||
649 | <Offset> |
||
650 | <AbsDimension x="-2" y="-4"/> |
||
651 | </Offset> |
||
652 | </Anchor> |
||
653 | </Anchors> |
||
654 | <TexCoords left="0.515625" right="1.0" top="0" bottom="0.421875"/> |
||
655 | </Texture> |
||
656 | <Texture name="SASActionsScrollBarMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar"> |
||
657 | <Size> |
||
658 | <AbsDimension x="31" y="60"/> |
||
659 | </Size> |
||
660 | <Anchors> |
||
661 | <Anchor point="TOP" relativeTo="SASActionsScrollBarTop" relativePoint="BOTTOM"> |
||
662 | <Offset> |
||
663 | <AbsDimension x="0" y="0"/> |
||
664 | </Offset> |
||
665 | </Anchor> |
||
666 | <Anchor point="BOTTOM" relativeTo="SASActionsScrollBarBottom" relativePoint="TOP"> |
||
667 | <Offset> |
||
668 | <AbsDimension x="0" y="0"/> |
||
669 | </Offset> |
||
670 | </Anchor> |
||
671 | </Anchors> |
||
672 | <TexCoords left="0" right="0.484375" top=".75" bottom="1.0"/> |
||
673 | </Texture> |
||
674 | </Layer> |
||
675 | </Layers> |
||
676 | <ScrollChild> |
||
677 | <Frame name="$parentScrollChild"> |
||
678 | <Size> |
||
679 | <AbsDimension x="526" y="465"/> |
||
680 | </Size> |
||
681 | <Frames> |
||
682 | <Frame name="SASActionBar0" inherits="SASActionBarTemplate" id="0"> |
||
683 | <Anchors> |
||
684 | <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT"> |
||
685 | <Offset> |
||
686 | <AbsDimension x="0" y="-5"/> |
||
687 | </Offset> |
||
688 | </Anchor> |
||
689 | </Anchors> |
||
690 | </Frame> |
||
691 | <Frame name="SASActionBar1" inherits="SASActionBarTemplate" id="1"> |
||
692 | <Anchors> |
||
693 | <Anchor point="TOPLEFT" relativeTo="SASActionBar0" relativePoint="BOTTOMLEFT"> |
||
694 | <Offset> |
||
695 | <AbsDimension x="0" y="-10"/> |
||
696 | </Offset> |
||
697 | </Anchor> |
||
698 | </Anchors> |
||
699 | </Frame> |
||
700 | <Frame name="SASActionBar2" inherits="SASActionBarTemplate" id="2"> |
||
701 | <Anchors> |
||
702 | <Anchor point="TOPLEFT" relativeTo="SASActionBar1" relativePoint="BOTTOMLEFT"> |
||
703 | <Offset> |
||
704 | <AbsDimension x="0" y="-10"/> |
||
705 | </Offset> |
||
706 | </Anchor> |
||
707 | </Anchors> |
||
708 | </Frame> |
||
709 | <Frame name="SASActionBar3" inherits="SASActionBarTemplate" id="3"> |
||
710 | <Anchors> |
||
711 | <Anchor point="TOPLEFT" relativeTo="SASActionBar2" relativePoint="BOTTOMLEFT"> |
||
712 | <Offset> |
||
713 | <AbsDimension x="0" y="-10"/> |
||
714 | </Offset> |
||
715 | </Anchor> |
||
716 | </Anchors> |
||
717 | </Frame> |
||
718 | <Frame name="SASActionBar4" inherits="SASActionBarTemplate" id="4"> |
||
719 | <Anchors> |
||
720 | <Anchor point="TOPLEFT" relativeTo="SASActionBar3" relativePoint="BOTTOMLEFT"> |
||
721 | <Offset> |
||
722 | <AbsDimension x="0" y="-10"/> |
||
723 | </Offset> |
||
724 | </Anchor> |
||
725 | </Anchors> |
||
726 | </Frame> |
||
727 | <Frame name="SASActionBar5" inherits="SASActionBarTemplate" id="5"> |
||
728 | <Anchors> |
||
729 | <Anchor point="TOPLEFT" relativeTo="SASActionBar4" relativePoint="BOTTOMLEFT"> |
||
730 | <Offset> |
||
731 | <AbsDimension x="0" y="-10"/> |
||
732 | </Offset> |
||
733 | </Anchor> |
||
734 | </Anchors> |
||
735 | </Frame> |
||
736 | <Frame name="SASActionBar6" inherits="SASActionBarTemplate" id="6"> |
||
737 | <Anchors> |
||
738 | <Anchor point="TOPLEFT" relativeTo="SASActionBar5" relativePoint="BOTTOMLEFT"> |
||
739 | <Offset> |
||
740 | <AbsDimension x="0" y="-20"/> |
||
741 | </Offset> |
||
742 | </Anchor> |
||
743 | </Anchors> |
||
744 | </Frame> |
||
745 | <Frame name="SASActionBar7" inherits="SASActionBarTemplate" id="7"> |
||
746 | <Anchors> |
||
747 | <Anchor point="TOPLEFT" relativeTo="SASActionBar6" relativePoint="BOTTOMLEFT"> |
||
748 | <Offset> |
||
749 | <AbsDimension x="0" y="-10"/> |
||
750 | </Offset> |
||
751 | </Anchor> |
||
752 | </Anchors> |
||
753 | </Frame> |
||
754 | <Frame name="SASActionBar8" inherits="SASActionBarTemplate" id="8"> |
||
755 | <Anchors> |
||
756 | <Anchor point="TOPLEFT" relativeTo="SASActionBar7" relativePoint="BOTTOMLEFT"> |
||
757 | <Offset> |
||
758 | <AbsDimension x="0" y="-10"/> |
||
759 | </Offset> |
||
760 | </Anchor> |
||
761 | </Anchors> |
||
762 | </Frame> |
||
763 | <Frame name="SASActionBar9" inherits="SASActionBarTemplate" id="9"> |
||
764 | <Anchors> |
||
765 | <Anchor point="TOPLEFT" relativeTo="SASActionBar8" relativePoint="BOTTOMLEFT"> |
||
766 | <Offset> |
||
767 | <AbsDimension x="0" y="-10"/> |
||
768 | </Offset> |
||
769 | </Anchor> |
||
770 | </Anchors> |
||
771 | </Frame> |
||
772 | </Frames> |
||
773 | </Frame> |
||
774 | </ScrollChild> |
||
775 | <Scripts> |
||
776 | <OnShow> |
||
777 | SASActions_OnShow(); |
||
778 | </OnShow> |
||
779 | </Scripts> |
||
780 | </ScrollFrame> |
||
781 | <Frame name="SASSets" hidden="true"> |
||
782 | <Size> |
||
783 | <AbsDimension x="568" y="90"/> |
||
784 | </Size> |
||
785 | <Anchors> |
||
786 | <Anchor point="BOTTOMLEFT"> |
||
787 | <Offset> |
||
788 | <AbsDimension x="18" y="48"/> |
||
789 | </Offset> |
||
790 | </Anchor> |
||
791 | </Anchors> |
||
792 | <Frames> |
||
793 | <Button name="SASActionsSave" inherits="UIPanelButtonTemplate2" text="SAS_TEXT_SAVE"> |
||
794 | <Size> |
||
795 | <AbsDimension x="152" y="21"/> |
||
796 | </Size> |
||
797 | <Anchors> |
||
798 | <Anchor point="BOTTOMLEFT"> |
||
799 | <Offset> |
||
800 | <AbsDimension x="5" y="5"/> |
||
801 | </Offset> |
||
802 | </Anchor> |
||
803 | </Anchors> |
||
804 | <Scripts> |
||
805 | <OnLoad> |
||
806 | this.oldEnable = this.Enable; |
||
807 | this.oldDisable = this.Disable; |
||
808 | this.Enable = SASActionsSave_Enable; |
||
809 | this.Disable = SASActionsSave_Disable; |
||
810 | </OnLoad> |
||
811 | <OnClick> |
||
812 | SASActions_Save(); |
||
813 | </OnClick> |
||
814 | </Scripts> |
||
815 | </Button> |
||
816 | <Button name="$parentLoadCurrent" inherits="UIPanelButtonTemplate2" text="SAS_TEXT_LOADCURRENT"> |
||
817 | <Size> |
||
818 | <AbsDimension x="152" y="21"/> |
||
819 | </Size> |
||
820 | <Anchors> |
||
821 | <Anchor point="BOTTOMRIGHT"> |
||
822 | <Offset> |
||
823 | <AbsDimension x="-5" y="5"/> |
||
824 | </Offset> |
||
825 | </Anchor> |
||
826 | </Anchors> |
||
827 | <Scripts> |
||
828 | <OnClick> |
||
829 | SASActions_LoadCurrent(); |
||
830 | </OnClick> |
||
831 | </Scripts> |
||
832 | </Button> |
||
833 | <Button name="$parentClearSet" inherits="UIPanelButtonTemplate2" text="SAS_TEXT_CLEARSET"> |
||
834 | <Size> |
||
835 | <AbsDimension x="152" y="21"/> |
||
836 | </Size> |
||
837 | <Anchors> |
||
838 | <Anchor point="BOTTOM"> |
||
839 | <Offset> |
||
840 | <AbsDimension x="0" y="5"/> |
||
841 | </Offset> |
||
842 | </Anchor> |
||
843 | </Anchors> |
||
844 | <Scripts> |
||
845 | <OnClick> |
||
846 | SASActions_ClearTemp(); |
||
847 | </OnClick> |
||
848 | </Scripts> |
||
849 | </Button> |
||
850 | <!--<Frame name="SASSets_Character_DropDown" inherits="UIDropDownMenuTemplate" hidden="false"> |
||
851 | <Size> |
||
852 | <AbsDimension x="160" y="16"/> |
||
853 | </Size> |
||
854 | <Anchors> |
||
855 | <Anchor point="BOTTOMLEFT"> |
||
856 | <Offset> |
||
857 | <AbsDimension x="0" y="40"/> |
||
858 | </Offset> |
||
859 | </Anchor> |
||
860 | </Anchors> |
||
861 | <Scripts> |
||
862 | <OnShow> |
||
863 | SASSets_Character_DropDown_OnLoad(); |
||
864 | </OnShow> |
||
865 | </Scripts> |
||
866 | </Frame> |
||
867 | <Frame name="SASSets_CharacterSets_DropDown" inherits="UIDropDownMenuTemplate" hidden="false"> |
||
868 | <Size> |
||
869 | <AbsDimension x="160" y="16"/> |
||
870 | </Size> |
||
871 | <Anchors> |
||
872 | <Anchor point="LEFT" relativeTo="SASSets_Character_DropDown" relativePoint="RIGHT"> |
||
873 | <Offset> |
||
874 | <AbsDimension x="-30" y="0"/> |
||
875 | </Offset> |
||
876 | </Anchor> |
||
877 | </Anchors> |
||
878 | <Scripts> |
||
879 | <OnShow> |
||
880 | SASSets_CharacterSets_DropDown_OnLoad(); |
||
881 | </OnShow> |
||
882 | </Scripts> |
||
883 | </Frame> |
||
884 | <Button name="$parentOtherSet" inherits="UIPanelButtonTemplate2" text="SAS_TEXT_LOADSET"> |
||
885 | <Size> |
||
886 | <AbsDimension x="174" y="21"/> |
||
887 | </Size> |
||
888 | <Anchors> |
||
889 | <Anchor point="LEFT" relativeTo="SASSets_CharacterSets_DropDown" relativePoint="RIGHT"> |
||
890 | <Offset> |
||
891 | <AbsDimension x="-14" y="2"/> |
||
892 | </Offset> |
||
893 | </Anchor> |
||
894 | </Anchors> |
||
895 | <Scripts> |
||
896 | <OnClick> |
||
897 | SASActions_LoadOtherSet(); |
||
898 | </OnClick> |
||
899 | </Scripts> |
||
900 | </Button>--> |
||
901 | </Frames> |
||
902 | </Frame> |
||
903 | <Frame name="SASOptions" hidden="true"> |
||
904 | <Size> |
||
905 | <AbsDimension x="568" y="180"/> |
||
906 | </Size> |
||
907 | <Anchors> |
||
908 | <Anchor point="BOTTOMLEFT"> |
||
909 | <Offset> |
||
910 | <AbsDimension x="18" y="50"/> |
||
911 | </Offset> |
||
912 | </Anchor> |
||
913 | </Anchors> |
||
914 | <Frames> |
||
915 | <Frame name="$parentMinimap"> |
||
916 | <Size> |
||
917 | <AbsDimension x="300" y="60"/> |
||
918 | </Size> |
||
919 | <Anchors> |
||
920 | <Anchor point="TOPLEFT"> |
||
921 | <Offset> |
||
922 | <AbsDimension x="0" y="-10"/> |
||
923 | </Offset> |
||
924 | </Anchor> |
||
925 | </Anchors> |
||
926 | <Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
927 | <EdgeSize> |
||
928 | <AbsValue val="16"/> |
||
929 | </EdgeSize> |
||
930 | <TileSize> |
||
931 | <AbsValue val="16"/> |
||
932 | </TileSize> |
||
933 | <BackgroundInsets> |
||
934 | <AbsInset left="5" right="5" top="5" bottom="5"/> |
||
935 | </BackgroundInsets> |
||
936 | </Backdrop> |
||
937 | <Layers> |
||
938 | <Layer level="ARTWORK"> |
||
939 | <FontString name="$parentName" inherits="GameFontHighlight" text="Minimap Button"> |
||
940 | <Anchors> |
||
941 | <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"> |
||
942 | <Offset> |
||
943 | <AbsDimension x="9" y="0"/> |
||
944 | </Offset> |
||
945 | </Anchor> |
||
946 | </Anchors> |
||
947 | </FontString> |
||
948 | </Layer> |
||
949 | </Layers> |
||
950 | <Frames> |
||
951 | <CheckButton name="$parentShow" inherits="OptionsCheckButtonTemplate"> |
||
952 | <Anchors> |
||
953 | <Anchor point="TOPLEFT"> |
||
954 | <Offset> |
||
955 | <AbsDimension x="5" y="-5"/> |
||
956 | </Offset> |
||
957 | </Anchor> |
||
958 | </Anchors> |
||
959 | <Scripts> |
||
960 | <OnClick> |
||
961 | SASOptions_Minimap_Show(); |
||
962 | </OnClick> |
||
963 | </Scripts> |
||
964 | </CheckButton> |
||
965 | <CheckButton name="$parentDrag" inherits="OptionsCheckButtonTemplate"> |
||
966 | <Anchors> |
||
967 | <Anchor point="TOP" relativeTo="$parentShow" relativePoint="BOTTOM"> |
||
968 | <Offset> |
||
969 | <AbsDimension x="0" y="10"/> |
||
970 | </Offset> |
||
971 | </Anchor> |
||
972 | </Anchors> |
||
973 | <Scripts> |
||
974 | <OnClick> |
||
975 | SASOptions_Minimap_Drag(); |
||
976 | </OnClick> |
||
977 | </Scripts> |
||
978 | </CheckButton> |
||
979 | </Frames> |
||
980 | </Frame> |
||
981 | <Frame name="$parentMinimapPosition"> |
||
982 | <Size> |
||
983 | <AbsDimension x="300" y="110"/> |
||
984 | </Size> |
||
985 | <Anchors> |
||
986 | <Anchor point="TOPLEFT" relativeTo="$parentMinimap" relativePoint="BOTTOMLEFT"> |
||
987 | <Offset> |
||
988 | <AbsDimension x="0" y="0"/> |
||
989 | </Offset> |
||
990 | </Anchor> |
||
991 | </Anchors> |
||
992 | <Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
993 | <EdgeSize> |
||
994 | <AbsValue val="16"/> |
||
995 | </EdgeSize> |
||
996 | <TileSize> |
||
997 | <AbsValue val="16"/> |
||
998 | </TileSize> |
||
999 | <BackgroundInsets> |
||
1000 | <AbsInset left="5" right="5" top="5" bottom="5"/> |
||
1001 | </BackgroundInsets> |
||
1002 | </Backdrop> |
||
1003 | <Frames> |
||
1004 | <Slider name="SASButtonPos" inherits="OptionsSliderTemplate"> |
||
1005 | <Size> |
||
1006 | <AbsDimension x="280" y="16"/> |
||
1007 | </Size> |
||
1008 | <Anchors> |
||
1009 | <Anchor point="TOP"> |
||
1010 | <Offset> |
||
1011 | <AbsDimension x="0" y="-20" /> |
||
1012 | </Offset> |
||
1013 | </Anchor> |
||
1014 | </Anchors> |
||
1015 | <Scripts> |
||
1016 | <OnLoad> |
||
1017 | getglobal(this:GetName().."Text"):SetText(SAS_OPTIONS_BUTPOS.." "..SAS_POS); |
||
1018 | getglobal(this:GetName().."High"):SetText(360); |
||
1019 | getglobal(this:GetName().."Low"):SetText(0); |
||
1020 | SASButtonPos:SetMinMaxValues(0,360); |
||
1021 | SASButtonPos:SetValueStep(1); |
||
1022 | </OnLoad> |
||
1023 | <OnValueChanged> |
||
1024 | SAS_POS = SASButtonPos:GetValue(); |
||
1025 | getglobal(this:GetName().."Text"):SetText(SAS_OPTIONS_BUTPOS.." "..SASButtonPos:GetValue()); |
||
1026 | SASMinimap_PosUpdate(); |
||
1027 | SASOptionsMinimapPositionUndo:Enable(); |
||
1028 | </OnValueChanged> |
||
1029 | </Scripts> |
||
1030 | </Slider> |
||
1031 | <Slider name="SASButtonOffset" inherits="OptionsSliderTemplate"> |
||
1032 | <Size> |
||
1033 | <AbsDimension x="280" y="16"/> |
||
1034 | </Size> |
||
1035 | <Anchors> |
||
1036 | <Anchor point="TOP"> |
||
1037 | <Offset> |
||
1038 | <AbsDimension x="0" y="-50" /> |
||
1039 | </Offset> |
||
1040 | </Anchor> |
||
1041 | </Anchors> |
||
1042 | <Scripts> |
||
1043 | <OnLoad> |
||
1044 | getglobal(this:GetName().."Text"):SetText(SAS_OPTIONS_OFFSET.." "..SAS_OFFSET); |
||
1045 | getglobal(this:GetName().."High"):SetText(30); |
||
1046 | getglobal(this:GetName().."Low"):SetText(0); |
||
1047 | SASButtonOffset:SetMinMaxValues(0,30); |
||
1048 | SASButtonOffset:SetValueStep(1); |
||
1049 | </OnLoad> |
||
1050 | <OnValueChanged> |
||
1051 | SAS_OFFSET = SASButtonOffset:GetValue(); |
||
1052 | getglobal(this:GetName().."Text"):SetText(SAS_OPTIONS_OFFSET.." "..SASButtonOffset:GetValue()); |
||
1053 | SASMinimap_PosUpdate(); |
||
1054 | SASOptionsMinimapPositionUndo:Enable(); |
||
1055 | </OnValueChanged> |
||
1056 | </Scripts> |
||
1057 | </Slider> |
||
1058 | <Button name="$parentDefault" inherits="OptionsButtonTemplate" text="Default"> |
||
1059 | <Anchors> |
||
1060 | <Anchor point="BOTTOMLEFT"> |
||
1061 | <Offset> |
||
1062 | <AbsDimension x="5" y="5"/> |
||
1063 | </Offset> |
||
1064 | </Anchor> |
||
1065 | </Anchors> |
||
1066 | <Scripts> |
||
1067 | <OnClick> |
||
1068 | SASOptions_Minimap_Defaults(); |
||
1069 | </OnClick> |
||
1070 | </Scripts> |
||
1071 | </Button> |
||
1072 | <Button name="$parentUndo" inherits="OptionsButtonTemplate" text="Undo"> |
||
1073 | <Anchors> |
||
1074 | <Anchor point="BOTTOMRIGHT"> |
||
1075 | <Offset> |
||
1076 | <AbsDimension x="-5" y="5"/> |
||
1077 | </Offset> |
||
1078 | </Anchor> |
||
1079 | </Anchors> |
||
1080 | <Scripts> |
||
1081 | <OnClick> |
||
1082 | SASOptions_Minimap_Undo(); |
||
1083 | </OnClick> |
||
1084 | </Scripts> |
||
1085 | </Button> |
||
1086 | </Frames> |
||
1087 | </Frame> |
||
1088 | <Frame name="$parentGeneral"> |
||
1089 | <Size> |
||
1090 | <AbsDimension x="268" y="170"/> |
||
1091 | </Size> |
||
1092 | <Anchors> |
||
1093 | <Anchor point="TOPRIGHT"> |
||
1094 | <Offset> |
||
1095 | <AbsDimension x="0" y="-10"/> |
||
1096 | </Offset> |
||
1097 | </Anchor> |
||
1098 | </Anchors> |
||
1099 | <Backdrop edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
1100 | <EdgeSize> |
||
1101 | <AbsValue val="16"/> |
||
1102 | </EdgeSize> |
||
1103 | <TileSize> |
||
1104 | <AbsValue val="16"/> |
||
1105 | </TileSize> |
||
1106 | <BackgroundInsets> |
||
1107 | <AbsInset left="5" right="5" top="5" bottom="5"/> |
||
1108 | </BackgroundInsets> |
||
1109 | </Backdrop> |
||
1110 | <Layers> |
||
1111 | <Layer level="ARTWORK"> |
||
1112 | <FontString name="$parentName" inherits="GameFontHighlight" text="General Options"> |
||
1113 | <Anchors> |
||
1114 | <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"> |
||
1115 | <Offset> |
||
1116 | <AbsDimension x="9" y="0"/> |
||
1117 | </Offset> |
||
1118 | </Anchor> |
||
1119 | </Anchors> |
||
1120 | </FontString> |
||
1121 | </Layer> |
||
1122 | </Layers> |
||
1123 | <Frames> |
||
1124 | <CheckButton name="$parentWarnings" inherits="OptionsCheckButtonTemplate"> |
||
1125 | <Anchors> |
||
1126 | <Anchor point="TOPLEFT"> |
||
1127 | <Offset> |
||
1128 | <AbsDimension x="5" y="-5"/> |
||
1129 | </Offset> |
||
1130 | </Anchor> |
||
1131 | </Anchors> |
||
1132 | <Scripts> |
||
1133 | <OnClick> |
||
1134 | SASOptions_General_Warnings(); |
||
1135 | </OnClick> |
||
1136 | </Scripts> |
||
1137 | </CheckButton> |
||
1138 | <CheckButton name="$parentEmptyBars" inherits="OptionsCheckButtonTemplate"> |
||
1139 | <Anchors> |
||
1140 | <Anchor point="TOP" relativeTo="$parentWarnings" relativePoint="BOTTOM"> |
||
1141 | <Offset> |
||
1142 | <AbsDimension x="0" y="10"/> |
||
1143 | </Offset> |
||
1144 | </Anchor> |
||
1145 | </Anchors> |
||
1146 | <Scripts> |
||
1147 | <OnClick> |
||
1148 | SASOptions_General_EmptyBars(); |
||
1149 | </OnClick> |
||
1150 | </Scripts> |
||
1151 | </CheckButton> |
||
1152 | <CheckButton name="$parentEmptyButtons" inherits="OptionsCheckButtonTemplate"> |
||
1153 | <Anchors> |
||
1154 | <Anchor point="TOP" relativeTo="$parentEmptyBars" relativePoint="BOTTOM"> |
||
1155 | <Offset> |
||
1156 | <AbsDimension x="10" y="10"/> |
||
1157 | </Offset> |
||
1158 | </Anchor> |
||
1159 | </Anchors> |
||
1160 | <Scripts> |
||
1161 | <OnClick> |
||
1162 | SASOptions_General_EmptyButtons(); |
||
1163 | </OnClick> |
||
1164 | </Scripts> |
||
1165 | </CheckButton> |
||
1166 | <CheckButton name="$parentFakeItemTooltips" inherits="OptionsCheckButtonTemplate"> |
||
1167 | <Anchors> |
||
1168 | <Anchor point="TOP" relativeTo="$parentEmptyButtons" relativePoint="BOTTOM"> |
||
1169 | <Offset> |
||
1170 | <AbsDimension x="-10" y="10"/> |
||
1171 | </Offset> |
||
1172 | </Anchor> |
||
1173 | </Anchors> |
||
1174 | <Scripts> |
||
1175 | <OnClick> |
||
1176 | SASOptions_General_FakeItemTooltips(); |
||
1177 | </OnClick> |
||
1178 | </Scripts> |
||
1179 | </CheckButton> |
||
1180 | <CheckButton name="$parentAutoRestore" inherits="OptionsCheckButtonTemplate"> |
||
1181 | <Anchors> |
||
1182 | <Anchor point="TOP" relativeTo="$parentFakeItemTooltips" relativePoint="BOTTOM"> |
||
1183 | <Offset> |
||
1184 | <AbsDimension x="0" y="10"/> |
||
1185 | </Offset> |
||
1186 | </Anchor> |
||
1187 | </Anchors> |
||
1188 | <Scripts> |
||
1189 | <OnClick> |
||
1190 | SASOptions_General_AutoRestore(); |
||
1191 | </OnClick> |
||
1192 | </Scripts> |
||
1193 | </CheckButton> |
||
1194 | <CheckButton name="$parentAutoRestoreWarning" inherits="OptionsCheckButtonTemplate"> |
||
1195 | <Anchors> |
||
1196 | <Anchor point="TOP" relativeTo="$parentAutoRestore" relativePoint="BOTTOM"> |
||
1197 | <Offset> |
||
1198 | <AbsDimension x="10" y="10"/> |
||
1199 | </Offset> |
||
1200 | </Anchor> |
||
1201 | </Anchors> |
||
1202 | <Scripts> |
||
1203 | <OnClick> |
||
1204 | SASOptions_General_AutoRestoreWarnings(); |
||
1205 | </OnClick> |
||
1206 | </Scripts> |
||
1207 | </CheckButton> |
||
1208 | </Frames> |
||
1209 | </Frame> |
||
1210 | </Frames> |
||
1211 | <Scripts> |
||
1212 | <OnShow> |
||
1213 | SASOptions_OnShow(); |
||
1214 | </OnShow> |
||
1215 | </Scripts> |
||
1216 | </Frame> |
||
1217 | <ScrollFrame name="SASHelp" inherits="UIPanelScrollFrameTemplate" hidden="true"> |
||
1218 | <Size> |
||
1219 | <AbsDimension x="540" y="183"/> |
||
1220 | </Size> |
||
1221 | <Anchors> |
||
1222 | <Anchor point="TOPLEFT" relativeTo="$parentBottomDivider" relativePoint="BOTTOMLEFT"> |
||
1223 | <Offset> |
||
1224 | <AbsDimension x="8" y="4"/> |
||
1225 | </Offset> |
||
1226 | </Anchor> |
||
1227 | </Anchors> |
||
1228 | <Layers> |
||
1229 | <Layer level="ARTWORK"> |
||
1230 | <Texture name="SASHelpScrollBarTop" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar"> |
||
1231 | <Size> |
||
1232 | <AbsDimension x="31" y="128"/> |
||
1233 | </Size> |
||
1234 | <Anchors> |
||
1235 | <!--<Anchor point="TOP" relativeTo="$parentScrollBarScrollUpButton">--> |
||
1236 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT"> |
||
1237 | <Offset> |
||
1238 | <AbsDimension x="-2" y="6"/> |
||
1239 | </Offset> |
||
1240 | </Anchor> |
||
1241 | </Anchors> |
||
1242 | <TexCoords left="0" right="0.484375" top="0" bottom="0.5"/> |
||
1243 | </Texture> |
||
1244 | <Texture name="SASHelpScrollBarBottom" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar"> |
||
1245 | <Size> |
||
1246 | <AbsDimension x="31" y="108"/> |
||
1247 | </Size> |
||
1248 | <Anchors> |
||
1249 | <!--<Anchor point="BOTTOM" relativeTo="$parentScrollBarScrollDownButton">--> |
||
1250 | <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT"> |
||
1251 | <Offset> |
||
1252 | <AbsDimension x="-2" y="-4"/> |
||
1253 | </Offset> |
||
1254 | </Anchor> |
||
1255 | </Anchors> |
||
1256 | <TexCoords left="0.515625" right="1.0" top="0" bottom="0.421875"/> |
||
1257 | </Texture> |
||
1258 | <Texture name="SASHelpScrollBarMiddle" file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar"> |
||
1259 | <Size> |
||
1260 | <AbsDimension x="31" y="60"/> |
||
1261 | </Size> |
||
1262 | <Anchors> |
||
1263 | <Anchor point="TOP" relativeTo="SASHelpScrollBarTop" relativePoint="BOTTOM"> |
||
1264 | <Offset> |
||
1265 | <AbsDimension x="0" y="0"/> |
||
1266 | </Offset> |
||
1267 | </Anchor> |
||
1268 | <Anchor point="BOTTOM" relativeTo="SASHelpScrollBarBottom" relativePoint="TOP"> |
||
1269 | <Offset> |
||
1270 | <AbsDimension x="0" y="0"/> |
||
1271 | </Offset> |
||
1272 | </Anchor> |
||
1273 | </Anchors> |
||
1274 | <TexCoords left="0" right="0.484375" top=".75" bottom="1.0"/> |
||
1275 | </Texture> |
||
1276 | </Layer> |
||
1277 | </Layers> |
||
1278 | <ScrollChild> |
||
1279 | <Frame name="$parentScrollChild"> |
||
1280 | <Size> |
||
1281 | <AbsDimension x="526" y="50"/> |
||
1282 | </Size> |
||
1283 | <Layers> |
||
1284 | <Layer lever="BACKGROUND"> |
||
1285 | <FontString name="SASHelpTitle" inherits="GameFontNormalLarge" text="SAS_TEXT_HELP_HEADER"> |
||
1286 | <Anchors> |
||
1287 | <Anchor point="TOPLEFT"> |
||
1288 | <Offset> |
||
1289 | <AbsDimension x="5" y="-5"/> |
||
1290 | </Offset> |
||
1291 | </Anchor> |
||
1292 | </Anchors> |
||
1293 | </FontString> |
||
1294 | <FontString name="SASHelpDescript" inherits="GameFontHighlight" text="SAS_TEXT_HELP_INTRO" justifyH="LEFT" justifyV="TOP"> |
||
1295 | <Size> |
||
1296 | <AbsDimension x="526" y="65"/> |
||
1297 | </Size> |
||
1298 | <Anchors> |
||
1299 | <Anchor point="TOPLEFT"> |
||
1300 | <Offset> |
||
1301 | <AbsDimension x="10" y="-25"/> |
||
1302 | </Offset> |
||
1303 | </Anchor> |
||
1304 | </Anchors> |
||
1305 | </FontString> |
||
1306 | <FontString name="SASHelpTempText" inherits="GameFontHighlight" text="SAS_TEXT_HELP_TEXT" justifyH="LEFT" justifyV="TOP"> |
||
1307 | <Size> |
||
1308 | <AbsDimension x="526" y="600"/> |
||
1309 | </Size> |
||
1310 | <Anchors> |
||
1311 | <Anchor point="TOPLEFT"> |
||
1312 | <Offset> |
||
1313 | <AbsDimension x="10" y="-45"/> |
||
1314 | </Offset> |
||
1315 | </Anchor> |
||
1316 | </Anchors> |
||
1317 | </FontString> |
||
1318 | </Layer> |
||
1319 | </Layers> |
||
1320 | </Frame> |
||
1321 | </ScrollChild> |
||
1322 | </ScrollFrame> |
||
1323 | <Button name="$parentCancel" inherits="SASMenuButtonTemplate" text="SAS_OPTIONS_CLOSE"> |
||
1324 | <Size> |
||
1325 | <AbsDimension x="100" y="21"/> |
||
1326 | </Size> |
||
1327 | <Anchors> |
||
1328 | <Anchor point="BOTTOMRIGHT"> |
||
1329 | <Offset> |
||
1330 | <AbsDimension x="-53" y="21"/> |
||
1331 | </Offset> |
||
1332 | </Anchor> |
||
1333 | </Anchors> |
||
1334 | <Scripts> |
||
1335 | <OnClick> |
||
1336 | SASActions_Cancel(); |
||
1337 | </OnClick> |
||
1338 | </Scripts> |
||
1339 | </Button> |
||
1340 | <Button name="$parentSwapSet" inherits="SASMenuButtonTemplate" text="SAS_TEXT_SWAPSET"> |
||
1341 | <Size> |
||
1342 | <AbsDimension x="100" y="21"/> |
||
1343 | </Size> |
||
1344 | <Anchors> |
||
1345 | <Anchor point="RIGHT" relativeTo="$parentCancel" relativePoint="LEFT"> |
||
1346 | <Offset> |
||
1347 | <AbsDimension x="0" y="0"/> |
||
1348 | </Offset> |
||
1349 | </Anchor> |
||
1350 | </Anchors> |
||
1351 | <Scripts> |
||
1352 | <OnClick> |
||
1353 | SASActions_SwapSet(); |
||
1354 | </OnClick> |
||
1355 | </Scripts> |
||
1356 | </Button> |
||
1357 | </Frames> |
||
1358 | <Scripts> |
||
1359 | <OnLoad> |
||
1360 | PanelTemplates_SetNumTabs(this, 3); |
||
1361 | this.selectedTab = 1; |
||
1362 | PanelTemplates_UpdateTabs(this); |
||
1363 | </OnLoad> |
||
1364 | <OnShow> |
||
1365 | SASMain_UpdateDisplay(); |
||
1366 | </OnShow> |
||
1367 | <OnHide> |
||
1368 | SAS_Temp = nil; |
||
1369 | </OnHide> |
||
1370 | </Scripts> |
||
1371 | </Frame> |
||
1372 | |||
1373 | <Frame name="SASSaveMenu" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="UIParent"> |
||
1374 | <Size> |
||
1375 | <AbsDimension x="350" y="135"/> |
||
1376 | </Size> |
||
1377 | <Anchors> |
||
1378 | <Anchor point="CENTER"/> |
||
1379 | </Anchors> |
||
1380 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
1381 | <BackgroundInsets> |
||
1382 | <AbsInset left="11" right="12" top="12" bottom="11"/> |
||
1383 | </BackgroundInsets> |
||
1384 | <TileSize> |
||
1385 | <AbsValue val="32"/> |
||
1386 | </TileSize> |
||
1387 | <EdgeSize> |
||
1388 | <AbsValue val="32"/> |
||
1389 | </EdgeSize> |
||
1390 | </Backdrop> |
||
1391 | <Layers> |
||
1392 | <Layer level="ARTWORK"> |
||
1393 | <Texture name="$parentHeaderTexture" file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
1394 | <Size> |
||
1395 | <AbsDimension x="256" y="64"/> |
||
1396 | </Size> |
||
1397 | <Anchors> |
||
1398 | <Anchor point="TOP"> |
||
1399 | <Offset> |
||
1400 | <AbsDimension x="0" y="12"/> |
||
1401 | </Offset> |
||
1402 | </Anchor> |
||
1403 | </Anchors> |
||
1404 | </Texture> |
||
1405 | <FontString name="$parentTitle" inherits="GameFontNormal" text="Save New Set As"> |
||
1406 | <Anchors> |
||
1407 | <Anchor point="TOP" relativeTo="$parentHeaderTexture"> |
||
1408 | <Offset> |
||
1409 | <AbsDimension x="0" y="-14"/> |
||
1410 | </Offset> |
||
1411 | </Anchor> |
||
1412 | </Anchors> |
||
1413 | </FontString> |
||
1414 | <FontString name="$parentEditing" inherits="GameFontNormal" text="Type in the name of the new set:"> |
||
1415 | <Anchors> |
||
1416 | <Anchor point="TOP" relativePoint="TOP"> |
||
1417 | <Offset> |
||
1418 | <AbsDimension x="0" y="-25"/> |
||
1419 | </Offset> |
||
1420 | </Anchor> |
||
1421 | </Anchors> |
||
1422 | </FontString> |
||
1423 | <FontString name="$parentHelp" inherits="GameFontNormal" text="This name is already used by another set." hidden="true"> |
||
1424 | <Anchors> |
||
1425 | <Anchor point="TOP" relativePoint="TOP"> |
||
1426 | <Offset> |
||
1427 | <AbsDimension x="0" y="-75"/> |
||
1428 | </Offset> |
||
1429 | </Anchor> |
||
1430 | </Anchors> |
||
1431 | </FontString> |
||
1432 | </Layer> |
||
1433 | </Layers> |
||
1434 | <Frames> |
||
1435 | <EditBox name="$parentNameEB" historyLines="0" letters="250"> |
||
1436 | <Size> |
||
1437 | <AbsDimension x="250" y="32"/> |
||
1438 | </Size> |
||
1439 | <Anchors> |
||
1440 | <Anchor point="TOP" relativePoint="TOP"> |
||
1441 | <Offset> |
||
1442 | <AbsDimension x="0" y="-40"/> |
||
1443 | </Offset> |
||
1444 | </Anchor> |
||
1445 | </Anchors> |
||
1446 | <Layers> |
||
1447 | <Layer level="BACKGROUND"> |
||
1448 | <Texture name="$parentLeft" file="Interface\ChatFrame\UI-ChatInputBorder-Left"> |
||
1449 | <Size> |
||
1450 | <AbsDimension x="65" y="32"/> |
||
1451 | </Size> |
||
1452 | <Anchors> |
||
1453 | <Anchor point="LEFT"> |
||
1454 | <Offset> |
||
1455 | <AbsDimension x="-10" y="0"/> |
||
1456 | </Offset> |
||
1457 | </Anchor> |
||
1458 | </Anchors> |
||
1459 | <TexCoords left="0" right="0.2539" top="0" bottom="1.0"/> |
||
1460 | </Texture> |
||
1461 | <Texture name="$parentRight" file="Interface\ChatFrame\UI-ChatInputBorder-Right"> |
||
1462 | <Size> |
||
1463 | <AbsDimension x="25" y="32"/> |
||
1464 | </Size> |
||
1465 | <Anchors> |
||
1466 | <Anchor point="RIGHT"> |
||
1467 | <Offset> |
||
1468 | <AbsDimension x="10" y="0"/> |
||
1469 | </Offset> |
||
1470 | </Anchor> |
||
1471 | </Anchors> |
||
1472 | <TexCoords left="0.9" right="1.0" top="0" bottom="1.0"/> |
||
1473 | </Texture> |
||
1474 | <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left"> |
||
1475 | <Size> |
||
1476 | <AbsDimension x="5" y="32"/> |
||
1477 | </Size> |
||
1478 | <Anchors> |
||
1479 | <Anchor point="LEFT" relativeTo="$parentLeft" relativePoint="RIGHT"> |
||
1480 | <Offset> |
||
1481 | <AbsDimension x="0" y="0"/> |
||
1482 | </Offset> |
||
1483 | </Anchor> |
||
1484 | <Anchor point="RIGHT" relativeTo="$parentRight" relativePoint="LEFT"> |
||
1485 | <Offset> |
||
1486 | <AbsDimension x="0" y="0"/> |
||
1487 | </Offset> |
||
1488 | </Anchor> |
||
1489 | </Anchors> |
||
1490 | <TexCoords left="0.29296875" right="1.0" top="0" bottom="1.0"/> |
||
1491 | </Texture> |
||
1492 | </Layer> |
||
1493 | </Layers> |
||
1494 | <Scripts> |
||
1495 | <OnShow> |
||
1496 | this:SetFocus(); |
||
1497 | </OnShow> |
||
1498 | <OnEnterPressed> |
||
1499 | SASSaveMenu_Save(SASSaveMenuNameEB:GetText()); |
||
1500 | </OnEnterPressed> |
||
1501 | <OnTextChanged> |
||
1502 | if ( this:GetText() == "" ) then |
||
1503 | getglobal(this:GetParent():GetName() .. "OkayButton"):Disable(); |
||
1504 | SASSaveMenuHelp:SetText("|cffff0000You must enter a name for the new set."); |
||
1505 | SASSaveMenuHelp:Show(); |
||
1506 | elseif ( SAS_SetExists(this:GetText()) ) then |
||
1507 | getglobal(this:GetParent():GetName() .. "OkayButton"):Enable(); |
||
1508 | SASSaveMenuHelp:SetText("|cffff0000This set already exists, save over it?"); |
||
1509 | SASSaveMenuHelp:Show(); |
||
1510 | else |
||
1511 | getglobal(this:GetParent():GetName() .. "OkayButton"):Enable(); |
||
1512 | SASSaveMenuHelp:Hide(); |
||
1513 | end |
||
1514 | </OnTextChanged> |
||
1515 | <OnEscapePressed> |
||
1516 | HideUIPanel(this:GetParent()); |
||
1517 | </OnEscapePressed> |
||
1518 | </Scripts> |
||
1519 | <FontString inherits="ChatFontNormal"/> |
||
1520 | </EditBox> |
||
1521 | <Button name="$parentOkayButton" hidden="false" inherits="GameMenuButtonTemplate" text="SAS_TEXT_WARNING_OKAY"> |
||
1522 | <Size> |
||
1523 | <AbsDimension x="70" y="21"/> |
||
1524 | </Size> |
||
1525 | <Anchors> |
||
1526 | <Anchor point="BOTTOM" relativePoint="BOTTOM"> |
||
1527 | <Offset> |
||
1528 | <AbsDimension x="-42" y="20"/> |
||
1529 | </Offset> |
||
1530 | </Anchor> |
||
1531 | </Anchors> |
||
1532 | <Scripts> |
||
1533 | <OnClick> |
||
1534 | SASSaveMenu_Save(SASSaveMenuNameEB:GetText()); |
||
1535 | </OnClick> |
||
1536 | </Scripts> |
||
1537 | </Button> |
||
1538 | <Button name="$parentCancelButton" hidden="false" inherits="GameMenuButtonTemplate" text="SAS_TEXT_WARNING_CANCEL"> |
||
1539 | <Size> |
||
1540 | <AbsDimension x="70" y="21"/> |
||
1541 | </Size> |
||
1542 | <Anchors> |
||
1543 | <Anchor point="BOTTOM" relativePoint="BOTTOM"> |
||
1544 | <Offset> |
||
1545 | <AbsDimension x="42" y="20"/> |
||
1546 | </Offset> |
||
1547 | </Anchor> |
||
1548 | </Anchors> |
||
1549 | <Scripts> |
||
1550 | <OnClick> |
||
1551 | HideUIPanel(this:GetParent()); |
||
1552 | </OnClick> |
||
1553 | </Scripts> |
||
1554 | </Button> |
||
1555 | </Frames> |
||
1556 | <Scripts> |
||
1557 | <OnShow> |
||
1558 | PlaySound("UChatScrollButton"); |
||
1559 | </OnShow> |
||
1560 | <OnHide> |
||
1561 | PlaySound("UChatScrollButton"); |
||
1562 | </OnHide> |
||
1563 | </Scripts> |
||
1564 | </Frame> |
||
1565 | |||
1566 | <Frame name="SASWarningFrame" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="UIParent"> |
||
1567 | <Size> |
||
1568 | <AbsDimension x="350" y="135"/> |
||
1569 | </Size> |
||
1570 | <Anchors> |
||
1571 | <Anchor point="CENTER"/> |
||
1572 | </Anchors> |
||
1573 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
1574 | <BackgroundInsets> |
||
1575 | <AbsInset left="11" right="12" top="12" bottom="11"/> |
||
1576 | </BackgroundInsets> |
||
1577 | <TileSize> |
||
1578 | <AbsValue val="32"/> |
||
1579 | </TileSize> |
||
1580 | <EdgeSize> |
||
1581 | <AbsValue val="32"/> |
||
1582 | </EdgeSize> |
||
1583 | </Backdrop> |
||
1584 | <Layers> |
||
1585 | <Layer level="ARTWORK"> |
||
1586 | <Texture name="$parentHeaderTexture" file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
1587 | <Size> |
||
1588 | <AbsDimension x="256" y="64"/> |
||
1589 | </Size> |
||
1590 | <Anchors> |
||
1591 | <Anchor point="TOP"> |
||
1592 | <Offset> |
||
1593 | <AbsDimension x="0" y="12"/> |
||
1594 | </Offset> |
||
1595 | </Anchor> |
||
1596 | </Anchors> |
||
1597 | </Texture> |
||
1598 | <FontString name="$parentTitle" inherits="GameFontNormal" text="Warning"> |
||
1599 | <Anchors> |
||
1600 | <Anchor point="TOP" relativeTo="$parentHeaderTexture"> |
||
1601 | <Offset> |
||
1602 | <AbsDimension x="0" y="-14"/> |
||
1603 | </Offset> |
||
1604 | </Anchor> |
||
1605 | </Anchors> |
||
1606 | </FontString> |
||
1607 | <FontString name="$parentText" inherits="GameFontNormal" text="" justifyH="CENTER" justifyV="CENTER"> |
||
1608 | <Size> |
||
1609 | <AbsDimension x="300" y="64"/> |
||
1610 | </Size> |
||
1611 | <Anchors> |
||
1612 | <Anchor point="CENTER"> |
||
1613 | <Offset> |
||
1614 | <AbsDimension x="0" y="10"/> |
||
1615 | </Offset> |
||
1616 | </Anchor> |
||
1617 | </Anchors> |
||
1618 | </FontString> |
||
1619 | </Layer> |
||
1620 | </Layers> |
||
1621 | <Frames> |
||
1622 | <Button name="$parentOkayButton" hidden="false" inherits="GameMenuButtonTemplate" text="Okay"> |
||
1623 | <Size> |
||
1624 | <AbsDimension x="70" y="21"/> |
||
1625 | </Size> |
||
1626 | <Anchors> |
||
1627 | <Anchor point="BOTTOM" relativePoint="BOTTOM"> |
||
1628 | <Offset> |
||
1629 | <AbsDimension x="-42" y="20"/> |
||
1630 | </Offset> |
||
1631 | </Anchor> |
||
1632 | </Anchors> |
||
1633 | <Scripts> |
||
1634 | <OnClick> |
||
1635 | SASWarning_Okay(); |
||
1636 | </OnClick> |
||
1637 | </Scripts> |
||
1638 | </Button> |
||
1639 | <Button name="$parentCancelButton" hidden="false" inherits="GameMenuButtonTemplate" text="Cancel"> |
||
1640 | <Size> |
||
1641 | <AbsDimension x="70" y="21"/> |
||
1642 | </Size> |
||
1643 | <Anchors> |
||
1644 | <Anchor point="BOTTOM" relativePoint="BOTTOM"> |
||
1645 | <Offset> |
||
1646 | <AbsDimension x="42" y="20"/> |
||
1647 | </Offset> |
||
1648 | </Anchor> |
||
1649 | </Anchors> |
||
1650 | <Scripts> |
||
1651 | <OnClick> |
||
1652 | HideUIPanel(this:GetParent()); |
||
1653 | </OnClick> |
||
1654 | </Scripts> |
||
1655 | </Button> |
||
1656 | </Frames> |
||
1657 | <Scripts> |
||
1658 | <OnShow> |
||
1659 | PlaySound("UChatScrollButton"); |
||
1660 | </OnShow> |
||
1661 | <OnHide> |
||
1662 | PlaySound("UChatScrollButton"); |
||
1663 | </OnHide> |
||
1664 | </Scripts> |
||
1665 | </Frame> |
||
1666 | |||
1667 | <Frame name="SASFakeDragFrame" frameStrata="DIALOG" toplevel="true" parent="UIParent" movable="true" enableMouse="false" hidden="true"> |
||
1668 | <Size> |
||
1669 | <AbsDimension x="34" y="34"/> |
||
1670 | </Size> |
||
1671 | <Anchors> |
||
1672 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"/> |
||
1673 | </Anchors> |
||
1674 | <Layers> |
||
1675 | <Layer level="ARTWORK"> |
||
1676 | <Texture name="$parentIcon"> |
||
1677 | <Size> |
||
1678 | <AbsDimension x="34" y="34"/> |
||
1679 | </Size> |
||
1680 | <Anchors> |
||
1681 | <Anchor point="TOP"/> |
||
1682 | </Anchors> |
||
1683 | </Texture> |
||
1684 | </Layer> |
||
1685 | <Layer level="ARTWORK"> |
||
1686 | <Texture name="$parentIcon1"> |
||
1687 | <Size> |
||
1688 | <AbsDimension x="36" y="36"/> |
||
1689 | </Size> |
||
1690 | <Anchors> |
||
1691 | <Anchor point="TOP"> |
||
1692 | <Offset> |
||
1693 | <AbsDimension x="40" y="-10"/> |
||
1694 | </Offset> |
||
1695 | </Anchor> |
||
1696 | </Anchors> |
||
1697 | </Texture> |
||
1698 | </Layer> |
||
1699 | <Layer level="ARTWORK"> |
||
1700 | <Texture name="$parentIcon2"> |
||
1701 | <Size> |
||
1702 | <AbsDimension x="36" y="36"/> |
||
1703 | </Size> |
||
1704 | <Anchors> |
||
1705 | <Anchor point="LEFT" relativeTo="$parentIcon1" relativePoint="RIGHT"> |
||
1706 | <Offset> |
||
1707 | <AbsDimension x="6" y="0"/> |
||
1708 | </Offset> |
||
1709 | </Anchor> |
||
1710 | </Anchors> |
||
1711 | </Texture> |
||
1712 | </Layer> |
||
1713 | <Layer level="ARTWORK"> |
||
1714 | <Texture name="$parentIcon3"> |
||
1715 | <Size> |
||
1716 | <AbsDimension x="36" y="36"/> |
||
1717 | </Size> |
||
1718 | <Anchors> |
||
1719 | <Anchor point="LEFT" relativeTo="$parentIcon2" relativePoint="RIGHT"> |
||
1720 | <Offset> |
||
1721 | <AbsDimension x="6" y="0"/> |
||
1722 | </Offset> |
||
1723 | </Anchor> |
||
1724 | </Anchors> |
||
1725 | </Texture> |
||
1726 | </Layer> |
||
1727 | <Layer level="ARTWORK"> |
||
1728 | <Texture name="$parentIcon4"> |
||
1729 | <Size> |
||
1730 | <AbsDimension x="36" y="36"/> |
||
1731 | </Size> |
||
1732 | <Anchors> |
||
1733 | <Anchor point="LEFT" relativeTo="$parentIcon3" relativePoint="RIGHT"> |
||
1734 | <Offset> |
||
1735 | <AbsDimension x="6" y="0"/> |
||
1736 | </Offset> |
||
1737 | </Anchor> |
||
1738 | </Anchors> |
||
1739 | </Texture> |
||
1740 | </Layer> |
||
1741 | <Layer level="ARTWORK"> |
||
1742 | <Texture name="$parentIcon5"> |
||
1743 | <Size> |
||
1744 | <AbsDimension x="36" y="36"/> |
||
1745 | </Size> |
||
1746 | <Anchors> |
||
1747 | <Anchor point="LEFT" relativeTo="$parentIcon4" relativePoint="RIGHT"> |
||
1748 | <Offset> |
||
1749 | <AbsDimension x="6" y="0"/> |
||
1750 | </Offset> |
||
1751 | </Anchor> |
||
1752 | </Anchors> |
||
1753 | </Texture> |
||
1754 | </Layer> |
||
1755 | <Layer level="ARTWORK"> |
||
1756 | <Texture name="$parentIcon6"> |
||
1757 | <Size> |
||
1758 | <AbsDimension x="36" y="36"/> |
||
1759 | </Size> |
||
1760 | <Anchors> |
||
1761 | <Anchor point="LEFT" relativeTo="$parentIcon5" relativePoint="RIGHT"> |
||
1762 | <Offset> |
||
1763 | <AbsDimension x="6" y="0"/> |
||
1764 | </Offset> |
||
1765 | </Anchor> |
||
1766 | </Anchors> |
||
1767 | </Texture> |
||
1768 | </Layer> |
||
1769 | <Layer level="ARTWORK"> |
||
1770 | <Texture name="$parentIcon7"> |
||
1771 | <Size> |
||
1772 | <AbsDimension x="36" y="36"/> |
||
1773 | </Size> |
||
1774 | <Anchors> |
||
1775 | <Anchor point="LEFT" relativeTo="$parentIcon6" relativePoint="RIGHT"> |
||
1776 | <Offset> |
||
1777 | <AbsDimension x="6" y="0"/> |
||
1778 | </Offset> |
||
1779 | </Anchor> |
||
1780 | </Anchors> |
||
1781 | </Texture> |
||
1782 | </Layer> |
||
1783 | <Layer level="ARTWORK"> |
||
1784 | <Texture name="$parentIcon8"> |
||
1785 | <Size> |
||
1786 | <AbsDimension x="36" y="36"/> |
||
1787 | </Size> |
||
1788 | <Anchors> |
||
1789 | <Anchor point="LEFT" relativeTo="$parentIcon7" relativePoint="RIGHT"> |
||
1790 | <Offset> |
||
1791 | <AbsDimension x="6" y="0"/> |
||
1792 | </Offset> |
||
1793 | </Anchor> |
||
1794 | </Anchors> |
||
1795 | </Texture> |
||
1796 | </Layer> |
||
1797 | <Layer level="ARTWORK"> |
||
1798 | <Texture name="$parentIcon9"> |
||
1799 | <Size> |
||
1800 | <AbsDimension x="36" y="36"/> |
||
1801 | </Size> |
||
1802 | <Anchors> |
||
1803 | <Anchor point="LEFT" relativeTo="$parentIcon8" relativePoint="RIGHT"> |
||
1804 | <Offset> |
||
1805 | <AbsDimension x="6" y="0"/> |
||
1806 | </Offset> |
||
1807 | </Anchor> |
||
1808 | </Anchors> |
||
1809 | </Texture> |
||
1810 | </Layer> |
||
1811 | <Layer level="ARTWORK"> |
||
1812 | <Texture name="$parentIcon10"> |
||
1813 | <Size> |
||
1814 | <AbsDimension x="36" y="36"/> |
||
1815 | </Size> |
||
1816 | <Anchors> |
||
1817 | <Anchor point="LEFT" relativeTo="$parentIcon9" relativePoint="RIGHT"> |
||
1818 | <Offset> |
||
1819 | <AbsDimension x="6" y="0"/> |
||
1820 | </Offset> |
||
1821 | </Anchor> |
||
1822 | </Anchors> |
||
1823 | </Texture> |
||
1824 | </Layer> |
||
1825 | <Layer level="ARTWORK"> |
||
1826 | <Texture name="$parentIcon11"> |
||
1827 | <Size> |
||
1828 | <AbsDimension x="36" y="36"/> |
||
1829 | </Size> |
||
1830 | <Anchors> |
||
1831 | <Anchor point="LEFT" relativeTo="$parentIcon10" relativePoint="RIGHT"> |
||
1832 | <Offset> |
||
1833 | <AbsDimension x="6" y="0"/> |
||
1834 | </Offset> |
||
1835 | </Anchor> |
||
1836 | </Anchors> |
||
1837 | </Texture> |
||
1838 | </Layer> |
||
1839 | <Layer level="ARTWORK"> |
||
1840 | <Texture name="$parentIcon12"> |
||
1841 | <Size> |
||
1842 | <AbsDimension x="36" y="36"/> |
||
1843 | </Size> |
||
1844 | <Anchors> |
||
1845 | <Anchor point="LEFT" relativeTo="$parentIcon11" relativePoint="RIGHT"> |
||
1846 | <Offset> |
||
1847 | <AbsDimension x="6" y="0"/> |
||
1848 | </Offset> |
||
1849 | </Anchor> |
||
1850 | </Anchors> |
||
1851 | </Texture> |
||
1852 | </Layer> |
||
1853 | </Layers> |
||
1854 | </Frame> |
||
1855 | |||
1856 | <Frame name="SASMinimapFrame" parent="Minimap" enableMouse="true" hidden="false" frameStrata="MEDIUM"> |
||
1857 | <Size> |
||
1858 | <AbsDimension x="30" y="30"/> |
||
1859 | </Size> |
||
1860 | <Anchors> |
||
1861 | <Anchor point="TOPLEFT" relativeTo="Minimap" relativePoint="RIGHT"> |
||
1862 | <Offset> |
||
1863 | <AbsDimension x="0" y="0"/> |
||
1864 | </Offset> |
||
1865 | </Anchor> |
||
1866 | </Anchors> |
||
1867 | <Frames> |
||
1868 | <Button name="SASMinimapButton"> |
||
1869 | <Size> |
||
1870 | <AbsDimension x="30" y="30"/> |
||
1871 | </Size> |
||
1872 | <Anchors> |
||
1873 | <Anchor point="TOPLEFT"/> |
||
1874 | </Anchors> |
||
1875 | <NormalTexture file="Interface\AddOns\SimpleActionSets\sas"/> |
||
1876 | <PushedTexture file="Interface\AddOns\SimpleActionSets\sas"> |
||
1877 | <Size> |
||
1878 | <AbsDimension x="29" y="29"/> |
||
1879 | </Size> |
||
1880 | <Anchors> |
||
1881 | <Anchor point="TOPLEFT"> |
||
1882 | <Offset> |
||
1883 | <AbsDimension x="0.5" y="-0.5"/> |
||
1884 | </Offset> |
||
1885 | </Anchor> |
||
1886 | </Anchors> |
||
1887 | </PushedTexture> |
||
1888 | <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/> |
||
1889 | <Scripts> |
||
1890 | <OnClick> |
||
1891 | SASMinimap_OnClick(arg1); |
||
1892 | </OnClick> |
||
1893 | <OnEnter> |
||
1894 | SASMinimap_OnEnter(); |
||
1895 | </OnEnter> |
||
1896 | <OnLeave> |
||
1897 | GameTooltip:Hide(); |
||
1898 | </OnLeave> |
||
1899 | <OnLoad> |
||
1900 | SASMinimap_OnLoad(); |
||
1901 | </OnLoad> |
||
1902 | <OnEvent> |
||
1903 | SASMinimap_OnEvent(); |
||
1904 | </OnEvent> |
||
1905 | <OnDragStart> |
||
1906 | SASMinimap_DragStart() |
||
1907 | </OnDragStart> |
||
1908 | <OnDragStop> |
||
1909 | SASMinimap_DragStop(); |
||
1910 | </OnDragStop> |
||
1911 | <OnMouseUp> |
||
1912 | SASMinimap_DragStop(); |
||
1913 | </OnMouseUp> |
||
1914 | </Scripts> |
||
1915 | </Button> |
||
1916 | <Frame name="SAS_SetsDropDown" inherits="UIDropDownMenuTemplate" hidden="true"> |
||
1917 | <Scripts> |
||
1918 | <OnLoad> |
||
1919 | SASMinimap_SetsDropDown_OnLoad(); |
||
1920 | </OnLoad> |
||
1921 | </Scripts> |
||
1922 | </Frame> |
||
1923 | </Frames> |
||
1924 | </Frame> |
||
1925 | </Ui> |