vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
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 <Script file="EzDismount.lua" />
3 <GameTooltip name="EzDTooltip" frameStrata="TOOLTIP" hidden="true" inherits="GameTooltipTemplate">
4 <Scripts>
5 <OnLoad>
6 this:SetOwner(UIParent, "ANCHOR_NONE");
7 </OnLoad>
8 </Scripts>
9 </GameTooltip>
10 <Frame name="EzDismount_core">
11  
12 <Scripts>
13  
14 <OnLoad>
15 this:RegisterEvent("AUCTION_HOUSE_SHOW");
16 this:RegisterEvent("TAXIMAP_OPENED");
17 this:RegisterEvent("VARIABLES_LOADED");
18 this:RegisterEvent("UI_ERROR_MESSAGE");
19 </OnLoad>
20  
21 <OnEvent>
22 if (event == "AUCTION_HOUSE_SHOW") then EzDismount_chkerror("AUCTION"); end
23 if (event == "VARIABLES_LOADED") then EzDismount_onload(); end
24 if (event == "TAXIMAP_OPENED") then EzDismount_chkerror("TAXI"); end
25 if (event == "UI_ERROR_MESSAGE") then EzDismount_chkerror(arg1); end
26 </OnEvent>
27  
28 </Scripts>
29  
30 </Frame>
31  
32 <Frame name="EzDismount_Menu" toplevel="true" frameStrata="MEDIUM" movable="true" enableMouse="true" hidden="true" parent="UIParent">
33 <Size>
34 <AbsDimension x="435" y="435"/>
35 </Size>
36 <Anchors>
37 <Anchor point="CENTER"/>
38 </Anchors>
39 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
40 <BackgroundInsets>
41 <AbsInset left="11" right="12" top="12" bottom="11"/>
42 <Size>
43 <AbsDimension x="128" y="17"/>
44 </Size>
45 </BackgroundInsets>
46 <TileSize>
47 <AbsValue val="32"/>
48 </TileSize>
49 <EdgeSize>
50 <AbsValue val="32"/>
51 </EdgeSize>
52 </Backdrop>
53  
54 <Layers>
55 <Layer level="ARTWORK">
56 <Texture name="EzDismountFrameTitle" file="Interface\DialogFrame\UI-DialogBox-Header">
57 <Size>
58 <AbsDimension x="375" y="64"/>
59 </Size>
60 <Anchors>
61 <Anchor point="TOP">
62 <Offset>
63 <AbsDimension x="0" y="12"/>
64 </Offset>
65 </Anchor>
66 </Anchors>
67 </Texture>
68 <FontString inherits="GameFontNormal" text="EzDismount_fullver">
69 <Anchors>
70 <Anchor point="TOP" relativeTo="EzDismount_Menu">
71 <Offset>
72 <AbsDimension x="0" y="-3"/>
73 </Offset>
74 </Anchor>
75 </Anchors>
76 </FontString>
77  
78  
79 <!-- Sit or stand Lines -->
80  
81 <FontString name="EzDismount_Text_Status" inherits="GameFontNormal" text="">
82 <Anchors>
83 <Anchor point="TOPLEFT" relativeTo="EzDismount_Menu">
84 <Offset>
85 <AbsDimension x="115" y="-49"/>
86 </Offset>
87 </Anchor>
88 </Anchors>
89 </FontString>
90  
91 <FontString name="EzDismount_Text_Status_VOFF" inherits="GameFontNormal" text="">
92 <Anchors>
93 <Anchor point="TOPLEFT" relativeTo="EzDismount_Menu">
94 <Offset>
95 <AbsDimension x="340" y="-49"/>
96 </Offset>
97 </Anchor>
98 </Anchors>
99 </FontString>
100  
101 <FontString name="EzDismount_Text_Status_VON" inherits="GameFontNormal" text="">
102 <Anchors>
103 <Anchor point="TOPLEFT" relativeTo="EzDismount_Menu">
104 <Offset>
105 <AbsDimension x="375" y="-49"/>
106 </Offset>
107 </Anchor>
108 </Anchors>
109 </FontString>
110  
111 <FontString name="EzDismount_Text_Stand" inherits="GameFontNormal" text="">
112 <Anchors>
113 <Anchor point="TOPLEFT" relativeTo="EzDismount_Menu">
114 <Offset>
115 <AbsDimension x="115" y="-79"/>
116 </Offset>
117 </Anchor>
118 </Anchors>
119 </FontString>
120  
121 <FontString name="EzDismount_Text_Stand_VOFF" inherits="GameFontNormal" text="">
122 <Anchors>
123 <Anchor point="TOPLEFT" relativeTo="EzDismount_Menu">
124 <Offset>
125 <AbsDimension x="340" y="-79"/>
126 </Offset>
127 </Anchor>
128 </Anchors>
129 </FontString>
130  
131 <FontString name="EzDismount_Text_Stand_VON" inherits="GameFontNormal" text="">
132 <Anchors>
133 <Anchor point="TOPLEFT" relativeTo="EzDismount_Menu">
134 <Offset>
135 <AbsDimension x="375" y="-79"/>
136 </Offset>
137 </Anchor>
138 </Anchors>
139 </FontString>
140  
141 <FontString name="EzDismount_Text_Auction" inherits="GameFontNormal" text="">
142 <Anchors>
143 <Anchor point="TOPLEFT" relativeTo="EzDismount_Menu">
144 <Offset>
145 <AbsDimension x="115" y="-109"/>
146 </Offset>
147 </Anchor>
148 </Anchors>
149 </FontString>
150  
151 <FontString name="EzDismount_Text_Auction_VOFF" inherits="GameFontNormal" text="">
152 <Anchors>
153 <Anchor point="TOPLEFT" relativeTo="EzDismount_Menu">
154 <Offset>
155 <AbsDimension x="340" y="-109"/>
156 </Offset>
157 </Anchor>
158 </Anchors>
159 </FontString>
160  
161 <FontString name="EzDismount_Text_Auction_VON" inherits="GameFontNormal" text="">
162 <Anchors>
163 <Anchor point="TOPLEFT" relativeTo="EzDismount_Menu">
164 <Offset>
165 <AbsDimension x="375" y="-109"/>
166 </Offset>
167 </Anchor>
168 </Anchors>
169 </FontString>
170  
171 <!-- Shaman -->
172  
173 <FontString name="EZDismount_ShamanTitle" inherits="GameFontNormal" text=" - Shaman Only -">
174 <Anchors>
175 <Anchor point="TOPLEFT" relativeTo="EzDismount_Menu">
176 <Offset>
177 <AbsDimension x="145" y="-150"/>
178 </Offset>
179 </Anchor>
180 </Anchors>
181 </FontString>
182 <FontString name="EzDismount_Text_Shaman" inherits="GameFontNormal" text="">
183 <Anchors>
184 <Anchor point="TOPLEFT" relativeTo="EzDismount_Menu">
185 <Offset>
186 <AbsDimension x="115" y="-169"/>
187 </Offset>
188 </Anchor>
189 </Anchors>
190 </FontString>
191  
192 <FontString name="EzDismount_Text_Shaman_VOFF" inherits="GameFontNormal" text="">
193 <Anchors>
194 <Anchor point="TOPLEFT" relativeTo="EzDismount_Menu">
195 <Offset>
196 <AbsDimension x="340" y="-169"/>
197 </Offset>
198 </Anchor>
199 </Anchors>
200 </FontString>
201  
202 <FontString name="EzDismount_Text_Shaman_VON" inherits="GameFontNormal" text="">
203 <Anchors>
204 <Anchor point="TOPLEFT" relativeTo="EzDismount_Menu">
205 <Offset>
206 <AbsDimension x="375" y="-169"/>
207 </Offset>
208 </Anchor>
209 </Anchors>
210 </FontString>
211  
212 <!-- Druids -->
213  
214 <FontString name="EZDismount_DruidTitle" inherits="GameFontNormal" text=" - Druid Only -">
215 <Anchors>
216 <Anchor point="TOPLEFT" relativeTo="EzDismount_Menu">
217 <Offset>
218 <AbsDimension x="156" y="-210"/>
219 </Offset>
220 </Anchor>
221 </Anchors>
222 </FontString>
223  
224 <FontString name="EzDismount_Text_Druid" inherits="GameFontNormal" text="">
225 <Anchors>
226 <Anchor point="TOPLEFT" relativeTo="EzDismount_Menu">
227 <Offset>
228 <AbsDimension x="115" y="-229"/>
229 </Offset>
230 </Anchor>
231 </Anchors>
232 </FontString>
233  
234 <FontString name="EzDismount_Text_Druid_VOFF" inherits="GameFontNormal" text="">
235 <Anchors>
236 <Anchor point="TOPLEFT" relativeTo="EzDismount_Menu">
237 <Offset>
238 <AbsDimension x="340" y="-229"/>
239 </Offset>
240 </Anchor>
241 </Anchors>
242 </FontString>
243  
244 <FontString name="EzDismount_Text_Druid_VON" inherits="GameFontNormal" text="">
245 <Anchors>
246 <Anchor point="TOPLEFT" relativeTo="EzDismount_Menu">
247 <Offset>
248 <AbsDimension x="375" y="-229"/>
249 </Offset>
250 </Anchor>
251 </Anchors>
252 </FontString>
253  
254  
255 <FontString name="EzDismount_Text_Moonkin" inherits="GameFontNormal" text="">
256 <Anchors>
257 <Anchor point="TOPLEFT" relativeTo="EzDismount_Menu">
258 <Offset>
259 <AbsDimension x="115" y="-259"/>
260 </Offset>
261 </Anchor>
262 </Anchors>
263 </FontString>
264  
265 <FontString name="EzDismount_Text_Moonkin_VOFF" inherits="GameFontNormal" text="">
266 <Anchors>
267 <Anchor point="TOPLEFT" relativeTo="EzDismount_Menu">
268 <Offset>
269 <AbsDimension x="340" y="-259"/>
270 </Offset>
271 </Anchor>
272 </Anchors>
273 </FontString>
274 <FontString name="EzDismount_Text_Moonkin_VON" inherits="GameFontNormal" text="">
275 <Anchors>
276 <Anchor point="TOPLEFT" relativeTo="EzDismount_Menu">
277 <Offset>
278 <AbsDimension x="375" y="-259"/>
279 </Offset>
280 </Anchor>
281 </Anchors>
282 </FontString>
283  
284 <!-- Priest -->
285  
286 <FontString name="EZDismount_PriestTitle" inherits="GameFontNormal" text=" - Priest Only -">
287 <Anchors>
288 <Anchor point="TOPLEFT" relativeTo="EzDismount_Menu">
289 <Offset>
290 <AbsDimension x="156" y="-300"/>
291 </Offset>
292 </Anchor>
293 </Anchors>
294 </FontString>
295  
296 <FontString name="EzDismount_Text_Shadowform" inherits="GameFontNormal" text="">
297 <Anchors>
298 <Anchor point="TOPLEFT" relativeTo="EzDismount_Menu">
299 <Offset>
300 <AbsDimension x="115" y="-320"/>
301 </Offset>
302 </Anchor>
303 </Anchors>
304 </FontString>
305  
306 <FontString name="EzDismount_Text_Shadowform_VOFF" inherits="GameFontNormal" text="">
307 <Anchors>
308 <Anchor point="TOPLEFT" relativeTo="EzDismount_Menu">
309 <Offset>
310 <AbsDimension x="340" y="-320"/>
311 </Offset>
312 </Anchor>
313 </Anchors>
314 </FontString>
315 <FontString name="EzDismount_Text_Shadowform_VON" inherits="GameFontNormal" text="">
316 <Anchors>
317 <Anchor point="TOPLEFT" relativeTo="EzDismount_Menu">
318 <Offset>
319 <AbsDimension x="375" y="-320"/>
320 </Offset>
321 </Anchor>
322 </Anchors>
323 </FontString>
324  
325  
326 <!-- Close button -->
327  
328  
329 <FontString name="EZDismount_DetPlayer" inherits="GameFontNormalSmall" text="">
330 <Anchors>
331 <Anchor point="BOTTOM" relitiveTo="EzDismount_Menu">
332 <Offset>
333 <AbsDimension x="0" y="13" />
334 </Offset>
335 </Anchor>
336 </Anchors>
337 </FontString>
338  
339 </Layer>
340 </Layers>
341  
342  
343 <Frames>
344  
345  
346  
347 <Button name="EzDismount_Close" inherits="GameMenuButtonTemplate" text="CLOSE">
348 <Anchors>
349 <Anchor point="CENTER" relativePoint="BOTTOM" relitiveTo="EzDismount_Menu">
350 <Offset>
351 <AbsDimension x="0" y="40" />
352 </Offset>
353 </Anchor>
354 </Anchors>
355 <Scripts>
356 <OnClick>
357 EzDismount_Menu:Hide();
358 </OnClick>
359 </Scripts>
360 </Button>
361  
362 <!-- Add Buttons Here -->
363  
364 <Button name="EzDismount_Button1" inherits="OptionsButtonTemplate" text="Toggle">
365 <Anchors>
366 <Anchor point="TOPLEFT">
367 <Offset>
368 <AbsDimension x="20" y="-46"/>
369 </Offset>
370 </Anchor>
371 </Anchors>
372 <Scripts>
373 <OnClick>
374 EzDismount_ChgValue("on/off");
375 </OnClick>
376 </Scripts>
377 </Button>
378  
379  
380 <Button name="EzDismount_Button1b" inherits="OptionsButtonTemplate" text="Toggle">
381 <Anchors>
382 <Anchor point="TOPLEFT">
383 <Offset>
384 <AbsDimension x="20" y="-76"/>
385 </Offset>
386 </Anchor>
387 </Anchors>
388 <Scripts>
389 <OnClick>
390 EzDismount_ChgValue("stand");
391 </OnClick>
392 </Scripts>
393 </Button>
394  
395 <Button name="EzDismount_Button1c" inherits="OptionsButtonTemplate" text="Toggle">
396 <Anchors>
397 <Anchor point="TOPLEFT">
398 <Offset>
399 <AbsDimension x="20" y="-106"/>
400 </Offset>
401 </Anchor>
402 </Anchors>
403 <Scripts>
404 <OnClick>
405 EzDismount_ChgValue("auction");
406 </OnClick>
407 </Scripts>
408 </Button>
409  
410 <Button name="EzDismount_Button2" inherits="OptionsButtonTemplate" text="Toggle">
411 <Anchors>
412 <Anchor point="TOPLEFT">
413 <Offset>
414 <AbsDimension x="20" y="-166"/>
415 </Offset>
416 </Anchor>
417 </Anchors>
418 <Scripts>
419 <OnClick>
420 EzDismount_ChgValue("wolf");
421 </OnClick>
422 </Scripts>
423 </Button>
424  
425 <Button name="EzDismount_Button3" inherits="OptionsButtonTemplate" text="Toggle">
426 <Anchors>
427 <Anchor point="TOPLEFT">
428 <Offset>
429 <AbsDimension x="20" y="-226"/>
430 </Offset>
431 </Anchor>
432 </Anchors>
433 <Scripts>
434 <OnClick>
435 EzDismount_ChgValue("druid");
436 </OnClick>
437 </Scripts>
438 </Button>
439  
440 <Button name="EzDismount_Button4" inherits="OptionsButtonTemplate" text="Toggle">
441 <Anchors>
442 <Anchor point="TOPLEFT">
443 <Offset>
444 <AbsDimension x="20" y="-256"/>
445 </Offset>
446 </Anchor>
447 </Anchors>
448 <Scripts>
449 <OnClick>
450 EzDismount_ChgValue("moonkin");
451 </OnClick>
452 </Scripts>
453 </Button>
454  
455 <Button name="EzDismount_Button5" inherits="OptionsButtonTemplate" text="Toggle">
456 <Anchors>
457 <Anchor point="TOPLEFT">
458 <Offset>
459 <AbsDimension x="20" y="-317"/>
460 </Offset>
461 </Anchor>
462 </Anchors>
463 <Scripts>
464 <OnClick>
465 EzDismount_ChgValue("shadowform");
466 </OnClick>
467 </Scripts>
468 </Button>
469  
470 </Frames>
471  
472 <Scripts>
473 <OnShow>
474 EzDismount_Refresh();
475 </OnShow>
476 <OnMouseDown>
477 this:StartMoving();
478 </OnMouseDown>
479 <OnMouseUp>
480 this:StopMovingOrSizing();
481 </OnMouseUp>
482 </Scripts>
483 </Frame>
484  
485 </Ui>