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 | |||
3 | <Script file="DUF_Element.lua"/> |
||
4 | |||
5 | <Button name="DUF_ElementTemplate" hdiden="true" frameStrata="LOW" movable="true" virtual="true"> |
||
6 | <Size><AbsDimension x="10" y="10"/></Size> |
||
7 | <Anchors> |
||
8 | <Anchor point="CENTER"/> |
||
9 | </Anchors> |
||
10 | <Frames> |
||
11 | <Frame name="$parent_Background" hidden="true"> |
||
12 | <Size><AbsDimension x="50" y="50"/></Size> |
||
13 | <Anchors> |
||
14 | <Anchor point="CENTER"/> |
||
15 | </Anchors> |
||
16 | </Frame> |
||
17 | </Frames> |
||
18 | <Scripts> |
||
19 | <OnLoad> |
||
20 | DUF_Element_OnLoad(); |
||
21 | </OnLoad> |
||
22 | <OnUpdate> |
||
23 | DUF_Element_OnUpdate(arg1); |
||
24 | </OnUpdate> |
||
25 | <OnDragStart> |
||
26 | DUF_Element_OnDragStart(); |
||
27 | </OnDragStart> |
||
28 | <OnDragStop> |
||
29 | DUF_Element_OnDragStop(); |
||
30 | </OnDragStop> |
||
31 | <OnClick> |
||
32 | DUF_Element_OnClick(arg1); |
||
33 | </OnClick> |
||
34 | <OnEnter> |
||
35 | DUF_Element_OnEnter(); |
||
36 | </OnEnter> |
||
37 | <OnLeave> |
||
38 | DUF_Element_OnLeave(); |
||
39 | </OnLeave> |
||
40 | <OnShow> |
||
41 | DUF_Element_OnShow(); |
||
42 | </OnShow> |
||
43 | <OnHide> |
||
44 | DUF_Element_OnHide(); |
||
45 | </OnHide> |
||
46 | </Scripts> |
||
47 | </Button> |
||
48 | |||
49 | <Button name="DUF_TextBoxTemplate" inherits="DUF_ElementTemplate" virtual="true"> |
||
50 | <Size><AbsDimension x="75" y="15"/></Size> |
||
51 | <Layers> |
||
52 | <Layer level="OVERLAY"> |
||
53 | <FontString name="$parent_Text" inherits="DUF_TextBoxFont1"> |
||
54 | <Anchors> |
||
55 | <Anchor point="TOPLEFT"/> |
||
56 | <Anchor point="BOTTOMRIGHT"/> |
||
57 | </Anchors> |
||
58 | </FontString> |
||
59 | </Layer> |
||
60 | </Layers> |
||
61 | <Scripts> |
||
62 | <OnEvent> |
||
63 | DUF_TextBox_OnEvent(event, arg1, arg2, arg3, arg4, arg5); |
||
64 | </OnEvent> |
||
65 | <OnUpdate> |
||
66 | DUF_Element_OnUpdate(arg1); |
||
67 | DUF_TextBox_OnUpdate(arg1); |
||
68 | </OnUpdate> |
||
69 | </Scripts> |
||
70 | </Button> |
||
71 | |||
72 | <Button name="DUF_StatusBarTemplate" inherits="DUF_ElementTemplate" frameStrata="BACKGROUND" virtual="true"> |
||
73 | <Size><AbsDimension x="120" y="14"/></Size> |
||
74 | <Layers> |
||
75 | <Layer level="BORDER"> |
||
76 | <Texture name="$parent_Bar2" file="Interface\AddOns\DiscordLibrary\PlainBackdrop"> |
||
77 | <Size><AbsDimension x="120" y="14"/></Size> |
||
78 | <Anchors> |
||
79 | <Anchor point="LEFT"/> |
||
80 | </Anchors> |
||
81 | </Texture> |
||
82 | </Layer> |
||
83 | <Layer level="ARTWORK"> |
||
84 | <Texture name="$parent_Bar" file="Interface\TargetingFrame\UI-StatusBar"> |
||
85 | <Size><AbsDimension x="120" y="14"/></Size> |
||
86 | <Anchors> |
||
87 | <Anchor point="LEFT"/> |
||
88 | </Anchors> |
||
89 | </Texture> |
||
90 | </Layer> |
||
91 | </Layers> |
||
92 | </Button> |
||
93 | |||
94 | <Button name="DUF_IconTemplate" inherits="DUF_ElementTemplate" virtual="true"> |
||
95 | <Size><AbsDimension x="20" y="20"/></Size> |
||
96 | <Frames> |
||
97 | <Frame name="$parent_Circle" frameStrata="BACKGROUND" hidden="true"> |
||
98 | <Size><AbsDimension x="20" y="20"/></Size> |
||
99 | <Anchors> |
||
100 | <Anchor point="TOPLEFT"> |
||
101 | <Offset><AbsDimension x="-7" y="7"/></Offset> |
||
102 | </Anchor> |
||
103 | <Anchor point="BOTTOMRIGHT"> |
||
104 | <Offset><AbsDimension x="7" y="-7"/></Offset> |
||
105 | </Anchor> |
||
106 | </Anchors> |
||
107 | <Layers> |
||
108 | <Layer level="ARTWORK"> |
||
109 | <Texture name="$parent_Background" file="Interface\AddOns\DiscordUnitFrames\Icons\Circle.tga"> |
||
110 | <Size><AbsDimension x="20" y="20" /></Size> |
||
111 | <Anchors> |
||
112 | <Anchor point="TOPLEFT"> |
||
113 | <Offset><AbsDimension x="5" y="-5"/></Offset> |
||
114 | </Anchor> |
||
115 | <Anchor point="BOTTOMRIGHT"> |
||
116 | <Offset><AbsDimension x="-5" y="5"/></Offset> |
||
117 | </Anchor> |
||
118 | </Anchors> |
||
119 | </Texture> |
||
120 | </Layer> |
||
121 | <Layer level="OVERLAY"> |
||
122 | <Texture name="$parent_Border" file="Interface\Minimap\MiniMap-TrackingBorder"> |
||
123 | <Size><AbsDimension x="20" y="20" /></Size> |
||
124 | <Anchors> |
||
125 | <Anchor point="TOPLEFT"/> |
||
126 | <Anchor point="BOTTOMRIGHT"/> |
||
127 | </Anchors> |
||
128 | <TexCoords left="0.0141" right="0.585" top="0" bottom="0.574"/> |
||
129 | </Texture> |
||
130 | </Layer> |
||
131 | </Layers> |
||
132 | </Frame> |
||
133 | </Frames> |
||
134 | <Layers> |
||
135 | <Layer level="OVERLAY"> |
||
136 | <Texture name="$parent_Texture"> |
||
137 | <Size><AbsDimension x="20" y="20" /></Size> |
||
138 | <Anchors> |
||
139 | <Anchor point="TOPLEFT"/> |
||
140 | <Anchor point="BOTTOMRIGHT"/> |
||
141 | </Anchors> |
||
142 | </Texture> |
||
143 | </Layer> |
||
144 | </Layers> |
||
145 | </Button> |
||
146 | |||
147 | <Button name="DUF_BuffButtonTemplate" virtual="true"> |
||
148 | <Size><AbsDimension x="15" y="15"/></Size> |
||
149 | <Layers> |
||
150 | <Layer level="ARTWORK"> |
||
151 | <Texture name="$parent_Texture"> |
||
152 | <Size><AbsDimension x="15" y="15" /></Size> |
||
153 | <Anchors> |
||
154 | <Anchor point="CENTER"/> |
||
155 | </Anchors> |
||
156 | </Texture> |
||
157 | </Layer> |
||
158 | <Layer level="OVERLAY"> |
||
159 | <FontString name="$parent_Text" inherits="DUF_TextBoxFont1" justifyH="CENTER" justifyV="CENTER"> |
||
160 | <Anchors> |
||
161 | <Anchor point="TOP" relativePoint="BOTTOM"> |
||
162 | <Offset><AbsDimension x="0" y="-5"/></Offset> |
||
163 | </Anchor> |
||
164 | </Anchors> |
||
165 | <FontHeight> |
||
166 | <AbsValue val="6"/> |
||
167 | </FontHeight> |
||
168 | </FontString> |
||
169 | <FontString name="$parent_Stack" inherits="NumberFontNormal" justifyH="RIGHT" justifyV="BOTTOM"> |
||
170 | <Anchors> |
||
171 | <Anchor point="BOTTOMRIGHT"/> |
||
172 | </Anchors> |
||
173 | </FontString> |
||
174 | </Layer> |
||
175 | </Layers> |
||
176 | <Scripts> |
||
177 | <OnLoad> |
||
178 | this.index = "Buff"; |
||
179 | this.moveparent = true; |
||
180 | this:RegisterForDrag("LeftButton", "RightButton"); |
||
181 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
182 | </OnLoad> |
||
183 | <OnUpdate> |
||
184 | DUF_Aura_OnUpdate(arg1, "HELPFUL"); |
||
185 | </OnUpdate> |
||
186 | <OnEnter> |
||
187 | DUF_Buff_OnEnter(); |
||
188 | </OnEnter> |
||
189 | <OnLeave> |
||
190 | DUF_Buff_OnLeave(); |
||
191 | </OnLeave> |
||
192 | <OnDragStart> |
||
193 | DUF_Element_OnDragStart(); |
||
194 | </OnDragStart> |
||
195 | <OnDragStop> |
||
196 | DUF_Element_OnDragStop(); |
||
197 | </OnDragStop> |
||
198 | <OnClick> |
||
199 | DUF_Buff_OnClick(arg1); |
||
200 | </OnClick> |
||
201 | </Scripts> |
||
202 | </Button> |
||
203 | |||
204 | <Button name="DUF_DebuffButtonTemplate" inherits="DUF_BuffButtonTemplate" virtual="true"> |
||
205 | <Layers> |
||
206 | <Layer level="OVERLAY"> |
||
207 | <Texture name="$parentBorder" file="Interface\Buttons\UI-Debuff-Overlays"> |
||
208 | <Anchors> |
||
209 | <Anchor point="TOPLEFT"> |
||
210 | <Offset><AbsDimension x="-2" y="1"/></Offset> |
||
211 | </Anchor> |
||
212 | <Anchor point="BOTTOMRIGHT"/> |
||
213 | </Anchors> |
||
214 | <TexCoords left="0.296875" right="0.5703125" top="0" bottom="0.515625"/> |
||
215 | </Texture> |
||
216 | </Layer> |
||
217 | </Layers> |
||
218 | <Scripts> |
||
219 | <OnLoad> |
||
220 | this.index = "Debuff"; |
||
221 | this.moveparent = true; |
||
222 | this:RegisterForDrag("LeftButton", "RightButton"); |
||
223 | this:RegisterForClicks("LeftButtonUp", "RightButtonUp"); |
||
224 | </OnLoad> |
||
225 | <OnEvent> |
||
226 | </OnEvent> |
||
227 | <OnEnter> |
||
228 | DUF_Debuff_OnEnter(); |
||
229 | </OnEnter> |
||
230 | <OnLeave> |
||
231 | DUF_Debuff_OnLeave(); |
||
232 | </OnLeave> |
||
233 | <OnClick> |
||
234 | DUF_Debuff_OnClick(arg1); |
||
235 | </OnClick> |
||
236 | <OnUpdate> |
||
237 | DUF_Aura_OnUpdate(arg1, "HARMFUL"); |
||
238 | </OnUpdate> |
||
239 | </Scripts> |
||
240 | </Button> |
||
241 | |||
242 | <Button name="DUF_PortraitTemplate" inherits="DUF_ElementTemplate" virtual="true"> |
||
243 | <Size><AbsDimension x="32" y="32"/></Size> |
||
244 | <Layers> |
||
245 | <Layer level="BACKGROUND"> |
||
246 | <Texture name="$parent_Texture"> |
||
247 | <Anchors> |
||
248 | <Anchor point="TOPLEFT"/> |
||
249 | <Anchor point="BOTTOMRIGHT"/> |
||
250 | </Anchors> |
||
251 | </Texture> |
||
252 | </Layer> |
||
253 | </Layers> |
||
254 | </Button> |
||
255 | |||
256 | <Frame name="DUF_ComboPointTemplate" virtual="true"> |
||
257 | <Size><AbsDimension x="12" y="12"/></Size> |
||
258 | <Layers> |
||
259 | <Layer level="ARTWORK"> |
||
260 | <Texture name="$parent_Texture" file="Interface\ComboFrame\ComboPoint"> |
||
261 | <Size><AbsDimension x="12" y="16"/></Size> |
||
262 | <Anchors> |
||
263 | <Anchor point="TOPLEFT"/> |
||
264 | <Anchor point="BOTTOMRIGHT"/> |
||
265 | </Anchors> |
||
266 | <TexCoords left="0" right="0.375" top="0" bottom=".8"/> |
||
267 | </Texture> |
||
268 | </Layer> |
||
269 | </Layers> |
||
270 | </Frame> |
||
271 | |||
272 | <Frame name="DUF_UnitPopupTemplate" inherits="UIDropDownMenuTemplate" id="1" hidden="true" virtual="true"> |
||
273 | <Size><AbsDimension x="10" y="10"/></Size> |
||
274 | <Anchors> |
||
275 | <Anchor point="CENTER"/> |
||
276 | </Anchors> |
||
277 | <Scripts> |
||
278 | <OnLoad> |
||
279 | DUF_UnitPopup_OnLoad(); |
||
280 | </OnLoad> |
||
281 | </Scripts> |
||
282 | </Frame> |
||
283 | |||
284 | <Button name="DUF_UnitFrameTemplate" frameStrata="BACKGROUND" movable="true" hidden="true" virtual="true" parent="UIParent"> |
||
285 | <Size><AbsDimension x="134" y="89"/></Size> |
||
286 | <Anchors> |
||
287 | <Anchor point="CENTER"/> |
||
288 | </Anchors> |
||
289 | <Frames> |
||
290 | |||
291 | <!-- BACKGROUNDS --> |
||
292 | <Frame name="$parent_Background" inherits="DiscordLib_PlainBackgroundTemplate" frameStrata="BACKGROUND"> |
||
293 | <Size><AbsDimension x="50" y="50"/></Size> |
||
294 | <Anchors> |
||
295 | <Anchor point="CENTER"/> |
||
296 | </Anchors> |
||
297 | </Frame> |
||
298 | |||
299 | <!-- PORTRAIT --> |
||
300 | <Button name="$parent_Portrait" inherits="DUF_PortraitTemplate"> |
||
301 | <Layers> |
||
302 | <Layer level="BORDER"> |
||
303 | <Texture name="$parent_Border" file="Interface\AddOns\DiscordUnitFrames\Icons\PortraitBorder"> |
||
304 | <Anchors> |
||
305 | <Anchor point="TOPLEFT"> |
||
306 | <Offset><AbsDimension x="-2" y="2"/></Offset> |
||
307 | </Anchor> |
||
308 | <Anchor point="BOTTOMRIGHT"> |
||
309 | <Offset><AbsDimension x="2" y="-2"/></Offset> |
||
310 | </Anchor> |
||
311 | </Anchors> |
||
312 | </Texture> |
||
313 | </Layer> |
||
314 | </Layers> |
||
315 | </Button> |
||
316 | |||
317 | <!-- CLASS ICON --> |
||
318 | <Button name="$parent_ClassIcon" inherits="DUF_PortraitTemplate"/> |
||
319 | |||
320 | <!-- RACE ICON --> |
||
321 | <Button name="$parent_RaceIcon" inherits="DUF_PortraitTemplate"/> |
||
322 | |||
323 | <!-- RANK ICON --> |
||
324 | <Button name="$parent_RankIcon" inherits="DUF_PortraitTemplate"/> |
||
325 | |||
326 | <!-- HEALTH BAR --> |
||
327 | <Button name="$parent_HealthBar" inherits="DUF_StatusBarTemplate" id="1"/> |
||
328 | |||
329 | <!-- MANA BAR --> |
||
330 | <Button name="$parent_ManaBar" inherits="DUF_StatusBarTemplate" id="2"/> |
||
331 | |||
332 | <!-- TARGET HEALTH BAR --> |
||
333 | <Button name="$parent_TargetHealthBar" inherits="DUF_StatusBarTemplate" id="4"/> |
||
334 | |||
335 | <!-- TARGET MANA BAR --> |
||
336 | <Button name="$parent_TargetManaBar" inherits="DUF_StatusBarTemplate" id="5"/> |
||
337 | |||
338 | <!-- BUFF FRAME --> |
||
339 | <Button name="$parent_Buffs" inherits="DUF_ElementTemplate"> |
||
340 | <Frames> |
||
341 | <Button name="$parent_1" inherits="DUF_BuffButtonTemplate" id="1"/> |
||
342 | <Button name="$parent_2" inherits="DUF_BuffButtonTemplate" id="2"/> |
||
343 | <Button name="$parent_3" inherits="DUF_BuffButtonTemplate" id="3"/> |
||
344 | <Button name="$parent_4" inherits="DUF_BuffButtonTemplate" id="4"/> |
||
345 | <Button name="$parent_5" inherits="DUF_BuffButtonTemplate" id="5"/> |
||
346 | <Button name="$parent_6" inherits="DUF_BuffButtonTemplate" id="6"/> |
||
347 | <Button name="$parent_7" inherits="DUF_BuffButtonTemplate" id="7"/> |
||
348 | <Button name="$parent_8" inherits="DUF_BuffButtonTemplate" id="8"/> |
||
349 | <Button name="$parent_9" inherits="DUF_BuffButtonTemplate" id="9"/> |
||
350 | <Button name="$parent_10" inherits="DUF_BuffButtonTemplate" id="10"/> |
||
351 | <Button name="$parent_11" inherits="DUF_BuffButtonTemplate" id="11"/> |
||
352 | <Button name="$parent_12" inherits="DUF_BuffButtonTemplate" id="12"/> |
||
353 | <Button name="$parent_13" inherits="DUF_BuffButtonTemplate" id="13"/> |
||
354 | <Button name="$parent_14" inherits="DUF_BuffButtonTemplate" id="14"/> |
||
355 | <Button name="$parent_15" inherits="DUF_BuffButtonTemplate" id="15"/> |
||
356 | <Button name="$parent_16" inherits="DUF_BuffButtonTemplate" id="16"/> |
||
357 | </Frames> |
||
358 | </Button> |
||
359 | |||
360 | <!-- DEBUFF FRAME --> |
||
361 | <Button name="$parent_Debuffs" inherits="DUF_ElementTemplate"> |
||
362 | <Frames> |
||
363 | <Button name="$parent_1" inherits="DUF_DebuffButtonTemplate" id="1"/> |
||
364 | <Button name="$parent_2" inherits="DUF_DebuffButtonTemplate" id="2"/> |
||
365 | <Button name="$parent_3" inherits="DUF_DebuffButtonTemplate" id="3"/> |
||
366 | <Button name="$parent_4" inherits="DUF_DebuffButtonTemplate" id="4"/> |
||
367 | <Button name="$parent_5" inherits="DUF_DebuffButtonTemplate" id="5"/> |
||
368 | <Button name="$parent_6" inherits="DUF_DebuffButtonTemplate" id="6"/> |
||
369 | <Button name="$parent_7" inherits="DUF_DebuffButtonTemplate" id="7"/> |
||
370 | <Button name="$parent_8" inherits="DUF_DebuffButtonTemplate" id="8"/> |
||
371 | <Button name="$parent_9" inherits="DUF_DebuffButtonTemplate" id="9"/> |
||
372 | <Button name="$parent_10" inherits="DUF_DebuffButtonTemplate" id="10"/> |
||
373 | <Button name="$parent_11" inherits="DUF_DebuffButtonTemplate" id="11"/> |
||
374 | <Button name="$parent_12" inherits="DUF_DebuffButtonTemplate" id="12"/> |
||
375 | <Button name="$parent_13" inherits="DUF_DebuffButtonTemplate" id="13"/> |
||
376 | <Button name="$parent_14" inherits="DUF_DebuffButtonTemplate" id="14"/> |
||
377 | <Button name="$parent_15" inherits="DUF_DebuffButtonTemplate" id="15"/> |
||
378 | <Button name="$parent_16" inherits="DUF_DebuffButtonTemplate" id="16"/> |
||
379 | </Frames> |
||
380 | </Button> |
||
381 | |||
382 | <!-- ICONS --> |
||
383 | <Button name="$parent_LootIcon" inherits="DUF_IconTemplate"/> |
||
384 | <Button name="$parent_LeaderIcon" inherits="DUF_IconTemplate"/> |
||
385 | <Button name="$parent_PVPIcon" inherits="DUF_IconTemplate"/> |
||
386 | <Button name="$parent_StatusIcon" inherits="DUF_IconTemplate"/> |
||
387 | |||
388 | <!-- TEXTBOXES --> |
||
389 | <Button name="$parent_TextBox_1" inherits="DUF_TextBoxTemplate" id="1"/> |
||
390 | <Button name="$parent_TextBox_2" inherits="DUF_TextBoxTemplate" id="2"/> |
||
391 | <Button name="$parent_TextBox_3" inherits="DUF_TextBoxTemplate" id="3"/> |
||
392 | <Button name="$parent_TextBox_4" inherits="DUF_TextBoxTemplate" id="4"/> |
||
393 | <Button name="$parent_TextBox_5" inherits="DUF_TextBoxTemplate" id="5"/> |
||
394 | <Button name="$parent_TextBox_6" inherits="DUF_TextBoxTemplate" id="6"/> |
||
395 | <Button name="$parent_TextBox_7" inherits="DUF_TextBoxTemplate" id="7"/> |
||
396 | <Button name="$parent_TextBox_8" inherits="DUF_TextBoxTemplate" id="8"/> |
||
397 | <Button name="$parent_TextBox_9" inherits="DUF_TextBoxTemplate" id="9"/> |
||
398 | <Button name="$parent_TextBox_10" inherits="DUF_TextBoxTemplate" id="10"/> |
||
399 | </Frames> |
||
400 | <Scripts> |
||
401 | <OnLoad> |
||
402 | DUF_UnitFrame_OnLoad(); |
||
403 | </OnLoad> |
||
404 | <OnUpdate> |
||
405 | DUF_UnitFrame_OnUpdate(arg1); |
||
406 | </OnUpdate> |
||
407 | <OnEvent> |
||
408 | DUF_UnitFrame_OnEvent(event); |
||
409 | </OnEvent> |
||
410 | <OnShow> |
||
411 | DUF_UnitFrame_OnShow(); |
||
412 | </OnShow> |
||
413 | <OnHide> |
||
414 | DUF_UnitFrame_OnHide(); |
||
415 | </OnHide> |
||
416 | <OnDragStart> |
||
417 | DUF_UnitFrame_OnDragStart(); |
||
418 | </OnDragStart> |
||
419 | <OnDragStop> |
||
420 | DUF_UnitFrame_OnDragStop(); |
||
421 | </OnDragStop> |
||
422 | <OnClick> |
||
423 | DUF_UnitFrame_OnClick(arg1); |
||
424 | </OnClick> |
||
425 | <OnEnter> |
||
426 | DUF_UnitFrame_OnEnter(); |
||
427 | </OnEnter> |
||
428 | <OnLeave> |
||
429 | DUF_UnitFrame_OnLeave(); |
||
430 | </OnLeave> |
||
431 | </Scripts> |
||
432 | </Button> |
||
433 | |||
434 | </Ui> |