-
Notifications
You must be signed in to change notification settings - Fork 0
/
DoubleXP.xml
71 lines (68 loc) · 1.48 KB
/
DoubleXP.xml
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<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">
<Script file="DoubleXP.lua"/>
<Frame
name="DoubleXPFrame"
parent="UIParent"
enableMouse="true"
registerForClicks="LeftButtonUp"
movable="true"
clampedToScreen="true">
<Size>
<AbsDimension x="140" y="70"/>
</Size>
<Anchors>
<Anchor
point="CENTER"
relativePoint="CENTER"
relativeTo="UIParent" />
</Anchors>
<Backdrop
bgFile="Interface/Tooltips/UI-Tooltip-Background"
edgeFile="Interface/Tooltips/UI-Tooltip-Border"
tile="true">
<EdgeSize>
<AbsValue val="16"/>
</EdgeSize>
<TileSize>
<AbsValue val="16"/>
</TileSize>
<BackgroundInsets>
<AbsInset
left="4"
right="4"
top="4"
bottom="4"/>
</BackgroundInsets>
</Backdrop>
<Scripts>
<OnLoad>
self:RegisterForDrag("LeftButton");
DoubleXP_OnLoad(self);
</OnLoad>
<OnDragStart>
self:StartMoving();
</OnDragStart>
<OnDragStop>
self:StopMovingOrSizing();
</OnDragStop>
<OnUpdate>
DoubleXP_OnUpdate(self);
</OnUpdate>
<OnMouseUp>
DoubleXP_OnClick(self);
</OnMouseUp>
<OnEnter>
DoubleXP_OnEnter(self);
</OnEnter>
<OnLeave>
DoubleXP_OnLeave();
</OnLeave>
<OnEvent>
DoubleXP_OnEvent(self, event, arg);
</OnEvent>
</Scripts>
</Frame>
</Ui>