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 | <Script file="eCastingBar.lua"/> |
||
4 | <Script file="eCastingBarSettings.lua"/> |
||
5 | <Script file="Interface\AddOns\eCastingBar\Localization\localization.lua"/> |
||
6 | |||
7 | <GameTooltip name="ECB_Tooltip" hidden="true" inherits="GameTooltipTemplate"> |
||
8 | <Scripts> |
||
9 | <OnLoad> |
||
10 | -- hack for it to work in 1.10 |
||
11 | this:SetOwner(UIParent, "ANCHOR_NONE"); |
||
12 | </OnLoad> |
||
13 | </Scripts> |
||
14 | </GameTooltip> |
||
15 | |||
16 | <FontString name="eCastingBarFont" font="Fonts\FRIZQT__.TTF" virtual="true"> |
||
17 | <Shadow> |
||
18 | <Offset> |
||
19 | <AbsDimension x="1" y="-1"/> |
||
20 | </Offset> |
||
21 | <Color r="0" g="0" b="0"/> |
||
22 | </Shadow> |
||
23 | <FontHeight> |
||
24 | <AbsValue val="12"/> |
||
25 | </FontHeight> |
||
26 | <Color r="1.0" g="1.0" b="1.0"/> |
||
27 | </FontString> |
||
28 | |||
29 | <Frame name="eCastingBar" toplevel="true" parent="UIParent" movable="true" enableMouse="true" hidden="true"> |
||
30 | <Size> |
||
31 | <AbsDimension x="264" y="30"/> |
||
32 | </Size> |
||
33 | <Anchors> |
||
34 | <Anchor point="TOPLEFT" relativeTo="eCastingBarDragButton"> |
||
35 | <Offset> |
||
36 | <AbsDimension x="15" y="0"/> |
||
37 | </Offset> |
||
38 | </Anchor> |
||
39 | </Anchors> |
||
40 | |||
41 | <Layers> |
||
42 | <Layer level="BACKGROUND"> |
||
43 | <Texture name="eCastingBarBackground"> |
||
44 | <Size> |
||
45 | <AbsDimension x="255" y="22"/> |
||
46 | </Size> |
||
47 | <Anchors> |
||
48 | <Anchor point="TOPLEFT"> |
||
49 | <Offset> |
||
50 | <AbsDimension x="4" y="-3"/> |
||
51 | </Offset> |
||
52 | </Anchor> |
||
53 | </Anchors> |
||
54 | <Color r="0" g="0" b="0" a="0.5"/> |
||
55 | </Texture> |
||
56 | </Layer> |
||
57 | </Layers> |
||
58 | |||
59 | <Frames> |
||
60 | <Frame name="eCastingBarFlash" hidden="true"> |
||
61 | <Size> |
||
62 | <AbsDimension x="255" y="30"/> |
||
63 | </Size> |
||
64 | <Anchors> |
||
65 | <Anchor point="TOP"/> |
||
66 | </Anchors> |
||
67 | <Layers> |
||
68 | <Layer level="OVERLAY"> |
||
69 | <Texture name="$parent_TOPLEFT" file="Interface\AddOns\eCastingBar\Textures\MG_Borders" alphaMode="ADD" hidden="false"> |
||
70 | <Size> |
||
71 | <AbsDimension x="10" y="10"/> |
||
72 | </Size> |
||
73 | <Anchors> |
||
74 | <Anchor point="TOPLEFT"> |
||
75 | <Offset> |
||
76 | <AbsDimension x="2" y="-2"/> |
||
77 | </Offset> |
||
78 | </Anchor> |
||
79 | </Anchors> |
||
80 | <TexCoords left="0" right="0.3125" top="0" bottom="0.3125"/> |
||
81 | </Texture> |
||
82 | <Texture name="$parent_TOPRIGHT" file="Interface\AddOns\eCastingBar\Textures\MG_Borders" alphaMode="ADD" hidden="false"> |
||
83 | <Size> |
||
84 | <AbsDimension x="10" y="10"/> |
||
85 | </Size> |
||
86 | <Anchors> |
||
87 | <Anchor point="TOPRIGHT"> |
||
88 | <Offset> |
||
89 | <AbsDimension x="-2" y="-2"/> |
||
90 | </Offset> |
||
91 | </Anchor> |
||
92 | </Anchors> |
||
93 | <TexCoords left="0.625" right="0.9375" top="0" bottom="0.3125"/> |
||
94 | </Texture> |
||
95 | <Texture name="$parent_TOP" file="Interface\AddOns\eCastingBar\Textures\MG_Borders" alphaMode="ADD" hidden="false"> |
||
96 | <Size> |
||
97 | <AbsDimension x="240" y="10"/> |
||
98 | </Size> |
||
99 | <Anchors> |
||
100 | <Anchor point="TOP"> |
||
101 | <Offset> |
||
102 | <AbsDimension x="0" y="-2"/> |
||
103 | </Offset> |
||
104 | </Anchor> |
||
105 | </Anchors> |
||
106 | <TexCoords left="0.3125" right="0.625" top="0" bottom="0.3125"/> |
||
107 | </Texture> |
||
108 | <Texture name="$parent_BOTTOM" file="Interface\AddOns\eCastingBar\Textures\MG_Borders" alphaMode="ADD" hidden="false"> |
||
109 | <Size> |
||
110 | <AbsDimension x="240" y="10"/> |
||
111 | </Size> |
||
112 | <Anchors> |
||
113 | <Anchor point="BOTTOM"> |
||
114 | <Offset> |
||
115 | <AbsDimension x="0" y="2"/> |
||
116 | </Offset> |
||
117 | </Anchor> |
||
118 | </Anchors> |
||
119 | <TexCoords left="0.3125" right="0.625" top="0.625" bottom="0.9375"/> |
||
120 | </Texture> |
||
121 | <Texture name="$parent_BOTTOMLEFT" file="Interface\AddOns\eCastingBar\Textures\MG_Borders" alphaMode="ADD" hidden="false"> |
||
122 | <Size> |
||
123 | <AbsDimension x="10" y="10"/> |
||
124 | </Size> |
||
125 | <Anchors> |
||
126 | <Anchor point="BOTTOMLEFT"> |
||
127 | <Offset> |
||
128 | <AbsDimension x="2" y="2"/> |
||
129 | </Offset> |
||
130 | </Anchor> |
||
131 | </Anchors> |
||
132 | <TexCoords left="0" right="0.3125" top="0.625" bottom="0.9375"/> |
||
133 | </Texture> |
||
134 | <Texture name="$parent_BOTTOMRIGHT" file="Interface\AddOns\eCastingBar\Textures\MG_Borders" alphaMode="ADD" hidden="false"> |
||
135 | <Size> |
||
136 | <AbsDimension x="10" y="10"/> |
||
137 | </Size> |
||
138 | <Anchors> |
||
139 | <Anchor point="BOTTOMRIGHT"> |
||
140 | <Offset> |
||
141 | <AbsDimension x="-2" y="2"/> |
||
142 | </Offset> |
||
143 | </Anchor> |
||
144 | </Anchors> |
||
145 | <TexCoords left="0.625" right="0.9375" top="0.625" bottom="0.9375"/> |
||
146 | </Texture> |
||
147 | <Texture name="$parent_RIGHT" file="Interface\AddOns\eCastingBar\Textures\MG_Borders" alphaMode="ADD" hidden="false"> |
||
148 | <Size> |
||
149 | <AbsDimension x="10" y="6"/> |
||
150 | </Size> |
||
151 | <Anchors> |
||
152 | <Anchor point="RIGHT"> |
||
153 | <Offset> |
||
154 | <AbsDimension x="-2" y="0"/> |
||
155 | </Offset> |
||
156 | </Anchor> |
||
157 | </Anchors> |
||
158 | <TexCoords left="0.625" right="0.9375" top="0.3125" bottom="0.625"/> |
||
159 | </Texture> |
||
160 | <Texture name="$parent_LEFT" file="Interface\AddOns\eCastingBar\Textures\MG_Borders" alphaMode="ADD" hidden="false"> |
||
161 | <Size> |
||
162 | <AbsDimension x="10" y="6"/> |
||
163 | </Size> |
||
164 | <Anchors> |
||
165 | <Anchor point="LEFT"> |
||
166 | <Offset> |
||
167 | <AbsDimension x="2" y="0"/> |
||
168 | </Offset> |
||
169 | </Anchor> |
||
170 | </Anchors> |
||
171 | <TexCoords left="0" right="0.3125" top="0.3125" bottom="0.625"/> |
||
172 | </Texture> |
||
173 | </Layer> |
||
174 | </Layers> |
||
175 | </Frame> |
||
176 | <StatusBar name="eCastingBarStatusBar"> |
||
177 | <Size> |
||
178 | <AbsDimension x="255" y="20"/> |
||
179 | </Size> |
||
180 | <Anchors> |
||
181 | <Anchor point="TOPLEFT"> |
||
182 | <Offset> |
||
183 | <AbsDimension x="5" y="-5"/> |
||
184 | </Offset> |
||
185 | </Anchor> |
||
186 | </Anchors> |
||
187 | <Layers> |
||
188 | <Layer level="OVERLAY"> |
||
189 | <Texture name="eCastingBarSpark" file="Interface\CastingBar\UI-CastingBar-Spark" alphaMode="ADD"> |
||
190 | <Size> |
||
191 | <AbsDimension x="16" y="43"/> |
||
192 | </Size> |
||
193 | <Anchors> |
||
194 | <Anchor point="CENTER"/> |
||
195 | </Anchors> |
||
196 | </Texture> |
||
197 | </Layer> |
||
198 | <Layer level="OVERLAY"> |
||
199 | <FontString name="eCastingBarText" inherits="eCastingBarFont" text="Not Casting"> |
||
200 | <Size> |
||
201 | <AbsDimension x="215" y="16"/> |
||
202 | </Size> |
||
203 | <Anchors> |
||
204 | <Anchor point="LEFT" relativeTo="eCastingBarStatusBar" relativePoint="LEFT"> |
||
205 | <Offset> |
||
206 | <AbsDimension x="0" y="1"/> |
||
207 | </Offset> |
||
208 | </Anchor> |
||
209 | </Anchors> |
||
210 | </FontString> |
||
211 | </Layer> |
||
212 | <Layer level="OVERLAY"> |
||
213 | <FontString name="eCastingBar_Time" inherits="eCastingBarFont" justifyV="CENTER" justifyH="LEFT"> |
||
214 | <Anchors> |
||
215 | <Anchor point="RIGHT" relativeTo="eCastingBarStatusBar"> |
||
216 | <Offset> |
||
217 | <AbsDimension x="-10" y="0"/> |
||
218 | </Offset> |
||
219 | </Anchor> |
||
220 | </Anchors> |
||
221 | </FontString> |
||
222 | </Layer> |
||
223 | <Layer level="OVERLAY"> |
||
224 | <FontString name="eCastingBar_Delay" inherits="eCastingBarFont" justifyV="CENTER" justifyH="LEFT"> |
||
225 | <Anchors> |
||
226 | <Anchor point="TOPRIGHT" relativeTo="eCastingBarStatusBar"> |
||
227 | <Offset> |
||
228 | <AbsDimension x="-10" y="20"/> |
||
229 | </Offset> |
||
230 | </Anchor> |
||
231 | </Anchors> |
||
232 | </FontString> |
||
233 | </Layer> |
||
234 | </Layers> |
||
235 | <Scripts> |
||
236 | <OnLoad> |
||
237 | this:SetFrameLevel(this:GetFrameLevel() - 1) |
||
238 | </OnLoad> |
||
239 | </Scripts> |
||
240 | <BarTexture name="eCastingBarTexture" file="Interface\TargetingFrame\UI-StatusBar"/> |
||
241 | <BarColor r="1.0" g="0.7" b="0.0"/> |
||
242 | </StatusBar> |
||
243 | </Frames> |
||
244 | <Scripts> |
||
245 | <OnLoad> |
||
246 | this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b); |
||
247 | this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b); |
||
248 | eCastingBar_OnLoad(); |
||
249 | </OnLoad> |
||
250 | <OnEvent> |
||
251 | eCastingBar_OnEvent( "" ); |
||
252 | </OnEvent> |
||
253 | <OnUpdate> |
||
254 | eCastingBar_OnUpdate( "" ); |
||
255 | </OnUpdate> |
||
256 | </Scripts> |
||
257 | </Frame> |
||
258 | |||
259 | <Frame name="eCastingBar_Outline" movable="true" frameStrata="DIALOG" enableMouse="true" parent="UIParent"> |
||
260 | <Scripts> |
||
261 | <OnMouseDown> |
||
262 | eCastingBar_MouseDown( arg1, "eCastingBar_Outline", "" ); |
||
263 | </OnMouseDown> |
||
264 | <OnMouseUp> |
||
265 | eCastingBar_MouseUp( arg1, "eCastingBar_Outline", "" ); |
||
266 | </OnMouseUp> |
||
267 | </Scripts> |
||
268 | <Size> |
||
269 | <AbsDimension x="264" y="30"/> |
||
270 | </Size> |
||
271 | |||
272 | <Anchors> |
||
273 | <Anchor point="CENTER" relativeTo="UIParent" relativePoint="CENTER"> |
||
274 | <Offset> |
||
275 | <AbsDimension x="0" y="0"/> |
||
276 | </Offset> |
||
277 | </Anchor> |
||
278 | </Anchors> |
||
279 | |||
280 | <Backdrop bgFile="Interface\Tooltips\UI-Tooltip-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
281 | <EdgeSize> |
||
282 | <AbsValue val="16"/> |
||
283 | </EdgeSize> |
||
284 | <TileSize> |
||
285 | <AbsValue val="16"/> |
||
286 | </TileSize> |
||
287 | <BackgroundInsets> |
||
288 | <AbsInset left="5" right="5" top="5" bottom="5"/> |
||
289 | </BackgroundInsets> |
||
290 | </Backdrop> |
||
291 | |||
292 | <Layers> |
||
293 | <Layer level="OVERLAY"> |
||
294 | <FontString name="eCastingBarDragButtonText" inherits="eCastingBarFont" text="eCastingBar Outline." justifyH="LEFT"> |
||
295 | <Size> |
||
296 | <AbsDimension x="185" y="16"/> |
||
297 | </Size> |
||
298 | <Anchors> |
||
299 | <Anchor point="TOPLEFT" relativeTo="eCastingBar_Outline"> |
||
300 | <Offset> |
||
301 | <AbsDimension x="18" y="15"/> |
||
302 | </Offset> |
||
303 | </Anchor> |
||
304 | </Anchors> |
||
305 | </FontString> |
||
306 | </Layer> |
||
307 | </Layers> |
||
308 | <Scripts> |
||
309 | <OnLoad> |
||
310 | this:SetBackdropBorderColor(TOOLTIP_DEFAULT_COLOR.r, TOOLTIP_DEFAULT_COLOR.g, TOOLTIP_DEFAULT_COLOR.b); |
||
311 | this:SetBackdropColor(TOOLTIP_DEFAULT_BACKGROUND_COLOR.r, TOOLTIP_DEFAULT_BACKGROUND_COLOR.g, TOOLTIP_DEFAULT_BACKGROUND_COLOR.b); |
||
312 | </OnLoad> |
||
313 | </Scripts> |
||
314 | |||
315 | </Frame> |
||
316 | </Ui> |