-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathFloTotemBar.xml
More file actions
executable file
·101 lines (98 loc) · 2.61 KB
/
FloTotemBar.xml
File metadata and controls
executable file
·101 lines (98 loc) · 2.61 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this file,
- You can obtain one at http://mozilla.org/MPL/2.0/. -->
<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="localization.lua"/>
<Script file="data.lua"/>
<Script file="FloTotemBar.lua"/>
<Frame name="FloBarTRAP" inherits="FloBarTemplateT">
<Size>
<AbsDimension x="44" y="44"/>
</Size>
<Scripts>
<OnLoad>
FloTotemBar_OnLoad(self);
</OnLoad>
<OnEvent>
FloTotemBar_OnEvent(self, event, ...);
</OnEvent>
<OnUpdate>
FloLib_OnUpdate(self);
</OnUpdate>
</Scripts>
</Frame>
<Frame name="FloTotemBarTemplate" inherits="FloBarTemplateT" virtual="true">
<Size>
<AbsDimension x="44" y="44"/>
</Size>
<Scripts>
<OnLoad>
FloTotemBar_OnLoad(self);
</OnLoad>
<OnEvent>
FloTotemBar_OnEvent(self, event, ...);
</OnEvent>
<OnUpdate>
FloLib_OnUpdate(self);
</OnUpdate>
<OnMouseUp>
if self.slot and IsAltKeyDown() then
--DestroyTotem(self.slot);
end
</OnMouseUp>
</Scripts>
</Frame>
<Frame name="FloBarEARTH" inherits="FloTotemBarTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="UIParent" relativePoint="TOPLEFT">
<Offset>
<AbsDimension x="0" y="120"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<Frame name="FloBarFIRE" inherits="FloTotemBarTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="FloBarEARTH" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<Frame name="FloBarWATER" inherits="FloTotemBarTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="FloBarFIRE" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<Frame name="FloBarAIR" inherits="FloTotemBarTemplate">
<Anchors>
<Anchor point="TOPLEFT" relativeTo="FloBarWATER" relativePoint="TOPRIGHT">
<Offset>
<AbsDimension x="10" y="0"/>
</Offset>
</Anchor>
</Anchors>
</Frame>
<Frame name="FloBarSEAL" inherits="FloBarTemplateT">
<Size>
<AbsDimension x="44" y="44"/>
</Size>
<Scripts>
<OnLoad>
FloTotemBar_OnLoad(self);
</OnLoad>
<OnEvent>
FloTotemBar_OnEvent(self, event, ...);
</OnEvent>
<OnUpdate>
FloLib_OnUpdate(self);
</OnUpdate>
</Scripts>
</Frame>
</Ui>