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="XPerl_Target.lua"/>
4  
5 <!-- Frame to display Target's health -->
6  
7 <Frame name="XPerl_Target" clampedToScreen="true" frameStrata="LOW" movable="true" parent="UIParent" hidden="true" enableMouse="true">
8 <Size>
9 <!-- The size of this frame determines what can be clicked for the menu and moving, hence it is the same size as the name frame. -->
10 <AbsDimension x="220" y="60"/>
11 </Size>
12 <Anchors>
13 <Anchor point="TOPLEFT">
14 <Offset>
15 <AbsDimension x="271" y="-12"/>
16 </Offset>
17 </Anchor>
18 </Anchors>
19  
20 <!-- Script Events -->
21  
22 <Scripts>
23 <OnLoad>
24 XPerl_Target_OnLoad()
25 </OnLoad>
26 </Scripts>
27  
28 <Frames>
29 <!-- Target Name -->
30  
31 <Frame name="$parent_NameFrame">
32 <Size>
33 <AbsDimension x="160" y="24"/>
34 </Size>
35 <Anchors>
36 <Anchor point="TOPLEFT"/>
37 </Anchors>
38 <Backdrop bgFile="Interface\Addons\XPerl\Images\XPerl_FrameBack" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
39 <EdgeSize>
40 <AbsValue val="16"/>
41 </EdgeSize>
42 <TileSize>
43 <AbsValue val="32"/>
44 </TileSize>
45 <BackgroundInsets>
46 <AbsInset left="5" right="5" top="5" bottom="5"/>
47 </BackgroundInsets>
48 </Backdrop>
49 <Frames>
50 <StatusBar name="XPerl_Target_CPMeter">
51 <Anchors>
52 <Anchor point="TOPLEFT">
53 <Offset>
54 <AbsDimension x="6" y="-6"/>
55 </Offset>
56 </Anchor>
57 <Anchor point="BOTTOMRIGHT">
58 <Offset>
59 <AbsDimension x="-6" y="6"/>
60 </Offset>
61 </Anchor>
62 </Anchors>
63 <BarTexture name="$parentTex" file="Interface\TargetingFrame\UI-StatusBar">
64 <TexCoords left=".8" right="1" top=".8" bottom="1"/>
65 </BarTexture>
66 <BarColor r="0" g="0" b="1" a="0.25"/>
67 </StatusBar>
68 </Frames>
69 <Layers>
70 <Layer level="OVERLAY">
71 <!-- Combat Icon -->
72 <Texture name="$parent_ActivityStatus" file="Interface\CharacterFrame\UI-StateIcon">
73 <Size>
74 <AbsDimension x="32" y="31"/>
75 </Size>
76 <Anchors>
77 <Anchor point="RIGHT"/>
78 </Anchors>
79 <TexCoords left="0.5" right = "1.0" top="0.0" bottom="0.5"/>
80 </Texture>
81  
82 <!-- Warning Icon -->
83 <Texture name="$parent_Warning" file="Interface\Minimap\Ping\ping6" alphaMode="ADD" hidden="true">
84 <Size>
85 <AbsDimension x="32" y="31"/>
86 </Size>
87 <Anchors>
88 <Anchor point="TOP" relativePoint="TOP">
89 <Offset>
90 <AbsDimension x="0" y="2"/>
91 </Offset>
92 </Anchor>
93 </Anchors>
94 </Texture>
95  
96 <!-- Out of Range Icon -->
97 <Texture name="$parent_RangeStatus" file="Interface\Addons\XPerl\images\XPerl_30Yard" hidden="true">
98 <Size>
99 <AbsDimension x="48" y="19"/>
100 </Size>
101 <Anchors>
102 <Anchor point="CENTER" relativePoint="TOP">
103 <Offset>
104 <AbsDimension x="0" y="-2"/>
105 </Offset>
106 </Anchor>
107 </Anchors>
108 <TexCoords left="0" right="1" top="0" bottom="0.4" />
109 </Texture>
110  
111 <!-- Raid Target Icon -->
112 <Texture name="$parent_RaidIcon" file="Interface\TargetingFrame\UI-RaidTargetingIcons" hidden="true">
113 <Size>
114 <AbsDimension x="32" y="32"/>
115 </Size>
116 <Anchors>
117 <Anchor point="CENTER"/>
118 </Anchors>
119 <TexCoords left="0" right="0.25" top="0" bottom="0.25" />
120 </Texture>
121  
122 <!-- PVP Icon -->
123 <Texture name="$parent_PVPStatus" file="Interface\TargetingFrame\UI-PVP-FFA">
124 <Size>
125 <AbsDimension x="40" y="40"/>
126 </Size>
127 <Anchors>
128 <Anchor point="TOPLEFT" relativePoint="TOPLEFT">
129 <Offset>
130 <AbsDimension x="-5" y="0"/>
131 </Offset>
132 </Anchor>
133 </Anchors>
134 </Texture>
135  
136 <Texture name="$parent_PVPRankIcon">
137 <Size><AbsDimension x="32" y="32"/></Size>
138 <Anchors>
139 <Anchor point="TOP">
140 <Offset><AbsDimension x="-40" y="3"/></Offset>
141 </Anchor>
142 </Anchors>
143 </Texture>
144  
145 <!-- Leader Icon -->
146 <Texture name="$parent_LeaderIcon" file="Interface\GroupFrame\UI-Group-LeaderIcon" hidden="true">
147 <Size>
148 <AbsDimension x="16" y="16"/>
149 </Size>
150 <Anchors>
151 <Anchor point="TOP">
152 <Offset>
153 <AbsDimension x="0" y="7"/>
154 </Offset>
155 </Anchor>
156 </Anchors>
157 </Texture>
158  
159 <!-- Master Loot Icon -->
160 <Texture name="$parent_MasterIcon" file="Interface\GroupFrame\UI-Group-MasterLooter" hidden="true">
161 <Size>
162 <AbsDimension x="16" y="16"/>
163 </Size>
164 <Anchors>
165 <Anchor point="TOP">
166 <Offset>
167 <AbsDimension x="20" y="7"/>
168 </Offset>
169 </Anchor>
170 </Anchors>
171 </Texture>
172  
173 <FontString name="$parent_NameBarText" inherits="GameFontNormal" text="Error!">
174 <Anchors>
175 <Anchor point="TOPLEFT"/>
176 <Anchor point="BOTTOMRIGHT">
177 <Offset>
178 <AbsDimension x="0" y="1"/>
179 </Offset>
180 </Anchor>
181 </Anchors>
182 </FontString>
183 </Layer>
184 </Layers>
185 </Frame>
186  
187 <!-- Target Portrait -->
188 <Frame name="$parent_PortraitFrame" inherits="XPerl_Portrait_Template">
189 <Anchors>
190 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_NameFrame">
191 <Offset>
192 <AbsDimension x="-2" y="0"/>
193 </Offset>
194 </Anchor>
195 </Anchors>
196 </Frame>
197  
198 <!--Level Frame-->
199  
200 <Frame name="$parent_LevelFrame">
201 <Size>
202 <AbsDimension x="27" y="22"/>
203 </Size>
204 <Anchors>
205 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_PortraitFrame">
206 <Offset>
207 <AbsDimension x="-2" y="0"/>
208 </Offset>
209 </Anchor>
210 </Anchors>
211 <Backdrop bgFile="Interface\Addons\XPerl\Images\XPerl_FrameBack" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
212 <EdgeSize>
213 <AbsValue val="16"/>
214 </EdgeSize>
215 <TileSize>
216 <AbsValue val="32"/>
217 </TileSize>
218 <BackgroundInsets>
219 <AbsInset left="5" right="5" top="5" bottom="5"/>
220 </BackgroundInsets>
221 </Backdrop>
222 <Layers>
223 <Layer level="OVERLAY">
224 <FontString name="$parentText" inherits="GameFontNormalSmall" text="0" setAllPoints="true"/>
225 </Layer>
226 </Layers>
227 </Frame>
228  
229 <Frame name="$parent_CreatureType">
230 <Size>
231 <AbsDimension x="68" y="22"/>
232 </Size>
233 <Anchors>
234 <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT" relativeTo="$parent_PortraitFrame">
235 <Offset>
236 <AbsDimension x="0" y="2"/>
237 </Offset>
238 </Anchor>
239 </Anchors>
240 <Backdrop bgFile="Interface\Addons\XPerl\Images\XPerl_FrameBack" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
241 <EdgeSize>
242 <AbsValue val="16"/>
243 </EdgeSize>
244 <TileSize>
245 <AbsValue val="32"/>
246 </TileSize>
247 <BackgroundInsets>
248 <AbsInset left="5" right="5" top="5" bottom="5"/>
249 </BackgroundInsets>
250 </Backdrop>
251 <Layers>
252 <Layer level="OVERLAY">
253 <FontString name="$parentText" inherits="GameFontNormalSmall" text="none" setAllPoints="true"/>
254 </Layer>
255 </Layers>
256 </Frame>
257  
258 <Frame name="$parent_TypeFramePlayer">
259 <Size>
260 <AbsDimension x="30" y="30"/>
261 </Size>
262 <Anchors>
263 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" relativeTo="$parent_PortraitFrame">
264 <Offset>
265 <AbsDimension x="-2" y="0"/>
266 </Offset>
267 </Anchor>
268 </Anchors>
269  
270 <Layers>
271 <Layer level="ARTWORK">
272 <Texture name="$parent_ClassTexture" file="Interface\Glues\CharacterCreate\UI-CharacterCreate-Classes">
273 <Size>
274 <AbsDimension x="20" y="20"/>
275 </Size>
276 <Anchors>
277 <Anchor point="TOP" relativePoint="TOP">
278 <Offset>
279 <AbsDimension x="-1" y="-8"/>
280 </Offset>
281 </Anchor>
282 </Anchors>
283 </Texture>
284 </Layer>
285 </Layers>
286 </Frame>
287 <Frame name="$parent_BossFrame">
288 <Size>
289 <AbsDimension x="38" y="20"/>
290 </Size>
291 <Anchors>
292 <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" relativeTo="$parent_PortraitFrame">
293 <Offset>
294 <AbsDimension x="-2" y="0"/>
295 </Offset>
296 </Anchor>
297 </Anchors>
298 <Backdrop bgFile="Interface\Addons\XPerl\Images\XPerl_FrameBack" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
299 <EdgeSize>
300 <AbsValue val="16"/>
301 </EdgeSize>
302 <TileSize>
303 <AbsValue val="32"/>
304 </TileSize>
305 <BackgroundInsets>
306 <AbsInset left="5" right="5" top="5" bottom="5"/>
307 </BackgroundInsets>
308 </Backdrop>
309 <Layers>
310 <Layer level="OVERLAY">
311 <FontString name="$parentText" inherits="GameFontNormalSmall" text="Elite">
312 <Anchors>
313 <Anchor point="TOPLEFT"/>
314 <Anchor point="BOTTOMRIGHT">
315 <Offset>
316 <AbsDimension x="0" y="1"/>
317 </Offset>
318 </Anchor>
319 </Anchors>
320 </FontString>
321 </Layer>
322 </Layers>
323 </Frame>
324 <Frame name="$parent_CPFrame">
325 <Size>
326 <AbsDimension x="26" y="22"/>
327 </Size>
328 <Anchors>
329 <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_LevelFrame">
330 <Offset>
331 <AbsDimension x="-4" y="0"/>
332 </Offset>
333 </Anchor>
334 </Anchors>
335 <Backdrop bgFile="Interface\Addons\XPerl\Images\XPerl_FrameBack" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true">
336 <EdgeSize>
337 <AbsValue val="16"/>
338 </EdgeSize>
339 <TileSize>
340 <AbsValue val="32"/>
341 </TileSize>
342 <BackgroundInsets>
343 <AbsInset left="5" right="5" top="5" bottom="5"/>
344 </BackgroundInsets>
345 </Backdrop>
346 <Layers>
347 <Layer level="OVERLAY">
348 <FontString name="$parentText" inherits="GameFontNormalSmall" text="0" setAllPoints="true"/>
349 </Layer>
350 </Layers>
351 </Frame>
352  
353 <!-- Target Stats -->
354 <Frame name="$parent_StatsFrame" inherits="XPerl_Stats_Template">
355 <Anchors>
356 <Anchor point="TOP" relativePoint="BOTTOM" relativeTo="$parent_NameFrame">
357 <Offset>
358 <AbsDimension x="0" y="2"/>
359 </Offset>
360 </Anchor>
361 </Anchors>
362 </Frame>
363  
364 <!-- Cast Click Overlay -->
365 <Button name="$parent_CastClickOverlay" topLevel="true"> --frameStrata="MEDIUM">
366 <HighlightTexture file="Interface\Addons\XPerl\Images\XPerl_Highlight" alphaMode="ADD">
367 <TexCoords left="0" right="1" top="0.5" bottom="1"/>
368 </HighlightTexture>
369 <Anchors>
370 <Anchor point="TOPLEFT" relativeTo="$parent_NameFrame"/>
371 <Anchor point="BOTTOMRIGHT" relativeTo="$parent_TypeFramePlayer_ClassTexture">
372 <Offset>
373 <AbsDimension x="2" y="-1"/>
374 </Offset>
375 </Anchor>
376 </Anchors>
377 <Scripts>
378 <OnLoad>
379 this:RegisterForClicks('LeftButtonUp', 'RightButtonUp', 'MiddleButtonUp', 'Button4Up', 'Button5Up')
380 this:RegisterForDrag("LeftButton")
381 </OnLoad>
382 <OnClick>
383 XPerl_Target_OnClick(arg1)
384 </OnClick>
385 <OnDragStart>
386 if (XPerlLocked == 0) then
387 XPerl_Target:StartMoving()
388 end
389 </OnDragStart>
390 <OnDragStop>
391 XPerl_Target:StopMovingOrSizing()
392 </OnDragStop>
393 <OnEnter>
394 XPerl_PlayerTip("target")
395 </OnEnter>
396 <OnLeave>
397 XPerl_PlayerTipHide()
398 </OnLeave>
399 </Scripts>
400  
401 <Layers>
402 <Layer level="OVERLAY">
403 <FontString name="XPerl_TargetHitIndicator" inherits="NumberFontNormalHuge" hidden="true" text="Error!">
404 <FontHeight>
405 <AbsValue val="30"/>
406 </FontHeight>
407 <Color r="1.0" g="1.0" b="1.0"/>
408 <Anchors>
409 <Anchor point="CENTER" relativePoint="CENTER" relativeTo="XPerl_Target_PortraitFrame"/>
410 </Anchors>
411 </FontString>
412 </Layer>
413 </Layers>
414 </Button>
415  
416 <!-- Buffs Frame -->
417 <Frame name="$parent_BuffFrame" topLevel="true"> --frameStrata="MEDIUM">
418 <Size>
419 <AbsDimension x="100" y="50"/>
420 </Size>
421 <Anchors>
422 <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="$parent_StatsFrame">
423 <Offset>
424 <AbsDimension x="2" y="0"/>
425 </Offset>
426 </Anchor>
427 </Anchors>
428 </Frame>
429 </Frames>
430 </Frame>
431 </Ui>