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 | |||
4 | <!-- Required Embedable Libs --> |
||
5 | <Include file="ChatThrottleLib\ChatThrottleLib.xml"/> |
||
6 | |||
7 | <Script file="DamageMeters_Globals.lua"/> |
||
8 | <Script file="localization.lua"/> |
||
9 | <Script file="localization.de.lua"/> |
||
10 | <Script file="localization.fr.lua"/> |
||
11 | <Script file="DamageMeters_Report.lua"/> |
||
12 | <Script file="DamageMeters.lua"/> |
||
13 | |||
14 | <GameTooltip name="DamageMetersTooltip" frameStrata="TOOLTIP" hidden="true" inherits="GameTooltipTemplate" parent="UIParent"> |
||
15 | <Scripts> |
||
16 | <OnLoad> |
||
17 | this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b); |
||
18 | this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b); |
||
19 | </OnLoad> |
||
20 | </Scripts> |
||
21 | </GameTooltip> |
||
22 | |||
23 | <Button name="DamageMeters_UIDropDownMenuButtonTemplate" inherits="UIDropDownMenuButtonTemplate" virtual="true"> |
||
24 | </Button> |
||
25 | |||
26 | <StatusBar name="DamageMetersBarTemplate" inherits="TextStatusBar" hidden="true" virtual="true"> |
||
27 | <Size> |
||
28 | <AbsDimension x="119" y="12"/> |
||
29 | </Size> |
||
30 | <Anchors> |
||
31 | <Anchor point="TOPLEFT"> |
||
32 | <Offset> |
||
33 | <AbsDimension x="47" y="-21"/> |
||
34 | </Offset> |
||
35 | </Anchor> |
||
36 | </Anchors> |
||
37 | <Scripts> |
||
38 | <OnLoad> |
||
39 | --this:RegisterForClicks("LeftButtonDown"); |
||
40 | --TextStatusBar_OnLoad(); |
||
41 | </OnLoad> |
||
42 | <OnEvent> |
||
43 | UnitFrameManaBar_Update(this, arg1); |
||
44 | </OnEvent> |
||
45 | <OnMouseDown> |
||
46 | DamageMetersBarTemplate_OnClick(); |
||
47 | </OnMouseDown> |
||
48 | <OnEnter> |
||
49 | DamageMetersBarTemplate_OnEnter(); |
||
50 | </OnEnter> |
||
51 | <OnLeave> |
||
52 | DamageMetersBarTemplate_OnLeave(); |
||
53 | </OnLeave> |
||
54 | </Scripts> |
||
55 | <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/> |
||
56 | </StatusBar> |
||
57 | |||
58 | -- MailFrame |
||
59 | <Frame name="DMReportFrame" toplevel="true" parent="UIParent" enableMouse="true" hidden="false"> |
||
60 | <Size> |
||
61 | <AbsDimension x="360" y="340"/> |
||
62 | </Size> |
||
63 | <Anchors> |
||
64 | <Anchor point="CENTER"/> |
||
65 | <Offset> |
||
66 | <AbsDimension x="0" y="0"/> |
||
67 | </Offset> |
||
68 | </Anchors> |
||
69 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="false"> |
||
70 | <BackgroundInsets> |
||
71 | <!-- Just the background texture only --> |
||
72 | <AbsInset left="5" right="5" top="5" bottom="5"/> |
||
73 | </BackgroundInsets> |
||
74 | <TileSize> |
||
75 | <AbsValue val="16"/> |
||
76 | </TileSize> |
||
77 | <EdgeSize> |
||
78 | <AbsValue val="16"/> |
||
79 | </EdgeSize> |
||
80 | </Backdrop> |
||
81 | <Frames> |
||
82 | <Frame name="DMSendMailFrame"> |
||
83 | <Size> |
||
84 | <AbsDimension x="260" y="512"/> |
||
85 | </Size> |
||
86 | <Anchors> |
||
87 | <Anchor point="TOPLEFT"/> |
||
88 | </Anchors> |
||
89 | <Frames> |
||
90 | <ScrollFrame name="DMSendMailScrollFrame" inherits="UIPanelScrollFrameTemplate"> |
||
91 | <Size> |
||
92 | <!-- This also moves teh scroll bar --> |
||
93 | <AbsDimension x="325" y="316"/> |
||
94 | </Size> |
||
95 | <Anchors> |
||
96 | <Anchor point="TOPLEFT"> |
||
97 | <Offset> |
||
98 | <AbsDimension x="0" y="-12"/> |
||
99 | </Offset> |
||
100 | </Anchor> |
||
101 | </Anchors> |
||
102 | <Layers> |
||
103 | <Layer level="ARTWORK"> |
||
104 | <Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar"> |
||
105 | <Size> |
||
106 | <AbsDimension x="31" y="256"/> |
||
107 | </Size> |
||
108 | <Anchors> |
||
109 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT"> |
||
110 | <Offset> |
||
111 | <AbsDimension x="-2" y="5"/> |
||
112 | </Offset> |
||
113 | </Anchor> |
||
114 | </Anchors> |
||
115 | <TexCoords left="0" right="0.484375" top="0" bottom="1.0"/> |
||
116 | </Texture> |
||
117 | <Texture file="Interface\PaperDollInfoFrame\UI-Character-ScrollBar"> |
||
118 | <Size> |
||
119 | <AbsDimension x="31" y="106"/> |
||
120 | </Size> |
||
121 | <Anchors> |
||
122 | <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT"> |
||
123 | <Offset> |
||
124 | <AbsDimension x="-2" y="-2"/> |
||
125 | </Offset> |
||
126 | </Anchor> |
||
127 | </Anchors> |
||
128 | <TexCoords left="0.515625" right="1.0" top="0" bottom="0.4140625"/> |
||
129 | </Texture> |
||
130 | </Layer> |
||
131 | </Layers> |
||
132 | <ScrollChild> |
||
133 | <Frame name="DMSendMailScrollChildFrame" enableMouse="true"> |
||
134 | <Size> |
||
135 | <!-- This moves the scroll bar --> |
||
136 | <AbsDimension x="260" y="145"/> |
||
137 | </Size> |
||
138 | <Anchors> |
||
139 | <Anchor point="TOPLEFT"> |
||
140 | <Offset> |
||
141 | <!-- Seemingly irrelevant --> |
||
142 | <AbsDimension x="0" y="0"/> |
||
143 | </Offset> |
||
144 | </Anchor> |
||
145 | </Anchors> |
||
146 | <Frames> |
||
147 | <EditBox name="DMReportFrame_SendMailBodyEditBox" letters="65535" multiLine="true" enableMouse="true" autoFocus="false"> |
||
148 | <Size> |
||
149 | <!-- This is the width of the text area --> |
||
150 | <AbsDimension x="310" y="100"/> |
||
151 | </Size> |
||
152 | <Anchors> |
||
153 | <Anchor point="TOPLEFT"> |
||
154 | <Offset> |
||
155 | <!-- This effects how high up the text is when the scroll bar is at the top. --> |
||
156 | <AbsDimension x="10" y="0"/> |
||
157 | </Offset> |
||
158 | </Anchor> |
||
159 | </Anchors> |
||
160 | <Scripts> |
||
161 | <OnTextChanged> |
||
162 | ScrollingEdit_OnTextChanged(DMSendMailScrollFrame); |
||
163 | </OnTextChanged> |
||
164 | <OnCursorChanged> |
||
165 | ScrollingEdit_OnCursorChanged(arg1, arg2-10, arg3, arg4); |
||
166 | </OnCursorChanged> |
||
167 | <OnUpdate> |
||
168 | ScrollingEdit_OnUpdate(DMSendMailScrollFrame); |
||
169 | </OnUpdate> |
||
170 | <OnEscapePressed> |
||
171 | this:ClearFocus(); |
||
172 | </OnEscapePressed> |
||
173 | <OnClick> |
||
174 | this:SetFocus(); |
||
175 | </OnClick> |
||
176 | <OnEditFocusLost> |
||
177 | HideUIPanel(DMReportFrame); |
||
178 | </OnEditFocusLost> |
||
179 | </Scripts> |
||
180 | <FontString inherits="GameTooltipTextSmall"/> |
||
181 | </EditBox> |
||
182 | </Frames> |
||
183 | <Scripts> |
||
184 | <OnMouseUp> |
||
185 | DMReportFrame_SendMailBodyEditBox:SetFocus(); |
||
186 | </OnMouseUp> |
||
187 | </Scripts> |
||
188 | </Frame> |
||
189 | </ScrollChild> |
||
190 | </ScrollFrame> |
||
191 | </Frames> |
||
192 | </Frame> |
||
193 | |||
194 | <Button name="DMOpenMailCloseButton" inherits="UIPanelCloseButton"> |
||
195 | <Anchors> |
||
196 | <Anchor point="CENTER" relativePoint="TOPRIGHT"> |
||
197 | <Offset> |
||
198 | <AbsDimension x="-8" y="8"/> |
||
199 | </Offset> |
||
200 | </Anchor> |
||
201 | </Anchors> |
||
202 | <Scripts> |
||
203 | <OnClick> |
||
204 | HideUIPanel(DMReportFrame); |
||
205 | </OnClick> |
||
206 | </Scripts> |
||
207 | </Button> |
||
208 | |||
209 | <Button name="DMReportTypeButton" inherits="GameMenuButtonTemplate" text="DM_MENU_CHOOSEREPORT"> |
||
210 | <Anchors> |
||
211 | <Anchor point="BOTTOMLEFT" relativeTo="DMSendMailFrame" relativePoint="TOPLEFT"> |
||
212 | <Offset> |
||
213 | <AbsDimension x="0" y="0"/> |
||
214 | </Offset> |
||
215 | </Anchor> |
||
216 | </Anchors> |
||
217 | <Layers> |
||
218 | <Layer level="BACKGROUND"> |
||
219 | <FontString name="DMReportTypeButtonText" inherits="GameTooltipTextSmall" text="DM_MENU_CHOOSEREPORT"> |
||
220 | <Anchors> |
||
221 | <Anchor point="CENTER"> |
||
222 | <Offset> |
||
223 | <AbsDimension x="0" y="1"/> |
||
224 | </Offset> |
||
225 | </Anchor> |
||
226 | </Anchors> |
||
227 | </FontString> |
||
228 | </Layer> |
||
229 | </Layers> |
||
230 | <Scripts> |
||
231 | <OnClick> |
||
232 | PlaySound("igMainMenuOption"); |
||
233 | DamageMeters_ReportTypeButton_OnClick(); |
||
234 | </OnClick> |
||
235 | </Scripts> |
||
236 | </Button> |
||
237 | |||
238 | <Frame name="DMReportTypeDropDown" inherits="UIDropDownMenuTemplate" id="1" hidden="true"> |
||
239 | <Size> |
||
240 | <AbsDimension x="10" y="10"/> |
||
241 | </Size> |
||
242 | <Anchors> |
||
243 | <Anchor point="TOP" relativeTo="DMReportTypeButton" relativePoint="TOP"> |
||
244 | <Offset> |
||
245 | <AbsDimension x="0" y="0"/> |
||
246 | </Offset> |
||
247 | </Anchor> |
||
248 | </Anchors> |
||
249 | <Scripts> |
||
250 | <OnLoad> |
||
251 | DamageMeters_ReportTypeDropDown_OnLoad(); |
||
252 | </OnLoad> |
||
253 | </Scripts> |
||
254 | </Frame> |
||
255 | |||
256 | </Frames> |
||
257 | <Scripts> |
||
258 | <OnHide> |
||
259 | HideDropDownMenu(1); |
||
260 | HideUIPanel(DMReportFrame); |
||
261 | PlaySound("igCharacterInfoClose"); |
||
262 | </OnHide> |
||
263 | </Scripts> |
||
264 | </Frame> |
||
265 | |||
266 | <Frame name="DamageMetersHiddenFrame" parent="UIParent" hidden="false"> |
||
267 | <Scripts> |
||
268 | <OnUpdate> |
||
269 | DamageMetersHiddenFrame_OnUpdate(); |
||
270 | </OnUpdate> |
||
271 | </Scripts> |
||
272 | </Frame> |
||
273 | |||
274 | <Frame name="DamageMetersFrame" frameStrata="LOW" toplevel="true" enableMouse="true" movable="true" parent="UIParent"> |
||
275 | <Size> |
||
276 | <AbsDimension x="131" y="81"/> |
||
277 | </Size> |
||
278 | <Anchors> |
||
279 | <Anchor point="TOPLEFT"/> |
||
280 | </Anchors> |
||
281 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
282 | <BackgroundInsets> |
||
283 | <AbsInset left="5" right="4" top="5" bottom="5"/> |
||
284 | </BackgroundInsets> |
||
285 | <TileSize> |
||
286 | <AbsValue val="16"/> |
||
287 | </TileSize> |
||
288 | <EdgeSize> |
||
289 | <AbsValue val="16"/> |
||
290 | </EdgeSize> |
||
291 | </Backdrop> |
||
292 | <!-- <TitleRegion setAllPoints="true"/> --> |
||
293 | <Frames> |
||
294 | <Frame setAllPoints="true"> |
||
295 | <Frames> |
||
296 | <Frame setAllPoints="true"> |
||
297 | <Layers> |
||
298 | <Layer level="BACKGROUND"> |
||
299 | <FontString name="$parentText1" inherits="TextStatusBarText"/> |
||
300 | <FontString name="$parentText2" inherits="TextStatusBarText"/> |
||
301 | <FontString name="$parentText3" inherits="TextStatusBarText"/> |
||
302 | <FontString name="$parentText4" inherits="TextStatusBarText"/> |
||
303 | <FontString name="$parentText5" inherits="TextStatusBarText"/> |
||
304 | <FontString name="$parentText6" inherits="TextStatusBarText"/> |
||
305 | <FontString name="$parentText7" inherits="TextStatusBarText"/> |
||
306 | <FontString name="$parentText8" inherits="TextStatusBarText"/> |
||
307 | <FontString name="$parentText9" inherits="TextStatusBarText"/> |
||
308 | <FontString name="$parentText10" inherits="TextStatusBarText"/> |
||
309 | <FontString name="$parentText11" inherits="TextStatusBarText"/> |
||
310 | <FontString name="$parentText12" inherits="TextStatusBarText"/> |
||
311 | <FontString name="$parentText13" inherits="TextStatusBarText"/> |
||
312 | <FontString name="$parentText14" inherits="TextStatusBarText"/> |
||
313 | <FontString name="$parentText15" inherits="TextStatusBarText"/> |
||
314 | <FontString name="$parentText16" inherits="TextStatusBarText"/> |
||
315 | <FontString name="$parentText17" inherits="TextStatusBarText"/> |
||
316 | <FontString name="$parentText18" inherits="TextStatusBarText"/> |
||
317 | <FontString name="$parentText19" inherits="TextStatusBarText"/> |
||
318 | <FontString name="$parentText20" inherits="TextStatusBarText"/> |
||
319 | <FontString name="$parentText21" inherits="TextStatusBarText"/> |
||
320 | <FontString name="$parentText22" inherits="TextStatusBarText"/> |
||
321 | <FontString name="$parentText23" inherits="TextStatusBarText"/> |
||
322 | <FontString name="$parentText24" inherits="TextStatusBarText"/> |
||
323 | <FontString name="$parentText25" inherits="TextStatusBarText"/> |
||
324 | <FontString name="$parentText26" inherits="TextStatusBarText"/> |
||
325 | <FontString name="$parentText27" inherits="TextStatusBarText"/> |
||
326 | <FontString name="$parentText28" inherits="TextStatusBarText"/> |
||
327 | <FontString name="$parentText29" inherits="TextStatusBarText"/> |
||
328 | <FontString name="$parentText30" inherits="TextStatusBarText"/> |
||
329 | <FontString name="$parentText31" inherits="TextStatusBarText"/> |
||
330 | <FontString name="$parentText32" inherits="TextStatusBarText"/> |
||
331 | <FontString name="$parentText33" inherits="TextStatusBarText"/> |
||
332 | <FontString name="$parentText34" inherits="TextStatusBarText"/> |
||
333 | <FontString name="$parentText35" inherits="TextStatusBarText"/> |
||
334 | <FontString name="$parentText36" inherits="TextStatusBarText"/> |
||
335 | <FontString name="$parentText37" inherits="TextStatusBarText"/> |
||
336 | <FontString name="$parentText38" inherits="TextStatusBarText"/> |
||
337 | <FontString name="$parentText39" inherits="TextStatusBarText"/> |
||
338 | <FontString name="$parentText40" inherits="TextStatusBarText"/> |
||
339 | |||
340 | <FontString name="$parent_SendMsgQueueBarText" inherits="TextStatusBarText"/> |
||
341 | <FontString name="$parent_ProcessMsgQueueBarText" inherits="TextStatusBarText"/> |
||
342 | </Layer> |
||
343 | </Layers> |
||
344 | </Frame> |
||
345 | </Frames> |
||
346 | </Frame> |
||
347 | <StatusBar name="$parentBar1" inherits="DamageMetersBarTemplate" /> |
||
348 | <StatusBar name="$parentBar2" inherits="DamageMetersBarTemplate" /> |
||
349 | <StatusBar name="$parentBar3" inherits="DamageMetersBarTemplate" /> |
||
350 | <StatusBar name="$parentBar4" inherits="DamageMetersBarTemplate" /> |
||
351 | <StatusBar name="$parentBar5" inherits="DamageMetersBarTemplate" /> |
||
352 | <StatusBar name="$parentBar6" inherits="DamageMetersBarTemplate" /> |
||
353 | <StatusBar name="$parentBar7" inherits="DamageMetersBarTemplate" /> |
||
354 | <StatusBar name="$parentBar8" inherits="DamageMetersBarTemplate" /> |
||
355 | <StatusBar name="$parentBar9" inherits="DamageMetersBarTemplate" /> |
||
356 | <StatusBar name="$parentBar10" inherits="DamageMetersBarTemplate" /> |
||
357 | <StatusBar name="$parentBar11" inherits="DamageMetersBarTemplate" /> |
||
358 | <StatusBar name="$parentBar12" inherits="DamageMetersBarTemplate" /> |
||
359 | <StatusBar name="$parentBar13" inherits="DamageMetersBarTemplate" /> |
||
360 | <StatusBar name="$parentBar14" inherits="DamageMetersBarTemplate" /> |
||
361 | <StatusBar name="$parentBar15" inherits="DamageMetersBarTemplate" /> |
||
362 | <StatusBar name="$parentBar16" inherits="DamageMetersBarTemplate" /> |
||
363 | <StatusBar name="$parentBar17" inherits="DamageMetersBarTemplate" /> |
||
364 | <StatusBar name="$parentBar18" inherits="DamageMetersBarTemplate" /> |
||
365 | <StatusBar name="$parentBar19" inherits="DamageMetersBarTemplate" /> |
||
366 | <StatusBar name="$parentBar20" inherits="DamageMetersBarTemplate" /> |
||
367 | <StatusBar name="$parentBar21" inherits="DamageMetersBarTemplate" /> |
||
368 | <StatusBar name="$parentBar22" inherits="DamageMetersBarTemplate" /> |
||
369 | <StatusBar name="$parentBar23" inherits="DamageMetersBarTemplate" /> |
||
370 | <StatusBar name="$parentBar24" inherits="DamageMetersBarTemplate" /> |
||
371 | <StatusBar name="$parentBar25" inherits="DamageMetersBarTemplate" /> |
||
372 | <StatusBar name="$parentBar26" inherits="DamageMetersBarTemplate" /> |
||
373 | <StatusBar name="$parentBar27" inherits="DamageMetersBarTemplate" /> |
||
374 | <StatusBar name="$parentBar28" inherits="DamageMetersBarTemplate" /> |
||
375 | <StatusBar name="$parentBar29" inherits="DamageMetersBarTemplate" /> |
||
376 | <StatusBar name="$parentBar30" inherits="DamageMetersBarTemplate" /> |
||
377 | <StatusBar name="$parentBar30" inherits="DamageMetersBarTemplate" /> |
||
378 | <StatusBar name="$parentBar31" inherits="DamageMetersBarTemplate" /> |
||
379 | <StatusBar name="$parentBar32" inherits="DamageMetersBarTemplate" /> |
||
380 | <StatusBar name="$parentBar33" inherits="DamageMetersBarTemplate" /> |
||
381 | <StatusBar name="$parentBar34" inherits="DamageMetersBarTemplate" /> |
||
382 | <StatusBar name="$parentBar35" inherits="DamageMetersBarTemplate" /> |
||
383 | <StatusBar name="$parentBar36" inherits="DamageMetersBarTemplate" /> |
||
384 | <StatusBar name="$parentBar37" inherits="DamageMetersBarTemplate" /> |
||
385 | <StatusBar name="$parentBar38" inherits="DamageMetersBarTemplate" /> |
||
386 | <StatusBar name="$parentBar39" inherits="DamageMetersBarTemplate" /> |
||
387 | <StatusBar name="$parentBar40" inherits="DamageMetersBarTemplate" /> |
||
388 | |||
389 | <Frame name="$parentDropDown" inherits="UIDropDownMenuTemplate" id="1" hidden="true"> |
||
390 | <Size> |
||
391 | <AbsDimension x="10" y="10"/> |
||
392 | </Size> |
||
393 | <Anchors> |
||
394 | <Anchor point="TOP"> |
||
395 | <Offset> |
||
396 | <AbsDimension x="-20" y="-10"/> |
||
397 | </Offset> |
||
398 | </Anchor> |
||
399 | </Anchors> |
||
400 | <Scripts> |
||
401 | <OnLoad> |
||
402 | DamageMeters_FrameDropDown_OnLoad(); |
||
403 | </OnLoad> |
||
404 | </Scripts> |
||
405 | </Frame> |
||
406 | |||
407 | <Frame name="$parentBarDropDown" inherits="UIDropDownMenuTemplate" id="1" hidden="true"> |
||
408 | <Size> |
||
409 | <AbsDimension x="10" y="10"/> |
||
410 | </Size> |
||
411 | <Anchors> |
||
412 | <Anchor point="TOP"> |
||
413 | <Offset> |
||
414 | <AbsDimension x="-20" y="-10"/> |
||
415 | </Offset> |
||
416 | </Anchor> |
||
417 | </Anchors> |
||
418 | <Scripts> |
||
419 | <OnLoad> |
||
420 | DamageMeters_BarDropDown_OnLoad(); |
||
421 | </OnLoad> |
||
422 | </Scripts> |
||
423 | </Frame> |
||
424 | |||
425 | <Button name="DamageMetersFrame_TitleButton" > |
||
426 | <Size> |
||
427 | <AbsDimension x="117" y="22"/> |
||
428 | </Size> |
||
429 | <Anchors> |
||
430 | <Anchor point="BOTTOM" relativeTo="DamageMetersFrame" relativePoint="TOP"> |
||
431 | <Offset> |
||
432 | <AbsDimension x="0" y="-4"/> |
||
433 | </Offset> |
||
434 | </Anchor> |
||
435 | </Anchors> |
||
436 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
437 | <BackgroundInsets> |
||
438 | <AbsInset left="3" right="4" top="5" bottom="5"/> |
||
439 | </BackgroundInsets> |
||
440 | <TileSize> |
||
441 | <AbsValue val="16"/> |
||
442 | </TileSize> |
||
443 | <EdgeSize> |
||
444 | <AbsValue val="16"/> |
||
445 | </EdgeSize> |
||
446 | </Backdrop> |
||
447 | <Layers> |
||
448 | <Layer level="BACKGROUND"> |
||
449 | <FontString name="DamageMeters_TitleButtonText" inherits="GameTooltipTextSmall"> |
||
450 | <Anchors> |
||
451 | <Anchor point="CENTER"> |
||
452 | <Offset> |
||
453 | <AbsDimension x="0" y="1"/> |
||
454 | </Offset> |
||
455 | </Anchor> |
||
456 | </Anchors> |
||
457 | </FontString> |
||
458 | </Layer> |
||
459 | </Layers> |
||
460 | <Scripts> |
||
461 | <OnLoad> |
||
462 | DamageMetersFrame_TitleButton_OnLoad(); |
||
463 | </OnLoad> |
||
464 | <OnClick> |
||
465 | DamageMetersFrame_TitleButton_OnClick(); |
||
466 | </OnClick> |
||
467 | </Scripts> |
||
468 | </Button> |
||
469 | |||
470 | <Button name="DamageMetersFrame_TotalButton" > |
||
471 | <Size> |
||
472 | <AbsDimension x="117" y="22"/> |
||
473 | </Size> |
||
474 | <Anchors> |
||
475 | <Anchor point="TOP" relativeTo="DamageMetersFrame" relativePoint="BOTTOM"> |
||
476 | <Offset> |
||
477 | <AbsDimension x="0" y="4"/> |
||
478 | </Offset> |
||
479 | </Anchor> |
||
480 | </Anchors> |
||
481 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
482 | <BackgroundInsets> |
||
483 | <AbsInset left="3" right="4" top="5" bottom="5"/> |
||
484 | </BackgroundInsets> |
||
485 | <TileSize> |
||
486 | <AbsValue val="16"/> |
||
487 | </TileSize> |
||
488 | <EdgeSize> |
||
489 | <AbsValue val="16"/> |
||
490 | </EdgeSize> |
||
491 | </Backdrop> |
||
492 | <Layers> |
||
493 | <Layer level="BACKGROUND"> |
||
494 | <FontString name="DamageMeters_TotalButtonText" inherits="GameTooltipTextSmall"> |
||
495 | <Anchors> |
||
496 | <Anchor point="CENTER"> |
||
497 | <Offset> |
||
498 | <AbsDimension x="0" y="1"/> |
||
499 | </Offset> |
||
500 | </Anchor> |
||
501 | </Anchors> |
||
502 | </FontString> |
||
503 | </Layer> |
||
504 | </Layers> |
||
505 | <Scripts> |
||
506 | <OnLoad> |
||
507 | DamageMetersFrame_TotalButton_OnLoad(); |
||
508 | </OnLoad> |
||
509 | </Scripts> |
||
510 | </Button> |
||
511 | |||
512 | <StatusBar name="$parent_ProcessMsgQueueBar" inherits="TextStatusBar"> |
||
513 | <Size> |
||
514 | <AbsDimension x="119" y="12"/> |
||
515 | </Size> |
||
516 | <Anchors> |
||
517 | <Anchor point="BOTTOM" relativeTo="$parent_TitleButton" relativePoint="TOP"> |
||
518 | <Offset> |
||
519 | <AbsDimension x="0" y="4"/> |
||
520 | </Offset> |
||
521 | </Anchor> |
||
522 | </Anchors> |
||
523 | <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/> |
||
524 | </StatusBar> |
||
525 | |||
526 | <StatusBar name="$parent_SendMsgQueueBar" inherits="TextStatusBar"> |
||
527 | <Size> |
||
528 | <AbsDimension x="119" y="12"/> |
||
529 | </Size> |
||
530 | <Anchors> |
||
531 | <Anchor point="BOTTOM" relativeTo="$parent_ProcessMsgQueueBar" relativePoint="TOP"> |
||
532 | <Offset> |
||
533 | <AbsDimension x="0" y="4"/> |
||
534 | </Offset> |
||
535 | </Anchor> |
||
536 | </Anchors> |
||
537 | <BarTexture file="Interface\TargetingFrame\UI-StatusBar"/> |
||
538 | </StatusBar> |
||
539 | |||
540 | </Frames> |
||
541 | <Scripts> |
||
542 | <OnLoad> |
||
543 | DamageMetersFrame_OnLoad(); |
||
544 | -- For Dragging. |
||
545 | this:RegisterForDrag("LeftButton"); |
||
546 | </OnLoad> |
||
547 | |||
548 | <OnUpdate> |
||
549 | DamageMetersFrame_OnUpdate(); |
||
550 | </OnUpdate> |
||
551 | <OnEvent> |
||
552 | DamageMetersFrame_OnEvent(); |
||
553 | </OnEvent> |
||
554 | <OnClick> |
||
555 | DamageMetersFrame_OnClick(); |
||
556 | </OnClick> |
||
557 | |||
558 | <OnEnter> |
||
559 | --DMPrint("DamageMetersFrame: OnEnter"); |
||
560 | </OnEnter> |
||
561 | <OnLeave> |
||
562 | --DMPrint("DamageMetersFrame: OnLeave"); |
||
563 | </OnLeave> |
||
564 | <OnMouseDown> |
||
565 | --DMPrint("DamageMetersFrame: OnMouseDown"); |
||
566 | DamageMetersFrame_OnMouseDown(); |
||
567 | </OnMouseDown> |
||
568 | <OnMouseUp> |
||
569 | --DMPrint("DamageMetersFrame: OnMouseUp"); |
||
570 | DamageMetersFrame_OnMouseUp(); |
||
571 | </OnMouseUp> |
||
572 | |||
573 | <OnDragStart> |
||
574 | DamageMetersFrame_OnDragStart(); |
||
575 | </OnDragStart> |
||
576 | <OnDragStop> |
||
577 | DamageMetersFrame_OnDragStop(); |
||
578 | </OnDragStop> |
||
579 | </Scripts> |
||
580 | </Frame> |
||
581 | </Ui> |