-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBuffCountWindow.xml
More file actions
51 lines (48 loc) · 1.38 KB
/
BuffCountWindow.xml
File metadata and controls
51 lines (48 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<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/
..\FrameXML\UI.xsd">
<Frame name="BuffCountWindow" movable="true" enableMouse="true">
<!-- Tags below connects the frame to the lua functions -->
<Script file="BuffCount.lua"/>
<Scripts>
<OnLoad>
BuffCount_OnLoad();
self:RegisterForDrag("LeftButton")
</OnLoad>
<OnEvent>
BuffCount_OnEvent(event, ...);
</OnEvent>
<OnDragStart>
BuffCount_MoveWindow(self);
</OnDragStart>
<OnDragStop>
self:StopMovingOrSizing();
</OnDragStop>
</Scripts>
<!-- Tags below adds the window visuals to the frame -->
<Size>
<AbsDimension x="55" y="40" />
</Size>
<Anchors>
<Anchor point="CENTER" relativeTo="UIParent"/>
</Anchors>
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background">
<Color a="0.25" r="1" g="1" b="1" />
<EdgeSize>
<AbsValue val="8" />
</EdgeSize>
</Backdrop>
<!-- Tags below adds the visuals for the text in window -->
<Layers>
<Layer level="ARTWORK">
<FontString name="BuffCountText" text="buffs" font="FONTS\ARIALN.TTF">
<FontHeight>
<AbsValue val="30"/>
</FontHeight>
<Anchors>
<Anchor point="CENTER" relativeTo="BuffCountWindow"/>
</Anchors>
</FontString>
</Layer>
</Layers>
</Frame>
</Ui>