vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
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 <Script file="IMBA_KelThuzad.lua"/>
4  
5 <Frame name="IMBA_KelThuzad" toplevel="true" parent="UIParent" enableMouse="true" movable="true" hidden="true" frameStrata="HIGH">
6 <Size>
7 <AbsDimension x="200" y="243"/>
8 </Size>
9 <Anchors>
10 <Anchor point="CENTER"/>
11 </Anchors>
12 <Backdrop name="$parentBackdrop" bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
13 <EdgeSize>
14 <AbsValue val="16"/>
15 </EdgeSize>
16 <TileSize>
17 <AbsValue val="16"/>
18 </TileSize>
19 <BackgroundInsets>
20 <AbsInset left="5" right="5" top="5" bottom="5"/>
21 </BackgroundInsets>
22 </Backdrop>
23 <Frames>
24 <Frame name="$parent_Title" inherits="IMBA_MainTitleTemplate">
25 <Anchors>
26 <Anchor point="TOP">
27 <Offset>
28 <AbsDimension x="0" y="-8"/>
29 </Offset>
30 </Anchor>
31 </Anchors>
32 </Frame>
33 <StatusBar name="$parent_TimerFissure" inherits="IMBA_BarTimerTemplate">
34 <Anchors>
35 <Anchor point="TOP" relativeTo="$parent_Title" relativePoint="BOTTOM">
36 <Offset>
37 <AbsDimension x="0" y="-4"/>
38 </Offset>
39 </Anchor>
40 </Anchors>
41 </StatusBar>
42 <StatusBar name="$parent_TimerVolley" inherits="IMBA_BarTimerTemplate">
43 <Anchors>
44 <Anchor point="TOP" relativeTo="$parent_TimerFissure" relativePoint="BOTTOM">
45 <Offset>
46 <AbsDimension x="0" y="-4"/>
47 </Offset>
48 </Anchor>
49 </Anchors>
50 </StatusBar>
51 <StatusBar name="$parent_TimerDetonateMana" inherits="IMBA_BarTimerTemplate">
52 <Anchors>
53 <Anchor point="TOP" relativeTo="$parent_TimerVolley" relativePoint="BOTTOM">
54 <Offset>
55 <AbsDimension x="0" y="-4"/>
56 </Offset>
57 </Anchor>
58 </Anchors>
59 </StatusBar>
60 <StatusBar name="$parent_TimerFrostBlast" inherits="IMBA_BarTimerTemplate">
61 <Anchors>
62 <Anchor point="TOP" relativeTo="$parent_TimerDetonateMana" relativePoint="BOTTOM">
63 <Offset>
64 <AbsDimension x="0" y="-4"/>
65 </Offset>
66 </Anchor>
67 </Anchors>
68 </StatusBar>
69 <StatusBar name="$parent_TimerStage1" inherits="IMBA_BarTimerTemplate">
70 <Anchors>
71 <Anchor point="TOP" relativeTo="$parent_TimerFrostBlast" relativePoint="BOTTOM">
72 <Offset>
73 <AbsDimension x="0" y="-4"/>
74 </Offset>
75 </Anchor>
76 </Anchors>
77 </StatusBar>
78 <StatusBar name="$parent_HealthKelThuzad" inherits="IMBA_NameHealthTemplate">
79 <Anchors>
80 <Anchor point="TOP" relativeTo="$parent_TimerStage1" relativePoint="BOTTOM">
81 <Offset>
82 <AbsDimension x="0" y="-4"/>
83 </Offset>
84 </Anchor>
85 </Anchors>
86 </StatusBar>
87 <Frame name="$parent_TitleFrostBlasted" inherits="IMBA_TitleTemplate">
88 <Anchors>
89 <Anchor point="TOP" relativeTo="$parent_HealthKelThuzad" relativePoint="BOTTOM">
90 <Offset>
91 <AbsDimension x="0" y="-4"/>
92 </Offset>
93 </Anchor>
94 </Anchors>
95 </Frame>
96 <StatusBar name="$parent_FrostBlast1" inherits="IMBA_UnitHealthTemplate">
97 <Anchors>
98 <Anchor point="TOP" relativeTo="$parent_TitleFrostBlasted" relativePoint="BOTTOM">
99 <Offset>
100 <AbsDimension x="0" y="-4"/>
101 </Offset>
102 </Anchor>
103 </Anchors>
104 </StatusBar>
105 <StatusBar name="$parent_FrostBlast2" inherits="IMBA_UnitHealthTemplate">
106 <Anchors>
107 <Anchor point="TOP" relativeTo="$parent_FrostBlast1" relativePoint="BOTTOM">
108 <Offset>
109 <AbsDimension x="0" y="-4"/>
110 </Offset>
111 </Anchor>
112 </Anchors>
113 </StatusBar>
114 <StatusBar name="$parent_FrostBlast3" inherits="IMBA_UnitHealthTemplate">
115 <Anchors>
116 <Anchor point="TOP" relativeTo="$parent_FrostBlast2" relativePoint="BOTTOM">
117 <Offset>
118 <AbsDimension x="0" y="-4"/>
119 </Offset>
120 </Anchor>
121 </Anchors>
122 </StatusBar>
123 <Frame name="$parent_Close" enableMouse="true">
124 <Size>
125 <AbsDimension x="24" y="24"/>
126 </Size>
127 <Anchors>
128 <Anchor point="TOPRIGHT">
129 <Offset>
130 <AbsDimension x="0" y="0"/>
131 </Offset>
132 </Anchor>
133 </Anchors>
134 <Layers>
135 <Layer level="OVERLAY">
136 <Texture name="$parent_Image" file="Interface\AddOns\IMBA\textures\close.blp">
137 <Size>
138 <AbsDimension x="32" y="32"/>
139 </Size>
140 <Anchors>
141 <Anchor point="TOPRIGHT"/>
142 </Anchors>
143 </Texture>
144 </Layer>
145 </Layers>
146 <Scripts>
147 <OnLoad>
148 this:SetBackdropBorderColor(1, 1, 1, 1);
149 this:SetBackdropColor(0.0,0.0,0.0,0);
150 </OnLoad>
151 <OnMouseDown>
152 IMBA_KelThuzad:Hide();
153 </OnMouseDown>
154 </Scripts>
155 </Frame>
156  
157 </Frames>
158 <Scripts>
159 <OnLoad>
160 IMBA_KelThuzad_OnLoad();
161 </OnLoad>
162 <OnEvent>
163 IMBA_KelThuzad_OnEvent(event);
164 </OnEvent>
165 <OnUpdate>
166 IMBA_KelThuzad_OnUpdate();
167 </OnUpdate>
168 <OnMouseUp>
169 if ( this.isMoving ) then
170 this:StopMovingOrSizing();
171 this.isMoving = false;
172 end
173 </OnMouseUp>
174 <OnMouseDown>
175 if ( ( ( not this.isLocked ) or ( this.isLocked == 0 ) ) and ( arg1 == "LeftButton" ) ) then
176 this:StartMoving();
177 this.isMoving = true;
178 end
179 </OnMouseDown>
180 <OnShow>
181 IMBA_KelThuzad_RegisterEvents();
182 </OnShow>
183 <OnHide>
184 IMBA_KelThuzad_UnregisterEvents();
185 if ( this.isMoving ) then
186 this:StopMovingOrSizing();
187 this.isMoving = false;
188 end
189 </OnHide>
190 </Scripts>
191 </Frame>
192 </Ui>