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