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 | ..\FrameXML\UI.xsd"> |
||
3 | <Script file="localization.lua"/> |
||
4 | <Script file="OutfitDisplayFrame.lua"/> |
||
5 | <Button name="OutfitDisplayItemButtonTemplate" inherits="ItemButtonTemplate" virtual="true"> |
||
6 | <Scripts> |
||
7 | <OnLoad> |
||
8 | OutfitDisplayItemButton_OnLoad(); |
||
9 | </OnLoad> |
||
10 | <OnShow> |
||
11 | OutfitDisplayItemButton_Draw(this); |
||
12 | </OnShow> |
||
13 | <OnClick> |
||
14 | OutfitDisplayItemButton_OnClick(arg1); |
||
15 | </OnClick> |
||
16 | <OnEvent> |
||
17 | OutfitDisplayItemButton_OnEvent(event); |
||
18 | </OnEvent> |
||
19 | <OnEnter> |
||
20 | OutfitDisplayItemButton_OnEnter(); |
||
21 | </OnEnter> |
||
22 | <OnLeave> |
||
23 | GameTooltip.finished = nil; |
||
24 | GameTooltip:Hide(); |
||
25 | </OnLeave> |
||
26 | <OnReceiveDrag> |
||
27 | OutfitDisplayItemButton_OnClick("LeftButton", 1); |
||
28 | </OnReceiveDrag> |
||
29 | </Scripts> |
||
30 | </Button> |
||
31 | |||
32 | <CheckButton name="OutfitDisplayFrameCheckBoxTemplate" inherits="UICheckButtonTemplate" virtual="true"> |
||
33 | <HitRectInsets> |
||
34 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
35 | </HitRectInsets> |
||
36 | <Size> |
||
37 | <AbsDimension x="25" y="25"/> |
||
38 | </Size> |
||
39 | <Scripts> |
||
40 | <OnLoad> |
||
41 | OutfitDisplayCheckBox_OnLoad(); |
||
42 | </OnLoad> |
||
43 | <OnClick> |
||
44 | OutfitDisplayCheckBox_OnClick(); |
||
45 | </OnClick> |
||
46 | <OnEnter> |
||
47 | OutfitDisplayCheckBox_OnEnter(); |
||
48 | </OnEnter> |
||
49 | <OnLeave> |
||
50 | GameTooltip.finished = nil; |
||
51 | GameTooltip:Hide(); |
||
52 | </OnLeave> |
||
53 | </Scripts> |
||
54 | </CheckButton> |
||
55 | |||
56 | <CheckButton name="OutfitDisplayFrameOverrideBoxTemplate" inherits="UICheckButtonTemplate" virtual="true"> |
||
57 | <HitRectInsets> |
||
58 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
59 | </HitRectInsets> |
||
60 | <Size> |
||
61 | <AbsDimension x="25" y="25"/> |
||
62 | </Size> |
||
63 | <Scripts> |
||
64 | <OnLoad> |
||
65 | OutfitDisplayOverrideBox_OnLoad(); |
||
66 | </OnLoad> |
||
67 | <OnEnter> |
||
68 | OutfitDisplayOverrideBox_OnEnter(); |
||
69 | </OnEnter> |
||
70 | <OnLeave> |
||
71 | GameTooltip.finished = nil; |
||
72 | GameTooltip:Hide(); |
||
73 | </OnLeave> |
||
74 | </Scripts> |
||
75 | </CheckButton> |
||
76 | |||
77 | <Frame name="OutfitDisplayFrame" virtual="true"> |
||
78 | <HitRectInsets> |
||
79 | <AbsInset left="0" right="30" top="0" bottom="75"/> |
||
80 | </HitRectInsets> |
||
81 | <Layers> |
||
82 | <Layer level="BACKGROUND"> |
||
83 | <Texture file="Interface\PaperDollInfoFrame\UI-Character-CharacterTab-L1"> |
||
84 | <Size> |
||
85 | <AbsDimension x="256" y="256"/> |
||
86 | </Size> |
||
87 | <Anchors> |
||
88 | <Anchor point="TOPLEFT"/> |
||
89 | </Anchors> |
||
90 | </Texture> |
||
91 | <Texture file="Interface\PaperDollInfoFrame\UI-Character-CharacterTab-R1"> |
||
92 | <Size> |
||
93 | <AbsDimension x="128" y="256"/> |
||
94 | </Size> |
||
95 | <Anchors> |
||
96 | <Anchor point="TOPLEFT"> |
||
97 | <Offset> |
||
98 | <AbsDimension x="256" y="0"/> |
||
99 | </Offset> |
||
100 | </Anchor> |
||
101 | </Anchors> |
||
102 | </Texture> |
||
103 | <Texture file="Interface\PaperDollInfoFrame\UI-Character-CharacterTab-BottomLeft"> |
||
104 | <Size> |
||
105 | <AbsDimension x="256" y="256"/> |
||
106 | </Size> |
||
107 | <Anchors> |
||
108 | <Anchor point="TOPLEFT"> |
||
109 | <Offset> |
||
110 | <AbsDimension x="0" y="-256"/> |
||
111 | </Offset> |
||
112 | </Anchor> |
||
113 | </Anchors> |
||
114 | </Texture> |
||
115 | <Texture file="Interface\PaperDollInfoFrame\UI-Character-CharacterTab-BottomRight"> |
||
116 | <Size> |
||
117 | <AbsDimension x="128" y="256"/> |
||
118 | </Size> |
||
119 | <Anchors> |
||
120 | <Anchor point="TOPLEFT"> |
||
121 | <Offset> |
||
122 | <AbsDimension x="256" y="-256"/> |
||
123 | </Offset> |
||
124 | </Anchor> |
||
125 | </Anchors> |
||
126 | </Texture> |
||
127 | </Layer> |
||
128 | </Layers> |
||
129 | <Frames> |
||
130 | <Button name="$parentHeadSlot" inherits="OutfitDisplayItemButtonTemplate"> |
||
131 | <Anchors> |
||
132 | <Anchor point="TOPLEFT"> |
||
133 | <Offset> |
||
134 | <AbsDimension x="21" y="-74"/> |
||
135 | </Offset> |
||
136 | </Anchor> |
||
137 | </Anchors> |
||
138 | </Button> |
||
139 | <Button name="$parentNeckSlot" inherits="OutfitDisplayItemButtonTemplate"> |
||
140 | <Anchors> |
||
141 | <Anchor point="TOPLEFT" relativeTo="$parentHeadSlot" relativePoint="BOTTOMLEFT"> |
||
142 | <Offset> |
||
143 | <AbsDimension x="0" y="-4"/> |
||
144 | </Offset> |
||
145 | </Anchor> |
||
146 | </Anchors> |
||
147 | </Button> |
||
148 | <Button name="$parentShoulderSlot" inherits="OutfitDisplayItemButtonTemplate"> |
||
149 | <Anchors> |
||
150 | <Anchor point="TOPLEFT" relativeTo="$parentNeckSlot" relativePoint="BOTTOMLEFT"> |
||
151 | <Offset> |
||
152 | <AbsDimension x="0" y="-4"/> |
||
153 | </Offset> |
||
154 | </Anchor> |
||
155 | </Anchors> |
||
156 | </Button> |
||
157 | <Button name="$parentBackSlot" inherits="OutfitDisplayItemButtonTemplate"> |
||
158 | <Anchors> |
||
159 | <Anchor point="TOPLEFT" relativeTo="$parentShoulderSlot" relativePoint="BOTTOMLEFT"> |
||
160 | <Offset> |
||
161 | <AbsDimension x="0" y="-4"/> |
||
162 | </Offset> |
||
163 | </Anchor> |
||
164 | </Anchors> |
||
165 | </Button> |
||
166 | <Button name="$parentChestSlot" inherits="OutfitDisplayItemButtonTemplate"> |
||
167 | <Anchors> |
||
168 | <Anchor point="TOPLEFT" relativeTo="$parentBackSlot" relativePoint="BOTTOMLEFT"> |
||
169 | <Offset> |
||
170 | <AbsDimension x="0" y="-4"/> |
||
171 | </Offset> |
||
172 | </Anchor> |
||
173 | </Anchors> |
||
174 | </Button> |
||
175 | <Button name="$parentShirtSlot" inherits="OutfitDisplayItemButtonTemplate"> |
||
176 | <Anchors> |
||
177 | <Anchor point="TOPLEFT" relativeTo="$parentChestSlot" relativePoint="BOTTOMLEFT"> |
||
178 | <Offset> |
||
179 | <AbsDimension x="0" y="-4"/> |
||
180 | </Offset> |
||
181 | </Anchor> |
||
182 | </Anchors> |
||
183 | </Button> |
||
184 | <Button name="$parentTabardSlot" inherits="OutfitDisplayItemButtonTemplate"> |
||
185 | <Anchors> |
||
186 | <Anchor point="TOPLEFT" relativeTo="$parentShirtSlot" relativePoint="BOTTOMLEFT"> |
||
187 | <Offset> |
||
188 | <AbsDimension x="0" y="-4"/> |
||
189 | </Offset> |
||
190 | </Anchor> |
||
191 | </Anchors> |
||
192 | </Button> |
||
193 | <Button name="$parentWristSlot" inherits="OutfitDisplayItemButtonTemplate"> |
||
194 | <Anchors> |
||
195 | <Anchor point="TOPLEFT" relativeTo="$parentTabardSlot" relativePoint="BOTTOMLEFT"> |
||
196 | <Offset> |
||
197 | <AbsDimension x="0" y="-4"/> |
||
198 | </Offset> |
||
199 | </Anchor> |
||
200 | </Anchors> |
||
201 | </Button> |
||
202 | <Button name="$parentHandsSlot" inherits="OutfitDisplayItemButtonTemplate"> |
||
203 | <Anchors> |
||
204 | <Anchor point="TOPLEFT"> |
||
205 | <Offset> |
||
206 | <AbsDimension x="305" y="-74"/> |
||
207 | </Offset> |
||
208 | </Anchor> |
||
209 | </Anchors> |
||
210 | </Button> |
||
211 | <Button name="$parentWaistSlot" inherits="OutfitDisplayItemButtonTemplate"> |
||
212 | <Anchors> |
||
213 | <Anchor point="TOPLEFT" relativeTo="$parentHandsSlot" relativePoint="BOTTOMLEFT"> |
||
214 | <Offset> |
||
215 | <AbsDimension x="0" y="-4"/> |
||
216 | </Offset> |
||
217 | </Anchor> |
||
218 | </Anchors> |
||
219 | </Button> |
||
220 | <Button name="$parentLegsSlot" inherits="OutfitDisplayItemButtonTemplate"> |
||
221 | <Anchors> |
||
222 | <Anchor point="TOPLEFT" relativeTo="$parentWaistSlot" relativePoint="BOTTOMLEFT"> |
||
223 | <Offset> |
||
224 | <AbsDimension x="0" y="-4"/> |
||
225 | </Offset> |
||
226 | </Anchor> |
||
227 | </Anchors> |
||
228 | </Button> |
||
229 | <Button name="$parentFeetSlot" inherits="OutfitDisplayItemButtonTemplate"> |
||
230 | <Anchors> |
||
231 | <Anchor point="TOPLEFT" relativeTo="$parentLegsSlot" relativePoint="BOTTOMLEFT"> |
||
232 | <Offset> |
||
233 | <AbsDimension x="0" y="-4"/> |
||
234 | </Offset> |
||
235 | </Anchor> |
||
236 | </Anchors> |
||
237 | </Button> |
||
238 | <Button name="$parentFinger0Slot" inherits="OutfitDisplayItemButtonTemplate"> |
||
239 | <Anchors> |
||
240 | <Anchor point="TOPLEFT" relativeTo="$parentFeetSlot" relativePoint="BOTTOMLEFT"> |
||
241 | <Offset> |
||
242 | <AbsDimension x="0" y="-4"/> |
||
243 | </Offset> |
||
244 | </Anchor> |
||
245 | </Anchors> |
||
246 | </Button> |
||
247 | <Button name="$parentFinger1Slot" inherits="OutfitDisplayItemButtonTemplate"> |
||
248 | <Anchors> |
||
249 | <Anchor point="TOPLEFT" relativeTo="$parentFinger0Slot" relativePoint="BOTTOMLEFT"> |
||
250 | <Offset> |
||
251 | <AbsDimension x="0" y="-4"/> |
||
252 | </Offset> |
||
253 | </Anchor> |
||
254 | </Anchors> |
||
255 | </Button> |
||
256 | <Button name="$parentTrinket0Slot" inherits="OutfitDisplayItemButtonTemplate"> |
||
257 | <Anchors> |
||
258 | <Anchor point="TOPLEFT" relativeTo="$parentFinger1Slot" relativePoint="BOTTOMLEFT"> |
||
259 | <Offset> |
||
260 | <AbsDimension x="0" y="-4"/> |
||
261 | </Offset> |
||
262 | </Anchor> |
||
263 | </Anchors> |
||
264 | </Button> |
||
265 | <Button name="$parentTrinket1Slot" inherits="OutfitDisplayItemButtonTemplate"> |
||
266 | <Anchors> |
||
267 | <Anchor point="TOPLEFT" relativeTo="$parentTrinket0Slot" relativePoint="BOTTOMLEFT"> |
||
268 | <Offset> |
||
269 | <AbsDimension x="0" y="-4"/> |
||
270 | </Offset> |
||
271 | </Anchor> |
||
272 | </Anchors> |
||
273 | </Button> |
||
274 | <Button name="$parentMainHandSlot" inherits="OutfitDisplayItemButtonTemplate"> |
||
275 | <Anchors> |
||
276 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT"> |
||
277 | <Offset> |
||
278 | <AbsDimension x="122" y="127"/> |
||
279 | </Offset> |
||
280 | </Anchor> |
||
281 | </Anchors> |
||
282 | </Button> |
||
283 | <Button name="$parentSecondaryHandSlot" inherits="OutfitDisplayItemButtonTemplate"> |
||
284 | <Anchors> |
||
285 | <Anchor point="TOPLEFT" relativeTo="$parentMainHandSlot" relativePoint="TOPRIGHT"> |
||
286 | <Offset> |
||
287 | <AbsDimension x="5" y="0"/> |
||
288 | </Offset> |
||
289 | </Anchor> |
||
290 | </Anchors> |
||
291 | </Button> |
||
292 | <Button name="$parentRangedSlot" inherits="OutfitDisplayItemButtonTemplate"> |
||
293 | <Anchors> |
||
294 | <Anchor point="TOPLEFT" relativeTo="$parentSecondaryHandSlot" relativePoint="TOPRIGHT"> |
||
295 | <Offset> |
||
296 | <AbsDimension x="5" y="0"/> |
||
297 | </Offset> |
||
298 | </Anchor> |
||
299 | </Anchors> |
||
300 | </Button> |
||
301 | <CheckButton name="$parentHeadSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate"> |
||
302 | <Anchors> |
||
303 | <Anchor point="LEFT" relativeTo="$parentHeadSlot" |
||
304 | relativePoint="RIGHT" /> |
||
305 | </Anchors> |
||
306 | </CheckButton> |
||
307 | <CheckButton name="$parentShowHelm" inherits="OutfitDisplayFrameOverrideBoxTemplate" hidden="true"> |
||
308 | <Anchors> |
||
309 | <Anchor point="LEFT" relativeTo="$parentHeadSlot" |
||
310 | relativePoint="RIGHT" /> |
||
311 | </Anchors> |
||
312 | </CheckButton> |
||
313 | <CheckButton name="$parentNeckSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate"> |
||
314 | <Anchors> |
||
315 | <Anchor point="LEFT" relativeTo="$parentNeckSlot" |
||
316 | relativePoint="RIGHT" /> |
||
317 | </Anchors> |
||
318 | </CheckButton> |
||
319 | <CheckButton name="$parentShoulderSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate"> |
||
320 | <Anchors> |
||
321 | <Anchor point="LEFT" relativeTo="$parentShoulderSlot" |
||
322 | relativePoint="RIGHT" /> |
||
323 | </Anchors> |
||
324 | </CheckButton> |
||
325 | <CheckButton name="$parentBackSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate"> |
||
326 | <Anchors> |
||
327 | <Anchor point="LEFT" relativeTo="$parentBackSlot" |
||
328 | relativePoint="RIGHT" /> |
||
329 | </Anchors> |
||
330 | </CheckButton> |
||
331 | <CheckButton name="$parentShowCloak" inherits="OutfitDisplayFrameOverrideBoxTemplate" hidde="true"> |
||
332 | <Anchors> |
||
333 | <Anchor point="LEFT" relativeTo="$parentBackSlot" |
||
334 | relativePoint="RIGHT" /> |
||
335 | </Anchors> |
||
336 | </CheckButton> |
||
337 | <CheckButton name="$parentChestSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate"> |
||
338 | <Anchors> |
||
339 | <Anchor point="LEFT" relativeTo="$parentChestSlot" |
||
340 | relativePoint="RIGHT" /> |
||
341 | </Anchors> |
||
342 | </CheckButton> |
||
343 | <CheckButton name="$parentShirtSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate"> |
||
344 | <Anchors> |
||
345 | <Anchor point="LEFT" relativeTo="$parentShirtSlot" |
||
346 | relativePoint="RIGHT" /> |
||
347 | </Anchors> |
||
348 | </CheckButton> |
||
349 | <CheckButton name="$parentTabardSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate"> |
||
350 | <Anchors> |
||
351 | <Anchor point="LEFT" relativeTo="$parentTabardSlot" |
||
352 | relativePoint="RIGHT" /> |
||
353 | </Anchors> |
||
354 | </CheckButton> |
||
355 | <CheckButton name="$parentWristSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate"> |
||
356 | <Anchors> |
||
357 | <Anchor point="LEFT" relativeTo="$parentWristSlot" |
||
358 | relativePoint="RIGHT" /> |
||
359 | </Anchors> |
||
360 | </CheckButton> |
||
361 | <CheckButton name="$parentHandsSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate"> |
||
362 | <Anchors> |
||
363 | <Anchor point="RIGHT" relativeTo="$parentHandsSlot" |
||
364 | relativePoint="LEFT" /> |
||
365 | </Anchors> |
||
366 | </CheckButton> |
||
367 | <CheckButton name="$parentWaistSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate"> |
||
368 | <Anchors> |
||
369 | <Anchor point="RIGHT" relativeTo="$parentWaistSlot" |
||
370 | relativePoint="LEFT" /> |
||
371 | </Anchors> |
||
372 | </CheckButton> |
||
373 | <CheckButton name="$parentLegsSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate"> |
||
374 | <Anchors> |
||
375 | <Anchor point="RIGHT" relativeTo="$parentLegsSlot" |
||
376 | relativePoint="LEFT" /> |
||
377 | </Anchors> |
||
378 | </CheckButton> |
||
379 | <CheckButton name="$parentFeetSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate"> |
||
380 | <Anchors> |
||
381 | <Anchor point="RIGHT" relativeTo="$parentFeetSlot" |
||
382 | relativePoint="LEFT" /> |
||
383 | </Anchors> |
||
384 | </CheckButton> |
||
385 | <CheckButton name="$parentFinger0SlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate"> |
||
386 | <Anchors> |
||
387 | <Anchor point="RIGHT" relativeTo="$parentFinger0Slot" |
||
388 | relativePoint="LEFT" /> |
||
389 | </Anchors> |
||
390 | </CheckButton> |
||
391 | <CheckButton name="$parentFinger1SlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate"> |
||
392 | <Anchors> |
||
393 | <Anchor point="RIGHT" relativeTo="$parentFinger1Slot" |
||
394 | relativePoint="LEFT" /> |
||
395 | </Anchors> |
||
396 | </CheckButton> |
||
397 | <CheckButton name="$parentTrinket0SlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate"> |
||
398 | <Anchors> |
||
399 | <Anchor point="RIGHT" relativeTo="$parentTrinket0Slot" |
||
400 | relativePoint="LEFT" /> |
||
401 | </Anchors> |
||
402 | </CheckButton> |
||
403 | <CheckButton name="$parentTrinket1SlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate"> |
||
404 | <Anchors> |
||
405 | <Anchor point="RIGHT" relativeTo="$parentTrinket1Slot" |
||
406 | relativePoint="LEFT" /> |
||
407 | </Anchors> |
||
408 | </CheckButton> |
||
409 | <CheckButton name="$parentMainHandSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate"> |
||
410 | <Anchors> |
||
411 | <Anchor point="BOTTOM" relativeTo="$parentMainHandSlot" |
||
412 | relativePoint="TOP" /> |
||
413 | </Anchors> |
||
414 | </CheckButton> |
||
415 | <CheckButton name="$parentSecondaryHandSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate"> |
||
416 | <Anchors> |
||
417 | <Anchor point="BOTTOM" relativeTo="$parentSecondaryHandSlot" |
||
418 | relativePoint="TOP" /> |
||
419 | </Anchors> |
||
420 | </CheckButton> |
||
421 | <CheckButton name="$parentRangedSlotCheckBox" inherits="OutfitDisplayFrameCheckBoxTemplate"> |
||
422 | <Anchors> |
||
423 | <Anchor point="BOTTOM" relativeTo="$parentRangedSlot" |
||
424 | relativePoint="TOP" /> |
||
425 | </Anchors> |
||
426 | </CheckButton> |
||
427 | <DressUpModel name="$parentModel" scale="1.0"> |
||
428 | <Size> |
||
429 | <AbsDimension x="183" y="300"/> |
||
430 | </Size> |
||
431 | <Anchors> |
||
432 | <Anchor point="TOPLEFT"> |
||
433 | <Offset> |
||
434 | <AbsDimension x="90" y="-88"/> |
||
435 | </Offset> |
||
436 | </Anchor> |
||
437 | </Anchors> |
||
438 | <Scripts> |
||
439 | <OnLoad> |
||
440 | Model_OnLoad(); |
||
441 | this:RegisterEvent("DISPLAY_SIZE_CHANGED"); |
||
442 | this:RegisterEvent("UNIT_MODEL_CHANGED"); |
||
443 | this:RegisterEvent("PLAYER_ENTERING_WORLD"); |
||
444 | </OnLoad> |
||
445 | <OnEvent> |
||
446 | if ( event == "PLAYER_ENTERING_WORLD" ) then |
||
447 | this:SetUnit("player"); |
||
448 | return; |
||
449 | end |
||
450 | if ( this:IsVisible() ) then |
||
451 | OutfitDisplayFrame_UpdateModel(this); |
||
452 | end |
||
453 | </OnEvent> |
||
454 | <OnUpdate> |
||
455 | Model_OnUpdate(arg1, this); |
||
456 | </OnUpdate> |
||
457 | </Scripts> |
||
458 | <Frames> |
||
459 | <Button name="$parentRotateLeftButton"> |
||
460 | <Size> |
||
461 | <AbsDimension x="35" y="35"/> |
||
462 | </Size> |
||
463 | <Scripts> |
||
464 | <OnLoad> |
||
465 | this:RegisterForClicks("LeftButtonDown", "LeftButtonUp"); |
||
466 | local parent = this:GetParent():GetParent():GetName(); |
||
467 | this:ClearAllPoints(); |
||
468 | this:SetPoint("TOPLEFT", parent.."HeadSlotCheckBox", "TOPRIGHT", 12, 0); |
||
469 | </OnLoad> |
||
470 | <OnClick> |
||
471 | Model_RotateLeft(this:GetParent()); |
||
472 | </OnClick> |
||
473 | </Scripts> |
||
474 | <NormalTexture file="Interface\Buttons\UI-RotationLeft-Button-Up"/> |
||
475 | <PushedTexture file="Interface\Buttons\UI-RotationLeft-Button-Down"/> |
||
476 | <HighlightTexture file="Interface\Buttons\ButtonHilight-Round" alphaMode="ADD"/> |
||
477 | </Button> |
||
478 | <Button name="$parentRotateRightButton"> |
||
479 | <Size> |
||
480 | <AbsDimension x="35" y="35"/> |
||
481 | </Size> |
||
482 | <Anchors> |
||
483 | <Anchor point="TOPLEFT" relativeTo="$parentRotateLeftButton" relativePoint="TOPRIGHT"/> |
||
484 | </Anchors> |
||
485 | <Scripts> |
||
486 | <OnLoad> |
||
487 | this:RegisterForClicks("LeftButtonDown", "LeftButtonUp"); |
||
488 | </OnLoad> |
||
489 | <OnClick> |
||
490 | Model_RotateRight(this:GetParent()); |
||
491 | </OnClick> |
||
492 | </Scripts> |
||
493 | <NormalTexture file="Interface\Buttons\UI-RotationRight-Button-Up"/> |
||
494 | <PushedTexture file="Interface\Buttons\UI-RotationRight-Button-Down"/> |
||
495 | <HighlightTexture file="Interface\Buttons\ButtonHilight-Round" alphaMode="ADD"/> |
||
496 | </Button> |
||
497 | </Frames> |
||
498 | </DressUpModel> |
||
499 | <SimpleHTML name="$parentMessage"> |
||
500 | <Size> |
||
501 | <AbsDimension x="183" y="64"/> |
||
502 | </Size> |
||
503 | <Anchors> |
||
504 | <Anchor point="CENTER"/> |
||
505 | </Anchors> |
||
506 | <FontString name="$parentFontString" inherits="GameFontNormal"> |
||
507 | <Size> |
||
508 | <AbsDimension x="183" y="0"/> |
||
509 | </Size> |
||
510 | </FontString> |
||
511 | <Scripts> |
||
512 | <OnLoad> |
||
513 | this:SetFrameLevel(this:GetFrameLevel()+1); |
||
514 | </OnLoad> |
||
515 | </Scripts> |
||
516 | </SimpleHTML> |
||
517 | <Frame name="$parentMessageUpdateFrame" hidden="true"> |
||
518 | <Scripts> |
||
519 | <OnUpdate> |
||
520 | OutfitDisplayFrame_MessageUpdate(arg1); |
||
521 | </OnUpdate> |
||
522 | </Scripts> |
||
523 | </Frame> |
||
524 | </Frames> |
||
525 | <Scripts> |
||
526 | <OnLoad> |
||
527 | OutfitDisplayFrame_OnLoad(); |
||
528 | </OnLoad> |
||
529 | <OnEvent> |
||
530 | OutfitDisplayFrame_OnEvent(event, arg1); |
||
531 | </OnEvent> |
||
532 | <OnMouseWheel> |
||
533 | return; |
||
534 | </OnMouseWheel> |
||
535 | </Scripts> |
||
536 | </Frame> |
||
537 | |||
538 | </Ui> |