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 C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd">
3 <Script file="CT_RAOptions.lua"/>
4 <Button name="FriendsFrameTab5" inherits="FriendsFrameTabTemplate" parent="FriendsFrame" id="5" text="CTRaid">
5 <Anchors>
6 <Anchor point="LEFT" relativeTo="FriendsFrameTab4" relativePoint="RIGHT">
7 <Offset>
8 <AbsDimension x="-14" y="0"/>
9 </Offset>
10 </Anchor>
11 </Anchors>
12 <Scripts>
13 <OnLoad>
14 CT_RATab_OnLoad();
15 </OnLoad>
16 <OnEnter>
17 GameTooltip_AddNewbieTip(nil, nil, nil, nil, "Allows you to set up what raid groups to show health and mana, energy or rage bars for. Right-clicking a member will show the menu where you can set up Main Tanks.", 1);
18 </OnEnter>
19 <OnLeave>
20 GameTooltip:Hide();
21 </OnLeave>
22 </Scripts>
23 </Button>
24 <CheckButton name="CT_RACheckButtonTemplate" virtual="true" hidden="false" inherits="OptionsCheckButtonTemplate">
25 <HitRectInsets>
26 <AbsInset left="0" right="0" top="0" bottom="0"/>
27 </HitRectInsets>
28 <Size>
29 <AbsDimension x="16" y="16"/>
30 </Size>
31 <Scripts>
32 <OnClick>
33 CT_RA_SetGroup();
34 </OnClick>
35 <OnLoad>
36 this.id = this:GetID();
37 </OnLoad>
38 </Scripts>
39 </CheckButton>
40  
41 <Button name="CT_RAOptionsGroupButtonTemplate" movable="true" virtual="true">
42 <Size>
43 <AbsDimension x="156" y="14"/>
44 </Size>
45 <Layers>
46 <Layer level="ARTWORK">
47 <FontString name="$parentRank" inherits="GameFontNormalSmall" justifyH="LEFT">
48 <Size>
49 <AbsDimension x="18" y="8"/>
50 </Size>
51 <Anchors>
52 <Anchor point="LEFT">
53 <Offset>
54 <AbsDimension x="1" y="1"/>
55 </Offset>
56 </Anchor>
57 </Anchors>
58 </FontString>
59 <FontString name="$parentName" inherits="GameFontNormalSmall" justifyH="LEFT">
60 <Size>
61 <AbsDimension x="60" y="8"/>
62 </Size>
63 <Anchors>
64 <Anchor point="LEFT" relativeTo="$parentRank" relativePoint="RIGHT">
65 <Offset>
66 <AbsDimension x="2" y="0"/>
67 </Offset>
68 </Anchor>
69 </Anchors>
70 </FontString>
71 <FontString name="$parentLevel" inherits="GameFontNormalSmall" justifyH="CENTER">
72 <Size>
73 <AbsDimension x="22" y="8"/>
74 </Size>
75 <Anchors>
76 <Anchor point="LEFT" relativeTo="$parentName" relativePoint="RIGHT">
77 <Offset>
78 <AbsDimension x="5" y="0"/>
79 </Offset>
80 </Anchor>
81 </Anchors>
82 </FontString>
83 <FontString name="$parentClass" inherits="GameFontNormalSmall" justifyH="LEFT">
84 <Size>
85 <AbsDimension x="50" y="8"/>
86 </Size>
87 <Anchors>
88 <Anchor point="LEFT">
89 <Offset>
90 <AbsDimension x="110" y="1"/>
91 </Offset>
92 </Anchor>
93 </Anchors>
94 </FontString>
95 </Layer>
96 </Layers>
97 <Frames>
98 <Frame name="$parentDropDown" inherits="UIDropDownMenuTemplate" id="1" hidden="false">
99 <Size>
100 <AbsDimension x="10" y="10"/>
101 </Size>
102 <Anchors>
103 <Anchor point="TOP">
104 <Offset>
105 <AbsDimension x="70" y="10"/>
106 </Offset>
107 </Anchor>
108 </Anchors>
109 <Scripts>
110 <OnLoad>
111 CT_RAMemberDropDown_OnLoad();
112 </OnLoad>
113 </Scripts>
114 </Frame>
115 </Frames>
116 <Scripts>
117 <OnLoad>
118 this:SetFrameLevel(this:GetFrameLevel() + 2);
119 this:RegisterForClicks("LeftButtonUp", "RightButtonUp");
120 </OnLoad>
121 <OnMouseDown>
122 CT_RAOptionsGroupButton_OnMouseDown(arg1);
123 </OnMouseDown>
124 <OnMouseUp>
125 CT_RAOptionsGroupButton_OnMouseUp(arg1);
126 </OnMouseUp>
127 </Scripts>
128 <NormalTexture name="$parentTexture" file="Interface\RaidFrame\UI-RaidFrame-GroupButton">
129 <TexCoords left="0" right="0.640625" top="0" bottom="0.4375"/>
130 </NormalTexture>
131 <HighlightTexture file="Interface\RaidFrame\UI-RaidFrame-GroupButton" alphaMode="ADD">
132 <TexCoords left="0" right="0.640625" top="0.46875" bottom="0.90625"/>
133 </HighlightTexture>
134 </Button>
135 <Button name="CT_RAOptionsGroupSlotTemplate" virtual="true">
136 <Size>
137 <AbsDimension x="156" y="14"/>
138 </Size>
139 <Layers>
140 <Layer level="BACKGROUND">
141 <FontString inherits="GameFontDarkGraySmall" text="EMPTY">
142 <Anchors>
143 <Anchor point="CENTER">
144 <Offset>
145 <AbsDimension x="0" y="0"/>
146 </Offset>
147 </Anchor>
148 </Anchors>
149 </FontString>
150 </Layer>
151 </Layers>
152 <HighlightTexture file="Interface\RaidFrame\UI-RaidFrame-GroupButton" alphaMode="ADD">
153 <TexCoords left="0" right="0.640625" top="0.46875" bottom="0.90625"/>
154 </HighlightTexture>
155 </Button>
156 <Frame name="CT_RAOptionsGroupTemplate" virtual="true">
157 <Size>
158 <AbsDimension x="162" y="80"/>
159 </Size>
160 <Layers>
161 <Layer level="BACKGROUND">
162 <FontString name="$parentLabel" inherits="GameFontNormalSmall">
163 <Anchors>
164 <Anchor point="TOP">
165 <Offset>
166 <AbsDimension x="0" y="10"/>
167 </Offset>
168 </Anchor>
169 </Anchors>
170 </FontString>
171 <Texture file="Interface\RaidFrame\UI-RaidFrame-GroupOutline">
172 <Size>
173 <AbsDimension x="162" y="80"/>
174 </Size>
175 <Anchors>
176 <Anchor point="TOPLEFT"/>
177 </Anchors>
178 <TexCoords left="0" right="0.6640625" top="0" bottom="0.625"/>
179 </Texture>
180 </Layer>
181 </Layers>
182 <Frames>
183 <Button name="$parentSlot1" id="1" inherits="CT_RAOptionsGroupSlotTemplate">
184 <Anchors>
185 <Anchor point="TOPLEFT">
186 <Offset>
187 <AbsDimension x="3" y="-3"/>
188 </Offset>
189 </Anchor>
190 </Anchors>
191 </Button>
192 <Button name="$parentSlot2" id="2" inherits="CT_RAOptionsGroupSlotTemplate">
193 <Anchors>
194 <Anchor point="TOPLEFT" relativeTo="$parentSlot1" relativePoint="BOTTOMLEFT">
195 <Offset>
196 <AbsDimension x="0" y="-1"/>
197 </Offset>
198 </Anchor>
199 </Anchors>
200 </Button>
201 <Button name="$parentSlot3" id="3" inherits="CT_RAOptionsGroupSlotTemplate">
202 <Anchors>
203 <Anchor point="TOPLEFT" relativeTo="$parentSlot2" relativePoint="BOTTOMLEFT">
204 <Offset>
205 <AbsDimension x="0" y="-1"/>
206 </Offset>
207 </Anchor>
208 </Anchors>
209 </Button>
210 <Button name="$parentSlot4" id="4" inherits="CT_RAOptionsGroupSlotTemplate">
211 <Anchors>
212 <Anchor point="TOPLEFT" relativeTo="$parentSlot3" relativePoint="BOTTOMLEFT">
213 <Offset>
214 <AbsDimension x="0" y="-1"/>
215 </Offset>
216 </Anchor>
217 </Anchors>
218 </Button>
219 <Button name="$parentSlot5" id="5" inherits="CT_RAOptionsGroupSlotTemplate">
220 <Anchors>
221 <Anchor point="TOPLEFT" relativeTo="$parentSlot4" relativePoint="BOTTOMLEFT">
222 <Offset>
223 <AbsDimension x="0" y="-1"/>
224 </Offset>
225 </Anchor>
226 </Anchors>
227 </Button>
228 </Frames>
229 <Scripts>
230 <OnLoad>
231 getglobal(this:GetName().."Label"):SetText(GROUP.." "..this:GetID());
232 </OnLoad>
233 </Scripts>
234 </Frame>
235  
236 <Frame name="CT_RAOptionsFrame" setAllPoints="true" hidden="true" parent="FriendsFrame">
237 <Frames>
238 <Frame name="CT_RAOptionsGroup1" inherits="CT_RAOptionsGroupTemplate" id="1">
239 <Anchors>
240 <Anchor point="TOPLEFT">
241 <Offset>
242 <AbsDimension x="16" y="-70"/>
243 </Offset>
244 </Anchor>
245 </Anchors>
246 </Frame>
247 <Frame name="CT_RAOptionsGroup2" inherits="CT_RAOptionsGroupTemplate" id="2">
248 <Anchors>
249 <Anchor point="LEFT" relativeTo="CT_RAOptionsGroup1" relativePoint="RIGHT">
250 <Offset>
251 <AbsDimension x="3" y="0"/>
252 </Offset>
253 </Anchor>
254 </Anchors>
255 </Frame>
256 <Frame name="CT_RAOptionsGroup3" inherits="CT_RAOptionsGroupTemplate" id="3">
257 <Anchors>
258 <Anchor point="TOP" relativeTo="CT_RAOptionsGroup1" relativePoint="BOTTOM">
259 <Offset>
260 <AbsDimension x="0" y="-14"/>
261 </Offset>
262 </Anchor>
263 </Anchors>
264 </Frame>
265 <Frame name="CT_RAOptionsGroup4" inherits="CT_RAOptionsGroupTemplate" id="4">
266 <Anchors>
267 <Anchor point="LEFT" relativeTo="CT_RAOptionsGroup3" relativePoint="RIGHT">
268 <Offset>
269 <AbsDimension x="3" y="0"/>
270 </Offset>
271 </Anchor>
272 </Anchors>
273 </Frame>
274 <Frame name="CT_RAOptionsGroup5" inherits="CT_RAOptionsGroupTemplate" id="5">
275 <Anchors>
276 <Anchor point="TOP" relativeTo="CT_RAOptionsGroup3" relativePoint="BOTTOM">
277 <Offset>
278 <AbsDimension x="0" y="-14"/>
279 </Offset>
280 </Anchor>
281 </Anchors>
282 </Frame>
283 <Frame name="CT_RAOptionsGroup6" inherits="CT_RAOptionsGroupTemplate" id="6">
284 <Anchors>
285 <Anchor point="LEFT" relativeTo="CT_RAOptionsGroup5" relativePoint="RIGHT">
286 <Offset>
287 <AbsDimension x="3" y="0"/>
288 </Offset>
289 </Anchor>
290 </Anchors>
291 </Frame>
292 <Frame name="CT_RAOptionsGroup7" inherits="CT_RAOptionsGroupTemplate" id="7">
293 <Anchors>
294 <Anchor point="TOP" relativeTo="CT_RAOptionsGroup5" relativePoint="BOTTOM">
295 <Offset>
296 <AbsDimension x="0" y="-14"/>
297 </Offset>
298 </Anchor>
299 </Anchors>
300 </Frame>
301 <Frame name="CT_RAOptionsGroup8" inherits="CT_RAOptionsGroupTemplate" id="8">
302 <Anchors>
303 <Anchor point="LEFT" relativeTo="CT_RAOptionsGroup7" relativePoint="RIGHT">
304 <Offset>
305 <AbsDimension x="3" y="0"/>
306 </Offset>
307 </Anchor>
308 </Anchors>
309 </Frame>
310 <CheckButton name="CT_RAOptionsGroupCB1" inherits="CT_RaCheckButtonTemplate" id="1">
311 <Anchors>
312 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="CT_RAOptionsGroup1Label">
313 <Offset>
314 <AbsDimension x="0" y="0"/>
315 </Offset>
316 </Anchor>
317 </Anchors>
318 </CheckButton>
319 <CheckButton name="CT_RAOptionsGroupCB2" inherits="CT_RaCheckButtonTemplate" id="2">
320 <Anchors>
321 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="CT_RAOptionsGroup2Label">
322 <Offset>
323 <AbsDimension x="0" y="0"/>
324 </Offset>
325 </Anchor>
326 </Anchors>
327 </CheckButton>
328 <CheckButton name="CT_RAOptionsGroupCB3" inherits="CT_RaCheckButtonTemplate" id="3">
329 <Anchors>
330 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="CT_RAOptionsGroup3Label">
331 <Offset>
332 <AbsDimension x="0" y="0"/>
333 </Offset>
334 </Anchor>
335 </Anchors>
336 </CheckButton>
337 <CheckButton name="CT_RAOptionsGroupCB4" inherits="CT_RaCheckButtonTemplate" id="4">
338 <Anchors>
339 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="CT_RAOptionsGroup4Label">
340 <Offset>
341 <AbsDimension x="0" y="0"/>
342 </Offset>
343 </Anchor>
344 </Anchors>
345 </CheckButton>
346 <CheckButton name="CT_RAOptionsGroupCB5" inherits="CT_RaCheckButtonTemplate" id="5">
347 <Anchors>
348 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="CT_RAOptionsGroup5Label">
349 <Offset>
350 <AbsDimension x="0" y="0"/>
351 </Offset>
352 </Anchor>
353 </Anchors>
354 </CheckButton>
355 <CheckButton name="CT_RAOptionsGroupCB6" inherits="CT_RaCheckButtonTemplate" id="6">
356 <Anchors>
357 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="CT_RAOptionsGroup6Label">
358 <Offset>
359 <AbsDimension x="0" y="0"/>
360 </Offset>
361 </Anchor>
362 </Anchors>
363 </CheckButton>
364 <CheckButton name="CT_RAOptionsGroupCB7" inherits="CT_RaCheckButtonTemplate" id="7">
365 <Anchors>
366 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="CT_RAOptionsGroup7Label">
367 <Offset>
368 <AbsDimension x="0" y="0"/>
369 </Offset>
370 </Anchor>
371 </Anchors>
372 </CheckButton>
373 <CheckButton name="CT_RAOptionsGroupCB8" inherits="CT_RaCheckButtonTemplate" id="8">
374 <Anchors>
375 <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="CT_RAOptionsGroup8Label">
376 <Offset>
377 <AbsDimension x="0" y="0"/>
378 </Offset>
379 </Anchor>
380 </Anchors>
381 </CheckButton>
382 <Button name="CT_RAOptionsGroupButton1" inherits="CT_RAOptionsGroupButtonTemplate" id="1"/>
383 <Button name="CT_RAOptionsGroupButton2" inherits="CT_RAOptionsGroupButtonTemplate" id="2"/>
384 <Button name="CT_RAOptionsGroupButton3" inherits="CT_RAOptionsGroupButtonTemplate" id="3"/>
385 <Button name="CT_RAOptionsGroupButton4" inherits="CT_RAOptionsGroupButtonTemplate" id="4"/>
386 <Button name="CT_RAOptionsGroupButton5" inherits="CT_RAOptionsGroupButtonTemplate" id="5"/>
387 <Button name="CT_RAOptionsGroupButton6" inherits="CT_RAOptionsGroupButtonTemplate" id="6"/>
388 <Button name="CT_RAOptionsGroupButton7" inherits="CT_RAOptionsGroupButtonTemplate" id="7"/>
389 <Button name="CT_RAOptionsGroupButton8" inherits="CT_RAOptionsGroupButtonTemplate" id="8"/>
390 <Button name="CT_RAOptionsGroupButton9" inherits="CT_RAOptionsGroupButtonTemplate" id="9"/>
391 <Button name="CT_RAOptionsGroupButton10" inherits="CT_RAOptionsGroupButtonTemplate" id="10"/>
392 <Button name="CT_RAOptionsGroupButton11" inherits="CT_RAOptionsGroupButtonTemplate" id="11"/>
393 <Button name="CT_RAOptionsGroupButton12" inherits="CT_RAOptionsGroupButtonTemplate" id="12"/>
394 <Button name="CT_RAOptionsGroupButton13" inherits="CT_RAOptionsGroupButtonTemplate" id="13"/>
395 <Button name="CT_RAOptionsGroupButton14" inherits="CT_RAOptionsGroupButtonTemplate" id="14"/>
396 <Button name="CT_RAOptionsGroupButton15" inherits="CT_RAOptionsGroupButtonTemplate" id="15"/>
397 <Button name="CT_RAOptionsGroupButton16" inherits="CT_RAOptionsGroupButtonTemplate" id="16"/>
398 <Button name="CT_RAOptionsGroupButton17" inherits="CT_RAOptionsGroupButtonTemplate" id="17"/>
399 <Button name="CT_RAOptionsGroupButton18" inherits="CT_RAOptionsGroupButtonTemplate" id="18"/>
400 <Button name="CT_RAOptionsGroupButton19" inherits="CT_RAOptionsGroupButtonTemplate" id="19"/>
401 <Button name="CT_RAOptionsGroupButton20" inherits="CT_RAOptionsGroupButtonTemplate" id="20"/>
402 <Button name="CT_RAOptionsGroupButton21" inherits="CT_RAOptionsGroupButtonTemplate" id="21"/>
403 <Button name="CT_RAOptionsGroupButton22" inherits="CT_RAOptionsGroupButtonTemplate" id="22"/>
404 <Button name="CT_RAOptionsGroupButton23" inherits="CT_RAOptionsGroupButtonTemplate" id="23"/>
405 <Button name="CT_RAOptionsGroupButton24" inherits="CT_RAOptionsGroupButtonTemplate" id="24"/>
406 <Button name="CT_RAOptionsGroupButton25" inherits="CT_RAOptionsGroupButtonTemplate" id="25"/>
407 <Button name="CT_RAOptionsGroupButton26" inherits="CT_RAOptionsGroupButtonTemplate" id="26"/>
408 <Button name="CT_RAOptionsGroupButton27" inherits="CT_RAOptionsGroupButtonTemplate" id="27"/>
409 <Button name="CT_RAOptionsGroupButton28" inherits="CT_RAOptionsGroupButtonTemplate" id="28"/>
410 <Button name="CT_RAOptionsGroupButton29" inherits="CT_RAOptionsGroupButtonTemplate" id="29"/>
411 <Button name="CT_RAOptionsGroupButton30" inherits="CT_RAOptionsGroupButtonTemplate" id="30"/>
412 <Button name="CT_RAOptionsGroupButton31" inherits="CT_RAOptionsGroupButtonTemplate" id="31"/>
413 <Button name="CT_RAOptionsGroupButton32" inherits="CT_RAOptionsGroupButtonTemplate" id="32"/>
414 <Button name="CT_RAOptionsGroupButton33" inherits="CT_RAOptionsGroupButtonTemplate" id="33"/>
415 <Button name="CT_RAOptionsGroupButton34" inherits="CT_RAOptionsGroupButtonTemplate" id="34"/>
416 <Button name="CT_RAOptionsGroupButton35" inherits="CT_RAOptionsGroupButtonTemplate" id="35"/>
417 <Button name="CT_RAOptionsGroupButton36" inherits="CT_RAOptionsGroupButtonTemplate" id="36"/>
418 <Button name="CT_RAOptionsGroupButton37" inherits="CT_RAOptionsGroupButtonTemplate" id="37"/>
419 <Button name="CT_RAOptionsGroupButton38" inherits="CT_RAOptionsGroupButtonTemplate" id="38"/>
420 <Button name="CT_RAOptionsGroupButton39" inherits="CT_RAOptionsGroupButtonTemplate" id="39"/>
421 <Button name="CT_RAOptionsGroupButton40" inherits="CT_RAOptionsGroupButtonTemplate" id="40"/>
422  
423 <Button name="CT_RAOptionsButton" inherits="UIPanelButtonTemplate" text="Options">
424 <Size>
425 <AbsDimension x="110" y="22"/>
426 </Size>
427 <Anchors>
428 <Anchor point="TOPLEFT">
429 <Offset>
430 <AbsDimension x="70" y="-37"/>
431 </Offset>
432 </Anchor>
433 </Anchors>
434 <Scripts>
435 <OnClick>
436 CT_RAMenuFrame:Show();
437 </OnClick>
438 </Scripts>
439 </Button>
440  
441 <CheckButton name="CT_RACheckAllGroups" hidden="false" inherits="OptionsCheckButtonTemplate">
442 <HitRectInsets>
443 <AbsInset left="0" right="0" top="0" bottom="0"/>
444 </HitRectInsets>
445 <Size>
446 <AbsDimension x="24" y="24"/>
447 </Size>
448 <Anchors>
449 <Anchor point="TOPLEFT">
450 <Offset>
451 <AbsDimension x="210" y="-37"/>
452 </Offset>
453 </Anchor>
454 </Anchors>
455 <Scripts>
456 <OnClick>
457 CT_RA_CheckAllGroups();
458 </OnClick>
459 </Scripts>
460 </CheckButton>
461 </Frames>
462  
463 <Layers>
464 <Layer level="ARTWORK">
465 <FontString name="$parentCheckAllGroupsText" text="Check All Groups" inherits="GameFontNormalSmall">
466 <Anchors>
467 <Anchor point="TOPLEFT">
468 <Offset>
469 <AbsDimension x="235" y="-43"/>
470 </Offset>
471 </Anchor>
472 </Anchors>
473 </FontString>
474 </Layer>
475 </Layers>
476  
477 <Scripts>
478 <OnUpdate>
479 CT_RAOptionsGroupFrame_OnUpdate(arg1);
480 </OnUpdate>
481 <OnLoad>
482 CT_RAOptions_Update();
483 this:RegisterEvent("RAID_ROSTER_UPDATE");
484 </OnLoad>
485 <OnEvent>
486 CT_RAOptions_Update();
487 </OnEvent>
488 </Scripts>
489 </Frame>
490 </Ui>