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 | <Button name="Wardrobe_IconFrame" hidden="false" enableMouse="true" movable="true" parent="Minimap" toplevel="true"> |
||
3 | <Size> |
||
4 | <AbsDimension x="33" y="33"/> |
||
5 | </Size> |
||
6 | <Anchors> |
||
7 | <Anchor point="CENTER" relativeTo="Minimap" relativePoint="CENTER"> |
||
8 | <Offset> |
||
9 | <AbsDimension x="-37" y="-74"/> |
||
10 | </Offset> |
||
11 | </Anchor> |
||
12 | </Anchors> |
||
13 | <Layers> |
||
14 | <Layer level="OVERLAY"> |
||
15 | <Texture name="Wardrobe_IconTexture" file="Interface\AddOns\Wardrobe\Images\Wardrobe"> |
||
16 | <Size> |
||
17 | <AbsDimension x="33" y="33"/> |
||
18 | </Size> |
||
19 | <Anchors> |
||
20 | <Anchor point="CENTER"> |
||
21 | <Offset> |
||
22 | <AbsDimension x="0" y="0"/> |
||
23 | </Offset> |
||
24 | </Anchor> |
||
25 | </Anchors> |
||
26 | </Texture> |
||
27 | </Layer> |
||
28 | </Layers> |
||
29 | <Scripts> |
||
30 | <OnLoad> |
||
31 | Wardrobe.ButtonOnLoad(); |
||
32 | </OnLoad> |
||
33 | <OnEnter> |
||
34 | Wardrobe.HandleUIMenuTriggerEnter(); |
||
35 | </OnEnter> |
||
36 | <OnLeave> |
||
37 | Wardrobe.HandleUIMenuTriggerLeave(); |
||
38 | </OnLeave> |
||
39 | <OnClick> |
||
40 | Wardrobe.HandleUIMenuTriggerClick(); |
||
41 | </OnClick> |
||
42 | <OnDragStart> |
||
43 | Wardrobe.OnDragStart(this); |
||
44 | </OnDragStart> |
||
45 | <OnDragStop> |
||
46 | Wardrobe.OnDragStop(this); |
||
47 | </OnDragStop> |
||
48 | </Scripts> |
||
49 | </Button> |
||
50 | <Button name="Wardrobe_PopupButtonTemplate" virtual="true"> |
||
51 | <Size> |
||
52 | <AbsDimension x="64" y="20"/> |
||
53 | </Size> |
||
54 | <NormalTexture file="Interface\Buttons\UI-DialogBox-Button-Up"> |
||
55 | <TexCoords left="0.0" right="1.0" top="0.0" bottom="0.625"/> |
||
56 | </NormalTexture> |
||
57 | <PushedTexture file="Interface\Buttons\UI-DialogBox-Button-Down"> |
||
58 | <TexCoords left="0.0" right="1.0" top="0.0" bottom="0.625"/> |
||
59 | </PushedTexture> |
||
60 | <HighlightTexture file="Interface\Buttons\UI-DialogBox-Button-Highlight" alphaMode="ADD"> |
||
61 | <TexCoords left="0.0" right="1.0" top="0.0" bottom="0.625"/> |
||
62 | </HighlightTexture> |
||
63 | <NormalText inherits="GameFontNormal"/> |
||
64 | <HighlightText inherits="GameFontHighlight"/> |
||
65 | </Button> |
||
66 | <Frame name="Wardrobe_PopupWindowTemplate" toplevel="true" frameStrata="DIALOG" enableMouse="true" hidden="true" parent="UIParent" virtual="true"> |
||
67 | <Size> |
||
68 | <AbsDimension x="196" y="112"/> |
||
69 | </Size> |
||
70 | <Anchors> |
||
71 | <Anchor point="CENTER" relativePoint="CENTER"> |
||
72 | <Offset> |
||
73 | <AbsDimension x="0" y="0"/> |
||
74 | </Offset> |
||
75 | </Anchor> |
||
76 | </Anchors> |
||
77 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
78 | <BackgroundInsets> |
||
79 | <AbsInset left="11" right="12" top="12" bottom="11"/> |
||
80 | </BackgroundInsets> |
||
81 | <TileSize> |
||
82 | <AbsValue val="32"/> |
||
83 | </TileSize> |
||
84 | <EdgeSize> |
||
85 | <AbsValue val="32"/> |
||
86 | </EdgeSize> |
||
87 | </Backdrop> |
||
88 | <Layers> |
||
89 | <Layer level="ARTWORK"> |
||
90 | <FontString name="$parentText" text="" inherits="GameFontHighlight"> |
||
91 | <Size> |
||
92 | <AbsDimension x="300" y="0"/> |
||
93 | </Size> |
||
94 | <Anchors> |
||
95 | <Anchor point="TOP"> |
||
96 | <Offset> |
||
97 | <AbsDimension x="0" y="-25"/> |
||
98 | </Offset> |
||
99 | </Anchor> |
||
100 | </Anchors> |
||
101 | </FontString> |
||
102 | </Layer> |
||
103 | </Layers> |
||
104 | <Frames> |
||
105 | <Button name="$parentAcceptButton" inherits="Wardrobe_PopupButtonTemplate"> |
||
106 | <Anchors> |
||
107 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOM"> |
||
108 | <Offset> |
||
109 | <AbsDimension x="-5" y="15"/> |
||
110 | </Offset> |
||
111 | </Anchor> |
||
112 | </Anchors> |
||
113 | <Scripts> |
||
114 | <OnClick> |
||
115 | Wardrobe.PopupConfirm_OnClick(); |
||
116 | </OnClick> |
||
117 | </Scripts> |
||
118 | <NormalText inherits="GameFontNormalSmall"/> |
||
119 | <HighlightText inherits="GameFontNormalSmall"/> |
||
120 | </Button> |
||
121 | <Button name="$parentCancelButton" inherits="Wardrobe_PopupButtonTemplate"> |
||
122 | <Anchors> |
||
123 | <Anchor point="BOTTOMLEFT" relativePoint="BOTTOM"> |
||
124 | <Offset> |
||
125 | <AbsDimension x="5" y="15"/> |
||
126 | </Offset> |
||
127 | </Anchor> |
||
128 | </Anchors> |
||
129 | <Scripts> |
||
130 | <OnClick> |
||
131 | Wardrobe.PopupCancel_OnClick(); |
||
132 | </OnClick> |
||
133 | </Scripts> |
||
134 | <NormalText inherits="GameFontNormalSmall"/> |
||
135 | <HighlightText inherits="GameFontNormalSmall"/> |
||
136 | </Button> |
||
137 | </Frames> |
||
138 | </Frame> |
||
139 | <Frame name="Wardrobe_NamePopup" toplevel="true" inherits="Wardrobe_PopupWindowTemplate" frameStrata="DIALOG" enableMouse="true" hidden="true" parent="UIParent"> |
||
140 | <Frames> |
||
141 | <EditBox name="$parentEditBox" letters="30" historyLines="1"> |
||
142 | <Size> |
||
143 | <AbsDimension x="150" y="32"/> |
||
144 | </Size> |
||
145 | <Anchors> |
||
146 | <Anchor point="CENTER"/> |
||
147 | </Anchors> |
||
148 | <Layers> |
||
149 | <Layer level="BACKGROUND"> |
||
150 | <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Left"> |
||
151 | <Size> |
||
152 | <AbsDimension x="150" y="32"/> |
||
153 | </Size> |
||
154 | <Anchors> |
||
155 | <Anchor point="LEFT"> |
||
156 | <Offset> |
||
157 | <AbsDimension x="-5" y="0"/> |
||
158 | </Offset> |
||
159 | </Anchor> |
||
160 | </Anchors> |
||
161 | </Texture> |
||
162 | <Texture file="Interface\ChatFrame\UI-ChatInputBorder-Right"> |
||
163 | <Size> |
||
164 | <AbsDimension x="150" y="32"/> |
||
165 | </Size> |
||
166 | <Anchors> |
||
167 | <Anchor point="RIGHT"/> |
||
168 | </Anchors> |
||
169 | </Texture> |
||
170 | </Layer> |
||
171 | </Layers> |
||
172 | <Scripts> |
||
173 | <OnEnterPressed> |
||
174 | Wardrobe.PopupConfirm_OnClick(); |
||
175 | </OnEnterPressed> |
||
176 | <OnEscapePressed> |
||
177 | Wardrobe.PopupCancel_OnClick(); |
||
178 | </OnEscapePressed> |
||
179 | </Scripts> |
||
180 | <FontString inherits="ChatFontNormal"/> |
||
181 | </EditBox> |
||
182 | </Frames> |
||
183 | </Frame> |
||
184 | <Frame name="Wardrobe_PopupConfirm" toplevel="true" inherits="Wardrobe_PopupWindowTemplate" frameStrata="DIALOG" enableMouse="true" hidden="true" parent="UIParent"/> |
||
185 | |||
186 | <CheckButton name="WardrobeOptionsCheckButtonTemplate" inherits="OptionsCheckButtonTemplate" virtual="true"> |
||
187 | <HitRectInsets> |
||
188 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
189 | </HitRectInsets> |
||
190 | <Size> |
||
191 | <AbsDimension x="25" y="25"/> |
||
192 | </Size> |
||
193 | <Layers> |
||
194 | <Layer level="OVERLAY"> |
||
195 | <Texture name="$parentGlow" file="Interface\AddOns\Wardrobe\Images\Glow" alphaMode="ADD"/> |
||
196 | </Layer> |
||
197 | </Layers> |
||
198 | </CheckButton> |
||
199 | |||
200 | <Frame name="Wardrobe_CheckboxesFrame" toplevel="true" enableMouse="true" hidden="true" parent="PaperDollFrame"> |
||
201 | <Anchors> |
||
202 | <Anchor point="CENTER" relativePoint="CENTER"> |
||
203 | <Offset> |
||
204 | <AbsDimension x="0" y="0"/> |
||
205 | </Offset> |
||
206 | </Anchor> |
||
207 | </Anchors> |
||
208 | <Frames> |
||
209 | <CheckButton name="CharacterHeadSlotWardrobeCheckBox" inherits="WardrobeOptionsCheckButtonTemplate"> |
||
210 | <Anchors> |
||
211 | <Anchor point="RIGHT" relativeTo="CharacterHeadSlot" relativePoint="LEFT"> |
||
212 | <Offset> |
||
213 | <AbsDimension x="50" y="0"/> |
||
214 | </Offset> |
||
215 | </Anchor> |
||
216 | </Anchors> |
||
217 | </CheckButton> |
||
218 | <CheckButton name="CharacterNeckSlotWardrobeCheckBox" inherits="WardrobeOptionsCheckButtonTemplate"> |
||
219 | <Anchors> |
||
220 | <Anchor point="RIGHT" relativeTo="CharacterNeckSlot" relativePoint="LEFT"> |
||
221 | <Offset> |
||
222 | <AbsDimension x="50" y="0"/> |
||
223 | </Offset> |
||
224 | </Anchor> |
||
225 | </Anchors> |
||
226 | </CheckButton> |
||
227 | <CheckButton name="CharacterShoulderSlotWardrobeCheckBox" inherits="WardrobeOptionsCheckButtonTemplate"> |
||
228 | <Anchors> |
||
229 | <Anchor point="RIGHT" relativeTo="CharacterShoulderSlot" relativePoint="LEFT"> |
||
230 | <Offset> |
||
231 | <AbsDimension x="50" y="0"/> |
||
232 | </Offset> |
||
233 | </Anchor> |
||
234 | </Anchors> |
||
235 | </CheckButton> |
||
236 | <CheckButton name="CharacterBackSlotWardrobeCheckBox" inherits="WardrobeOptionsCheckButtonTemplate"> |
||
237 | <Anchors> |
||
238 | <Anchor point="RIGHT" relativeTo="CharacterBackSlot" relativePoint="LEFT"> |
||
239 | <Offset> |
||
240 | <AbsDimension x="50" y="0"/> |
||
241 | </Offset> |
||
242 | </Anchor> |
||
243 | </Anchors> |
||
244 | </CheckButton> |
||
245 | <CheckButton name="CharacterChestSlotWardrobeCheckBox" inherits="WardrobeOptionsCheckButtonTemplate"> |
||
246 | <Anchors> |
||
247 | <Anchor point="RIGHT" relativeTo="CharacterChestSlot" relativePoint="LEFT"> |
||
248 | <Offset> |
||
249 | <AbsDimension x="50" y="0"/> |
||
250 | </Offset> |
||
251 | </Anchor> |
||
252 | </Anchors> |
||
253 | </CheckButton> |
||
254 | <CheckButton name="CharacterShirtSlotWardrobeCheckBox" inherits="WardrobeOptionsCheckButtonTemplate"> |
||
255 | <Anchors> |
||
256 | <Anchor point="RIGHT" relativeTo="CharacterShirtSlot" relativePoint="LEFT"> |
||
257 | <Offset> |
||
258 | <AbsDimension x="50" y="0"/> |
||
259 | </Offset> |
||
260 | </Anchor> |
||
261 | </Anchors> |
||
262 | </CheckButton> |
||
263 | <CheckButton name="CharacterTabardSlotWardrobeCheckBox" inherits="WardrobeOptionsCheckButtonTemplate"> |
||
264 | <Anchors> |
||
265 | <Anchor point="RIGHT" relativeTo="CharacterTabardSlot" relativePoint="LEFT"> |
||
266 | <Offset> |
||
267 | <AbsDimension x="50" y="0"/> |
||
268 | </Offset> |
||
269 | </Anchor> |
||
270 | </Anchors> |
||
271 | </CheckButton> |
||
272 | <CheckButton name="CharacterWristSlotWardrobeCheckBox" inherits="WardrobeOptionsCheckButtonTemplate"> |
||
273 | <Anchors> |
||
274 | <Anchor point="RIGHT" relativeTo="CharacterWristSlot" relativePoint="LEFT"> |
||
275 | <Offset> |
||
276 | <AbsDimension x="50" y="0"/> |
||
277 | </Offset> |
||
278 | </Anchor> |
||
279 | </Anchors> |
||
280 | </CheckButton> |
||
281 | <CheckButton name="CharacterHandsSlotWardrobeCheckBox" inherits="WardrobeOptionsCheckButtonTemplate"> |
||
282 | <Anchors> |
||
283 | <Anchor point="LEFT" relativeTo="CharacterHandsSlot" relativePoint="RIGHT"> |
||
284 | <Offset> |
||
285 | <AbsDimension x="-50" y="0"/> |
||
286 | </Offset> |
||
287 | </Anchor> |
||
288 | </Anchors> |
||
289 | </CheckButton> |
||
290 | <CheckButton name="CharacterWaistSlotWardrobeCheckBox" inherits="WardrobeOptionsCheckButtonTemplate"> |
||
291 | <Anchors> |
||
292 | <Anchor point="LEFT" relativeTo="CharacterWaistSlot" relativePoint="RIGHT"> |
||
293 | <Offset> |
||
294 | <AbsDimension x="-50" y="0"/> |
||
295 | </Offset> |
||
296 | </Anchor> |
||
297 | </Anchors> |
||
298 | </CheckButton> |
||
299 | <CheckButton name="CharacterLegsSlotWardrobeCheckBox" inherits="WardrobeOptionsCheckButtonTemplate"> |
||
300 | <Anchors> |
||
301 | <Anchor point="LEFT" relativeTo="CharacterLegsSlot" relativePoint="RIGHT"> |
||
302 | <Offset> |
||
303 | <AbsDimension x="-50" y="0"/> |
||
304 | </Offset> |
||
305 | </Anchor> |
||
306 | </Anchors> |
||
307 | </CheckButton> |
||
308 | <CheckButton name="CharacterFeetSlotWardrobeCheckBox" inherits="WardrobeOptionsCheckButtonTemplate"> |
||
309 | <Anchors> |
||
310 | <Anchor point="LEFT" relativeTo="CharacterFeetSlot" relativePoint="RIGHT"> |
||
311 | <Offset> |
||
312 | <AbsDimension x="-50" y="0"/> |
||
313 | </Offset> |
||
314 | </Anchor> |
||
315 | </Anchors> |
||
316 | </CheckButton> |
||
317 | <CheckButton name="CharacterFinger0SlotWardrobeCheckBox" inherits="WardrobeOptionsCheckButtonTemplate"> |
||
318 | <Anchors> |
||
319 | <Anchor point="LEFT" relativeTo="CharacterFinger0Slot" relativePoint="RIGHT"> |
||
320 | <Offset> |
||
321 | <AbsDimension x="-50" y="0"/> |
||
322 | </Offset> |
||
323 | </Anchor> |
||
324 | </Anchors> |
||
325 | </CheckButton> |
||
326 | <CheckButton name="CharacterFinger1SlotWardrobeCheckBox" inherits="WardrobeOptionsCheckButtonTemplate"> |
||
327 | <Anchors> |
||
328 | <Anchor point="LEFT" relativeTo="CharacterFinger1Slot" relativePoint="RIGHT"> |
||
329 | <Offset> |
||
330 | <AbsDimension x="-50" y="0"/> |
||
331 | </Offset> |
||
332 | </Anchor> |
||
333 | </Anchors> |
||
334 | </CheckButton> |
||
335 | <CheckButton name="CharacterTrinket0SlotWardrobeCheckBox" inherits="WardrobeOptionsCheckButtonTemplate"> |
||
336 | <Anchors> |
||
337 | <Anchor point="LEfT" relativeTo="CharacterTrinket0Slot" relativePoint="RIGHT"> |
||
338 | <Offset> |
||
339 | <AbsDimension x="-50" y="0"/> |
||
340 | </Offset> |
||
341 | </Anchor> |
||
342 | </Anchors> |
||
343 | </CheckButton> |
||
344 | <CheckButton name="CharacterTrinket1SlotWardrobeCheckBox" inherits="WardrobeOptionsCheckButtonTemplate"> |
||
345 | <Anchors> |
||
346 | <Anchor point="LEFT" relativeTo="CharacterTrinket1Slot" relativePoint="RIGHT"> |
||
347 | <Offset> |
||
348 | <AbsDimension x="-50" y="0"/> |
||
349 | </Offset> |
||
350 | </Anchor> |
||
351 | </Anchors> |
||
352 | </CheckButton> |
||
353 | <CheckButton name="CharacterMainHandSlotWardrobeCheckBox" inherits="WardrobeOptionsCheckButtonTemplate"> |
||
354 | <Anchors> |
||
355 | <Anchor point="TOP" relativeTo="CharacterMainHandSlot" relativePoint="BOTTOM"> |
||
356 | <Offset> |
||
357 | <AbsDimension x="0" y="50"/> |
||
358 | </Offset> |
||
359 | </Anchor> |
||
360 | </Anchors> |
||
361 | </CheckButton> |
||
362 | <CheckButton name="CharacterSecondaryHandSlotWardrobeCheckBox" inherits="WardrobeOptionsCheckButtonTemplate"> |
||
363 | <Anchors> |
||
364 | <Anchor point="TOP" relativeTo="CharacterSecondaryHandSlot" relativePoint="BOTTOM"> |
||
365 | <Offset> |
||
366 | <AbsDimension x="0" y="50"/> |
||
367 | </Offset> |
||
368 | </Anchor> |
||
369 | </Anchors> |
||
370 | </CheckButton> |
||
371 | <CheckButton name="CharacterRangedSlotWardrobeCheckBox" inherits="WardrobeOptionsCheckButtonTemplate"> |
||
372 | <Anchors> |
||
373 | <Anchor point="TOP" relativeTo="CharacterRangedSlot" relativePoint="BOTTOM"> |
||
374 | <Offset> |
||
375 | <AbsDimension x="0" y="50"/> |
||
376 | </Offset> |
||
377 | </Anchor> |
||
378 | </Anchors> |
||
379 | </CheckButton> |
||
380 | <Button name="Wardrobe_CheckboxToggle" inherits="Wardrobe_PopupButtonTemplate"> |
||
381 | <Size> |
||
382 | <AbsDimension x="64" y="20"/> |
||
383 | </Size> |
||
384 | <Anchors> |
||
385 | <Anchor point="TOP" relativeTo="PaperDollFrame" relativePoint="TOP"> |
||
386 | <Offset> |
||
387 | <AbsDimension x="120" y="-55"/> |
||
388 | </Offset> |
||
389 | </Anchor> |
||
390 | </Anchors> |
||
391 | <Scripts> |
||
392 | <OnClick> |
||
393 | Wardrobe.ToggleCheckboxes(); |
||
394 | </OnClick> |
||
395 | </Scripts> |
||
396 | <NormalText inherits="GameFontNormalSmall"/> |
||
397 | <HighlightText inherits="GameFontHighlightSmall"/> |
||
398 | </Button> |
||
399 | <Button name="Wardrobe_CheckboxAccept" inherits="Wardrobe_PopupButtonTemplate" frameStrata="DIALOG"> |
||
400 | <Size> |
||
401 | <AbsDimension x="64" y="20"/> |
||
402 | </Size> |
||
403 | <Anchors> |
||
404 | <Anchor point="RIGHT" relativeTo="CharacterFrameCloseButton" relativePoint="LEFT"> |
||
405 | <Offset> |
||
406 | <AbsDimension x="3" y="2"/> |
||
407 | </Offset> |
||
408 | </Anchor> |
||
409 | </Anchors> |
||
410 | <Scripts> |
||
411 | <OnClick> |
||
412 | Wardrobe.ConfirmWardrobeConfigurationScreen(); |
||
413 | </OnClick> |
||
414 | </Scripts> |
||
415 | <NormalText inherits="GameFontNormalSmall"/> |
||
416 | <HighlightText inherits="GameFontHighlightSmall"/> |
||
417 | </Button> |
||
418 | <Button name="Wardrobe_CheckboxColorpick" inherits="Wardrobe_PopupButtonTemplate"> |
||
419 | <Size> |
||
420 | <AbsDimension x="64" y="20"/> |
||
421 | </Size> |
||
422 | <Anchors> |
||
423 | <Anchor point="BOTTOM" relativeTo="Wardrobe_CheckboxToggle" relativePoint="TOP"> |
||
424 | <Offset> |
||
425 | <AbsDimension x="0" y="0"/> |
||
426 | </Offset> |
||
427 | </Anchor> |
||
428 | </Anchors> |
||
429 | <Scripts> |
||
430 | <OnClick> |
||
431 | Wardrobe.ShowColorPickFrame(); |
||
432 | </OnClick> |
||
433 | </Scripts> |
||
434 | <NormalText inherits="GameFontNormalSmall"/> |
||
435 | <HighlightText inherits="GameFontHighlightSmall"/> |
||
436 | </Button> |
||
437 | </Frames> |
||
438 | </Frame> |
||
439 | |||
440 | <Button name="Wardrobe_MainMenuFrameEntryTemplate" virtual="true"> |
||
441 | <Size> |
||
442 | <AbsDimension x="140" y="16" /> |
||
443 | </Size> |
||
444 | <Layers> |
||
445 | <Layer level="BORDER"> |
||
446 | <FontString name="$parentOutfit" inherits="GameFontNormalSmall" justifyH="LEFT"> |
||
447 | <Size> |
||
448 | <AbsDimension x="140" y="14" /> |
||
449 | </Size> |
||
450 | <Anchors> |
||
451 | <Anchor point="TOPLEFT"> |
||
452 | <Offset> |
||
453 | <AbsDimension x="0" y="0" /> |
||
454 | </Offset> |
||
455 | </Anchor> |
||
456 | </Anchors> |
||
457 | </FontString> |
||
458 | </Layer> |
||
459 | </Layers> |
||
460 | <Frames> |
||
461 | <Button name="$parentIcon" visible="false"> |
||
462 | <Size> |
||
463 | <AbsDimension x="24" y="24"/> |
||
464 | </Size> |
||
465 | <Anchors> |
||
466 | <Anchor point="RIGHT" relativeTo="$parentOutfit" relativePoint="LEFT"> |
||
467 | <Offset> |
||
468 | <AbsDimension x="5" y="0"/> |
||
469 | </Offset> |
||
470 | </Anchor> |
||
471 | </Anchors> |
||
472 | <NormalTexture file="Interface\AddOns\Wardrobe\Images\Paw"/> |
||
473 | </Button> |
||
474 | </Frames> |
||
475 | <Scripts> |
||
476 | <OnEnter> |
||
477 | Wardrobe.MainMenuFrameEntry_OnEnter(); |
||
478 | </OnEnter> |
||
479 | <OnLeave> |
||
480 | Wardrobe.MainMenuFrameEntry_OnLeave(); |
||
481 | </OnLeave> |
||
482 | <OnClick> |
||
483 | Wardrobe.MainMenuFrameEntry_OnClick(); |
||
484 | </OnClick> |
||
485 | </Scripts> |
||
486 | </Button> |
||
487 | |||
488 | <Frame name="Wardrobe_MainMenuFrame" inherits="DialogBoxFrame"> |
||
489 | <Size> |
||
490 | <AbsDimension x="180" y="260"/> |
||
491 | </Size> |
||
492 | <Layers> |
||
493 | <Layer level="BACKGROUND"> |
||
494 | <FontString name="$parentTitle" inherits="GameFontNormal" text=""> |
||
495 | <Anchors> |
||
496 | <Anchor point="TOP"> |
||
497 | <Offset> |
||
498 | <AbsDimension x="0" y="-16"/> |
||
499 | </Offset> |
||
500 | </Anchor> |
||
501 | </Anchors> |
||
502 | </FontString> |
||
503 | </Layer> |
||
504 | </Layers> |
||
505 | <Frames> |
||
506 | <Button name="Wardrobe_MainMenuFrameNewButton"> |
||
507 | <Size> |
||
508 | <AbsDimension x="64" y="20"/> |
||
509 | </Size> |
||
510 | <Anchors> |
||
511 | <Anchor point="BOTTOMLEFT" relativeTo="Wardrobe_MainMenuFrame" relativePoint="BOTTOMLEFT"> |
||
512 | <Offset> |
||
513 | <AbsDimension x="20" y="16"/> |
||
514 | </Offset> |
||
515 | </Anchor> |
||
516 | </Anchors> |
||
517 | <Scripts> |
||
518 | <OnClick> |
||
519 | Wardrobe.NewOutfitButtonClick(); |
||
520 | </OnClick> |
||
521 | </Scripts> |
||
522 | <NormalTexture inherits="DialogButtonNormalTexture"/> |
||
523 | <PushedTexture inherits="DialogButtonPushedTexture"/> |
||
524 | <HighlightTexture inherits="DialogButtonHighlightTexture"/> |
||
525 | <NormalText inherits="GameFontNormalSmall"/> |
||
526 | <HighlightText inherits="GameFontHighlightSmall"/> |
||
527 | </Button> |
||
528 | <Button name="Wardrobe_MainMenuFrameCloseButton"> |
||
529 | <Size> |
||
530 | <AbsDimension x="64" y="20"/> |
||
531 | </Size> |
||
532 | <Anchors> |
||
533 | <Anchor point="BOTTOMRIGHT" relativeTo="Wardrobe_MainMenuFrame" relativePoint="BOTTOMRIGHT"> |
||
534 | <Offset> |
||
535 | <AbsDimension x="-20" y="16"/> |
||
536 | </Offset> |
||
537 | </Anchor> |
||
538 | </Anchors> |
||
539 | <Scripts> |
||
540 | <OnClick> |
||
541 | Wardrobe.MainMenuCloseButton(); |
||
542 | </OnClick> |
||
543 | </Scripts> |
||
544 | <NormalTexture inherits="DialogButtonNormalTexture"/> |
||
545 | <PushedTexture inherits="DialogButtonPushedTexture"/> |
||
546 | <HighlightTexture inherits="DialogButtonHighlightTexture"/> |
||
547 | <NormalText inherits="GameFontNormalSmall"/> |
||
548 | <HighlightText inherits="GameFontHighlightSmall"/> |
||
549 | </Button> |
||
550 | <Button name="Wardrobe_MainMenuFrameMoveUpButton"> |
||
551 | <Size> |
||
552 | <AbsDimension x="20" y="20"/> |
||
553 | </Size> |
||
554 | <Anchors> |
||
555 | <Anchor point="CENTER" relativeTo="Wardrobe_MainMenuFrameCloseButton" relativePoint="CENTER"> |
||
556 | <Offset> |
||
557 | <AbsDimension x="-20" y="22"/> |
||
558 | </Offset> |
||
559 | </Anchor> |
||
560 | </Anchors> |
||
561 | <Scripts> |
||
562 | <OnEnter> |
||
563 | Wardrobe.ShowButtonTooltip(Localization.GetString("Wardrobe","UPBUTTON_TIP1")); |
||
564 | </OnEnter> |
||
565 | <OnLeave> |
||
566 | GameTooltip:Hide(); |
||
567 | </OnLeave> |
||
568 | <OnClick> |
||
569 | Wardrobe.MoveOutfit_OnClick(-1); |
||
570 | </OnClick> |
||
571 | </Scripts> |
||
572 | <NormalTexture file="Interface\AddOns\Wardrobe\Images\Moveup"/> |
||
573 | <PushedTexture file="Interface\AddOns\Wardrobe\Images\Moveup"/> |
||
574 | <HighlightTexture file="Interface\AddOns\Wardrobe\Images\Moveup-Over"/> |
||
575 | </Button> |
||
576 | <Button name="Wardrobe_MainMenuFrameMoveDownButton"> |
||
577 | <Size> |
||
578 | <AbsDimension x="20" y="20"/> |
||
579 | </Size> |
||
580 | <Anchors> |
||
581 | <Anchor point="CENTER" relativeTo="Wardrobe_MainMenuFrameMoveUpButton" relativePoint="CENTER"> |
||
582 | <Offset> |
||
583 | <AbsDimension x="20" y="0"/> |
||
584 | </Offset> |
||
585 | </Anchor> |
||
586 | </Anchors> |
||
587 | <Scripts> |
||
588 | <OnEnter> |
||
589 | Wardrobe.ShowButtonTooltip(Localization.GetString("Wardrobe","DOWNBUTTON_TIP1")); |
||
590 | </OnEnter> |
||
591 | <OnLeave> |
||
592 | GameTooltip:Hide(); |
||
593 | </OnLeave> |
||
594 | <OnClick> |
||
595 | Wardrobe.MoveOutfit_OnClick(1); |
||
596 | </OnClick> |
||
597 | </Scripts> |
||
598 | <NormalTexture file="Interface\AddOns\Wardrobe\Images\Movedown"/> |
||
599 | <PushedTexture file="Interface\AddOns\Wardrobe\Images\Movedown"/> |
||
600 | <HighlightTexture file="Interface\AddOns\Wardrobe\Images\Movedown-Over"/> |
||
601 | </Button> |
||
602 | <Button name="Wardrobe_MainMenuFrameDeleteButton"> |
||
603 | <Size> |
||
604 | <AbsDimension x="20" y="20"/> |
||
605 | </Size> |
||
606 | <Anchors> |
||
607 | <Anchor point="CENTER" relativeTo="Wardrobe_MainMenuFrameMoveDownButton" relativePoint="CENTER"> |
||
608 | <Offset> |
||
609 | <AbsDimension x="20" y="0"/> |
||
610 | </Offset> |
||
611 | </Anchor> |
||
612 | </Anchors> |
||
613 | <Scripts> |
||
614 | <OnEnter> |
||
615 | Wardrobe.ShowButtonTooltip(Localization.GetString("Wardrobe","DELETEBUTTON_TIP1")); |
||
616 | </OnEnter> |
||
617 | <OnLeave> |
||
618 | GameTooltip:Hide(); |
||
619 | </OnLeave> |
||
620 | <OnClick> |
||
621 | Wardrobe.DeleteOutfit_OnClick(); |
||
622 | </OnClick> |
||
623 | </Scripts> |
||
624 | <NormalTexture file="Interface\AddOns\Wardrobe\Images\Delete"/> |
||
625 | <PushedTexture file="Interface\AddOns\Wardrobe\Images\Delete"/> |
||
626 | <HighlightTexture file="Interface\AddOns\Wardrobe\Images\Delete-Over"/> |
||
627 | </Button> |
||
628 | <Button name="Wardrobe_MainMenuFrameEditButton"> |
||
629 | <Size> |
||
630 | <AbsDimension x="20" y="20"/> |
||
631 | </Size> |
||
632 | <Anchors> |
||
633 | <Anchor point="CENTER" relativeTo="Wardrobe_MainMenuFrameNewButton" relativePoint="CENTER"> |
||
634 | <Offset> |
||
635 | <AbsDimension x="-20" y="22"/> |
||
636 | </Offset> |
||
637 | </Anchor> |
||
638 | </Anchors> |
||
639 | <Scripts> |
||
640 | <OnEnter> |
||
641 | Wardrobe.ShowButtonTooltip(Localization.GetString("Wardrobe","EDITBUTTON_TIP1")); |
||
642 | </OnEnter> |
||
643 | <OnLeave> |
||
644 | GameTooltip:Hide(); |
||
645 | </OnLeave> |
||
646 | <OnClick> |
||
647 | Wardrobe.EditOutfitButtonClick(); |
||
648 | </OnClick> |
||
649 | </Scripts> |
||
650 | <NormalTexture file="Interface\AddOns\Wardrobe\Images\Edit"/> |
||
651 | <PushedTexture file="Interface\AddOns\Wardrobe\Images\Edit"/> |
||
652 | <HighlightTexture file="Interface\AddOns\Wardrobe\Images\Edit-Over"/> |
||
653 | </Button> |
||
654 | <Button name="Wardrobe_MainMenuFrameUpdateButton"> |
||
655 | <Size> |
||
656 | <AbsDimension x="20" y="20"/> |
||
657 | </Size> |
||
658 | <Anchors> |
||
659 | <Anchor point="RIGHT" relativeTo="Wardrobe_MainMenuFrameEditButton" relativePoint="RIGHT"> |
||
660 | <Offset> |
||
661 | <AbsDimension x="20" y="0"/> |
||
662 | </Offset> |
||
663 | </Anchor> |
||
664 | </Anchors> |
||
665 | <Scripts> |
||
666 | <OnEnter> |
||
667 | Wardrobe.ShowButtonTooltip(Localization.GetString("Wardrobe","UPDATEBUTTON_TIP1")); |
||
668 | </OnEnter> |
||
669 | <OnLeave> |
||
670 | GameTooltip:Hide(); |
||
671 | </OnLeave> |
||
672 | <OnClick> |
||
673 | Wardrobe.UpdateOutfitButtonClick(); |
||
674 | </OnClick> |
||
675 | </Scripts> |
||
676 | <NormalTexture file="Interface\AddOns\Wardrobe\Images\Update"/> |
||
677 | <PushedTexture file="Interface\AddOns\Wardrobe\Images\Update"/> |
||
678 | <HighlightTexture file="Interface\AddOns\Wardrobe\Images\Update-Over"/> |
||
679 | </Button> |
||
680 | <Button name="Wardrobe_MainMenuFrameColorButton"> |
||
681 | <Size> |
||
682 | <AbsDimension x="20" y="20"/> |
||
683 | </Size> |
||
684 | <Anchors> |
||
685 | <Anchor point="RIGHT" relativeTo="Wardrobe_MainMenuFrameUpdateButton" relativePoint="RIGHT"> |
||
686 | <Offset> |
||
687 | <AbsDimension x="20" y="0"/> |
||
688 | </Offset> |
||
689 | </Anchor> |
||
690 | </Anchors> |
||
691 | <Scripts> |
||
692 | <OnEnter> |
||
693 | Wardrobe.ShowButtonTooltip(Localization.GetString("Wardrobe","COLORBUTTON_TIP1")); |
||
694 | </OnEnter> |
||
695 | <OnLeave> |
||
696 | GameTooltip:Hide(); |
||
697 | </OnLeave> |
||
698 | <OnClick> |
||
699 | Wardrobe.ShowColorPickFrame(); |
||
700 | </OnClick> |
||
701 | </Scripts> |
||
702 | <NormalTexture file="Interface\AddOns\Wardrobe\Images\ColorSelect"/> |
||
703 | <PushedTexture file="Interface\AddOns\Wardrobe\Images\ColorSelect"/> |
||
704 | <HighlightTexture file="Interface\AddOns\Wardrobe\Images\ColorSelect-Over"/> |
||
705 | </Button> |
||
706 | <Button name="Wardrobe_MainMenuFrameMountButton"> |
||
707 | <Size> |
||
708 | <AbsDimension x="20" y="20"/> |
||
709 | </Size> |
||
710 | <Anchors> |
||
711 | <Anchor point="BOTTOM" relativeTo="Wardrobe_MainMenuFrameEditButton" relativePoint="TOP"> |
||
712 | <Offset> |
||
713 | <AbsDimension x="0" y="0"/> |
||
714 | </Offset> |
||
715 | </Anchor> |
||
716 | </Anchors> |
||
717 | <Scripts> |
||
718 | <OnEnter> |
||
719 | if (IsMounted) then |
||
720 | Wardrobe.ShowButtonTooltip(Localization.GetString("Wardrobe","MOUNTBUTTON_TIP1")); |
||
721 | else |
||
722 | Wardrobe.ShowButtonTooltip(Localization.GetString("Wardrobe","MOUNTBUTTON_TIP1").."\n"..Localization.GetString("Wardrobe","MOUNTBUTTON_TIP2")); |
||
723 | end |
||
724 | </OnEnter> |
||
725 | <OnLeave> |
||
726 | GameTooltip:Hide(); |
||
727 | </OnLeave> |
||
728 | <OnClick> |
||
729 | Wardrobe.MountButtonClick(); |
||
730 | </OnClick> |
||
731 | </Scripts> |
||
732 | <NormalTexture file="Interface\AddOns\Wardrobe\Images\Mount"/> |
||
733 | <PushedTexture file="Interface\AddOns\Wardrobe\Images\Mount"/> |
||
734 | <HighlightTexture file="Interface\AddOns\Wardrobe\Images\Mount-Over"/> |
||
735 | </Button> |
||
736 | <Button name="Wardrobe_MainMenuFramePlagueButton"> |
||
737 | <Size> |
||
738 | <AbsDimension x="20" y="20"/> |
||
739 | </Size> |
||
740 | <Anchors> |
||
741 | <Anchor point="BOTTOM" relativeTo="Wardrobe_MainMenuFrameUpdateButton" relativePoint="TOP"> |
||
742 | <Offset> |
||
743 | <AbsDimension x="0" y="0"/> |
||
744 | </Offset> |
||
745 | </Anchor> |
||
746 | </Anchors> |
||
747 | <Scripts> |
||
748 | <OnEnter> |
||
749 | Wardrobe.ShowButtonTooltip(Localization.GetString("Wardrobe","PLAGUEBUTTON_TIP1")); |
||
750 | </OnEnter> |
||
751 | <OnLeave> |
||
752 | GameTooltip:Hide(); |
||
753 | </OnLeave> |
||
754 | <OnClick> |
||
755 | Wardrobe.PlaguelandsButtonClick(); |
||
756 | </OnClick> |
||
757 | </Scripts> |
||
758 | <NormalTexture file="Interface\AddOns\Wardrobe\Images\Plague"/> |
||
759 | <PushedTexture file="Interface\AddOns\Wardrobe\Images\Plague"/> |
||
760 | <HighlightTexture file="Interface\AddOns\Wardrobe\Images\Plague-Over"/> |
||
761 | </Button> |
||
762 | <Button name="Wardrobe_MainMenuFrameChowingButton"> |
||
763 | <Size> |
||
764 | <AbsDimension x="20" y="20"/> |
||
765 | </Size> |
||
766 | <Anchors> |
||
767 | <Anchor point="BOTTOM" relativeTo="Wardrobe_MainMenuFrameColorButton" relativePoint="TOP"> |
||
768 | <Offset> |
||
769 | <AbsDimension x="0" y="0"/> |
||
770 | </Offset> |
||
771 | </Anchor> |
||
772 | </Anchors> |
||
773 | <Scripts> |
||
774 | <OnEnter> |
||
775 | Wardrobe.ShowButtonTooltip(Localization.GetString("Wardrobe","EATDRINKBUTTON_TIP1")); |
||
776 | </OnEnter> |
||
777 | <OnLeave> |
||
778 | GameTooltip:Hide(); |
||
779 | </OnLeave> |
||
780 | <OnClick> |
||
781 | Wardrobe.ChowingButtonClick(); |
||
782 | </OnClick> |
||
783 | </Scripts> |
||
784 | <NormalTexture file="Interface\AddOns\Wardrobe\Images\EatDrink"/> |
||
785 | <PushedTexture file="Interface\AddOns\Wardrobe\Images\EatDrink"/> |
||
786 | <HighlightTexture file="Interface\AddOns\Wardrobe\Images\EatDrink-Over"/> |
||
787 | </Button> |
||
788 | <Button name="Wardrobe_MainMenuFrameEntry1" inherits="Wardrobe_MainMenuFrameEntryTemplate"> |
||
789 | <Anchors> |
||
790 | <Anchor point="TOPLEFT" relativeTo="Wardrobe_MainMenuFrame"> |
||
791 | <Offset> |
||
792 | <AbsDimension x="30" y="-35" /> |
||
793 | </Offset> |
||
794 | </Anchor> |
||
795 | </Anchors> |
||
796 | </Button> |
||
797 | <Button name="Wardrobe_MainMenuFrameEntry2" inherits="Wardrobe_MainMenuFrameEntryTemplate"> |
||
798 | <Anchors> |
||
799 | <Anchor point="TOPLEFT" relativeTo="Wardrobe_MainMenuFrameEntry1" relativePoint="BOTTOMLEFT"> |
||
800 | <Offset> |
||
801 | <AbsDimension x="0" y="0" /> |
||
802 | </Offset> |
||
803 | </Anchor> |
||
804 | </Anchors> |
||
805 | </Button> |
||
806 | <Button name="Wardrobe_MainMenuFrameEntry3" inherits="Wardrobe_MainMenuFrameEntryTemplate"> |
||
807 | <Anchors> |
||
808 | <Anchor point="TOPLEFT" relativeTo="Wardrobe_MainMenuFrameEntry2" relativePoint="BOTTOMLEFT"> |
||
809 | <Offset> |
||
810 | <AbsDimension x="0" y="0" /> |
||
811 | </Offset> |
||
812 | </Anchor> |
||
813 | </Anchors> |
||
814 | </Button> |
||
815 | <Button name="Wardrobe_MainMenuFrameEntry4" inherits="Wardrobe_MainMenuFrameEntryTemplate"> |
||
816 | <Anchors> |
||
817 | <Anchor point="TOPLEFT" relativeTo="Wardrobe_MainMenuFrameEntry3" relativePoint="BOTTOMLEFT"> |
||
818 | <Offset> |
||
819 | <AbsDimension x="0" y="0" /> |
||
820 | </Offset> |
||
821 | </Anchor> |
||
822 | </Anchors> |
||
823 | </Button> |
||
824 | <Button name="Wardrobe_MainMenuFrameEntry5" inherits="Wardrobe_MainMenuFrameEntryTemplate"> |
||
825 | <Anchors> |
||
826 | <Anchor point="TOPLEFT" relativeTo="Wardrobe_MainMenuFrameEntry4" relativePoint="BOTTOMLEFT"> |
||
827 | <Offset> |
||
828 | <AbsDimension x="0" y="0" /> |
||
829 | </Offset> |
||
830 | </Anchor> |
||
831 | </Anchors> |
||
832 | </Button> |
||
833 | <Button name="Wardrobe_MainMenuFrameEntry6" inherits="Wardrobe_MainMenuFrameEntryTemplate"> |
||
834 | <Anchors> |
||
835 | <Anchor point="TOPLEFT" relativeTo="Wardrobe_MainMenuFrameEntry5" relativePoint="BOTTOMLEFT"> |
||
836 | <Offset> |
||
837 | <AbsDimension x="0" y="0" /> |
||
838 | </Offset> |
||
839 | </Anchor> |
||
840 | </Anchors> |
||
841 | </Button> |
||
842 | <Button name="Wardrobe_MainMenuFrameEntry7" inherits="Wardrobe_MainMenuFrameEntryTemplate"> |
||
843 | <Anchors> |
||
844 | <Anchor point="TOPLEFT" relativeTo="Wardrobe_MainMenuFrameEntry6" relativePoint="BOTTOMLEFT"> |
||
845 | <Offset> |
||
846 | <AbsDimension x="0" y="0" /> |
||
847 | </Offset> |
||
848 | </Anchor> |
||
849 | </Anchors> |
||
850 | </Button> |
||
851 | <Button name="Wardrobe_MainMenuFrameEntry8" inherits="Wardrobe_MainMenuFrameEntryTemplate"> |
||
852 | <Anchors> |
||
853 | <Anchor point="TOPLEFT" relativeTo="Wardrobe_MainMenuFrameEntry7" relativePoint="BOTTOMLEFT"> |
||
854 | <Offset> |
||
855 | <AbsDimension x="0" y="0" /> |
||
856 | </Offset> |
||
857 | </Anchor> |
||
858 | </Anchors> |
||
859 | </Button> |
||
860 | <Button name="Wardrobe_MainMenuFrameEntry9" inherits="Wardrobe_MainMenuFrameEntryTemplate"> |
||
861 | <Anchors> |
||
862 | <Anchor point="TOPLEFT" relativeTo="Wardrobe_MainMenuFrameEntry8" relativePoint="BOTTOMLEFT"> |
||
863 | <Offset> |
||
864 | <AbsDimension x="0" y="0" /> |
||
865 | </Offset> |
||
866 | </Anchor> |
||
867 | </Anchors> |
||
868 | </Button> |
||
869 | <Button name="Wardrobe_MainMenuFrameEntry10" inherits="Wardrobe_MainMenuFrameEntryTemplate"> |
||
870 | <Anchors> |
||
871 | <Anchor point="TOPLEFT" relativeTo="Wardrobe_MainMenuFrameEntry9" relativePoint="BOTTOMLEFT"> |
||
872 | <Offset> |
||
873 | <AbsDimension x="0" y="0" /> |
||
874 | </Offset> |
||
875 | </Anchor> |
||
876 | </Anchors> |
||
877 | </Button> |
||
878 | <Button name="Wardrobe_MainMenuFrameEntry11" inherits="Wardrobe_MainMenuFrameEntryTemplate"> |
||
879 | <Anchors> |
||
880 | <Anchor point="TOPLEFT" relativeTo="Wardrobe_MainMenuFrameEntry10" relativePoint="BOTTOMLEFT"> |
||
881 | <Offset> |
||
882 | <AbsDimension x="0" y="0" /> |
||
883 | </Offset> |
||
884 | </Anchor> |
||
885 | </Anchors> |
||
886 | </Button> |
||
887 | <Button name="Wardrobe_MainMenuFrameEntry12" inherits="Wardrobe_MainMenuFrameEntryTemplate"> |
||
888 | <Anchors> |
||
889 | <Anchor point="TOPLEFT" relativeTo="Wardrobe_MainMenuFrameEntry11" relativePoint="BOTTOMLEFT"> |
||
890 | <Offset> |
||
891 | <AbsDimension x="0" y="0" /> |
||
892 | </Offset> |
||
893 | </Anchor> |
||
894 | </Anchors> |
||
895 | </Button> |
||
896 | <Button name="Wardrobe_MainMenuFrameEntry13" inherits="Wardrobe_MainMenuFrameEntryTemplate"> |
||
897 | <Anchors> |
||
898 | <Anchor point="TOPLEFT" relativeTo="Wardrobe_MainMenuFrameEntry12" relativePoint="BOTTOMLEFT"> |
||
899 | <Offset> |
||
900 | <AbsDimension x="0" y="0" /> |
||
901 | </Offset> |
||
902 | </Anchor> |
||
903 | </Anchors> |
||
904 | </Button> |
||
905 | <Button name="Wardrobe_MainMenuFrameEntry14" inherits="Wardrobe_MainMenuFrameEntryTemplate"> |
||
906 | <Anchors> |
||
907 | <Anchor point="TOPLEFT" relativeTo="Wardrobe_MainMenuFrameEntry13" relativePoint="BOTTOMLEFT"> |
||
908 | <Offset> |
||
909 | <AbsDimension x="0" y="0" /> |
||
910 | </Offset> |
||
911 | </Anchor> |
||
912 | </Anchors> |
||
913 | </Button> |
||
914 | <Button name="Wardrobe_MainMenuFrameEntry15" inherits="Wardrobe_MainMenuFrameEntryTemplate"> |
||
915 | <Anchors> |
||
916 | <Anchor point="TOPLEFT" relativeTo="Wardrobe_MainMenuFrameEntry14" relativePoint="BOTTOMLEFT"> |
||
917 | <Offset> |
||
918 | <AbsDimension x="0" y="0" /> |
||
919 | </Offset> |
||
920 | </Anchor> |
||
921 | </Anchors> |
||
922 | </Button> |
||
923 | <Button name="Wardrobe_MainMenuFrameEntry16" inherits="Wardrobe_MainMenuFrameEntryTemplate"> |
||
924 | <Anchors> |
||
925 | <Anchor point="TOPLEFT" relativeTo="Wardrobe_MainMenuFrameEntry15" relativePoint="BOTTOMLEFT"> |
||
926 | <Offset> |
||
927 | <AbsDimension x="0" y="0" /> |
||
928 | </Offset> |
||
929 | </Anchor> |
||
930 | </Anchors> |
||
931 | </Button> |
||
932 | <Button name="Wardrobe_MainMenuFrameEntry17" inherits="Wardrobe_MainMenuFrameEntryTemplate"> |
||
933 | <Anchors> |
||
934 | <Anchor point="TOPLEFT" relativeTo="Wardrobe_MainMenuFrameEntry16" relativePoint="BOTTOMLEFT"> |
||
935 | <Offset> |
||
936 | <AbsDimension x="0" y="0" /> |
||
937 | </Offset> |
||
938 | </Anchor> |
||
939 | </Anchors> |
||
940 | </Button> |
||
941 | <Button name="Wardrobe_MainMenuFrameEntry18" inherits="Wardrobe_MainMenuFrameEntryTemplate"> |
||
942 | <Anchors> |
||
943 | <Anchor point="TOPLEFT" relativeTo="Wardrobe_MainMenuFrameEntry17" relativePoint="BOTTOMLEFT"> |
||
944 | <Offset> |
||
945 | <AbsDimension x="0" y="0" /> |
||
946 | </Offset> |
||
947 | </Anchor> |
||
948 | </Anchors> |
||
949 | </Button> |
||
950 | <Button name="Wardrobe_MainMenuFrameEntry19" inherits="Wardrobe_MainMenuFrameEntryTemplate"> |
||
951 | <Anchors> |
||
952 | <Anchor point="TOPLEFT" relativeTo="Wardrobe_MainMenuFrameEntry18" relativePoint="BOTTOMLEFT"> |
||
953 | <Offset> |
||
954 | <AbsDimension x="0" y="0" /> |
||
955 | </Offset> |
||
956 | </Anchor> |
||
957 | </Anchors> |
||
958 | </Button> |
||
959 | <Button name="Wardrobe_MainMenuFrameEntry20" inherits="Wardrobe_MainMenuFrameEntryTemplate"> |
||
960 | <Anchors> |
||
961 | <Anchor point="TOPLEFT" relativeTo="Wardrobe_MainMenuFrameEntry19" relativePoint="BOTTOMLEFT"> |
||
962 | <Offset> |
||
963 | <AbsDimension x="0" y="0" /> |
||
964 | </Offset> |
||
965 | </Anchor> |
||
966 | </Anchors> |
||
967 | </Button> |
||
968 | <Button name="Wardrobe_MainMenuFrameEntry21" inherits="Wardrobe_MainMenuFrameEntryTemplate"> |
||
969 | <Anchors> |
||
970 | <Anchor point="TOPLEFT" relativeTo="Wardrobe_MainMenuFrameEntry20" relativePoint="BOTTOMLEFT"> |
||
971 | <Offset> |
||
972 | <AbsDimension x="0" y="0" /> |
||
973 | </Offset> |
||
974 | </Anchor> |
||
975 | </Anchors> |
||
976 | </Button> |
||
977 | <ScrollFrame name="Wardrobe_SortScrollFrame" inherits="UIPanelScrollFrameTemplate"> |
||
978 | <ScrollChild> |
||
979 | <Frame name="Wardrobe_SortScrollFrameScrollChildFrame"> |
||
980 | <Size> |
||
981 | <AbsDimension x="180" y="160"/> |
||
982 | </Size> |
||
983 | </Frame> |
||
984 | </ScrollChild> |
||
985 | <Size> |
||
986 | <AbsDimension x="180" y="160"/> |
||
987 | </Size> |
||
988 | <Anchors> |
||
989 | <Anchor point="TOPRIGHT" relativeTo="Wardrobe_MainMenuFrame" relativePoint="TOPRIGHT"> |
||
990 | <Offset> |
||
991 | <AbsDimension x="-33" y="-35"/> |
||
992 | </Offset> |
||
993 | </Anchor> |
||
994 | </Anchors> |
||
995 | |||
996 | <Scripts> |
||
997 | <OnVerticalScroll> |
||
998 | FauxScrollFrame_OnVerticalScroll(WARDROBE_MAX_SCROLL_ENTRIES, Wardrobe.PopulateMainMenu, true); |
||
999 | --local scrollbar = Wardrobe.SortScrollFrameScrollBar; |
||
1000 | --scrollbar:SetValue(true); |
||
1001 | --this.offset = floor((scrollbar:GetValue() / itemHeight) + 0.5); |
||
1002 | --Wardrobe.PopulateMainMenu(); |
||
1003 | </OnVerticalScroll> |
||
1004 | </Scripts> |
||
1005 | </ScrollFrame> |
||
1006 | </Frames> |
||
1007 | <Scripts> |
||
1008 | <OnLoad> |
||
1009 | Wardrobe_MainMenuFrameButton:Hide(); |
||
1010 | </OnLoad> |
||
1011 | <OnHide> |
||
1012 | </OnHide> |
||
1013 | </Scripts> |
||
1014 | </Frame> |
||
1015 | |||
1016 | <Button name="Wardrobe_ColorPickFrameBoxTemplate" virtual="true"> |
||
1017 | <Size> |
||
1018 | <AbsDimension x="28" y="30"/> |
||
1019 | </Size> |
||
1020 | <Scripts> |
||
1021 | <OnClick> |
||
1022 | Wardrobe.ColorPickFrameColor_OnClick(); |
||
1023 | </OnClick> |
||
1024 | </Scripts> |
||
1025 | <NormalTexture name="$parentTexture" file="Interface\AddOns\Wardrobe\Images\ColorSquareBlank" alphamode="ADD"/> |
||
1026 | </Button> |
||
1027 | <Frame name="Wardrobe_ColorPickFrame" inherits="DialogBoxFrame"> |
||
1028 | <Size> |
||
1029 | <AbsDimension x="220" y="200"/> |
||
1030 | </Size> |
||
1031 | <Layers> |
||
1032 | <Layer level="BACKGROUND"> |
||
1033 | <FontString name="$parentTitle" inherits="GameFontNormal" text=""> |
||
1034 | <Anchors> |
||
1035 | <Anchor point="TOP"> |
||
1036 | <Offset> |
||
1037 | <AbsDimension x="0" y="-16"/> |
||
1038 | </Offset> |
||
1039 | </Anchor> |
||
1040 | </Anchors> |
||
1041 | </FontString> |
||
1042 | <FontString name="$parentExampleText" inherits="GameFontNormal" text=""> |
||
1043 | <Anchors> |
||
1044 | <Anchor point="TOP"> |
||
1045 | <Offset> |
||
1046 | <AbsDimension x="0" y="-32"/> |
||
1047 | </Offset> |
||
1048 | </Anchor> |
||
1049 | </Anchors> |
||
1050 | </FontString> |
||
1051 | </Layer> |
||
1052 | </Layers> |
||
1053 | <Frames> |
||
1054 | <Button name="$parentOKButton"> |
||
1055 | <Size> |
||
1056 | <AbsDimension x="64" y="20"/> |
||
1057 | </Size> |
||
1058 | <Anchors> |
||
1059 | <Anchor point="BOTTOM"> |
||
1060 | <Offset> |
||
1061 | <AbsDimension x="40" y="16"/> |
||
1062 | </Offset> |
||
1063 | </Anchor> |
||
1064 | </Anchors> |
||
1065 | <Scripts> |
||
1066 | <OnClick> |
||
1067 | Wardrobe.AcceptColorPickFrame(); |
||
1068 | </OnClick> |
||
1069 | </Scripts> |
||
1070 | <NormalTexture inherits="DialogButtonNormalTexture"/> |
||
1071 | <PushedTexture inherits="DialogButtonPushedTexture"/> |
||
1072 | <HighlightTexture inherits="DialogButtonHighlightTexture"/> |
||
1073 | <NormalText inherits="GameFontNormalSmall"/> |
||
1074 | <HighlightText inherits="GameFontHighlightSmall"/> |
||
1075 | </Button> |
||
1076 | <Button name="$parentCancelButton"> |
||
1077 | <Size> |
||
1078 | <AbsDimension x="64" y="20"/> |
||
1079 | </Size> |
||
1080 | <Anchors> |
||
1081 | <Anchor point="BOTTOM"> |
||
1082 | <Offset> |
||
1083 | <AbsDimension x="-40" y="16"/> |
||
1084 | </Offset> |
||
1085 | </Anchor> |
||
1086 | </Anchors> |
||
1087 | <Scripts> |
||
1088 | <OnClick> |
||
1089 | Wardrobe.HideColorPickFrame(); |
||
1090 | </OnClick> |
||
1091 | </Scripts> |
||
1092 | <NormalTexture inherits="DialogButtonNormalTexture"/> |
||
1093 | <PushedTexture inherits="DialogButtonPushedTexture"/> |
||
1094 | <HighlightTexture inherits="DialogButtonHighlightTexture"/> |
||
1095 | <NormalText inherits="GameFontNormalSmall"/> |
||
1096 | <HighlightText inherits="GameFontHighlightSmall"/> |
||
1097 | </Button> |
||
1098 | <Frame name="Wardrobe_ColorPickFrameGrid"> |
||
1099 | <Size> |
||
1100 | <AbsDimension x="256" y="128"/> |
||
1101 | </Size> |
||
1102 | <Anchors> |
||
1103 | <Anchor point="TOP"> |
||
1104 | <Offset> |
||
1105 | <AbsDimension x="0" y="-40"/> |
||
1106 | </Offset> |
||
1107 | </Anchor> |
||
1108 | </Anchors> |
||
1109 | <Layers> |
||
1110 | <Layer level="OVERLAY"> |
||
1111 | <Texture name="Wardrobe_ColorPickFrameGridTexture" file="Interface\AddOns\Wardrobe\Images\ColorSelectGrid"> |
||
1112 | <Size> |
||
1113 | <AbsDimension x="256" y="128"/> |
||
1114 | </Size> |
||
1115 | <Anchors> |
||
1116 | <Anchor point="CENTER"/> |
||
1117 | </Anchors> |
||
1118 | </Texture> |
||
1119 | </Layer> |
||
1120 | </Layers> |
||
1121 | </Frame> |
||
1122 | <Button name="$parentBox1" inherits="Wardrobe_ColorPickFrameBoxTemplate"> |
||
1123 | <Anchors> |
||
1124 | <Anchor point="TOPLEFT" relativeTo="Wardrobe_ColorPickFrameGrid" relativePoint="TOPLEFT"> |
||
1125 | <Offset> |
||
1126 | <AbsDimension x="45" y="-10"/> |
||
1127 | </Offset> |
||
1128 | </Anchor> |
||
1129 | </Anchors> |
||
1130 | </Button> |
||
1131 | <Button name="$parentBox2" inherits="Wardrobe_ColorPickFrameBoxTemplate"> |
||
1132 | <Anchors> |
||
1133 | <Anchor point="TOPLEFT" relativeTo="$parentBox1" relativePoint="TOPLEFT"> |
||
1134 | <Offset> |
||
1135 | <AbsDimension x="28" y="0"/> |
||
1136 | </Offset> |
||
1137 | </Anchor> |
||
1138 | </Anchors> |
||
1139 | </Button> |
||
1140 | <Button name="$parentBox3" inherits="Wardrobe_ColorPickFrameBoxTemplate"> |
||
1141 | <Anchors> |
||
1142 | <Anchor point="TOPLEFT" relativeTo="$parentBox2" relativePoint="TOPLEFT"> |
||
1143 | <Offset> |
||
1144 | <AbsDimension x="28" y="0"/> |
||
1145 | </Offset> |
||
1146 | </Anchor> |
||
1147 | </Anchors> |
||
1148 | </Button> |
||
1149 | <Button name="$parentBox4" inherits="Wardrobe_ColorPickFrameBoxTemplate"> |
||
1150 | <Anchors> |
||
1151 | <Anchor point="TOPLEFT" relativeTo="$parentBox3" relativePoint="TOPLEFT"> |
||
1152 | <Offset> |
||
1153 | <AbsDimension x="28" y="0"/> |
||
1154 | </Offset> |
||
1155 | </Anchor> |
||
1156 | </Anchors> |
||
1157 | </Button> |
||
1158 | <Button name="$parentBox5" inherits="Wardrobe_ColorPickFrameBoxTemplate"> |
||
1159 | <Anchors> |
||
1160 | <Anchor point="TOPLEFT" relativeTo="$parentBox4" relativePoint="TOPLEFT"> |
||
1161 | <Offset> |
||
1162 | <AbsDimension x="28" y="0"/> |
||
1163 | </Offset> |
||
1164 | </Anchor> |
||
1165 | </Anchors> |
||
1166 | </Button> |
||
1167 | <Button name="$parentBox6" inherits="Wardrobe_ColorPickFrameBoxTemplate"> |
||
1168 | <Anchors> |
||
1169 | <Anchor point="TOPLEFT" relativeTo="$parentBox5" relativePoint="TOPLEFT"> |
||
1170 | <Offset> |
||
1171 | <AbsDimension x="27" y="0"/> |
||
1172 | </Offset> |
||
1173 | </Anchor> |
||
1174 | </Anchors> |
||
1175 | </Button> |
||
1176 | <Button name="$parentBox7" inherits="Wardrobe_ColorPickFrameBoxTemplate"> |
||
1177 | <Anchors> |
||
1178 | <Anchor point="TOPLEFT" relativeTo="$parentBox1" relativePoint="TOPLEFT"> |
||
1179 | <Offset> |
||
1180 | <AbsDimension x="0" y="-25"/> |
||
1181 | </Offset> |
||
1182 | </Anchor> |
||
1183 | </Anchors> |
||
1184 | </Button> |
||
1185 | <Button name="$parentBox8" inherits="Wardrobe_ColorPickFrameBoxTemplate"> |
||
1186 | <Anchors> |
||
1187 | <Anchor point="TOPLEFT" relativeTo="$parentBox7" relativePoint="TOPLEFT"> |
||
1188 | <Offset> |
||
1189 | <AbsDimension x="28" y="0"/> |
||
1190 | </Offset> |
||
1191 | </Anchor> |
||
1192 | </Anchors> |
||
1193 | </Button> |
||
1194 | <Button name="$parentBox9" inherits="Wardrobe_ColorPickFrameBoxTemplate"> |
||
1195 | <Anchors> |
||
1196 | <Anchor point="TOPLEFT" relativeTo="$parentBox8" relativePoint="TOPLEFT"> |
||
1197 | <Offset> |
||
1198 | <AbsDimension x="28" y="0"/> |
||
1199 | </Offset> |
||
1200 | </Anchor> |
||
1201 | </Anchors> |
||
1202 | </Button> |
||
1203 | <Button name="$parentBox10" inherits="Wardrobe_ColorPickFrameBoxTemplate"> |
||
1204 | <Anchors> |
||
1205 | <Anchor point="TOPLEFT" relativeTo="$parentBox9" relativePoint="TOPLEFT"> |
||
1206 | <Offset> |
||
1207 | <AbsDimension x="28" y="0"/> |
||
1208 | </Offset> |
||
1209 | </Anchor> |
||
1210 | </Anchors> |
||
1211 | </Button> |
||
1212 | <Button name="$parentBox11" inherits="Wardrobe_ColorPickFrameBoxTemplate"> |
||
1213 | <Anchors> |
||
1214 | <Anchor point="TOPLEFT" relativeTo="$parentBox10" relativePoint="TOPLEFT"> |
||
1215 | <Offset> |
||
1216 | <AbsDimension x="28" y="0"/> |
||
1217 | </Offset> |
||
1218 | </Anchor> |
||
1219 | </Anchors> |
||
1220 | </Button> |
||
1221 | <Button name="$parentBox12" inherits="Wardrobe_ColorPickFrameBoxTemplate"> |
||
1222 | <Anchors> |
||
1223 | <Anchor point="TOPLEFT" relativeTo="$parentBox11" relativePoint="TOPLEFT"> |
||
1224 | <Offset> |
||
1225 | <AbsDimension x="27" y="0"/> |
||
1226 | </Offset> |
||
1227 | </Anchor> |
||
1228 | </Anchors> |
||
1229 | </Button> |
||
1230 | <Button name="$parentBox13" inherits="Wardrobe_ColorPickFrameBoxTemplate"> |
||
1231 | <Anchors> |
||
1232 | <Anchor point="TOPLEFT" relativeTo="$parentBox7" relativePoint="TOPLEFT"> |
||
1233 | <Offset> |
||
1234 | <AbsDimension x="0" y="-25"/> |
||
1235 | </Offset> |
||
1236 | </Anchor> |
||
1237 | </Anchors> |
||
1238 | </Button> |
||
1239 | <Button name="$parentBox14" inherits="Wardrobe_ColorPickFrameBoxTemplate"> |
||
1240 | <Anchors> |
||
1241 | <Anchor point="TOPLEFT" relativeTo="$parentBox13" relativePoint="TOPLEFT"> |
||
1242 | <Offset> |
||
1243 | <AbsDimension x="28" y="0"/> |
||
1244 | </Offset> |
||
1245 | </Anchor> |
||
1246 | </Anchors> |
||
1247 | </Button> |
||
1248 | <Button name="$parentBox15" inherits="Wardrobe_ColorPickFrameBoxTemplate"> |
||
1249 | <Anchors> |
||
1250 | <Anchor point="TOPLEFT" relativeTo="$parentBox14" relativePoint="TOPLEFT"> |
||
1251 | <Offset> |
||
1252 | <AbsDimension x="28" y="0"/> |
||
1253 | </Offset> |
||
1254 | </Anchor> |
||
1255 | </Anchors> |
||
1256 | </Button> |
||
1257 | <Button name="$parentBox16" inherits="Wardrobe_ColorPickFrameBoxTemplate"> |
||
1258 | <Anchors> |
||
1259 | <Anchor point="TOPLEFT" relativeTo="$parentBox15" relativePoint="TOPLEFT"> |
||
1260 | <Offset> |
||
1261 | <AbsDimension x="28" y="0"/> |
||
1262 | </Offset> |
||
1263 | </Anchor> |
||
1264 | </Anchors> |
||
1265 | </Button> |
||
1266 | <Button name="$parentBox17" inherits="Wardrobe_ColorPickFrameBoxTemplate"> |
||
1267 | <Anchors> |
||
1268 | <Anchor point="TOPLEFT" relativeTo="$parentBox16" relativePoint="TOPLEFT"> |
||
1269 | <Offset> |
||
1270 | <AbsDimension x="28" y="0"/> |
||
1271 | </Offset> |
||
1272 | </Anchor> |
||
1273 | </Anchors> |
||
1274 | </Button> |
||
1275 | <Button name="$parentBox18" inherits="Wardrobe_ColorPickFrameBoxTemplate"> |
||
1276 | <Anchors> |
||
1277 | <Anchor point="TOPLEFT" relativeTo="$parentBox17" relativePoint="TOPLEFT"> |
||
1278 | <Offset> |
||
1279 | <AbsDimension x="27" y="0"/> |
||
1280 | </Offset> |
||
1281 | </Anchor> |
||
1282 | </Anchors> |
||
1283 | </Button> |
||
1284 | <Button name="$parentBox19" inherits="Wardrobe_ColorPickFrameBoxTemplate"> |
||
1285 | <Anchors> |
||
1286 | <Anchor point="TOPLEFT" relativeTo="$parentBox13" relativePoint="TOPLEFT"> |
||
1287 | <Offset> |
||
1288 | <AbsDimension x="0" y="-25"/> |
||
1289 | </Offset> |
||
1290 | </Anchor> |
||
1291 | </Anchors> |
||
1292 | </Button> |
||
1293 | <Button name="$parentBox20" inherits="Wardrobe_ColorPickFrameBoxTemplate"> |
||
1294 | <Anchors> |
||
1295 | <Anchor point="TOPLEFT" relativeTo="$parentBox19" relativePoint="TOPLEFT"> |
||
1296 | <Offset> |
||
1297 | <AbsDimension x="28" y="0"/> |
||
1298 | </Offset> |
||
1299 | </Anchor> |
||
1300 | </Anchors> |
||
1301 | </Button> |
||
1302 | <Button name="$parentBox21" inherits="Wardrobe_ColorPickFrameBoxTemplate"> |
||
1303 | <Anchors> |
||
1304 | <Anchor point="TOPLEFT" relativeTo="$parentBox20" relativePoint="TOPLEFT"> |
||
1305 | <Offset> |
||
1306 | <AbsDimension x="28" y="0"/> |
||
1307 | </Offset> |
||
1308 | </Anchor> |
||
1309 | </Anchors> |
||
1310 | </Button> |
||
1311 | <Button name="$parentBox22" inherits="Wardrobe_ColorPickFrameBoxTemplate"> |
||
1312 | <Anchors> |
||
1313 | <Anchor point="TOPLEFT" relativeTo="$parentBox21" relativePoint="TOPLEFT"> |
||
1314 | <Offset> |
||
1315 | <AbsDimension x="28" y="0"/> |
||
1316 | </Offset> |
||
1317 | </Anchor> |
||
1318 | </Anchors> |
||
1319 | </Button> |
||
1320 | <Button name="$parentBox23" inherits="Wardrobe_ColorPickFrameBoxTemplate"> |
||
1321 | <Anchors> |
||
1322 | <Anchor point="TOPLEFT" relativeTo="$parentBox22" relativePoint="TOPLEFT"> |
||
1323 | <Offset> |
||
1324 | <AbsDimension x="28" y="0"/> |
||
1325 | </Offset> |
||
1326 | </Anchor> |
||
1327 | </Anchors> |
||
1328 | </Button> |
||
1329 | <Button name="$parentBox24" inherits="Wardrobe_ColorPickFrameBoxTemplate"> |
||
1330 | <Anchors> |
||
1331 | <Anchor point="TOPLEFT" relativeTo="$parentBox23" relativePoint="TOPLEFT"> |
||
1332 | <Offset> |
||
1333 | <AbsDimension x="27" y="0"/> |
||
1334 | </Offset> |
||
1335 | </Anchor> |
||
1336 | </Anchors> |
||
1337 | </Button> |
||
1338 | </Frames> |
||
1339 | <Scripts> |
||
1340 | <OnLoad> |
||
1341 | Wardrobe_ColorPickFrameButton:Hide(); |
||
1342 | </OnLoad> |
||
1343 | </Scripts> |
||
1344 | </Frame> |
||
1345 | <Frame name="TitanPanelWardrobeButtonParent" parent="UIParent"> |
||
1346 | <Frames> |
||
1347 | <Button name="TitanPanelWardrobeButton" inherits="TitanPanelComboTemplate" frameStrata="FULLSCREEN" toplevel="true" hidden="true"> |
||
1348 | <Scripts> |
||
1349 | <OnLoad> |
||
1350 | Wardrobe.TitanPanelButton_OnLoad(); |
||
1351 | </OnLoad> |
||
1352 | <OnEnter> |
||
1353 | Wardrobe.TitanPanelButton_OnEnter(); |
||
1354 | </OnEnter> |
||
1355 | <OnClick> |
||
1356 | Wardrobe.TitanPanelButton_OnClick(arg1); |
||
1357 | </OnClick> |
||
1358 | <OnEvent> |
||
1359 | Wardrobe.TitanPanelButton_OnEvent(event); |
||
1360 | </OnEvent> |
||
1361 | </Scripts> |
||
1362 | </Button> |
||
1363 | </Frames> |
||
1364 | </Frame> |
||
1365 | <Frame name="Wardrobe_ScriptFrame"> |
||
1366 | <Scripts> |
||
1367 | <OnLoad> |
||
1368 | Wardrobe.OnLoad(); |
||
1369 | </OnLoad> |
||
1370 | <OnEvent> |
||
1371 | Wardrobe.OnEvent(event); |
||
1372 | </OnEvent> |
||
1373 | </Scripts> |
||
1374 | </Frame> |
||
1375 | </Ui> |