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 | C:\Projects\WoW\Bin\Interface\FrameXML\UI.xsd"> |
||
3 | |||
4 | |||
5 | |||
6 | |||
7 | <!-- |
||
8 | LUA Script files |
||
9 | --> |
||
10 | |||
11 | <Script file="CTALocalization.lua"/> |
||
12 | <Script file="CTALocalization.de.lua"/> |
||
13 | <Script file="CTALocalization.fr.lua"/> |
||
14 | <Script file="CallToArms_Util.lua"/> |
||
15 | |||
16 | <Script file="CallToArms.lua"/> |
||
17 | |||
18 | |||
19 | |||
20 | |||
21 | |||
22 | <!-- |
||
23 | Abstract Fonts |
||
24 | --> |
||
25 | |||
26 | <FontString name="CTA_TitleFont" inherits="GameFontNormal" virtual="true"> |
||
27 | <Color r="0.9" g="0.9" b="0.9"/> |
||
28 | </FontString> |
||
29 | |||
30 | <FontString name="CTA_Heading1Font" inherits="GameFontNormalLarge" virtual="true"> |
||
31 | <!--Color r="1.0" g="1.0" b="1.0"/--> |
||
32 | </FontString> |
||
33 | |||
34 | <FontString name="CTA_Heading2Font" inherits="GameFontNormal" virtual="true"> |
||
35 | <Color r="1.0" g="1.0" b="1.0"/> |
||
36 | </FontString> |
||
37 | |||
38 | <FontString name="CTA_NormalFont" inherits="GameFontNormal" virtual="true"> |
||
39 | <Color r="1.0" g="1.0" b="1.0"/> |
||
40 | </FontString> |
||
41 | |||
42 | <FontString name="CTA_NormalFontSmall" inherits="GameFontNormal" virtual="true"> |
||
43 | <Color r="1.0" g="1.0" b="1.0"/> |
||
44 | </FontString> |
||
45 | |||
46 | <FontString name="CTA_ListItemFont" font="Fonts\ARIALN.TTF" virtual="true"> |
||
47 | <FontHeight> |
||
48 | <AbsValue val="12"/> |
||
49 | </FontHeight> |
||
50 | <Color r="1.0" g="1.0" b="1.0"/> |
||
51 | <Shadow> |
||
52 | <Offset> |
||
53 | <AbsDimension x="1" y="-1"/> |
||
54 | </Offset> |
||
55 | <Color r="0" g="0" b="0"/> |
||
56 | </Shadow> |
||
57 | </FontString> |
||
58 | |||
59 | |||
60 | |||
61 | |||
62 | <!-- |
||
63 | Abstract Editbox, Buttons |
||
64 | --> |
||
65 | |||
66 | <EditBox name="CTA_AbstractEditBox" autoFocus="false" virtual="true"> |
||
67 | <Size> |
||
68 | <AbsDimension x="140" y="20"/> |
||
69 | </Size> |
||
70 | <Layers> |
||
71 | <Layer level="BACKGROUND"> |
||
72 | <Texture> |
||
73 | <Anchors> |
||
74 | <Anchor point="TOPLEFT"/> |
||
75 | <Anchor point="BOTTOMRIGHT"/> |
||
76 | </Anchors> |
||
77 | <Color r="1.0" g="1.0" b="1.0" a="0.5"/> |
||
78 | </Texture> |
||
79 | </Layer> |
||
80 | <Layer level="ARTWORK"> |
||
81 | <Texture> |
||
82 | <Anchors> |
||
83 | <Anchor point="TOPLEFT"> |
||
84 | <Offset> |
||
85 | <AbsDimension x="1" y="-1"/> |
||
86 | </Offset> |
||
87 | </Anchor> |
||
88 | <Anchor point="BOTTOMRIGHT"> |
||
89 | <Offset> |
||
90 | <AbsDimension x="-1" y="1"/> |
||
91 | </Offset> |
||
92 | </Anchor> |
||
93 | </Anchors> |
||
94 | <Color r="0.0" g="0.0" b="0.0" a="0.92"/> |
||
95 | </Texture> |
||
96 | </Layer> |
||
97 | </Layers> |
||
98 | <FontString inherits="ChatFontNormal"/> |
||
99 | </EditBox> |
||
100 | |||
101 | <Button name="CTA_AbstractButton" inherits="UIPanelButtonTemplate" virtual="true"> |
||
102 | <Size> |
||
103 | <AbsDimension x="80" y="22"/> |
||
104 | </Size> |
||
105 | <NormalText inherits="GameFontNormalSmall"/> |
||
106 | <DisabledText inherits="GameFontDisableSmall"/> |
||
107 | <HighlightText inherits="GameFontHighlightSmall"/> |
||
108 | </Button> |
||
109 | |||
110 | <CheckButton name="CTA_AbstractCheckButton" virtual="true" inherits="UICheckButtonTemplate"> |
||
111 | <Size> |
||
112 | <AbsDimension x="24" y="24"/> |
||
113 | </Size> |
||
114 | <Scripts> |
||
115 | <OnEnter> |
||
116 | CTA_ShowTooltip(); |
||
117 | </OnEnter> |
||
118 | <OnLeave> |
||
119 | GameTooltip:Hide(); |
||
120 | </OnLeave> |
||
121 | <OnClick> |
||
122 | if ( this:GetChecked() ) then |
||
123 | PlaySound("igMainMenuOptionCheckBoxOff"); |
||
124 | else |
||
125 | PlaySound("igMainMenuOptionCheckBoxOn"); |
||
126 | end |
||
127 | </OnClick> |
||
128 | </Scripts> |
||
129 | </CheckButton> |
||
130 | |||
131 | <Button name="CTA_CharacterFrameTabButtonTemplate" inherits="WorldStateScoreFrameTabButtonTemplate" virtual="true"> |
||
132 | <Size> |
||
133 | <AbsDimension x="115" y="32"/> |
||
134 | </Size> |
||
135 | <Scripts> |
||
136 | <OnLoad> |
||
137 | this:SetFrameLevel(CTA_MainFrame:GetFrameLevel() + 1); |
||
138 | </OnLoad> |
||
139 | <OnCLick> |
||
140 | CTA_Tab_OnCLick(); |
||
141 | </OnCLick> |
||
142 | </Scripts> |
||
143 | </Button> |
||
144 | |||
145 | <Button name="CTA_TabButtonTemplate" inherits="TabButtonTemplate" virtual="true"> |
||
146 | <Size> |
||
147 | <AbsDimension x="115" y="32"/> |
||
148 | </Size> |
||
149 | </Button> |
||
150 | |||
151 | |||
152 | <CheckButton name="CTA_AbstractLabelCheckButton" inherits="CTA_AbstractCheckButton" virtual="true"> |
||
153 | <Layers> |
||
154 | <Layer level="OVERLAY"> |
||
155 | <FontString inherits="GameFontNormalSmall" name="$parentTextLabel" justifyH="LEFT"> |
||
156 | <Size> |
||
157 | <AbsDimension x="128" y="24"/> |
||
158 | </Size> |
||
159 | <Anchors> |
||
160 | <Anchor point="LEFT"> |
||
161 | <Offset> |
||
162 | <AbsDimension x="28" y="0"/> |
||
163 | </Offset> |
||
164 | </Anchor> |
||
165 | </Anchors> |
||
166 | </FontString> |
||
167 | </Layer> |
||
168 | </Layers> |
||
169 | </CheckButton> |
||
170 | |||
171 | <EditBox name="CTA_AbstractLabelEditBox" inherits="CTA_AbstractEditBox" virtual="true"> |
||
172 | <Layers> |
||
173 | <Layer level="OVERLAY"> |
||
174 | <FontString inherits="GameFontNormalSmall" name="$parentTextLabel" justifyH="RIGHT"> |
||
175 | <Anchors> |
||
176 | <Anchor point="TOPRIGHT" relativePoint="TOPLEFT"> |
||
177 | <Offset> |
||
178 | <AbsDimension x="-8" y="0"/> |
||
179 | </Offset> |
||
180 | </Anchor> |
||
181 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT"> |
||
182 | <Offset> |
||
183 | <AbsDimension x="-8" y="0"/> |
||
184 | </Offset> |
||
185 | </Anchor> |
||
186 | </Anchors> |
||
187 | </FontString> |
||
188 | </Layer> |
||
189 | </Layers> |
||
190 | </EditBox> |
||
191 | |||
192 | |||
193 | <!-- |
||
194 | Abstract Window, Frame, Internal Frame, Dialog |
||
195 | --> |
||
196 | |||
197 | <Frame name="CTA_AbstractWindow" virtual="true"> |
||
198 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
199 | <BackgroundInsets> |
||
200 | <AbsInset left="11" right="12" top="12" bottom="11"/> |
||
201 | </BackgroundInsets> |
||
202 | <TileSize> |
||
203 | <AbsValue val="32"/> |
||
204 | </TileSize> |
||
205 | <EdgeSize> |
||
206 | <AbsValue val="32"/> |
||
207 | </EdgeSize> |
||
208 | </Backdrop> |
||
209 | </Frame> |
||
210 | |||
211 | <Frame name="CTA_AbstractFrame" virtual="true"> |
||
212 | <Backdrop bgFile="Interface\Tooltips\ChatBubble-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
213 | <BackgroundInsets> |
||
214 | <AbsInset left="3" right="4" top="4" bottom="3"/> |
||
215 | </BackgroundInsets> |
||
216 | <TileSize> |
||
217 | <AbsValue val="32"/> |
||
218 | </TileSize> |
||
219 | <EdgeSize> |
||
220 | <AbsValue val="16"/> |
||
221 | </EdgeSize> |
||
222 | </Backdrop> |
||
223 | <Layers> |
||
224 | <Layer level="BACKGROUND"> |
||
225 | </Layer> |
||
226 | |||
227 | </Layers> |
||
228 | <Frames> |
||
229 | |||
230 | </Frames> |
||
231 | </Frame> |
||
232 | |||
233 | <Frame name="CTA_OptionFrameBoxTemplate" inherits="OptionFrameBoxTemplate" virtual="true"> |
||
234 | <Scripts> |
||
235 | <OnLoad> |
||
236 | this:SetBackdropBorderColor(0.4, 0.4, 0.4); |
||
237 | this:SetBackdropColor(0.15, 0.15, 0.15); |
||
238 | </OnLoad> |
||
239 | </Scripts> |
||
240 | </Frame> |
||
241 | |||
242 | <Frame name = "CTA_AbstractDialogFrame" inherits="CTA_AbstractWindow" toplevel="true" enableMouse="true" frameStrata="DIALOG" virtual="true"> |
||
243 | <Size> |
||
244 | <AbsDimension x="320" y="240"/> |
||
245 | </Size> |
||
246 | <Anchors> |
||
247 | <Anchor point="TOP"> |
||
248 | <Offset> |
||
249 | <AbsDimension x="0" y="-120"/> |
||
250 | </Offset> |
||
251 | </Anchor> |
||
252 | </Anchors> |
||
253 | <Layers> |
||
254 | <Layer level="ARTWORK"> |
||
255 | <FontString inherits="GameFontNormalLarge" name="$parentHeadingLabel" nonspacewrap="false"> |
||
256 | <Size> |
||
257 | <AbsDimension x="300" y="32"/> |
||
258 | </Size> |
||
259 | <Anchors> |
||
260 | <Anchor point="TOP"> |
||
261 | <Offset> |
||
262 | <AbsDimension x="0" y="-16"/> |
||
263 | </Offset> |
||
264 | </Anchor> |
||
265 | </Anchors> |
||
266 | </FontString> |
||
267 | <FontString inherits="GameFontNormal" name="$parentContentLabel" nonspacewrap="false"> |
||
268 | <Size> |
||
269 | <AbsDimension x="300" y="96"/> |
||
270 | </Size> |
||
271 | <Anchors> |
||
272 | <Anchor point="TOP"> |
||
273 | <Offset> |
||
274 | <AbsDimension x="0" y="-32"/> |
||
275 | </Offset> |
||
276 | </Anchor> |
||
277 | </Anchors> |
||
278 | </FontString> |
||
279 | </Layer> |
||
280 | </Layers> |
||
281 | <Frames> |
||
282 | <EditBox name="$parentEditBox" inherits="CTA_AbstractEditBox"> |
||
283 | <Size> |
||
284 | <AbsDimension x="200" y="20"/> |
||
285 | </Size> |
||
286 | <Anchors> |
||
287 | <Anchor point="TOP" > |
||
288 | <Offset> |
||
289 | <AbsDimension x="0" y="-128"/> |
||
290 | </Offset> |
||
291 | </Anchor> |
||
292 | </Anchors> |
||
293 | <FontString inherits="ChatFontNormal"/> |
||
294 | <Scripts> |
||
295 | <OnLoad> |
||
296 | this:SetTextInsets(4,0,0,0); |
||
297 | </OnLoad> |
||
298 | </Scripts> |
||
299 | </EditBox> |
||
300 | <Button name="$parentOkButton" inherits="CTA_AbstractButton"> |
||
301 | <Anchors> |
||
302 | <Anchor point="BOTTOMRIGHT"> |
||
303 | <Offset> |
||
304 | <AbsDimension x="-20" y="16"/> |
||
305 | </Offset> |
||
306 | </Anchor> |
||
307 | </Anchors> |
||
308 | <Scripts> |
||
309 | <OnClick> |
||
310 | CTA_DialogOKButton_OnCLick(); |
||
311 | </OnClick> |
||
312 | </Scripts> |
||
313 | </Button> |
||
314 | <Button name="$parentCloseButton" inherits="CTA_AbstractButton" text="CTA_CANCEL"> |
||
315 | <Anchors> |
||
316 | <Anchor point="BOTTOMLEFT"> |
||
317 | <Offset> |
||
318 | <AbsDimension x="20" y="16"/> |
||
319 | </Offset> |
||
320 | </Anchor> |
||
321 | </Anchors> |
||
322 | <Scripts> |
||
323 | <OnClick> |
||
324 | this:GetParent():Hide(); |
||
325 | </OnClick> |
||
326 | </Scripts> |
||
327 | </Button> |
||
328 | </Frames> |
||
329 | </Frame> |
||
330 | |||
331 | |||
332 | |||
333 | |||
334 | <!-- |
||
335 | Results List Item Templates |
||
336 | --> |
||
337 | |||
338 | |||
339 | <Frame name="CTA_NewItemTemplate" virtual="true"> |
||
340 | <Size> |
||
341 | <AbsDimension x="600" y="18"/> |
||
342 | </Size> |
||
343 | <Layers> |
||
344 | <Layer level="BACKGROUND"> |
||
345 | |||
346 | <Texture name ="$parentTextureSelectedIcon" file="Interface\Icons\Spell_Holy_SealOfFury" hidden="true"> |
||
347 | <Size> |
||
348 | <AbsDimension x="30" y="30"/> |
||
349 | </Size> |
||
350 | <Anchors> |
||
351 | <Anchor point="LEFT" relativePoint="LEFT"> |
||
352 | <Offset> |
||
353 | <AbsDimension x="0" y="0"/> |
||
354 | </Offset> |
||
355 | </Anchor> |
||
356 | </Anchors> |
||
357 | </Texture> |
||
358 | <!--Texture name ="$parentTextureSelectedBg" file="Interface\TargetingFrame\UI-TargetingFrame-LevelBackground" hidden="true"> |
||
359 | <Anchors> |
||
360 | <Anchor point="TOPLEFT"> |
||
361 | <Offset> |
||
362 | <AbsDimension x="32" y="-1"/> |
||
363 | </Offset> |
||
364 | </Anchor> |
||
365 | <Anchor point="BOTTOMRIGHT"> |
||
366 | <Offset> |
||
367 | <AbsDimension x="0" y="1"/> |
||
368 | </Offset> |
||
369 | </Anchor> |
||
370 | </Anchors> |
||
371 | </Texture--> |
||
372 | <Texture name ="$parentTexturePurple" hidden="true"> |
||
373 | <Anchors> |
||
374 | <Anchor point="TOPLEFT"> |
||
375 | <Offset> |
||
376 | <AbsDimension x="30" y="-1"/> |
||
377 | </Offset> |
||
378 | </Anchor> |
||
379 | <Anchor point="BOTTOMRIGHT"> |
||
380 | <Offset> |
||
381 | <AbsDimension x="0" y="1"/> |
||
382 | </Offset> |
||
383 | </Anchor> |
||
384 | </Anchors> |
||
385 | <Color r="0.25" g="0.1" b="0.0" a="0.75"/> |
||
386 | </Texture> |
||
387 | <Texture name ="$parentTextureBlue" hidden="true"> |
||
388 | <Anchors> |
||
389 | <Anchor point="TOPLEFT"> |
||
390 | <Offset> |
||
391 | <AbsDimension x="30" y="-1"/> |
||
392 | </Offset> |
||
393 | </Anchor> |
||
394 | <Anchor point="BOTTOMRIGHT"> |
||
395 | <Offset> |
||
396 | <AbsDimension x="0" y="1"/> |
||
397 | </Offset> |
||
398 | </Anchor> |
||
399 | </Anchors> |
||
400 | <Color r="0.0" g="0.0" b="0.25" a="0.75"/> |
||
401 | </Texture> |
||
402 | |||
403 | </Layer> |
||
404 | |||
405 | <Layer level="ARTWORK"> |
||
406 | <Texture name ="$parentTextureSelectedBg" file="Interface\WorldStateFrame\WorldStateFinalScoreFrame-TopBackground" alphaMode="ADD" hidden="true"> |
||
407 | <Anchors> |
||
408 | <Anchor point="TOPLEFT"> |
||
409 | <Offset> |
||
410 | <AbsDimension x="30" y="-1"/> |
||
411 | </Offset> |
||
412 | </Anchor> |
||
413 | <Anchor point="BOTTOMRIGHT"> |
||
414 | <Offset> |
||
415 | <AbsDimension x="0" y="-5"/> |
||
416 | </Offset> |
||
417 | </Anchor> |
||
418 | </Anchors> |
||
419 | <TexCoords left="0" right="2.0" top="0.1" bottom="1.0"/> |
||
420 | </Texture> |
||
421 | |||
422 | |||
423 | <Texture name ="$parentTextureGold" hidden="true"> |
||
424 | <Anchors> |
||
425 | <Anchor point="TOPLEFT"> |
||
426 | <Offset> |
||
427 | <AbsDimension x="-5" y="-1"/> |
||
428 | </Offset> |
||
429 | </Anchor> |
||
430 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT"> |
||
431 | <Offset> |
||
432 | <AbsDimension x="-1" y="1"/> |
||
433 | </Offset> |
||
434 | </Anchor> |
||
435 | </Anchors> |
||
436 | <Color r="1" g="0.85" b="0.0" a="1"/> |
||
437 | </Texture> |
||
438 | |||
439 | <Texture name ="$parentTextureSilver" hidden="true"> |
||
440 | <Anchors> |
||
441 | <Anchor point="TOPLEFT"> |
||
442 | <Offset> |
||
443 | <AbsDimension x="-5" y="-1"/> |
||
444 | </Offset> |
||
445 | </Anchor> |
||
446 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT"> |
||
447 | <Offset> |
||
448 | <AbsDimension x="-1" y="1"/> |
||
449 | </Offset> |
||
450 | </Anchor> |
||
451 | </Anchors> |
||
452 | <Color r="0.95" g="0.95" b="1" a="1"/> |
||
453 | </Texture> |
||
454 | |||
455 | <Texture name ="$parentTextureSelected" file="Interface\FriendsFrame\UI-FriendsFrame-HighlightBar" alphaMode="ADD" hidden="true"> |
||
456 | <Anchors> |
||
457 | <Anchor point="TOPLEFT"> |
||
458 | <Offset> |
||
459 | <AbsDimension x="0" y="0"/> |
||
460 | </Offset> |
||
461 | </Anchor> |
||
462 | <Anchor point="BOTTOMRIGHT"> |
||
463 | <Offset> |
||
464 | <AbsDimension x="0" y="0"/> |
||
465 | </Offset> |
||
466 | </Anchor> |
||
467 | </Anchors> |
||
468 | </Texture> |
||
469 | </Layer> |
||
470 | <Layer level="OVERLAY"> |
||
471 | <FontString inherits="GameFontNormal" name="$parentNameLabel" justifyH="LEFT"> |
||
472 | <Anchors> |
||
473 | <Anchor point="TOPLEFT"> |
||
474 | <Offset> |
||
475 | <AbsDimension x="5" y="0"/> |
||
476 | </Offset> |
||
477 | </Anchor> |
||
478 | <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT"> |
||
479 | <Offset> |
||
480 | <AbsDimension x="-20" y="-16"/> |
||
481 | </Offset> |
||
482 | </Anchor> |
||
483 | </Anchors> |
||
484 | <Color r="1.0" g="1.0" b="1.0" a="1"/> |
||
485 | </FontString> |
||
486 | <FontString inherits="GameFontNormalSmall" name="$parentMoreLabel" justifyH="LEFT" hidden="true"> |
||
487 | <Size> |
||
488 | <AbsDimension x="580" y="16"/> |
||
489 | </Size> |
||
490 | <Anchors> |
||
491 | <Anchor point="LEFT"> |
||
492 | <Offset> |
||
493 | <AbsDimension x="5" y="-6"/> |
||
494 | </Offset> |
||
495 | </Anchor> |
||
496 | </Anchors> |
||
497 | <Color r="1.0" g="1.0" b="1.0"/> |
||
498 | </FontString> |
||
499 | <FontString inherits="GameFontNormalSmall" name="$parentMoreRightLabel" justifyH="RIGHT" hidden="true"> |
||
500 | <Size> |
||
501 | <AbsDimension x="580" y="16"/> |
||
502 | </Size> |
||
503 | <Anchors> |
||
504 | <Anchor point="RIGHT"> |
||
505 | <Offset> |
||
506 | <AbsDimension x="-2" y="-6"/> |
||
507 | </Offset> |
||
508 | </Anchor> |
||
509 | </Anchors> |
||
510 | <Color r="1.0" g="1.0" b="1.0"/> |
||
511 | </FontString> |
||
512 | </Layer> |
||
513 | </Layers> |
||
514 | <Frames> |
||
515 | <Frame name="$parentAuxFrameLeft"> |
||
516 | <Anchors> |
||
517 | <Anchor point="TOPLEFT"> |
||
518 | <Offset> |
||
519 | <AbsDimension x="0" y="0"/> |
||
520 | </Offset> |
||
521 | </Anchor> |
||
522 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMLEFT"> |
||
523 | <Offset> |
||
524 | <AbsDimension x="32" y="0"/> |
||
525 | </Offset> |
||
526 | </Anchor> |
||
527 | </Anchors> |
||
528 | <Scripts> |
||
529 | <OnEnter> |
||
530 | CTA_ListItemAuxLeft_ShowTooltip(); |
||
531 | CTA_ResultItem_Hover_On(this:GetParent()); |
||
532 | </OnEnter> |
||
533 | <OnLeave> |
||
534 | GameTooltip:Hide(); |
||
535 | CTA_ResultItem_Hover_Off(this:GetParent()); |
||
536 | </OnLeave> |
||
537 | </Scripts> |
||
538 | </Frame> |
||
539 | |||
540 | <Frame name="$parentAuxFrameRight"> |
||
541 | <Anchors> |
||
542 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT"> |
||
543 | <Offset> |
||
544 | <AbsDimension x="-32" y="0"/> |
||
545 | </Offset> |
||
546 | </Anchor> |
||
547 | <Anchor point="BOTTOMRIGHT"/> |
||
548 | </Anchors> |
||
549 | <Layers> |
||
550 | <Layer level="ARTWORK"> |
||
551 | <!--Texture> |
||
552 | <Size> |
||
553 | <AbsDimension x="14" y="14"/> |
||
554 | </Size> |
||
555 | <Anchors> |
||
556 | <Anchor point="TOPRIGHT"> |
||
557 | <Offset> |
||
558 | <AbsDimension x="-2" y="-2"/> |
||
559 | </Offset> |
||
560 | </Anchor> |
||
561 | </Anchors> |
||
562 | <Color r="1.0" g="1.0" b="1.0" a="0.20"/> |
||
563 | </Texture--> |
||
564 | </Layer> |
||
565 | <Layer level="OVERLAY"> |
||
566 | <Texture name ="$parentTextureLock" file="Interface\ChatFrame\UI-ChatFrame-LockIcon" alphaMode="ADD" hidden="true"> |
||
567 | <Size> |
||
568 | <AbsDimension x="16" y="16"/> |
||
569 | </Size> |
||
570 | <Anchors> |
||
571 | <Anchor point="TOPLEFT"> |
||
572 | <Offset> |
||
573 | <AbsDimension x="9" y="-1"/> |
||
574 | </Offset> |
||
575 | </Anchor> |
||
576 | </Anchors> |
||
577 | </Texture> |
||
578 | <Texture name ="$parentTextureInfo" file="Interface\Buttons\UI-GuildButton-OfficerNote-Disabled" alphaMode="ADD" > |
||
579 | <Size> |
||
580 | <AbsDimension x="16" y="16"/> |
||
581 | </Size> |
||
582 | <Anchors> |
||
583 | <Anchor point="TOPLEFT"> |
||
584 | <Offset> |
||
585 | <AbsDimension x="15" y="-1"/> |
||
586 | </Offset> |
||
587 | </Anchor> |
||
588 | </Anchors> |
||
589 | </Texture> |
||
590 | </Layer> |
||
591 | </Layers> |
||
592 | <Scripts> |
||
593 | <OnEnter> |
||
594 | CTA_ListItemAuxRight_ShowTooltip(); |
||
595 | CTA_ResultItem_Hover_On(this:GetParent()); |
||
596 | </OnEnter> |
||
597 | <OnLeave> |
||
598 | GameTooltip:Hide(); |
||
599 | CTA_ResultItem_Hover_Off(this:GetParent()); |
||
600 | </OnLeave> |
||
601 | </Scripts> |
||
602 | </Frame> |
||
603 | </Frames> |
||
604 | <Scripts> |
||
605 | <OnMouseUp> |
||
606 | CTA_ListItem_OnMouseUp(); |
||
607 | </OnMouseUp> |
||
608 | <OnEnter> |
||
609 | CTA_ResultItem_Hover_On(this); |
||
610 | </OnEnter> |
||
611 | <OnLeave> |
||
612 | CTA_ResultItem_Hover_Off(this); |
||
613 | </OnLeave> |
||
614 | </Scripts> |
||
615 | </Frame> |
||
616 | |||
617 | |||
618 | |||
619 | |||
620 | |||
621 | <!-- |
||
622 | Acid Item Templates |
||
623 | --> |
||
624 | |||
625 | <Frame name="CTA_AcidItemTemplate0" virtual = "true" > |
||
626 | <Size> |
||
627 | <AbsDimension x="60" y="140"/> |
||
628 | </Size> |
||
629 | <Layers> |
||
630 | <Layer level="BACKGROUND"> |
||
631 | <Texture> |
||
632 | <Size> |
||
633 | <AbsDimension x="20" y="50"/> |
||
634 | </Size> |
||
635 | <Anchors> |
||
636 | <Anchor point="BOTTOM"> |
||
637 | <Offset> |
||
638 | <AbsDimension x="0" y="90"/> |
||
639 | </Offset> |
||
640 | </Anchor> |
||
641 | </Anchors> |
||
642 | <Color r="0.0" g="0.0" b="0.0" a="0.2"/> |
||
643 | </Texture> |
||
644 | </Layer> |
||
645 | <Layer level="ARTWORK"> |
||
646 | <Texture name="$parentCurrentTexture"> <!-- alphaMode="ADD"--> |
||
647 | <Size> |
||
648 | <AbsDimension x="20" y="50"/> |
||
649 | </Size> |
||
650 | <Anchors> |
||
651 | <Anchor point="BOTTOM"> |
||
652 | <Offset> |
||
653 | <AbsDimension x="0" y="90"/> |
||
654 | </Offset> |
||
655 | </Anchor> |
||
656 | </Anchors> |
||
657 | <Color r="0.9" g="0.9" b="0.9" a="0.5"/> |
||
658 | </Texture> |
||
659 | <FontString inherits="GameFontNormalSmall" name="$parentClassNameLabel" justifyV="TOP"> |
||
660 | <Size> |
||
661 | <AbsDimension x="60" y="80"/> |
||
662 | </Size> |
||
663 | <Anchors> |
||
664 | <Anchor point="TOP"> |
||
665 | <Offset> |
||
666 | <AbsDimension x="0" y="-100"/> |
||
667 | </Offset> |
||
668 | </Anchor> |
||
669 | </Anchors> |
||
670 | </FontString> |
||
671 | <FontString inherits="GameFontNormalSmall" name="$parentClassPercentLabel" hidden="true"> |
||
672 | <Size> |
||
673 | <AbsDimension x="60" y="20"/> |
||
674 | </Size> |
||
675 | <Anchors> |
||
676 | <Anchor point="TOP"> |
||
677 | <Offset> |
||
678 | <AbsDimension x="0" y="20"/> |
||
679 | </Offset> |
||
680 | </Anchor> |
||
681 | </Anchors> |
||
682 | </FontString> |
||
683 | <FontString inherits="GameFontNormalLarge" name="$parentClassAbsoluteLabel"> |
||
684 | <Size> |
||
685 | <AbsDimension x="60" y="20"/> |
||
686 | </Size> |
||
687 | <Anchors> |
||
688 | <Anchor point="TOP"> |
||
689 | <Offset> |
||
690 | <AbsDimension x="0" y="-52"/> |
||
691 | </Offset> |
||
692 | </Anchor> |
||
693 | </Anchors> |
||
694 | </FontString> |
||
695 | <FontString inherits="GameFontNormalSmall" name="$parentClassCurrentLabel"> |
||
696 | <Size> |
||
697 | <AbsDimension x="60" y="20"/> |
||
698 | </Size> |
||
699 | <Anchors> |
||
700 | <Anchor point="TOP"> |
||
701 | <Offset> |
||
702 | <AbsDimension x="15" y="-50"/> |
||
703 | </Offset> |
||
704 | </Anchor> |
||
705 | </Anchors> |
||
706 | </FontString> |
||
707 | </Layer> |
||
708 | </Layers> |
||
709 | <Frames> |
||
710 | <Frame name="$parentbarBorder"> |
||
711 | <Size> |
||
712 | <AbsDimension x="28" y="58"/> |
||
713 | </Size> |
||
714 | <Anchors> |
||
715 | <Anchor point="BOTTOM"> |
||
716 | <Offset> |
||
717 | <AbsDimension x="0" y="86"/> |
||
718 | </Offset> |
||
719 | </Anchor> |
||
720 | </Anchors> |
||
721 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\Tooltips\UI-Tooltip-Border" tile="true"> |
||
722 | <BackgroundInsets> |
||
723 | <AbsInset left="14" right="14" top="44" bottom="44"/> |
||
724 | </BackgroundInsets> |
||
725 | <TileSize> |
||
726 | <AbsValue val="0"/> |
||
727 | </TileSize> |
||
728 | <EdgeSize> |
||
729 | <AbsValue val="16"/> |
||
730 | </EdgeSize> |
||
731 | </Backdrop> |
||
732 | </Frame> |
||
733 | <Button name="$parentLessButton"> |
||
734 | <Size> |
||
735 | <AbsDimension x="20" y="20"/> |
||
736 | </Size> |
||
737 | <Anchors> |
||
738 | <Anchor point="TOPLEFT"> |
||
739 | <Offset> |
||
740 | <AbsDimension x="40" y="-30"/> |
||
741 | </Offset> |
||
742 | </Anchor> |
||
743 | </Anchors> |
||
744 | <Scripts> |
||
745 | <OnClick> |
||
746 | CTA_AcidItemButton_OnClick(); |
||
747 | </OnClick> |
||
748 | </Scripts> |
||
749 | <NormalTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollDownButton-Up"/> |
||
750 | <PushedTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollDownButton-Down"/> |
||
751 | <DisabledTexture file="Interface\Buttons\UI-ScrollBar-ScrollDownButton-Disabled"/> |
||
752 | <HighlightTexture alphaMode="ADD" file="Interface\MainMenuBar\UI-MainMenu-ScrollDownButton-Highlight"/> |
||
753 | |||
754 | </Button> |
||
755 | <Button name="$parentMoreButton"> |
||
756 | <Size> |
||
757 | <AbsDimension x="20" y="20"/> |
||
758 | </Size> |
||
759 | <Anchors> |
||
760 | <Anchor point="TOPLEFT"> |
||
761 | <Offset> |
||
762 | <AbsDimension x="40" y="0"/> |
||
763 | </Offset> |
||
764 | </Anchor> |
||
765 | </Anchors> |
||
766 | <Scripts> |
||
767 | <OnClick> |
||
768 | CTA_AcidItemButton_OnClick(); |
||
769 | </OnClick> |
||
770 | </Scripts> |
||
771 | <NormalTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollUpButton-Up"/> |
||
772 | <PushedTexture file="Interface\MainMenuBar\UI-MainMenu-ScrollUpButton-Down"/> |
||
773 | <DisabledTexture file="Interface\Buttons\UI-ScrollBar-ScrollUpButton-Disabled"/> |
||
774 | <HighlightTexture alphaMode="ADD" file="Interface\MainMenuBar\UI-MainMenu-ScrollUpButton-Highlight"/> |
||
775 | </Button> |
||
776 | <Button name="$parentDeleteButton" inherits="CTA_AbstractButton"> |
||
777 | <Size> |
||
778 | <AbsDimension x="40" y="20"/> |
||
779 | </Size> |
||
780 | <Anchors> |
||
781 | <Anchor point="TOPLEFT"> |
||
782 | <Offset> |
||
783 | <AbsDimension x="10" y="-72"/> |
||
784 | </Offset> |
||
785 | </Anchor> |
||
786 | </Anchors> |
||
787 | <Scripts> |
||
788 | <OnClick> |
||
789 | CTA_AcidItemButton_OnClick(); |
||
790 | </OnClick> |
||
791 | </Scripts> |
||
792 | </Button> |
||
793 | |||
794 | </Frames> |
||
795 | <Scripts> |
||
796 | <OnEnter> |
||
797 | CTA_AcidItem_ShowTooltip(); |
||
798 | </OnEnter> |
||
799 | <OnLeave> |
||
800 | GameTooltip:Hide(); |
||
801 | </OnLeave> |
||
802 | </Scripts> |
||
803 | </Frame> |
||
804 | |||
805 | <Frame name="CTA_AcidItemTemplate" inherits="CTA_AcidItemTemplate0" virtual = "true" > |
||
806 | <Layers> |
||
807 | <Layer level="BACKGROUND"> |
||
808 | <Texture name="$parentPercentTexture"><!--file="Interface\Addons\CallToArms\vertbar"--> |
||
809 | <Size> |
||
810 | <AbsDimension x="20" y="50"/> |
||
811 | </Size> |
||
812 | <Anchors> |
||
813 | <Anchor point="BOTTOM"> |
||
814 | <Offset> |
||
815 | <AbsDimension x="0" y="90"/> |
||
816 | </Offset> |
||
817 | </Anchor> |
||
818 | </Anchors> |
||
819 | <Color r="1.0" g="0.8" b="0.0" a="0.8"/> |
||
820 | </Texture> |
||
821 | </Layer> |
||
822 | </Layers> |
||
823 | </Frame> |
||
824 | |||
825 | <Frame name="CTA_AcidItemTemplateAnyClass" inherits="CTA_AcidItemTemplate0" virtual = "true" > |
||
826 | <Layers> |
||
827 | <Layer level="BACKGROUND"> |
||
828 | <Texture name="$parentPercentTexture" ><!--file="Interface\Addons\CallToArms\ggrad"--> |
||
829 | <Size> |
||
830 | <AbsDimension x="20" y="50"/> |
||
831 | </Size> |
||
832 | <Anchors> |
||
833 | <Anchor point="BOTTOM"> |
||
834 | <Offset> |
||
835 | <AbsDimension x="0" y="90"/> |
||
836 | </Offset> |
||
837 | </Anchor> |
||
838 | </Anchors> |
||
839 | <Color r="0.0" g="1.0" b="0.0" a="0.8"/> |
||
840 | </Texture> |
||
841 | </Layer> |
||
842 | </Layers> |
||
843 | </Frame> |
||
844 | |||
845 | |||
846 | |||
847 | |||
848 | <!-- |
||
849 | Player List Item Templates |
||
850 | --> |
||
851 | |||
852 | <Button name="CTA_GreyListTemplate0" virtual="true"> |
||
853 | <Size> |
||
854 | <AbsDimension x="600" y="18"/> |
||
855 | </Size> |
||
856 | <Layers> |
||
857 | <Layer level="BACKGROUND"> |
||
858 | <Texture> |
||
859 | <Anchors> |
||
860 | <Anchor point="TOPLEFT"> |
||
861 | <Offset> |
||
862 | <AbsDimension x="1" y="-1"/> |
||
863 | </Offset> |
||
864 | </Anchor> |
||
865 | <Anchor point="BOTTOMRIGHT"> |
||
866 | <Offset> |
||
867 | <AbsDimension x="-1" y="0"/> |
||
868 | </Offset> |
||
869 | </Anchor> |
||
870 | </Anchors> |
||
871 | <Color r="0.0" g="0.0" b="0.0" a="0.2"/> |
||
872 | </Texture> |
||
873 | </Layer> |
||
874 | <Layer level="OVERLAY"> |
||
875 | <FontString inherits="GameFontNormalSmall" name="$parentNameLabel" justifyH="LEFT"> |
||
876 | <Size> |
||
877 | <AbsDimension x="90" y="18"/> |
||
878 | </Size> |
||
879 | <Anchors> |
||
880 | <Anchor point="LEFT"> |
||
881 | <Offset> |
||
882 | <AbsDimension x="5" y="0"/> |
||
883 | </Offset> |
||
884 | </Anchor> |
||
885 | </Anchors> |
||
886 | </FontString> |
||
887 | <FontString inherits="GameFontNormalSmall" name="$parentNoteLabel" justifyH="LEFT"> |
||
888 | <Size> |
||
889 | <AbsDimension x="340" y="18"/> |
||
890 | </Size> |
||
891 | <Anchors> |
||
892 | <Anchor point="LEFT"> |
||
893 | <Offset> |
||
894 | <AbsDimension x="100" y="0"/> |
||
895 | </Offset> |
||
896 | </Anchor> |
||
897 | </Anchors> |
||
898 | </FontString> |
||
899 | <FontString inherits="GameFontNormalSmall" name="$parentStatusLabel" justifyH="LEFT"> |
||
900 | <Size> |
||
901 | <AbsDimension x="100" y="18"/> |
||
902 | </Size> |
||
903 | <Anchors> |
||
904 | <Anchor point="LEFT"> |
||
905 | <Offset> |
||
906 | <AbsDimension x="450" y="0"/> |
||
907 | </Offset> |
||
908 | </Anchor> |
||
909 | </Anchors> |
||
910 | </FontString> |
||
911 | <FontString inherits="GameFontNormalSmall" name="$parentRatingLabel"> |
||
912 | <Size> |
||
913 | <AbsDimension x="30" y="18"/> |
||
914 | </Size> |
||
915 | <Anchors> |
||
916 | <Anchor point="LEFT"> |
||
917 | <Offset> |
||
918 | <AbsDimension x="550" y="0"/> |
||
919 | </Offset> |
||
920 | </Anchor> |
||
921 | </Anchors> |
||
922 | </FontString> |
||
923 | </Layer> |
||
924 | </Layers> |
||
925 | </Button> |
||
926 | |||
927 | <Button name="CTA_GreyListTemplate" inherits="CTA_GreyListTemplate0" virtual="true"> |
||
928 | <Scripts> |
||
929 | <OnClick> |
||
930 | CTA_EditGreyListItem(); |
||
931 | </OnClick> |
||
932 | </Scripts> |
||
933 | <HighlightTexture file="Interface\FriendsFrame\UI-FriendsFrame-HighlightBar" alphaMode="ADD"> |
||
934 | <Size> |
||
935 | <AbsDimension x="600" y="18"/> |
||
936 | </Size> |
||
937 | <Anchors> |
||
938 | <Anchor point="TOP"> |
||
939 | <Offset> |
||
940 | <AbsDimension x="0" y="0"/> |
||
941 | </Offset> |
||
942 | </Anchor> |
||
943 | </Anchors> |
||
944 | </HighlightTexture> |
||
945 | </Button> |
||
946 | |||
947 | |||
948 | |||
949 | <!-- |
||
950 | Information Dialog |
||
951 | --> |
||
952 | |||
953 | <Frame name="CTA_InformationDialog" inherits="CTA_AbstractDialogFrame" hidden="true"> |
||
954 | <Scripts> |
||
955 | <OnLoad> |
||
956 | CTA_InformationDialogEditBox:Hide(); |
||
957 | CTA_InformationDialogOkButton:SetText( CTA_OK ); |
||
958 | </OnLoad> |
||
959 | </Scripts> |
||
960 | </Frame> |
||
961 | |||
962 | |||
963 | |||
964 | <!-- |
||
965 | Minimap Icon |
||
966 | --> |
||
967 | |||
968 | <Button name="CTA_MinimapIcon" enableMouse="true" frameStrata="LOW" parent="Minimap"> |
||
969 | <Size> |
||
970 | <AbsDimension x="32" y="32"/> |
||
971 | </Size> |
||
972 | <Layers> |
||
973 | <Layer level="BACKGROUND"> |
||
974 | <Texture file="Interface\BattlefieldFrame\UI-Battlefield-Icon"> |
||
975 | <Size> |
||
976 | <AbsDimension x="24" y="24"/> |
||
977 | </Size> |
||
978 | <Anchors> |
||
979 | <Anchor point="TOPLEFT"> |
||
980 | <Offset> |
||
981 | <AbsDimension x="0" y="0"/> |
||
982 | </Offset> |
||
983 | </Anchor> |
||
984 | </Anchors> |
||
985 | </Texture> |
||
986 | </Layer> |
||
987 | <Layer level="ARTWORK"> |
||
988 | <Texture file="Interface\Minimap\MiniMap-TrackingBorder"> |
||
989 | <Size> |
||
990 | <AbsDimension x="50" y="50"/> |
||
991 | </Size> |
||
992 | <Anchors> |
||
993 | <Anchor point="TOPLEFT"> |
||
994 | <Offset> |
||
995 | <AbsDimension x="0" y="0"/> |
||
996 | </Offset> |
||
997 | </Anchor> |
||
998 | </Anchors> |
||
999 | </Texture> |
||
1000 | </Layer> |
||
1001 | <Layer level="BORDER"> |
||
1002 | <Texture> |
||
1003 | <Size> |
||
1004 | <AbsDimension x="17" y="17"/> |
||
1005 | </Size> |
||
1006 | <Anchors> |
||
1007 | <Anchor point="TOPLEFT"> |
||
1008 | <Offset> |
||
1009 | <AbsDimension x="5" y="-5"/> |
||
1010 | </Offset> |
||
1011 | </Anchor> |
||
1012 | </Anchors> |
||
1013 | <Color r="0.25" g="0.0" b="0.0" a="0.75"/> |
||
1014 | </Texture> |
||
1015 | </Layer> |
||
1016 | <Layer level="OVERLAY"> |
||
1017 | <FontString name="$parentTextLabel" font="Fonts\ARIALN.TTF" outline="NORMAL" nonspacewrap="false"> |
||
1018 | <Size> |
||
1019 | <AbsDimension x="32" y="32"/> |
||
1020 | </Size> |
||
1021 | <Anchors> |
||
1022 | <Anchor point="TOP"> |
||
1023 | <Offset> |
||
1024 | <AbsDimension x="-2" y="3"/> |
||
1025 | </Offset> |
||
1026 | </Anchor> |
||
1027 | </Anchors> |
||
1028 | <FontHeight> |
||
1029 | <AbsValue val="12"/> |
||
1030 | </FontHeight> |
||
1031 | <Color r="1" g="1" b="1"/> |
||
1032 | <Shadow> |
||
1033 | <Offset> |
||
1034 | <AbsDimension x="0" y="2"/> |
||
1035 | </Offset> |
||
1036 | <Color r="0.2" g="0" b="0" a="0.25"/> |
||
1037 | </Shadow> |
||
1038 | </FontString> |
||
1039 | </Layer> |
||
1040 | </Layers> |
||
1041 | <Frames> |
||
1042 | <MessageFrame name="CTA_MinimapMessageFrame" frameStrata="DIALOG" toplevel="true" displayDuration="5.0" maxLines="1"> |
||
1043 | <Size> |
||
1044 | <AbsDimension x="256" y="16"/> |
||
1045 | </Size> |
||
1046 | <FontString name="CTA_MessageFrameTextLabel" inherits="GameFontNormal" nonspacewrap="false" justifyH="RIGHT"/> |
||
1047 | </MessageFrame> |
||
1048 | </Frames> |
||
1049 | <Scripts> |
||
1050 | <OnClick> |
||
1051 | CTA_ToggleMainFrame(); |
||
1052 | </OnClick> |
||
1053 | <OnEnter> |
||
1054 | CTA_IconMsg( CTA_CALL_TO_ARMS ); |
||
1055 | </OnEnter> |
||
1056 | <OnMouseUp> </OnMouseUp> |
||
1057 | <OnLeave> </OnLeave> |
||
1058 | <OnLoad> |
||
1059 | CTA_UpdateMinimapIcon(); |
||
1060 | this:Show(); |
||
1061 | </OnLoad> |
||
1062 | <OnEvent> |
||
1063 | </OnEvent> |
||
1064 | <OnUpdate> |
||
1065 | </OnUpdate> |
||
1066 | <OnDragStart> |
||
1067 | this:StartMoving(); |
||
1068 | </OnDragStart> |
||
1069 | <OnDragStop> |
||
1070 | this:StopMovingOrSizing(); |
||
1071 | </OnDragStop> |
||
1072 | </Scripts> |
||
1073 | <!-- NormalTexture file="Interface\Addons\CallToArms\ctamini"/> |
||
1074 | <PushedTexture file="Interface\Addons\CallToArms\ctamini"/> |
||
1075 | <DisabledTexture file="Interface\Addons\CallToArms\ctamini"/ |
||
1076 | <NormalTexture file="Interface\BattlefieldFrame\UI-Battlefield-Icon"/> |
||
1077 | <PushedTexture file="Interface\BattlefieldFrame\UI-Battlefield-Icon"/> |
||
1078 | <DisabledTexture file="Interface\BattlefieldFrame\UI-Battlefield-Icon"/> --> |
||
1079 | </Button> |
||
1080 | |||
1081 | |||
1082 | |||
1083 | |||
1084 | <!-- |
||
1085 | Call To Arms Main Frame |
||
1086 | ________________________________________________________________________ |
||
1087 | [ Search ] [ Host ] [ Blacklist ] [ Log ] [ Settings ] |
||
1088 | --> |
||
1089 | |||
1090 | <Frame name="CTA_MainFrame" movable="true" toplevel="true" enableMouse="true" hidden="true" frameStrata="DIALOG" parent="UIParent"> |
||
1091 | <Size> |
||
1092 | <AbsDimension x="680" y="480"/> |
||
1093 | </Size> |
||
1094 | <Anchors> |
||
1095 | <Anchor point="TOP"> |
||
1096 | <Offset> |
||
1097 | <AbsDimension x="0" y="-128"/> |
||
1098 | </Offset> |
||
1099 | </Anchor> |
||
1100 | </Anchors> |
||
1101 | <Layers> |
||
1102 | <Layer level="BACKGROUND"> |
||
1103 | <Texture file="Interface\WorldStateFrame\WorldStateFinalScoreFrame-TopBackground"> |
||
1104 | <Size> |
||
1105 | <AbsDimension x="670" y="64"/> |
||
1106 | </Size> |
||
1107 | <Anchors> |
||
1108 | <Anchor point="TOPLEFT"> |
||
1109 | <Offset> |
||
1110 | <AbsDimension x="5" y="-4"/> |
||
1111 | </Offset> |
||
1112 | </Anchor> |
||
1113 | </Anchors> |
||
1114 | <TexCoords left="0" right="2.0" top="0" bottom="1.0"/> |
||
1115 | </Texture> |
||
1116 | |||
1117 | <Texture file="Interface\WorldStateFrame\WorldStateFinalScoreFrame-TopLeft"> |
||
1118 | <Size> |
||
1119 | <AbsDimension x="128" y="76"/> |
||
1120 | </Size> |
||
1121 | <Anchors> |
||
1122 | <Anchor point="TOPLEFT"> |
||
1123 | <Offset> |
||
1124 | <AbsDimension x="0" y="-256"/> |
||
1125 | </Offset> |
||
1126 | </Anchor> |
||
1127 | </Anchors> |
||
1128 | <TexCoords left="0.0" right="1" top="0.3" bottom="1.0"/> |
||
1129 | </Texture> |
||
1130 | <Texture file="Interface\WorldStateFrame\WorldStateFinalScoreFrame-Top"> |
||
1131 | <Size> |
||
1132 | <AbsDimension x="410" y="76"/> |
||
1133 | </Size> |
||
1134 | <Anchors> |
||
1135 | <Anchor point="TOPLEFT"> |
||
1136 | <Offset> |
||
1137 | <AbsDimension x="128" y="-256"/> |
||
1138 | </Offset> |
||
1139 | </Anchor> |
||
1140 | </Anchors> |
||
1141 | <TexCoords left="0.0" right="1" top="0.3" bottom="1.0"/> |
||
1142 | </Texture> |
||
1143 | <Texture file="Interface\WorldStateFrame\WorldStateFinalScoreFrame-TopRight"> |
||
1144 | <Size> |
||
1145 | <AbsDimension x="256" y="76"/> |
||
1146 | </Size> |
||
1147 | <Anchors> |
||
1148 | <Anchor point="TOPRIGHT"> |
||
1149 | <Offset> |
||
1150 | <AbsDimension x="114" y="-256"/> |
||
1151 | </Offset> |
||
1152 | </Anchor> |
||
1153 | </Anchors> |
||
1154 | <TexCoords left="0.0" right="1" top="0.3" bottom="1.0"/> |
||
1155 | </Texture> |
||
1156 | |||
1157 | |||
1158 | |||
1159 | </Layer> |
||
1160 | |||
1161 | |||
1162 | <Layer level="ARTWORK"> |
||
1163 | <Texture file="Interface\WorldStateFrame\WorldStateFinalScoreFrame-TopLeft"> |
||
1164 | <Size> |
||
1165 | <AbsDimension x="128" y="256"/> |
||
1166 | </Size> |
||
1167 | <Anchors> |
||
1168 | <Anchor point="TOPLEFT"/> |
||
1169 | </Anchors> |
||
1170 | </Texture> |
||
1171 | <Texture file="Interface\WorldStateFrame\WorldStateFinalScoreFrame-Top"> |
||
1172 | <Size> |
||
1173 | <AbsDimension x="410" y="256"/> |
||
1174 | </Size> |
||
1175 | <Anchors> |
||
1176 | <Anchor point="TOPLEFT"> |
||
1177 | <Offset> |
||
1178 | <AbsDimension x="128" y="0"/> |
||
1179 | </Offset> |
||
1180 | </Anchor> |
||
1181 | </Anchors> |
||
1182 | </Texture> |
||
1183 | <Texture file="Interface\WorldStateFrame\WorldStateFinalScoreFrame-TopRight"> |
||
1184 | <Size> |
||
1185 | <AbsDimension x="256" y="256"/> |
||
1186 | </Size> |
||
1187 | <Anchors> |
||
1188 | <Anchor point="TOPRIGHT"> |
||
1189 | <Offset> |
||
1190 | <AbsDimension x="114" y="0"/> |
||
1191 | </Offset> |
||
1192 | </Anchor> |
||
1193 | </Anchors> |
||
1194 | </Texture> |
||
1195 | |||
1196 | |||
1197 | <Texture file="Interface\WorldStateFrame\WorldStateFinalScoreFrame-BotLeft"> |
||
1198 | <Size> |
||
1199 | <AbsDimension x="128" y="256"/> |
||
1200 | </Size> |
||
1201 | <Anchors> |
||
1202 | <Anchor point="TOPLEFT"> |
||
1203 | <Offset> |
||
1204 | <AbsDimension x="0" y="-332"/> |
||
1205 | </Offset> |
||
1206 | </Anchor> |
||
1207 | </Anchors> |
||
1208 | </Texture> |
||
1209 | <Texture file="Interface\WorldStateFrame\WorldStateFinalScoreFrame-Bot"> |
||
1210 | <Size> |
||
1211 | <AbsDimension x="410" y="256"/> |
||
1212 | </Size> |
||
1213 | <Anchors> |
||
1214 | <Anchor point="TOPLEFT"> |
||
1215 | <Offset> |
||
1216 | <AbsDimension x="128" y="-332"/> |
||
1217 | </Offset> |
||
1218 | </Anchor> |
||
1219 | </Anchors> |
||
1220 | </Texture> |
||
1221 | <Texture file="Interface\WorldStateFrame\WorldStateFinalScoreFrame-BotRight"> |
||
1222 | <Size> |
||
1223 | <AbsDimension x="256" y="256"/> |
||
1224 | </Size> |
||
1225 | <Anchors> |
||
1226 | <Anchor point="TOPRIGHT"> |
||
1227 | <Offset> |
||
1228 | <AbsDimension x="114" y="-332"/> |
||
1229 | </Offset> |
||
1230 | </Anchor> |
||
1231 | </Anchors> |
||
1232 | </Texture> |
||
1233 | </Layer> |
||
1234 | |||
1235 | <Layer level="OVERLAY"> |
||
1236 | <FontString inherits="CTA_TitleFont" nonspacewrap="false" maxLines="1" text="CTA_CALL_TO_ARMS"> |
||
1237 | <Size> |
||
1238 | <AbsDimension x="300" y="32"/> |
||
1239 | </Size> |
||
1240 | <Anchors> |
||
1241 | <Anchor point="TOP"> |
||
1242 | <Offset> |
||
1243 | <AbsDimension x="0" y="4"/> |
||
1244 | </Offset> |
||
1245 | </Anchor> |
||
1246 | </Anchors> |
||
1247 | </FontString> |
||
1248 | |||
1249 | <FontString inherits="CTA_TitleFont" name="CTA_MainFrameReleaseLabel" nonspacewrap="false" justifyH="LEFT" text="CTA_RELEASEVERSION"> |
||
1250 | <Size> |
||
1251 | <AbsDimension x="96" y="32"/> |
||
1252 | </Size> |
||
1253 | <Anchors> |
||
1254 | <Anchor point="TOPLEFT"> |
||
1255 | <Offset> |
||
1256 | <AbsDimension x="24" y="4"/> |
||
1257 | </Offset> |
||
1258 | </Anchor> |
||
1259 | </Anchors> |
||
1260 | </FontString> |
||
1261 | </Layer> |
||
1262 | </Layers> |
||
1263 | <Frames> |
||
1264 | |||
1265 | |||
1266 | |||
1267 | |||
1268 | <!-- Main Frame Buttons --> |
||
1269 | |||
1270 | <Button name="$parentCloseButton" inherits="UIPanelCloseButton"> |
||
1271 | <Anchors> |
||
1272 | <Anchor point="TOPRIGHT"> |
||
1273 | <Offset> |
||
1274 | <AbsDimension x="3" y="4"/> |
||
1275 | </Offset> |
||
1276 | </Anchor> |
||
1277 | </Anchors> |
||
1278 | <Scripts> |
||
1279 | <OnClick> |
||
1280 | CTA_ToggleMainFrame(); |
||
1281 | </OnClick> |
||
1282 | </Scripts> |
||
1283 | </Button> |
||
1284 | |||
1285 | <Button name="CTA_ShowSearchButton" inherits="CTA_CharacterFrameTabButtonTemplate" text="CTA_FIND_PLAYERS_AND_GROUPS"> |
||
1286 | <Anchors> |
||
1287 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT"> |
||
1288 | <Offset> |
||
1289 | <AbsDimension x="16" y="-24"/> |
||
1290 | </Offset> |
||
1291 | </Anchor> |
||
1292 | </Anchors> |
||
1293 | </Button> |
||
1294 | |||
1295 | <Button name="CTA_ShowMyRaidButton" inherits="CTA_CharacterFrameTabButtonTemplate" text="CTA_MANAGE_GROUP"> |
||
1296 | <Anchors> |
||
1297 | <Anchor point="TOPLEFT" relativeTo="CTA_ShowSearchButton" relativePoint="TOPRIGHT"> |
||
1298 | <Offset> |
||
1299 | <AbsDimension x="-16" y="0"/> |
||
1300 | </Offset> |
||
1301 | </Anchor> |
||
1302 | </Anchors> |
||
1303 | </Button> |
||
1304 | |||
1305 | <Button name="CTA_ShowLFGButton" inherits="CTA_CharacterFrameTabButtonTemplate" text="CTA_LFG_FRAME"> |
||
1306 | <Anchors> |
||
1307 | <Anchor point="TOPLEFT" relativeTo="CTA_ShowMyRaidButton" relativePoint="TOPRIGHT"> |
||
1308 | <Offset> |
||
1309 | <AbsDimension x="-16" y="0"/> |
||
1310 | </Offset> |
||
1311 | </Anchor> |
||
1312 | </Anchors> |
||
1313 | </Button> |
||
1314 | |||
1315 | <Button name="CTA_ShowMFFButton" inherits="CTA_CharacterFrameTabButtonTemplate" text="CTA_MORE_FEATURES"> |
||
1316 | <Anchors> |
||
1317 | <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT"> |
||
1318 | <Offset> |
||
1319 | <AbsDimension x="-16" y="-24"/> |
||
1320 | </Offset> |
||
1321 | </Anchor> |
||
1322 | </Anchors> |
||
1323 | </Button> |
||
1324 | |||
1325 | |||
1326 | |||
1327 | <!-- |
||
1328 | Main Frame Sub-Frames |
||
1329 | --> |
||
1330 | |||
1331 | |||
1332 | |||
1333 | |||
1334 | <!-- Search Frame --> |
||
1335 | <Frame name="CTA_SearchFrame"> |
||
1336 | <Size> |
||
1337 | <AbsDimension x="640" y="480"/> |
||
1338 | </Size> |
||
1339 | <Anchors> |
||
1340 | <Anchor point="TOP"> |
||
1341 | <Offset> |
||
1342 | <AbsDimension x="0" y="-16"/> |
||
1343 | </Offset> |
||
1344 | </Anchor> |
||
1345 | </Anchors> |
||
1346 | |||
1347 | <Frames> |
||
1348 | |||
1349 | <Button name="CTA_ShowResultsButton" inherits="CTA_TabButtonTemplate" text="CTA_SEARCH_RESULTS"> |
||
1350 | <Anchors> |
||
1351 | <Anchor point="TOPLEFT"> |
||
1352 | <Offset> |
||
1353 | <AbsDimension x="16" y="-4"/> |
||
1354 | </Offset> |
||
1355 | </Anchor> |
||
1356 | </Anchors> |
||
1357 | <Scripts> |
||
1358 | <OnClick> |
||
1359 | if( CTA_SearchFrame_Filters:IsVisible() ) then |
||
1360 | CTA_SearchFrame_Filters:Hide(); |
||
1361 | CTA_SearchFrame_Results:Show(); |
||
1362 | end |
||
1363 | </OnClick> |
||
1364 | </Scripts> |
||
1365 | </Button> |
||
1366 | |||
1367 | <Button name="CTA_ShowOptionsButton" inherits="CTA_TabButtonTemplate" text="CTA_SEARCH_OPTIONS"> |
||
1368 | <Anchors> |
||
1369 | <Anchor point="LEFT" relativeTo="CTA_ShowResultsButton" relativePoint="RIGHT"> |
||
1370 | <Offset> |
||
1371 | <AbsDimension x="2" y="0"/> |
||
1372 | </Offset> |
||
1373 | </Anchor> |
||
1374 | </Anchors> |
||
1375 | <Scripts> |
||
1376 | <OnClick> |
||
1377 | if( not CTA_SearchFrame_Filters:IsVisible() ) then |
||
1378 | CTA_SearchFrame_Filters:Show(); |
||
1379 | CTA_SearchFrame_Results:Hide(); |
||
1380 | end |
||
1381 | </OnClick> |
||
1382 | </Scripts> |
||
1383 | </Button> |
||
1384 | |||
1385 | <CheckButton name="CTA_MuteLFGChannelCheckButton" inherits="CTA_AbstractLabelCheckButton"> |
||
1386 | <Anchors> |
||
1387 | <Anchor point="TOPRIGHT"> |
||
1388 | <Offset> |
||
1389 | <AbsDimension x="-250" y="-12"/> |
||
1390 | </Offset> |
||
1391 | </Anchor> |
||
1392 | </Anchors> |
||
1393 | <Scripts> |
||
1394 | <OnClick> |
||
1395 | </OnClick> |
||
1396 | <OnLoad> |
||
1397 | getglobal( this:GetName().."TextLabel" ):SetWidth( 500 ); |
||
1398 | getglobal( this:GetName().."TextLabel" ):SetText( "Mute LFG channel" ); |
||
1399 | this:SetChecked(1); |
||
1400 | </OnLoad> |
||
1401 | </Scripts> |
||
1402 | </CheckButton> |
||
1403 | |||
1404 | <CheckButton name="CTA_ShowOnMinimapCheckButton" inherits="CTA_AbstractLabelCheckButton"> |
||
1405 | <Anchors> |
||
1406 | <Anchor point="TOPRIGHT"> |
||
1407 | <Offset> |
||
1408 | <AbsDimension x="-125" y="-12"/> |
||
1409 | </Offset> |
||
1410 | </Anchor> |
||
1411 | </Anchors> |
||
1412 | <Scripts> |
||
1413 | <OnClick> |
||
1414 | </OnClick> |
||
1415 | <OnLoad> |
||
1416 | getglobal( this:GetName().."TextLabel" ):SetWidth( 500 ); |
||
1417 | getglobal( this:GetName().."TextLabel" ):SetText( "Show on minimap" ); |
||
1418 | this:SetChecked(1); |
||
1419 | </OnLoad> |
||
1420 | </Scripts> |
||
1421 | </CheckButton> |
||
1422 | |||
1423 | <Frame name="CTA_SearchFrame_Results" enableMouse="true"> |
||
1424 | <Anchors> |
||
1425 | <Anchor point="TOPLEFT" /> |
||
1426 | <Anchor point="BOTTOMRIGHT" /> |
||
1427 | </Anchors> |
||
1428 | <Layers> |
||
1429 | <Layer level="ARTWORK"> |
||
1430 | <FontString inherits="GameFontNormalSmall" name="CTA_ResultsLabel" nonspacewrap="false" justifyH="LEFT" text="CTA_RESULTS"> |
||
1431 | <Size> |
||
1432 | <AbsDimension x="150" y="32"/> |
||
1433 | </Size> |
||
1434 | <Anchors> |
||
1435 | <Anchor point="BOTTOMLEFT"> |
||
1436 | <Offset> |
||
1437 | <AbsDimension x="20" y="0"/> |
||
1438 | </Offset> |
||
1439 | </Anchor> |
||
1440 | </Anchors> |
||
1441 | </FontString> |
||
1442 | |||
1443 | <FontString inherits="GameFontNormalSmall" name="CTA_PageLabel" nonspacewrap="false"> |
||
1444 | <Size> |
||
1445 | <AbsDimension x="300" y="32"/> |
||
1446 | </Size> |
||
1447 | <Anchors> |
||
1448 | <Anchor point="BOTTOM"> |
||
1449 | <Offset> |
||
1450 | <AbsDimension x="0" y="0"/> |
||
1451 | </Offset> |
||
1452 | </Anchor> |
||
1453 | </Anchors> |
||
1454 | </FontString> |
||
1455 | </Layer> |
||
1456 | </Layers> |
||
1457 | <Frames> |
||
1458 | <!-- Join Group Dialog --> |
||
1459 | <Frame name="CTA_JoinRaidWindow" inherits="CTA_AbstractDialogFrame" hidden="true"> |
||
1460 | <Scripts> |
||
1461 | <OnLoad> |
||
1462 | CTA_JoinRaidWindowHeadingLabel:Hide(); |
||
1463 | CTA_JoinRaidWindowContentLabel:SetText( CTA_PASSWORD_REQURED_TO_JOIN_MESSAGE ); |
||
1464 | CTA_JoinRaidWindowEditBox:Show(); |
||
1465 | CTA_JoinRaidWindowOkButton:SetText( CTA_SEND_REQUEST ); |
||
1466 | </OnLoad> |
||
1467 | </Scripts> |
||
1468 | </Frame> |
||
1469 | <Frame name="CTA_SearchDropDown" inherits="UIDropDownMenuTemplate" id="1"> |
||
1470 | <Anchors> |
||
1471 | <Anchor point="TOPLEFT"> |
||
1472 | <Offset> |
||
1473 | <AbsDimension x="4" y="-49"/> |
||
1474 | </Offset> |
||
1475 | </Anchor> |
||
1476 | </Anchors> |
||
1477 | |||
1478 | <Scripts> |
||
1479 | <OnLoad> |
||
1480 | UIDropDownMenu_Initialize(this, CTA_SearchDropDown_Init ); |
||
1481 | UIDropDownMenu_SetWidth(200); |
||
1482 | UIDropDownMenu_SetSelectedID(CTA_SearchDropDown, 1); |
||
1483 | </OnLoad> |
||
1484 | </Scripts> |
||
1485 | </Frame> |
||
1486 | <Button name="CTA_SearchButton" inherits="CTA_AbstractButton" text="CTA_UPDATE_LIST"> |
||
1487 | <Anchors> |
||
1488 | <Anchor point="TOPRIGHT"> |
||
1489 | <Offset> |
||
1490 | <AbsDimension x="-20" y="-50"/> |
||
1491 | </Offset> |
||
1492 | </Anchor> |
||
1493 | </Anchors> |
||
1494 | <Scripts> |
||
1495 | <OnClick> |
||
1496 | CTA_ApplyFiltersToGroupList(); |
||
1497 | </OnClick> |
||
1498 | </Scripts> |
||
1499 | </Button> |
||
1500 | <EditBox name="CTA_SearchFrameDescriptionEditBox" inherits="CTA_AbstractLabelEditBox" letters="32"> |
||
1501 | <Anchors> |
||
1502 | <Anchor point="LEFT" relativeTo="CTA_SearchDropDown" relativePoint="RIGHT"> |
||
1503 | <Offset> |
||
1504 | <AbsDimension x="62" y="3"/> |
||
1505 | </Offset> |
||
1506 | </Anchor> |
||
1507 | <Anchor point="RIGHT" relativeTo="CTA_SearchButton" relativePoint="LEFT"> |
||
1508 | <Offset> |
||
1509 | <AbsDimension x="-8" y="0"/> |
||
1510 | </Offset> |
||
1511 | </Anchor> |
||
1512 | </Anchors> |
||
1513 | <FontString inherits="ChatFontNormal"/> |
||
1514 | <Scripts> |
||
1515 | <OnEnter> |
||
1516 | CTA_ShowTooltip(this); |
||
1517 | </OnEnter> |
||
1518 | <OnLeave> |
||
1519 | GameTooltip:Hide(); |
||
1520 | </OnLeave> |
||
1521 | |||
1522 | <OnLoad> |
||
1523 | this:SetTextInsets(4,0,0,0); |
||
1524 | getglobal( this:GetName().."TextLabel" ):SetText( "Keywords:" ); |
||
1525 | </OnLoad> |
||
1526 | <OnTabPressed> |
||
1527 | if ( ChatFrameEditBox ) then |
||
1528 | ChatFrameEditBox:Show(); |
||
1529 | ChatFrameEditBox:SetFocus(); |
||
1530 | end |
||
1531 | </OnTabPressed> |
||
1532 | <OnEnterPressed> |
||
1533 | this:ClearFocus(); |
||
1534 | CTA_ApplyFiltersToGroupList(); |
||
1535 | </OnEnterPressed> |
||
1536 | |||
1537 | </Scripts> |
||
1538 | </EditBox> |
||
1539 | |||
1540 | |||
1541 | <Frame name="CTA_NewItem1" inherits="CTA_NewItemTemplate"> |
||
1542 | <Anchors> |
||
1543 | <Anchor point="TOPRIGHT" relativeTo="CTA_SearchButton"> |
||
1544 | <Offset> |
||
1545 | <AbsDimension x="0" y="-32"/> |
||
1546 | </Offset> |
||
1547 | </Anchor> |
||
1548 | </Anchors> |
||
1549 | </Frame> |
||
1550 | <Frame name="CTA_NewItem2" inherits="CTA_NewItemTemplate"></Frame> |
||
1551 | <Frame name="CTA_NewItem3" inherits="CTA_NewItemTemplate"></Frame> |
||
1552 | <Frame name="CTA_NewItem4" inherits="CTA_NewItemTemplate"></Frame> |
||
1553 | <Frame name="CTA_NewItem5" inherits="CTA_NewItemTemplate"></Frame> |
||
1554 | <Frame name="CTA_NewItem6" inherits="CTA_NewItemTemplate"></Frame> |
||
1555 | <Frame name="CTA_NewItem7" inherits="CTA_NewItemTemplate"></Frame> |
||
1556 | <Frame name="CTA_NewItem8" inherits="CTA_NewItemTemplate"></Frame> |
||
1557 | <Frame name="CTA_NewItem9" inherits="CTA_NewItemTemplate"></Frame> |
||
1558 | <Frame name="CTA_NewItem10" inherits="CTA_NewItemTemplate"></Frame> |
||
1559 | <Frame name="CTA_NewItem11" inherits="CTA_NewItemTemplate"></Frame> |
||
1560 | <Frame name="CTA_NewItem12" inherits="CTA_NewItemTemplate"></Frame> |
||
1561 | <Frame name="CTA_NewItem13" inherits="CTA_NewItemTemplate"></Frame> |
||
1562 | <Frame name="CTA_NewItem14" inherits="CTA_NewItemTemplate"></Frame> |
||
1563 | <Frame name="CTA_NewItem15" inherits="CTA_NewItemTemplate"></Frame> |
||
1564 | <Frame name="CTA_NewItem16" inherits="CTA_NewItemTemplate"></Frame> |
||
1565 | <Frame name="CTA_NewItem17" inherits="CTA_NewItemTemplate"></Frame> |
||
1566 | <Frame name="CTA_NewItem18" inherits="CTA_NewItemTemplate"></Frame> |
||
1567 | <Frame name="CTA_NewItem19" inherits="CTA_NewItemTemplate"></Frame> |
||
1568 | <Frame name="CTA_NewItem20" inherits="CTA_NewItemTemplate"></Frame> |
||
1569 | |||
1570 | <Button name="$parentPrev"> |
||
1571 | <Size> |
||
1572 | <AbsDimension x="32" y="32"/> |
||
1573 | </Size> |
||
1574 | <Anchors> |
||
1575 | <Anchor point="BOTTOM"> |
||
1576 | <Offset> |
||
1577 | <AbsDimension x="-64" y="0"/> |
||
1578 | </Offset> |
||
1579 | </Anchor> |
||
1580 | </Anchors> |
||
1581 | <Scripts> |
||
1582 | <OnClick> |
||
1583 | if( CTA_ResultsListOffset > 0 ) then |
||
1584 | CTA_ResultsListOffset = CTA_ResultsListOffset - CTA_MAX_RESULTS_ITEMS; |
||
1585 | CTA_UpdateResults(); |
||
1586 | end |
||
1587 | </OnClick> |
||
1588 | </Scripts> |
||
1589 | <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up"/> |
||
1590 | <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down"/> |
||
1591 | <DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Disabled"/> |
||
1592 | <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/> |
||
1593 | </Button> |
||
1594 | <Button name="$parentNext"> |
||
1595 | <Size> |
||
1596 | <AbsDimension x="32" y="32"/> |
||
1597 | </Size> |
||
1598 | <Anchors> |
||
1599 | <Anchor point="BOTTOM"> |
||
1600 | <Offset> |
||
1601 | <AbsDimension x="64" y="0"/> |
||
1602 | </Offset> |
||
1603 | </Anchor> |
||
1604 | </Anchors> |
||
1605 | <Scripts> |
||
1606 | <OnClick> |
||
1607 | if( getn( CTA_RaidList ) > CTA_ResultsListOffset + CTA_MAX_RESULTS_ITEMS ) then |
||
1608 | CTA_ResultsListOffset = CTA_ResultsListOffset + CTA_MAX_RESULTS_ITEMS; |
||
1609 | CTA_UpdateResults(); |
||
1610 | end |
||
1611 | </OnClick> |
||
1612 | </Scripts> |
||
1613 | <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/> |
||
1614 | <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/> |
||
1615 | <DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Disabled"/> |
||
1616 | <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/> |
||
1617 | </Button> |
||
1618 | <Button name="CTA_RequestInviteButton" inherits="CTA_AbstractButton" text="CTA_JOIN_RAID"> |
||
1619 | <Anchors> |
||
1620 | <Anchor point="BOTTOMRIGHT"> |
||
1621 | <Offset> |
||
1622 | <AbsDimension x="-32" y="5"/> |
||
1623 | </Offset> |
||
1624 | </Anchor> |
||
1625 | </Anchors> |
||
1626 | <Scripts> |
||
1627 | <OnClick> |
||
1628 | CTA_SendRaidInvitationRequest(); |
||
1629 | </OnClick> |
||
1630 | </Scripts> |
||
1631 | </Button> |
||
1632 | </Frames> |
||
1633 | </Frame> |
||
1634 | |||
1635 | <Frame name="CTA_SearchFrame_Filters" enableMouse="true" hidden="true"> |
||
1636 | <Anchors> |
||
1637 | <Anchor point="TOPLEFT"> |
||
1638 | <Offset> |
||
1639 | <AbsDimension x="0" y="-64"/> |
||
1640 | </Offset> |
||
1641 | </Anchor> |
||
1642 | <Anchor point="BOTTOMRIGHT" /> |
||
1643 | </Anchors> |
||
1644 | <Frames> |
||
1645 | <Frame name="CTA_SearchFrame_Filters_GroupInternalFrame" inherits="CTA_OptionFrameBoxTemplate"> |
||
1646 | <Size> |
||
1647 | <AbsDimension x="600" y="160"/> |
||
1648 | </Size> |
||
1649 | <Anchors> |
||
1650 | <Anchor point="TOP"> |
||
1651 | <Offset> |
||
1652 | <AbsDimension x="0" y="0"/> |
||
1653 | </Offset> |
||
1654 | </Anchor> |
||
1655 | </Anchors> |
||
1656 | <Frames> |
||
1657 | <CheckButton name="CTA_SearchFrameShowClassCheckButton" inherits="CTA_AbstractLabelCheckButton"> |
||
1658 | <Anchors> |
||
1659 | <Anchor point="TOPLEFT"> |
||
1660 | <Offset> |
||
1661 | <AbsDimension x="20" y="-32"/> |
||
1662 | </Offset> |
||
1663 | </Anchor> |
||
1664 | </Anchors> |
||
1665 | <Scripts> |
||
1666 | <OnLoad> |
||
1667 | getglobal( this:GetName().."TextLabel" ):SetText( CTA_SHOW_ALL_CLASSES ); |
||
1668 | this:SetChecked(1); |
||
1669 | </OnLoad> |
||
1670 | </Scripts> |
||
1671 | </CheckButton> |
||
1672 | |||
1673 | <CheckButton name="CTA_SearchFrameShowPVPCheckButton" inherits="CTA_AbstractLabelCheckButton"> |
||
1674 | <Anchors> |
||
1675 | <Anchor point="TOPLEFT"> |
||
1676 | <Offset> |
||
1677 | <AbsDimension x="170" y="-32"/> |
||
1678 | </Offset> |
||
1679 | </Anchor> |
||
1680 | </Anchors> |
||
1681 | <Scripts> |
||
1682 | <OnClick> |
||
1683 | if( not CTA_SearchFrameShowPVPCheckButton:GetChecked() and not CTA_SearchFrameShowPVECheckButton:GetChecked() ) then |
||
1684 | CTA_SearchFrameShowPVECheckButton:SetChecked(1); |
||
1685 | end |
||
1686 | </OnClick> |
||
1687 | <OnLoad> |
||
1688 | getglobal( this:GetName().."TextLabel" ):SetText( CTA_SHOW_PVP_RAIDS ); |
||
1689 | this:SetChecked(1); |
||
1690 | </OnLoad> |
||
1691 | </Scripts> |
||
1692 | </CheckButton> |
||
1693 | |||
1694 | <CheckButton name="CTA_SearchFrameShowPVECheckButton" inherits="CTA_AbstractLabelCheckButton"> |
||
1695 | <Anchors> |
||
1696 | <Anchor point="TOPLEFT"> |
||
1697 | <Offset> |
||
1698 | <AbsDimension x="320" y="-32"/> |
||
1699 | </Offset> |
||
1700 | </Anchor> |
||
1701 | </Anchors> |
||
1702 | <Scripts> |
||
1703 | <OnClick> |
||
1704 | if( not CTA_SearchFrameShowPVPCheckButton:GetChecked() and not CTA_SearchFrameShowPVECheckButton:GetChecked() ) then |
||
1705 | CTA_SearchFrameShowPVPCheckButton:SetChecked(1); |
||
1706 | end |
||
1707 | </OnClick> |
||
1708 | <OnLoad> |
||
1709 | getglobal( this:GetName().."TextLabel" ):SetText( CTA_SHOW_PVE_RAIDS ); |
||
1710 | this:SetChecked(1); |
||
1711 | </OnLoad> |
||
1712 | </Scripts> |
||
1713 | </CheckButton> |
||
1714 | |||
1715 | <CheckButton name="CTA_SearchFrameShowFullCheckButton" inherits="CTA_AbstractLabelCheckButton"> |
||
1716 | <Anchors> |
||
1717 | <Anchor point="TOPLEFT"> |
||
1718 | <Offset> |
||
1719 | <AbsDimension x="20" y="-64"/> |
||
1720 | </Offset> |
||
1721 | </Anchor> |
||
1722 | </Anchors> |
||
1723 | <Scripts> |
||
1724 | <OnLoad> |
||
1725 | getglobal( this:GetName().."TextLabel" ):SetText( CTA_SHOW_FULL_RAIDS ); |
||
1726 | this:SetChecked(1); |
||
1727 | </OnLoad> |
||
1728 | </Scripts> |
||
1729 | </CheckButton> |
||
1730 | |||
1731 | <CheckButton name="CTA_SearchFrameShowEmptyCheckButton" inherits="CTA_AbstractLabelCheckButton"> |
||
1732 | <Anchors> |
||
1733 | <Anchor point="TOPLEFT"> |
||
1734 | <Offset> |
||
1735 | <AbsDimension x="170" y="-64"/> |
||
1736 | </Offset> |
||
1737 | </Anchor> |
||
1738 | </Anchors> |
||
1739 | <Scripts> |
||
1740 | <OnLoad> |
||
1741 | getglobal( this:GetName().."TextLabel" ):SetText( CTA_SHOW_EMPTY_RAIDS ); |
||
1742 | this:SetChecked(1); |
||
1743 | </OnLoad> |
||
1744 | </Scripts> |
||
1745 | </CheckButton> |
||
1746 | |||
1747 | <CheckButton name="CTA_SearchFrameShowPasswordCheckButton" inherits="CTA_AbstractLabelCheckButton"> |
||
1748 | <Anchors> |
||
1749 | <Anchor point="TOPLEFT"> |
||
1750 | <Offset> |
||
1751 | <AbsDimension x="320" y="-64"/> |
||
1752 | </Offset> |
||
1753 | </Anchor> |
||
1754 | </Anchors> |
||
1755 | <Scripts> |
||
1756 | <OnLoad> |
||
1757 | getglobal( this:GetName().."TextLabel" ):SetText( CTA_SHOW_PASSWORD_PROTECTED_RAIDS ); |
||
1758 | this:SetChecked(1); |
||
1759 | </OnLoad> |
||
1760 | </Scripts> |
||
1761 | </CheckButton> |
||
1762 | |||
1763 | <CheckButton name="CTA_SearchFrameShowLevelCheckButton" inherits="CTA_AbstractLabelCheckButton"> |
||
1764 | <Anchors> |
||
1765 | <Anchor point="TOPLEFT"> |
||
1766 | <Offset> |
||
1767 | <AbsDimension x="20" y="-96"/> |
||
1768 | </Offset> |
||
1769 | </Anchor> |
||
1770 | </Anchors> |
||
1771 | <Scripts> |
||
1772 | <OnLoad> |
||
1773 | getglobal( this:GetName().."TextLabel" ):SetText( CTA_SHOW_RAIDS_ABOVE_MY_LEVEL ); |
||
1774 | this:SetChecked(1); |
||
1775 | </OnLoad> |
||
1776 | </Scripts> |
||
1777 | </CheckButton> |
||
1778 | </Frames> |
||
1779 | </Frame> |
||
1780 | |||
1781 | <Frame name="CTA_SearchFrame_Filters_PlayerInternalFrame" inherits="CTA_OptionFrameBoxTemplate"> |
||
1782 | <Size> |
||
1783 | <AbsDimension x="600" y="64"/> |
||
1784 | </Size> |
||
1785 | <Anchors> |
||
1786 | <Anchor point="TOP" relativeTo="CTA_SearchFrame_Filters_GroupInternalFrame" relativePoint="BOTTOM"> |
||
1787 | <Offset> |
||
1788 | <AbsDimension x="0" y="-24"/> |
||
1789 | </Offset> |
||
1790 | </Anchor> |
||
1791 | </Anchors> |
||
1792 | <Frames> |
||
1793 | <Frame name="CTA_PlayerClassDropDown" inherits="UIDropDownMenuTemplate" id="1"> |
||
1794 | <Anchors> |
||
1795 | <Anchor point="LEFT"> |
||
1796 | <Offset> |
||
1797 | <AbsDimension x="8" y="-2"/> |
||
1798 | </Offset> |
||
1799 | </Anchor> |
||
1800 | </Anchors> |
||
1801 | |||
1802 | <Scripts> |
||
1803 | <OnLoad> |
||
1804 | UIDropDownMenu_Initialize(this, CTA_PlayerClassDropDown_Init ); |
||
1805 | UIDropDownMenu_SetWidth(100); |
||
1806 | UIDropDownMenu_SetSelectedID(CTA_PlayerClassDropDown, 1); |
||
1807 | </OnLoad> |
||
1808 | </Scripts> |
||
1809 | </Frame> |
||
1810 | |||
1811 | <EditBox name="CTA_PlayerMinLevelEditBox" inherits="CTA_AbstractLabelEditBox" numeric="true" letters="2"> |
||
1812 | <Anchors> |
||
1813 | <Anchor point="LEFT" relativeTo="CTA_PlayerClassDropDown" relativePoint="RIGHT"> |
||
1814 | <Offset> |
||
1815 | <AbsDimension x="80" y="3"/> |
||
1816 | </Offset> |
||
1817 | </Anchor> |
||
1818 | </Anchors> |
||
1819 | <Scripts> |
||
1820 | <OnLoad> |
||
1821 | this:SetTextInsets(4,0,0,0); |
||
1822 | this:SetWidth( 20 ); |
||
1823 | getglobal( this:GetName().."TextLabel" ):SetText( "Show levels:" ); |
||
1824 | </OnLoad> |
||
1825 | </Scripts> |
||
1826 | </EditBox> |
||
1827 | <EditBox name="CTA_PlayerMaxLevelEditBox" inherits="CTA_AbstractLabelEditBox" numeric="true" letters="2"> |
||
1828 | <Anchors> |
||
1829 | <Anchor point="LEFT" relativeTo="CTA_PlayerMinLevelEditBox" relativePoint="RIGHT"> |
||
1830 | <Offset> |
||
1831 | <AbsDimension x="30" y="0"/> |
||
1832 | </Offset> |
||
1833 | </Anchor> |
||
1834 | </Anchors> |
||
1835 | <Scripts> |
||
1836 | <OnLoad> |
||
1837 | this:SetTextInsets(4,0,0,0); |
||
1838 | this:SetWidth( 20 ); |
||
1839 | getglobal( this:GetName().."TextLabel" ):SetText( "-" ); |
||
1840 | </OnLoad> |
||
1841 | </Scripts> |
||
1842 | </EditBox> |
||
1843 | |||
1844 | |||
1845 | </Frames> |
||
1846 | </Frame> |
||
1847 | |||
1848 | |||
1849 | <Frame name="CTA_SearchFrame_Filters_LocalChatInternalFrame" inherits="CTA_OptionFrameBoxTemplate"> |
||
1850 | <Size> |
||
1851 | <AbsDimension x="600" y="64"/> |
||
1852 | </Size> |
||
1853 | <Anchors> |
||
1854 | <Anchor point="TOP" relativeTo="CTA_SearchFrame_Filters_PlayerInternalFrame" relativePoint="BOTTOM"> |
||
1855 | <Offset> |
||
1856 | <AbsDimension x="0" y="-24"/> |
||
1857 | </Offset> |
||
1858 | </Anchor> |
||
1859 | </Anchors> |
||
1860 | <Frames> |
||
1861 | <CheckButton name="CTA_ShowLocalLFXMessagesCheckButton" inherits="CTA_AbstractLabelCheckButton"> |
||
1862 | <Anchors> |
||
1863 | <Anchor point="TOPLEFT"> |
||
1864 | <Offset> |
||
1865 | <AbsDimension x="20" y="-20"/> |
||
1866 | </Offset> |
||
1867 | </Anchor> |
||
1868 | </Anchors> |
||
1869 | <Scripts> |
||
1870 | <OnClick> |
||
1871 | </OnClick> |
||
1872 | <OnLoad> |
||
1873 | getglobal( this:GetName().."TextLabel" ):SetWidth( 500 ); |
||
1874 | getglobal( this:GetName().."TextLabel" ):SetText( CTA_SHOW_NON_CTA_RESULTS ); |
||
1875 | this:SetChecked(1); |
||
1876 | </OnLoad> |
||
1877 | </Scripts> |
||
1878 | </CheckButton> |
||
1879 | </Frames> |
||
1880 | </Frame> |
||
1881 | |||
1882 | </Frames> |
||
1883 | </Frame> |
||
1884 | |||
1885 | </Frames> |
||
1886 | <Scripts> |
||
1887 | <OnLoad> |
||
1888 | for i = 2, CTA_MAX_RESULTS_ITEMS do |
||
1889 | getglobal( "CTA_NewItem"..i ):SetPoint( "TOP", "CTA_NewItem"..(i-1), "BOTTOM", 0, 0 ); |
||
1890 | end |
||
1891 | CTA_RequestInviteButton:Disable(); |
||
1892 | |||
1893 | CTA_SearchFrame_Filters_GroupInternalFrameTitle:SetText( CTA_CTA_GROUP_FILTERS ); |
||
1894 | CTA_SearchFrame_Filters_PlayerInternalFrameTitle:SetText( CTA_PLAYER_FILTERS ); |
||
1895 | CTA_SearchFrame_Filters_LocalChatInternalFrameTitle:SetText( CTA_OTHER_FILTERS ); |
||
1896 | </OnLoad> |
||
1897 | </Scripts> |
||
1898 | </Frame> |
||
1899 | |||
1900 | |||
1901 | |||
1902 | |||
1903 | <!-- My Group Frame --> |
||
1904 | <Frame name="CTA_MyRaidFrame" hidden="true"> |
||
1905 | <Size> |
||
1906 | <AbsDimension x="640" y="480"/> |
||
1907 | </Size> |
||
1908 | <Anchors> |
||
1909 | <Anchor point="TOP"> |
||
1910 | <Offset> |
||
1911 | <AbsDimension x="0" y="-16"/> |
||
1912 | </Offset> |
||
1913 | </Anchor> |
||
1914 | </Anchors> |
||
1915 | <Layers> |
||
1916 | <Layer level="ARTWORK"> |
||
1917 | <FontString inherits="CTA_TitleFont" name="$parentTitleLabel" nonspacewrap="false" maxLines="1" hidden="true"> |
||
1918 | <Size> |
||
1919 | <AbsDimension x="300" y="32"/> |
||
1920 | </Size> |
||
1921 | <Anchors> |
||
1922 | <Anchor point="TOP"> |
||
1923 | <Offset> |
||
1924 | <AbsDimension x="0" y="-3"/> |
||
1925 | </Offset> |
||
1926 | </Anchor> |
||
1927 | </Anchors> |
||
1928 | </FontString> |
||
1929 | |||
1930 | <FontString inherits="GameFontNormal" name="$parentDescriptionLabel" nonspacewrap="false" justifyH="RIGHT" text="CTA_RAID_DESCRIPTION"> |
||
1931 | <Size> |
||
1932 | <AbsDimension x="140" y="32"/> |
||
1933 | </Size> |
||
1934 | <Anchors> |
||
1935 | <Anchor point="TOPLEFT"> |
||
1936 | <Offset> |
||
1937 | <AbsDimension x="20" y="-52"/> |
||
1938 | </Offset> |
||
1939 | </Anchor> |
||
1940 | </Anchors> |
||
1941 | </FontString> |
||
1942 | |||
1943 | <FontString inherits="GameFontNormalSmall" name="$parentDescriptionPromptLabel" nonspacewrap="false" justifyH="LEFT" text="CTA_RAID_DESCRIPTION_HELP"> |
||
1944 | <Size> |
||
1945 | <AbsDimension x="400" y="32"/> |
||
1946 | </Size> |
||
1947 | |||
1948 | <Anchors> |
||
1949 | <Anchor point="TOPLEFT"> |
||
1950 | <Offset> |
||
1951 | <AbsDimension x="170" y="-36"/> |
||
1952 | </Offset> |
||
1953 | </Anchor> |
||
1954 | </Anchors> |
||
1955 | </FontString> |
||
1956 | |||
1957 | <FontString inherits="GameFontNormal" name="$parentTypeLabel" nonspacewrap="false" justifyH="RIGHT" text="CTA_RAID_TYPE"> |
||
1958 | <Size> |
||
1959 | <AbsDimension x="140" y="32"/> |
||
1960 | </Size> |
||
1961 | <Anchors> |
||
1962 | <Anchor point="TOPLEFT"> |
||
1963 | <Offset> |
||
1964 | <AbsDimension x="20" y="-84"/> |
||
1965 | </Offset> |
||
1966 | </Anchor> |
||
1967 | </Anchors> |
||
1968 | </FontString> |
||
1969 | |||
1970 | <FontString inherits="GameFontNormalSmall" name="$parentPVPLabel" nonspacewrap="false" justifyH="LEFT" text="CTA_PLAYER_VS_PLAYER"> |
||
1971 | <Size> |
||
1972 | <AbsDimension x="150" y="32"/> |
||
1973 | </Size> |
||
1974 | <Anchors> |
||
1975 | <Anchor point="TOPLEFT"> |
||
1976 | <Offset> |
||
1977 | <AbsDimension x="200" y="-84"/> |
||
1978 | </Offset> |
||
1979 | </Anchor> |
||
1980 | </Anchors> |
||
1981 | </FontString> |
||
1982 | <FontString inherits="GameFontNormalSmall" name="$parentPVELabel" nonspacewrap="false" justifyH="LEFT" text="CTA_PLAYER_VS_ENVIRONMENT"> |
||
1983 | <Size> |
||
1984 | <AbsDimension x="200" y="32"/> |
||
1985 | </Size> |
||
1986 | <Anchors> |
||
1987 | <Anchor point="TOPLEFT"> |
||
1988 | <Offset> |
||
1989 | <AbsDimension x="330" y="-84"/> |
||
1990 | </Offset> |
||
1991 | </Anchor> |
||
1992 | </Anchors> |
||
1993 | </FontString> |
||
1994 | |||
1995 | <FontString inherits="GameFontNormal" name="$parentMaxSizeLabel" nonspacewrap="false" justifyH="RIGHT" text="CTA_MAXIMUM_PLAYERS"> |
||
1996 | <Size> |
||
1997 | <AbsDimension x="140" y="32"/> |
||
1998 | </Size> |
||
1999 | <Anchors> |
||
2000 | <Anchor point="TOPLEFT"> |
||
2001 | <Offset> |
||
2002 | <AbsDimension x="20" y="-116"/> |
||
2003 | </Offset> |
||
2004 | </Anchor> |
||
2005 | </Anchors> |
||
2006 | </FontString> |
||
2007 | |||
2008 | <FontString inherits="GameFontNormalSmall" name="CTA_MaxSizeHelpLabel" nonspacewrap="false" justifyH="LEFT" text="CTA_MAXIMUM_PLAYERS_HELP"> |
||
2009 | <Size> |
||
2010 | <AbsDimension x="400" y="32"/> |
||
2011 | </Size> |
||
2012 | |||
2013 | <Anchors> |
||
2014 | <Anchor point="TOPLEFT"> |
||
2015 | <Offset> |
||
2016 | <AbsDimension x="240" y="-116"/> |
||
2017 | </Offset> |
||
2018 | </Anchor> |
||
2019 | </Anchors> |
||
2020 | </FontString> |
||
2021 | |||
2022 | <FontString inherits="GameFontNormal" name="$parentMinLevelLabel" nonspacewrap="false" justifyH="RIGHT" text="CTA_MINIMUM_LEVEL"> |
||
2023 | <Size> |
||
2024 | <AbsDimension x="140" y="32"/> |
||
2025 | </Size> |
||
2026 | |||
2027 | <Anchors> |
||
2028 | <Anchor point="TOPLEFT"> |
||
2029 | <Offset> |
||
2030 | <AbsDimension x="20" y="-148"/> |
||
2031 | </Offset> |
||
2032 | </Anchor> |
||
2033 | </Anchors> |
||
2034 | </FontString> |
||
2035 | |||
2036 | <FontString inherits="GameFontNormalSmall" nonspacewrap="false" justifyH="LEFT" text="CTA_MINIMUM_LEVEL_HELP"> |
||
2037 | <Size> |
||
2038 | <AbsDimension x="140" y="32"/> |
||
2039 | </Size> |
||
2040 | |||
2041 | <Anchors> |
||
2042 | <Anchor point="TOPLEFT"> |
||
2043 | <Offset> |
||
2044 | <AbsDimension x="240" y="-148"/> |
||
2045 | </Offset> |
||
2046 | </Anchor> |
||
2047 | </Anchors> |
||
2048 | </FontString> |
||
2049 | |||
2050 | <FontString inherits="GameFontNormal" name="$parentPasswordLabel" nonspacewrap="false" justifyH="RIGHT" text="CTA_PASSWORD"> |
||
2051 | <Size> |
||
2052 | <AbsDimension x="140" y="32"/> |
||
2053 | </Size> |
||
2054 | |||
2055 | <Anchors> |
||
2056 | <Anchor point="TOPLEFT"> |
||
2057 | <Offset> |
||
2058 | <AbsDimension x="20" y="-180"/> |
||
2059 | </Offset> |
||
2060 | </Anchor> |
||
2061 | </Anchors> |
||
2062 | </FontString> |
||
2063 | |||
2064 | <FontString inherits="GameFontNormalSmall" name="$parentUsePasswordLabel" nonspacewrap="false" justifyH="LEFT" text="CTA_PASSWORD_HELP"> |
||
2065 | <Size> |
||
2066 | <AbsDimension x="240" y="32"/> |
||
2067 | </Size> |
||
2068 | |||
2069 | <Anchors> |
||
2070 | <Anchor point="TOPLEFT"> |
||
2071 | <Offset> |
||
2072 | <AbsDimension x="340" y="-180"/> |
||
2073 | </Offset> |
||
2074 | </Anchor> |
||
2075 | </Anchors> |
||
2076 | </FontString> |
||
2077 | |||
2078 | <FontString inherits="GameFontNormal" name="$parentClassesLabel" nonspacewrap="false" justifyH="RIGHT" text="CTA_CLASS_DISTRIBUTION"> |
||
2079 | <Size> |
||
2080 | <AbsDimension x="140" y="32"/> |
||
2081 | </Size> |
||
2082 | |||
2083 | <Anchors> |
||
2084 | <Anchor point="TOPLEFT"> |
||
2085 | <Offset> |
||
2086 | <AbsDimension x="20" y="-212"/> |
||
2087 | </Offset> |
||
2088 | </Anchor> |
||
2089 | </Anchors> |
||
2090 | </FontString> |
||
2091 | |||
2092 | <FontString inherits="GameFontNormalSmall" name="CTA_RaidSizeLabel" nonspacewrap="false" justifyH="LEFT" > |
||
2093 | <Size> |
||
2094 | <AbsDimension x="440" y="32"/> |
||
2095 | </Size> |
||
2096 | |||
2097 | <Anchors> |
||
2098 | <Anchor point="TOPLEFT"> |
||
2099 | <Offset> |
||
2100 | <AbsDimension x="170" y="-212"/> |
||
2101 | </Offset> |
||
2102 | </Anchor> |
||
2103 | </Anchors> |
||
2104 | </FontString> |
||
2105 | |||
2106 | <FontString inherits="GameFontNormalSmall" name="CTA_AcidNote"> |
||
2107 | <Size> |
||
2108 | <AbsDimension x="480" y="20"/> |
||
2109 | </Size> |
||
2110 | <Anchors> |
||
2111 | <Anchor point="BOTTOM"> |
||
2112 | <Offset> |
||
2113 | <AbsDimension x="0" y="44"/> |
||
2114 | </Offset> |
||
2115 | </Anchor> |
||
2116 | </Anchors> |
||
2117 | <Color r="1.0" g="1.0" b="1.0" a="0.5"/> |
||
2118 | </FontString> |
||
2119 | |||
2120 | <FontString name="CTA_PublicStatusLabel" inherits="GameFontNormalSmall" nonspacewrap="false"> |
||
2121 | <Size> |
||
2122 | <AbsDimension x="600" y="32"/> |
||
2123 | </Size> |
||
2124 | <Anchors> |
||
2125 | <Anchor point="BOTTOM"> |
||
2126 | <Offset> |
||
2127 | <AbsDimension x="0" y="24"/> |
||
2128 | </Offset> |
||
2129 | </Anchor> |
||
2130 | </Anchors> |
||
2131 | </FontString> |
||
2132 | </Layer> |
||
2133 | </Layers> |
||
2134 | <Frames> |
||
2135 | <EditBox name="CTA_MyRaidFrameDescriptionEditBox" letters="128" inherits="CTA_AbstractEditBox"> |
||
2136 | <Size> |
||
2137 | <AbsDimension x="400" y="20"/> |
||
2138 | </Size> |
||
2139 | <Anchors> |
||
2140 | <Anchor point="TOPLEFT"> |
||
2141 | <Offset> |
||
2142 | <AbsDimension x="170" y="-60"/> |
||
2143 | </Offset> |
||
2144 | </Anchor> |
||
2145 | </Anchors> |
||
2146 | <Scripts> |
||
2147 | <OnLoad> |
||
2148 | this:SetTextInsets(4,0,0,0); |
||
2149 | </OnLoad> |
||
2150 | <OnEditFocusLost> |
||
2151 | CTA_MyRaidInstantUpdate(); |
||
2152 | </OnEditFocusLost> |
||
2153 | <OnTabPressed> |
||
2154 | this:ClearFocus(); |
||
2155 | CTA_MyRaidFrameMaxSizeEditBox:SetFocus(); |
||
2156 | </OnTabPressed> |
||
2157 | <OnEnterPressed> |
||
2158 | this:ClearFocus(); |
||
2159 | --CTA_MyRaidFrameMaxSizeEditBox:SetFocus(); |
||
2160 | if ( ChatFrameEditBox ) then |
||
2161 | ChatFrameEditBox:Show(); |
||
2162 | ChatFrameEditBox:SetFocus(); |
||
2163 | end |
||
2164 | </OnEnterPressed> |
||
2165 | </Scripts> |
||
2166 | </EditBox> |
||
2167 | |||
2168 | <CheckButton name="$parentPVPCheckButton" inherits="UICheckButtonTemplate"> |
||
2169 | <Size> |
||
2170 | <AbsDimension x="24" y="24"/> |
||
2171 | </Size> |
||
2172 | <Anchors> |
||
2173 | <Anchor point="LEFT" relativeTo="CTA_MyRaidFramePVPLabel" > |
||
2174 | <Offset> |
||
2175 | <AbsDimension x="-30" y="0"/> |
||
2176 | </Offset> |
||
2177 | </Anchor> |
||
2178 | </Anchors> |
||
2179 | <Scripts> |
||
2180 | <OnClick> |
||
2181 | CTA_MyRaidFramePVPCheckButton:SetChecked(1); |
||
2182 | CTA_MyRaidFramePVECheckButton:SetChecked(0); |
||
2183 | CTA_MyRaidInstantUpdate(); |
||
2184 | </OnClick> |
||
2185 | <OnLoad> |
||
2186 | CTA_MyRaidFramePVPCheckButton:SetChecked(1); |
||
2187 | </OnLoad> |
||
2188 | </Scripts> |
||
2189 | </CheckButton> |
||
2190 | <CheckButton name="$parentPVECheckButton" inherits="UICheckButtonTemplate"> |
||
2191 | <Size> |
||
2192 | <AbsDimension x="24" y="24"/> |
||
2193 | </Size> |
||
2194 | <Anchors> |
||
2195 | <Anchor point="LEFT" relativeTo="CTA_MyRaidFramePVELabel" > |
||
2196 | <Offset> |
||
2197 | <AbsDimension x="-30" y="0"/> |
||
2198 | </Offset> |
||
2199 | </Anchor> |
||
2200 | </Anchors> |
||
2201 | <Scripts> |
||
2202 | <OnClick> |
||
2203 | CTA_MyRaidFramePVPCheckButton:SetChecked(0); |
||
2204 | CTA_MyRaidFramePVECheckButton:SetChecked(1); |
||
2205 | CTA_MyRaidInstantUpdate(); |
||
2206 | </OnClick> |
||
2207 | </Scripts> |
||
2208 | </CheckButton> |
||
2209 | |||
2210 | <EditBox name="CTA_MyRaidFrameMaxSizeEditBox" inherits="CTA_AbstractEditBox" letters="2" numeric="true"> |
||
2211 | <Size> |
||
2212 | <AbsDimension x="50" y="20"/> |
||
2213 | </Size> |
||
2214 | <Anchors> |
||
2215 | <Anchor point="TOPLEFT"> |
||
2216 | <Offset> |
||
2217 | <AbsDimension x="170" y="-124"/> |
||
2218 | </Offset> |
||
2219 | </Anchor> |
||
2220 | </Anchors> |
||
2221 | <Scripts> |
||
2222 | <OnLoad> |
||
2223 | this:SetTextInsets(4,0,0,0); |
||
2224 | </OnLoad> |
||
2225 | <OnEditFocusLost> |
||
2226 | CTA_MyRaidInstantUpdate(); |
||
2227 | </OnEditFocusLost> |
||
2228 | <OnTabPressed> |
||
2229 | this:ClearFocus(); |
||
2230 | CTA_MyRaidFrameMinLevelEditBox:SetFocus(); |
||
2231 | </OnTabPressed> |
||
2232 | <OnEnterPressed> |
||
2233 | this:ClearFocus(); |
||
2234 | --CTA_MyRaidFrameMinLevelEditBox:SetFocus(); |
||
2235 | if ( ChatFrameEditBox ) then |
||
2236 | ChatFrameEditBox:Show(); |
||
2237 | ChatFrameEditBox:SetFocus(); |
||
2238 | end |
||
2239 | </OnEnterPressed> |
||
2240 | </Scripts> |
||
2241 | </EditBox> |
||
2242 | <EditBox name="CTA_MyRaidFrameMinLevelEditBox" inherits="CTA_AbstractEditBox" letters="2" numeric="true"> |
||
2243 | <Size> |
||
2244 | <AbsDimension x="50" y="20"/> |
||
2245 | </Size> |
||
2246 | <Anchors> |
||
2247 | <Anchor point="TOPLEFT"> |
||
2248 | <Offset> |
||
2249 | <AbsDimension x="170" y="-156"/> |
||
2250 | </Offset> |
||
2251 | </Anchor> |
||
2252 | </Anchors> |
||
2253 | <Scripts> |
||
2254 | <OnLoad> |
||
2255 | this:SetTextInsets(4,0,0,0); |
||
2256 | </OnLoad> |
||
2257 | <OnEditFocusLost> |
||
2258 | CTA_MyRaidInstantUpdate(); |
||
2259 | </OnEditFocusLost> |
||
2260 | <OnTabPressed> |
||
2261 | this:ClearFocus(); |
||
2262 | CTA_MyRaidFramePasswordEditBox:SetFocus(); |
||
2263 | </OnTabPressed> |
||
2264 | <OnEnterPressed> |
||
2265 | this:ClearFocus(); |
||
2266 | --CTA_MyRaidFramePasswordEditBox:SetFocus(); |
||
2267 | if ( ChatFrameEditBox ) then |
||
2268 | ChatFrameEditBox:Show(); |
||
2269 | ChatFrameEditBox:SetFocus(); |
||
2270 | end |
||
2271 | </OnEnterPressed> |
||
2272 | </Scripts> |
||
2273 | </EditBox> |
||
2274 | |||
2275 | <EditBox name="CTA_MyRaidFramePasswordEditBox" inherits="CTA_AbstractEditBox" letters="16" > |
||
2276 | <Size> |
||
2277 | <AbsDimension x="150" y="20"/> |
||
2278 | </Size> |
||
2279 | <Anchors> |
||
2280 | <Anchor point="TOPLEFT"> |
||
2281 | <Offset> |
||
2282 | <AbsDimension x="170" y="-188"/> |
||
2283 | </Offset> |
||
2284 | </Anchor> |
||
2285 | </Anchors> |
||
2286 | <Scripts> |
||
2287 | <OnLoad> |
||
2288 | this:SetTextInsets(4,0,0,0); |
||
2289 | </OnLoad> |
||
2290 | <OnEditFocusLost> |
||
2291 | CTA_MyRaidInstantUpdate(); |
||
2292 | </OnEditFocusLost> |
||
2293 | <OnTabPressed> |
||
2294 | this:ClearFocus(); |
||
2295 | CTA_MyRaidFrameDescriptionEditBox:SetFocus(); |
||
2296 | </OnTabPressed> |
||
2297 | <OnEnterPressed> |
||
2298 | this:ClearFocus(); |
||
2299 | if ( ChatFrameEditBox ) then |
||
2300 | ChatFrameEditBox:Show(); |
||
2301 | ChatFrameEditBox:SetFocus(); |
||
2302 | end |
||
2303 | </OnEnterPressed> |
||
2304 | </Scripts> |
||
2305 | </EditBox> |
||
2306 | |||
2307 | |||
2308 | <Frame name="CTA_Acid1" inherits="CTA_AcidItemTemplate"> |
||
2309 | <Anchors> |
||
2310 | <Anchor point="TOPLEFT"> |
||
2311 | <Offset> |
||
2312 | <AbsDimension x="50" y="-250"/> |
||
2313 | </Offset> |
||
2314 | </Anchor> |
||
2315 | </Anchors> |
||
2316 | </Frame> |
||
2317 | <Frame name="CTA_Acid2" inherits="CTA_AcidItemTemplate"></Frame> |
||
2318 | <Frame name="CTA_Acid3" inherits="CTA_AcidItemTemplate"></Frame> |
||
2319 | <Frame name="CTA_Acid4" inherits="CTA_AcidItemTemplate"></Frame> |
||
2320 | <Frame name="CTA_Acid0" inherits="CTA_AcidItemTemplateAnyClass"></Frame> |
||
2321 | <Frame name="CTA_Acid5" inherits="CTA_AcidItemTemplate"></Frame> |
||
2322 | <Frame name="CTA_Acid6" inherits="CTA_AcidItemTemplate"></Frame> |
||
2323 | <Frame name="CTA_Acid7" inherits="CTA_AcidItemTemplate"></Frame> |
||
2324 | <Frame name="CTA_Acid8" inherits="CTA_AcidItemTemplate"></Frame> |
||
2325 | |||
2326 | |||
2327 | |||
2328 | |||
2329 | <!-- |
||
2330 | Acid Edit Dialog |
||
2331 | --> |
||
2332 | |||
2333 | <Frame name="CTA_AcidEditDialog" inherits="CTA_AbstractDialogFrame" hidden="true"> |
||
2334 | <Frames> |
||
2335 | <CheckButton name="CTA_AcidClassCheckButton1" inherits="CTA_AbstractLabelCheckButton"/> |
||
2336 | <CheckButton name="CTA_AcidClassCheckButton2" inherits="CTA_AbstractLabelCheckButton"/> |
||
2337 | <CheckButton name="CTA_AcidClassCheckButton3" inherits="CTA_AbstractLabelCheckButton"/> |
||
2338 | <CheckButton name="CTA_AcidClassCheckButton4" inherits="CTA_AbstractLabelCheckButton"/> |
||
2339 | <CheckButton name="CTA_AcidClassCheckButton5" inherits="CTA_AbstractLabelCheckButton"/> |
||
2340 | <CheckButton name="CTA_AcidClassCheckButton6" inherits="CTA_AbstractLabelCheckButton"/> |
||
2341 | <CheckButton name="CTA_AcidClassCheckButton7" inherits="CTA_AbstractLabelCheckButton"/> |
||
2342 | <CheckButton name="CTA_AcidClassCheckButton8" inherits="CTA_AbstractLabelCheckButton"/> |
||
2343 | </Frames> |
||
2344 | <Scripts> |
||
2345 | <OnLoad> |
||
2346 | CTA_AcidEditDialogEditBox:Hide(); |
||
2347 | CTA_AcidEditDialogOkButton:SetText( CTA_OK ); |
||
2348 | |||
2349 | CTA_AcidEditDialogHeadingLabel:SetText( "Choose the classes for this rule:" ); |
||
2350 | |||
2351 | local classes = { }; |
||
2352 | classes[1] = CTA_PRIEST; |
||
2353 | classes[2] = CTA_MAGE; |
||
2354 | classes[3] = CTA_WARLOCK; |
||
2355 | classes[4] = CTA_DRUID; |
||
2356 | classes[5] = CTA_HUNTER; |
||
2357 | classes[6] = CTA_ROGUE; |
||
2358 | classes[7] = CTA_WARRIOR; |
||
2359 | if( UnitFactionGroup("PLAYER") == CTA_ALLIANCE ) then |
||
2360 | classes[8] = CTA_PALADIN; |
||
2361 | else |
||
2362 | classes[8] = CTA_SHAMAN; |
||
2363 | end |
||
2364 | |||
2365 | CTA_AcidClassCheckButton1:SetPoint( "TOP", "CTA_AcidEditDialog", "TOP", -80, -64 ); |
||
2366 | CTA_AcidClassCheckButton1TextLabel:SetText( CTA_PRIEST ); |
||
2367 | |||
2368 | for i = 2, 4 do |
||
2369 | getglobal( "CTA_AcidClassCheckButton"..i ):SetPoint( "TOP", "CTA_AcidClassCheckButton"..(i-1), "TOP", 0, -32 ); |
||
2370 | getglobal( "CTA_AcidClassCheckButton"..i.."TextLabel" ):SetText( classes[i] ); |
||
2371 | end |
||
2372 | |||
2373 | for i = 5, 8 do |
||
2374 | getglobal( "CTA_AcidClassCheckButton"..i ):SetPoint( "LEFT", "CTA_AcidClassCheckButton"..(i-4), "LEFT", 120, 0 ); |
||
2375 | getglobal( "CTA_AcidClassCheckButton"..i.."TextLabel" ):SetText( classes[i] ); |
||
2376 | end |
||
2377 | |||
2378 | </OnLoad> |
||
2379 | </Scripts> |
||
2380 | </Frame> |
||
2381 | |||
2382 | <Button name="CTA_ConvertToRaidButton" inherits="CTA_AbstractButton" text="CTA_CONVERT_TO_RAID"> |
||
2383 | <Size> |
||
2384 | <AbsDimension x="100" y="22"/> |
||
2385 | </Size> |
||
2386 | <Anchors> |
||
2387 | <Anchor point="BOTTOMRIGHT"> |
||
2388 | <Offset> |
||
2389 | <AbsDimension x="-142" y="5"/> |
||
2390 | </Offset> |
||
2391 | </Anchor> |
||
2392 | </Anchors> |
||
2393 | <Scripts> |
||
2394 | <OnClick> |
||
2395 | CTA_ConvertToRaid(); |
||
2396 | </OnClick> |
||
2397 | </Scripts> |
||
2398 | </Button> |
||
2399 | |||
2400 | <Button name="CTA_ConvertToPartyButton" inherits="CTA_AbstractButton" text="CTA_CONVERT_TO_PARTY"> |
||
2401 | <Size> |
||
2402 | <AbsDimension x="100" y="22"/> |
||
2403 | </Size> |
||
2404 | <Anchors> |
||
2405 | <Anchor point="BOTTOMRIGHT"> |
||
2406 | <Offset> |
||
2407 | <AbsDimension x="-142" y="5"/> |
||
2408 | </Offset> |
||
2409 | </Anchor> |
||
2410 | </Anchors> |
||
2411 | <Scripts> |
||
2412 | <OnClick> |
||
2413 | CTA_ConvertToParty(); |
||
2414 | </OnClick> |
||
2415 | </Scripts> |
||
2416 | </Button> |
||
2417 | |||
2418 | <Button name="CTA_StopHostingButton" inherits="CTA_AbstractButton" text="CTA_STOP_HOSTING"> |
||
2419 | <Anchors> |
||
2420 | <Anchor point="BOTTOMRIGHT"> |
||
2421 | <Offset> |
||
2422 | <AbsDimension x="-252" y="5"/> |
||
2423 | </Offset> |
||
2424 | </Anchor> |
||
2425 | </Anchors> |
||
2426 | <Scripts> |
||
2427 | <OnClick> |
||
2428 | CTA_StopHosting(); |
||
2429 | </OnClick> |
||
2430 | </Scripts> |
||
2431 | </Button> |
||
2432 | |||
2433 | <Button name="CTA_ToggleViewableButton" inherits="CTA_AbstractButton"> |
||
2434 | <Anchors> |
||
2435 | <Anchor point="BOTTOMRIGHT"> |
||
2436 | <Offset> |
||
2437 | <AbsDimension x="-32" y="5"/> |
||
2438 | </Offset> |
||
2439 | </Anchor> |
||
2440 | </Anchors> |
||
2441 | <Scripts> |
||
2442 | <OnClick> |
||
2443 | if ( CTA_MyRaidIsOnline ) then |
||
2444 | CTA_ToggleViewableButton:SetText( CTA_GO_ONLINE ); |
||
2445 | CTA_IconMsg( CTA_IS_OFFLINE, CTA_GENERAL ); |
||
2446 | CTA_PublicStatusLabel:SetText( CTA_RAID_OFFLINE_MESSAGE ); |
||
2447 | CTA_PublicStatusLabel:SetTextColor( 1, 0.2, 0.2, 1 ); |
||
2448 | CTA_MyRaidIsOnline = nil; |
||
2449 | CTA_PollBroadcast = 2; |
||
2450 | else |
||
2451 | CTA_ToggleViewableButton:SetText( CTA_GO_OFFLINE ); |
||
2452 | CTA_IconMsg( CTA_IS_ONLINE, CTA_GENERAL ); |
||
2453 | CTA_PublicStatusLabel:SetText( CTA_RAID_ONLINE_MESSAGE ); |
||
2454 | CTA_PublicStatusLabel:SetTextColor( 0.2, 1, 0.2, 1 ); |
||
2455 | CTA_MyRaidIsOnline = 1; |
||
2456 | CTA_PollBroadcast = 1; |
||
2457 | end |
||
2458 | </OnClick> |
||
2459 | <OnLoad> |
||
2460 | this:SetText( CTA_GO_OFFLINE ); |
||
2461 | CTA_PublicStatusLabel:SetText( CTA_RAID_ONLINE_MESSAGE ); |
||
2462 | CTA_PublicStatusLabel:SetTextColor( 0.2, 1, 0.2, 1 ); |
||
2463 | </OnLoad> |
||
2464 | </Scripts> |
||
2465 | </Button> |
||
2466 | </Frames> |
||
2467 | <Scripts> |
||
2468 | <OnLoad> |
||
2469 | for i = 2, 4 do |
||
2470 | getglobal( "CTA_Acid"..i ):SetPoint( "LEFT", "CTA_Acid"..(i-1), "LEFT", 60, 0 ); |
||
2471 | end |
||
2472 | CTA_Acid0:SetPoint( "LEFT", "CTA_Acid4", "LEFT", 60, 0 ); |
||
2473 | CTA_Acid5:SetPoint( "LEFT", "CTA_Acid0", "LEFT", 60, 0 ); |
||
2474 | for i = 6, 8 do |
||
2475 | getglobal( "CTA_Acid"..i ):SetPoint( "LEFT", "CTA_Acid"..(i-1), "LEFT", 60, 0 ); |
||
2476 | end |
||
2477 | CTA_MyRaidFrameTitleLabel:SetText( CTA_CALL_TO_ARMS.." - "..CTA_HOST_A_RAID ); |
||
2478 | </OnLoad> |
||
2479 | </Scripts> |
||
2480 | </Frame> |
||
2481 | |||
2482 | |||
2483 | |||
2484 | |||
2485 | <!-- Start Hosting Frame --> |
||
2486 | <Frame name="CTA_StartRaidFrame" hidden="true"> |
||
2487 | <Size> |
||
2488 | <AbsDimension x="640" y="480"/> |
||
2489 | </Size> |
||
2490 | <Anchors> |
||
2491 | <Anchor point="TOP"> |
||
2492 | <Offset> |
||
2493 | <AbsDimension x="0" y="-16"/> |
||
2494 | </Offset> |
||
2495 | </Anchor> |
||
2496 | </Anchors> |
||
2497 | <Layers> |
||
2498 | <Layer level="ARTWORK"> |
||
2499 | <FontString inherits="CTA_TitleFont" name="$parentTitleLabel" nonspacewrap="false" maxLines="1" hidden="true"> |
||
2500 | <Size> |
||
2501 | <AbsDimension x="300" y="32"/> |
||
2502 | </Size> |
||
2503 | <Anchors> |
||
2504 | <Anchor point="TOP"> |
||
2505 | <Offset> |
||
2506 | <AbsDimension x="0" y="-3"/> |
||
2507 | </Offset> |
||
2508 | </Anchor> |
||
2509 | </Anchors> |
||
2510 | </FontString> |
||
2511 | |||
2512 | <FontString inherits="CTA_Heading1Font" name="CTA_StartRaidLabel" justifyV="TOP" nonspacewrap="false"> |
||
2513 | <Size> |
||
2514 | <AbsDimension x="400" y="256"/> |
||
2515 | </Size> |
||
2516 | <Anchors> |
||
2517 | <Anchor point="TOP"> |
||
2518 | <Offset> |
||
2519 | <AbsDimension x="0" y="-128"/> |
||
2520 | </Offset> |
||
2521 | </Anchor> |
||
2522 | </Anchors> |
||
2523 | </FontString> |
||
2524 | </Layer> |
||
2525 | </Layers> |
||
2526 | <Frames> |
||
2527 | <Button name="CTA_StartAPartyButton" inherits="CTA_AbstractButton" text="CTA_START_PARTY"> |
||
2528 | <Size> |
||
2529 | <AbsDimension x="160" y="44"/> |
||
2530 | </Size> |
||
2531 | <Anchors> |
||
2532 | <Anchor point="TOP"> |
||
2533 | <Offset> |
||
2534 | <AbsDimension x="0" y="-160"/> |
||
2535 | </Offset> |
||
2536 | </Anchor> |
||
2537 | </Anchors> |
||
2538 | <Scripts> |
||
2539 | <OnClick> |
||
2540 | PlaySound("igCharacterInfoTab"); |
||
2541 | CTA_StartAParty(); |
||
2542 | </OnClick> |
||
2543 | </Scripts> |
||
2544 | </Button> |
||
2545 | <Button name="CTA_StartARaidButton" inherits="CTA_AbstractButton" text="CTA_START_RAID"> |
||
2546 | <Size> |
||
2547 | <AbsDimension x="160" y="44"/> |
||
2548 | </Size> |
||
2549 | <Anchors> |
||
2550 | <Anchor point="TOP"> |
||
2551 | <Offset> |
||
2552 | <AbsDimension x="0" y="-240"/> |
||
2553 | </Offset> |
||
2554 | </Anchor> |
||
2555 | </Anchors> |
||
2556 | <Scripts> |
||
2557 | <OnClick> |
||
2558 | PlaySound("igCharacterInfoTab"); |
||
2559 | CTA_StartARaid(); |
||
2560 | </OnClick> |
||
2561 | </Scripts> |
||
2562 | </Button> |
||
2563 | </Frames> |
||
2564 | <Scripts> |
||
2565 | <OnLoad> |
||
2566 | CTA_StartRaidFrameTitleLabel:SetText( CTA_CALL_TO_ARMS.." - "..CTA_START_A_RAID ); |
||
2567 | </OnLoad> |
||
2568 | </Scripts> |
||
2569 | </Frame> |
||
2570 | |||
2571 | |||
2572 | |||
2573 | |||
2574 | <!-- LFG Frame --> |
||
2575 | <Frame name="CTA_LFGFrame" hidden="true"> |
||
2576 | <Size> |
||
2577 | <AbsDimension x="640" y="480"/> |
||
2578 | </Size> |
||
2579 | <Anchors> |
||
2580 | <Anchor point="TOP"> |
||
2581 | <Offset> |
||
2582 | <AbsDimension x="0" y="-16"/> |
||
2583 | </Offset> |
||
2584 | </Anchor> |
||
2585 | </Anchors> |
||
2586 | <Layers> |
||
2587 | <Layer level="ARTWORK"> |
||
2588 | <FontString inherits="CTA_TitleFont" name="$parentTitleLabel" nonspacewrap="false" maxLines="1" hidden="true"> |
||
2589 | <Size> |
||
2590 | <AbsDimension x="300" y="32"/> |
||
2591 | </Size> |
||
2592 | <Anchors> |
||
2593 | <Anchor point="TOP"> |
||
2594 | <Offset> |
||
2595 | <AbsDimension x="0" y="-3"/> |
||
2596 | </Offset> |
||
2597 | </Anchor> |
||
2598 | </Anchors> |
||
2599 | </FontString> |
||
2600 | |||
2601 | <FontString inherits="CTA_Heading1Font" name="CTA_LGMPrefixLabel" justifyV="TOP" nonspacewrap="false"> |
||
2602 | <Size> |
||
2603 | <AbsDimension x="400" y="256"/> |
||
2604 | </Size> |
||
2605 | <Anchors> |
||
2606 | <Anchor point="TOP"> |
||
2607 | <Offset> |
||
2608 | <AbsDimension x="0" y="-128"/> |
||
2609 | </Offset> |
||
2610 | </Anchor> |
||
2611 | </Anchors> |
||
2612 | </FontString> |
||
2613 | <FontString inherits="GameFontNormalSmall" text="CTA_ANNOUNCE_INFO_TEXT" justifyV="TOP" nonspacewrap="false"> |
||
2614 | <Size> |
||
2615 | <AbsDimension x="400" y="256"/> |
||
2616 | </Size> |
||
2617 | <Anchors> |
||
2618 | <Anchor point="TOP"> |
||
2619 | <Offset> |
||
2620 | <AbsDimension x="0" y="-300"/> |
||
2621 | </Offset> |
||
2622 | </Anchor> |
||
2623 | </Anchors> |
||
2624 | </FontString> |
||
2625 | <FontString inherits="GameFontNormalSmall" text="CTA_ANNOUNCE_LFG" justifyV="TOP" nonspacewrap="false"> |
||
2626 | <Size> |
||
2627 | <AbsDimension x="400" y="256"/> |
||
2628 | </Size> |
||
2629 | <Anchors> |
||
2630 | <Anchor point="TOP"> |
||
2631 | <Offset> |
||
2632 | <AbsDimension x="0" y="-220"/> |
||
2633 | </Offset> |
||
2634 | </Anchor> |
||
2635 | </Anchors> |
||
2636 | </FontString> |
||
2637 | </Layer> |
||
2638 | </Layers> |
||
2639 | <Frames> |
||
2640 | <EditBox name="CTA_LFGDescriptionEditBox" letters="128" inherits="CTA_AbstractEditBox"> |
||
2641 | <Size> |
||
2642 | <AbsDimension x="320" y="20"/> |
||
2643 | </Size> |
||
2644 | <Anchors> |
||
2645 | <Anchor point="TOP"> |
||
2646 | <Offset> |
||
2647 | <AbsDimension x="0" y="-160"/> |
||
2648 | </Offset> |
||
2649 | </Anchor> |
||
2650 | </Anchors> |
||
2651 | <Scripts> |
||
2652 | <OnLoad> |
||
2653 | this:SetTextInsets(4,0,0,0); |
||
2654 | </OnLoad> |
||
2655 | <OnEditFocusLost> |
||
2656 | --CTA_MyRaidInstantUpdate(); |
||
2657 | </OnEditFocusLost> |
||
2658 | <OnTabPressed> |
||
2659 | this:ClearFocus(); |
||
2660 | </OnTabPressed> |
||
2661 | <OnEnterPressed> |
||
2662 | this:ClearFocus(); |
||
2663 | </OnEnterPressed> |
||
2664 | </Scripts> |
||
2665 | </EditBox> |
||
2666 | <CheckButton name="CTA_LFGCheckButton" inherits="CTA_AbstractCheckButton"> |
||
2667 | <Size> |
||
2668 | <AbsDimension x="24" y="24"/> |
||
2669 | </Size> |
||
2670 | <Anchors> |
||
2671 | <Anchor point="TOP"> |
||
2672 | <Offset> |
||
2673 | <AbsDimension x="0" y="-190"/> |
||
2674 | </Offset> |
||
2675 | </Anchor> |
||
2676 | </Anchors> |
||
2677 | <Scripts> |
||
2678 | <OnLoad> |
||
2679 | this:SetChecked(1); |
||
2680 | </OnLoad> |
||
2681 | </Scripts> |
||
2682 | </CheckButton> |
||
2683 | |||
2684 | </Frames> |
||
2685 | <Scripts> |
||
2686 | <OnLoad> |
||
2687 | CTA_StartRaidFrameTitleLabel:SetText( CTA_CALL_TO_ARMS.." - "..CTA_LFG_FRAME ); |
||
2688 | </OnLoad> |
||
2689 | </Scripts> |
||
2690 | </Frame> |
||
2691 | |||
2692 | <!-- Cannot LFG Frame --> |
||
2693 | <Frame name="CTA_CannotLFGFrame" hidden="true"> |
||
2694 | <Size> |
||
2695 | <AbsDimension x="640" y="480"/> |
||
2696 | </Size> |
||
2697 | <Anchors> |
||
2698 | <Anchor point="TOP"> |
||
2699 | <Offset> |
||
2700 | <AbsDimension x="0" y="-16"/> |
||
2701 | </Offset> |
||
2702 | </Anchor> |
||
2703 | </Anchors> |
||
2704 | <Layers> |
||
2705 | <Layer level="ARTWORK"> |
||
2706 | <FontString inherits="CTA_Heading1Font" nonspacewrap="false" text="CTA_CANNOT_LFG"> |
||
2707 | <Size> |
||
2708 | <AbsDimension x="400" y="256"/> |
||
2709 | </Size> |
||
2710 | <Anchors> |
||
2711 | <Anchor point="TOP"> |
||
2712 | <Offset> |
||
2713 | <AbsDimension x="0" y="-128"/> |
||
2714 | </Offset> |
||
2715 | </Anchor> |
||
2716 | </Anchors> |
||
2717 | </FontString> |
||
2718 | </Layer> |
||
2719 | </Layers> |
||
2720 | </Frame> |
||
2721 | |||
2722 | |||
2723 | |||
2724 | |||
2725 | <!-- MORE --> |
||
2726 | <Frame name = "CTA_MoreFeaturesFrame" hidden="true"> |
||
2727 | <Size> |
||
2728 | <AbsDimension x="640" y="480"/> |
||
2729 | </Size> |
||
2730 | <Anchors> |
||
2731 | <Anchor point="TOP"/> |
||
2732 | </Anchors> |
||
2733 | <Frames> |
||
2734 | |||
2735 | <Button name="CTA_ShowBlacklistButton" inherits="CTA_TabButtonTemplate" text="CTA_PLAYER_LIST"> |
||
2736 | <Anchors> |
||
2737 | <Anchor point="TOPLEFT"> |
||
2738 | <Offset> |
||
2739 | <AbsDimension x="16" y="-20"/> |
||
2740 | </Offset> |
||
2741 | </Anchor> |
||
2742 | </Anchors> |
||
2743 | <Scripts> |
||
2744 | <OnClick> |
||
2745 | CTA_GreyListFrame:Show(); |
||
2746 | CTA_UpdateGreyListItems(); |
||
2747 | |||
2748 | CTA_LogFrame:Hide(); |
||
2749 | CTA_SettingsFrame:Hide(); |
||
2750 | </OnClick> |
||
2751 | </Scripts> |
||
2752 | </Button> |
||
2753 | |||
2754 | <Button name="CTA_SettingsFrameButton" inherits="CTA_TabButtonTemplate" text="CTA_SETTINGS"> |
||
2755 | <Anchors> |
||
2756 | <Anchor point="LEFT" relativeTo="CTA_ShowBlacklistButton" relativePoint="RIGHT"> |
||
2757 | <Offset> |
||
2758 | <AbsDimension x="2" y="0"/> |
||
2759 | </Offset> |
||
2760 | </Anchor> |
||
2761 | </Anchors> |
||
2762 | <Scripts> |
||
2763 | <OnClick> |
||
2764 | CTA_GreyListFrame:Hide(); |
||
2765 | CTA_LogFrame:Hide(); |
||
2766 | CTA_SettingsFrame:Show(); |
||
2767 | </OnClick> |
||
2768 | </Scripts> |
||
2769 | </Button> |
||
2770 | |||
2771 | <Button name="CTA_LogFrameButton" inherits="CTA_TabButtonTemplate" text="CTA_LOG"> |
||
2772 | <Anchors> |
||
2773 | <Anchor point="LEFT" relativeTo="CTA_SettingsFrameButton" relativePoint="RIGHT"> |
||
2774 | <Offset> |
||
2775 | <AbsDimension x="2" y="0"/> |
||
2776 | </Offset> |
||
2777 | </Anchor> |
||
2778 | </Anchors> |
||
2779 | <Scripts> |
||
2780 | <OnClick> |
||
2781 | CTA_GreyListFrame:Hide(); |
||
2782 | CTA_LogFrame:Show(); |
||
2783 | CTA_SettingsFrame:Hide(); |
||
2784 | </OnClick> |
||
2785 | </Scripts> |
||
2786 | </Button> |
||
2787 | |||
2788 | <!-- Blacklisted Players Frame --> |
||
2789 | <Frame name = "CTA_GreyListFrame"> |
||
2790 | <Size> |
||
2791 | <AbsDimension x="640" y="480"/> |
||
2792 | </Size> |
||
2793 | <Anchors> |
||
2794 | <Anchor point="TOP"> |
||
2795 | <Offset> |
||
2796 | <AbsDimension x="0" y="-16"/> |
||
2797 | </Offset> |
||
2798 | </Anchor> |
||
2799 | </Anchors> |
||
2800 | <Layers> |
||
2801 | <Layer level="ARTWORK"> |
||
2802 | <FontString inherits="CTA_TitleFont" name="$parentTitleLabel" nonspacewrap="false" maxLines="1" hidden="true"> |
||
2803 | <Size> |
||
2804 | <AbsDimension x="300" y="32"/> |
||
2805 | </Size> |
||
2806 | <Anchors> |
||
2807 | <Anchor point="TOP"> |
||
2808 | <Offset> |
||
2809 | <AbsDimension x="0" y="-3"/> |
||
2810 | </Offset> |
||
2811 | </Anchor> |
||
2812 | </Anchors> |
||
2813 | </FontString> |
||
2814 | <FontString inherits="GameFontNormalSmall" name="$parentPageLabel" nonspacewrap="false"> |
||
2815 | <Size> |
||
2816 | <AbsDimension x="300" y="32"/> |
||
2817 | </Size> |
||
2818 | <Anchors> |
||
2819 | <Anchor point="BOTTOM"> |
||
2820 | <Offset> |
||
2821 | <AbsDimension x="0" y="4"/> |
||
2822 | </Offset> |
||
2823 | </Anchor> |
||
2824 | </Anchors> |
||
2825 | </FontString> |
||
2826 | </Layer> |
||
2827 | </Layers> |
||
2828 | <Frames> |
||
2829 | |||
2830 | <Button name="CTA_GreyListItem0" inherits="CTA_GreyListTemplate0" ></Button> |
||
2831 | <Button name="CTA_GreyListItem1" inherits="CTA_GreyListTemplate" ></Button> |
||
2832 | <Button name="CTA_GreyListItem2" inherits="CTA_GreyListTemplate" ></Button> |
||
2833 | <Button name="CTA_GreyListItem3" inherits="CTA_GreyListTemplate" ></Button> |
||
2834 | <Button name="CTA_GreyListItem4" inherits="CTA_GreyListTemplate" ></Button> |
||
2835 | <Button name="CTA_GreyListItem5" inherits="CTA_GreyListTemplate" ></Button> |
||
2836 | <Button name="CTA_GreyListItem6" inherits="CTA_GreyListTemplate" ></Button> |
||
2837 | <Button name="CTA_GreyListItem7" inherits="CTA_GreyListTemplate" ></Button> |
||
2838 | <Button name="CTA_GreyListItem8" inherits="CTA_GreyListTemplate" ></Button> |
||
2839 | <Button name="CTA_GreyListItem9" inherits="CTA_GreyListTemplate" ></Button> |
||
2840 | <Button name="CTA_GreyListItem10" inherits="CTA_GreyListTemplate" ></Button> |
||
2841 | <Button name="CTA_GreyListItem11" inherits="CTA_GreyListTemplate" ></Button> |
||
2842 | <Button name="CTA_GreyListItem12" inherits="CTA_GreyListTemplate" ></Button> |
||
2843 | <Button name="CTA_GreyListItem13" inherits="CTA_GreyListTemplate" ></Button> |
||
2844 | <Button name="CTA_GreyListItem14" inherits="CTA_GreyListTemplate" ></Button> |
||
2845 | <Button name="CTA_GreyListItem15" inherits="CTA_GreyListTemplate" ></Button> |
||
2846 | |||
2847 | <Button name="$parentPrev"> |
||
2848 | <Size> |
||
2849 | <AbsDimension x="32" y="32"/> |
||
2850 | </Size> |
||
2851 | <Anchors> |
||
2852 | <Anchor point="BOTTOM"> |
||
2853 | <Offset> |
||
2854 | <AbsDimension x="-64" y="0"/> |
||
2855 | </Offset> |
||
2856 | </Anchor> |
||
2857 | </Anchors> |
||
2858 | <Scripts> |
||
2859 | <OnClick> |
||
2860 | if( CTA_PlayerListOffset > 0 ) then |
||
2861 | CTA_PlayerListOffset = CTA_PlayerListOffset - CTA_MAX_BLACKLIST_ITEMS; |
||
2862 | CTA_UpdateGreyListItems(); |
||
2863 | end |
||
2864 | </OnClick> |
||
2865 | </Scripts> |
||
2866 | <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Up"/> |
||
2867 | <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Down"/> |
||
2868 | <DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-PrevPage-Disabled"/> |
||
2869 | <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/> |
||
2870 | </Button> |
||
2871 | <Button name="$parentNext"> |
||
2872 | <Size> |
||
2873 | <AbsDimension x="32" y="32"/> |
||
2874 | </Size> |
||
2875 | <Anchors> |
||
2876 | <Anchor point="BOTTOM"> |
||
2877 | <Offset> |
||
2878 | <AbsDimension x="64" y="0"/> |
||
2879 | </Offset> |
||
2880 | </Anchor> |
||
2881 | </Anchors> |
||
2882 | <Scripts> |
||
2883 | <OnClick> |
||
2884 | if( getn(CTA_BlackList) > CTA_PlayerListOffset + CTA_MAX_BLACKLIST_ITEMS ) then |
||
2885 | CTA_PlayerListOffset = CTA_PlayerListOffset + CTA_MAX_BLACKLIST_ITEMS; |
||
2886 | CTA_UpdateGreyListItems(); |
||
2887 | end |
||
2888 | </OnClick> |
||
2889 | </Scripts> |
||
2890 | <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/> |
||
2891 | <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/> |
||
2892 | <DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Disabled"/> |
||
2893 | <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/> |
||
2894 | </Button> |
||
2895 | |||
2896 | <Frame name="CTA_AddPlayerFrame" inherits="CTA_AbstractDialogFrame" hidden="true"> |
||
2897 | <Scripts> |
||
2898 | <OnLoad> |
||
2899 | CTA_AddPlayerFrameHeadingLabel:SetText( CTA_ADD_PLAYER ); |
||
2900 | CTA_AddPlayerFrameContentLabel:SetText( CTA_ENTER_PLAYER_NAME ); |
||
2901 | CTA_AddPlayerFrameEditBox:Show(); |
||
2902 | CTA_AddPlayerFrameOkButton:SetText( CTA_OK ); |
||
2903 | </OnLoad> |
||
2904 | </Scripts> |
||
2905 | </Frame> |
||
2906 | |||
2907 | |||
2908 | <Button name="CTA_AddPlayerButton" inherits="CTA_AbstractButton" text="CTA_ADD_PLAYER"> |
||
2909 | <Anchors> |
||
2910 | <Anchor point="BOTTOMRIGHT"> |
||
2911 | <Offset> |
||
2912 | <AbsDimension x="-32" y="5"/> |
||
2913 | </Offset> |
||
2914 | </Anchor> |
||
2915 | </Anchors> |
||
2916 | <Scripts> |
||
2917 | <OnClick> |
||
2918 | CTA_AddPlayerFrame:Show(); |
||
2919 | </OnClick> |
||
2920 | </Scripts> |
||
2921 | </Button> |
||
2922 | |||
2923 | <Frame name="CTA_GreyListItemEditFrame" inherits="CTA_OptionFrameBoxTemplate" hidden="true"> |
||
2924 | <Size> |
||
2925 | <AbsDimension x="600" y="64"/> |
||
2926 | </Size> |
||
2927 | <Anchors> |
||
2928 | <Anchor point="BOTTOM"> |
||
2929 | <Offset> |
||
2930 | <AbsDimension x="0" y="32"/> |
||
2931 | </Offset> |
||
2932 | </Anchor> |
||
2933 | </Anchors> |
||
2934 | <Layers> |
||
2935 | <Layer level="ARTWORK"> |
||
2936 | <FontString name="$parentTitleLabel" justifyH="LEFT" inherits="GameFontNormalSmall" nonspacewrap="false" text="CTA_PLAYER_NOTE"> |
||
2937 | <Size> |
||
2938 | <AbsDimension x="400" y="32"/> |
||
2939 | </Size> |
||
2940 | <Anchors> |
||
2941 | <Anchor point="TOPLEFT"> |
||
2942 | <Offset> |
||
2943 | <AbsDimension x="10" y="-4"/> |
||
2944 | </Offset> |
||
2945 | </Anchor> |
||
2946 | </Anchors> |
||
2947 | </FontString> |
||
2948 | </Layer> |
||
2949 | </Layers> |
||
2950 | <Frames> |
||
2951 | <EditBox name="$parentEditBox" inherits="CTA_AbstractEditBox" letters="64"> |
||
2952 | <Size> |
||
2953 | <AbsDimension x="400" y="20"/> |
||
2954 | </Size> |
||
2955 | <Anchors> |
||
2956 | <Anchor point="TOPLEFT" > |
||
2957 | <Offset> |
||
2958 | <AbsDimension x="10" y="-32"/> |
||
2959 | </Offset> |
||
2960 | </Anchor> |
||
2961 | </Anchors> |
||
2962 | <FontString inherits="ChatFontNormal"/> |
||
2963 | <Scripts> |
||
2964 | <OnLoad> |
||
2965 | this:SetTextInsets(4,0,0,0); |
||
2966 | this:SetFocus(); |
||
2967 | </OnLoad> |
||
2968 | </Scripts> |
||
2969 | </EditBox> |
||
2970 | <Button name="$parentEditButton" inherits="CTA_AbstractButton" text="CTA_SAVE"> |
||
2971 | <Anchors> |
||
2972 | <Anchor point="TOPRIGHT"> |
||
2973 | <Offset> |
||
2974 | <AbsDimension x="-10" y="-32"/> |
||
2975 | </Offset> |
||
2976 | </Anchor> |
||
2977 | </Anchors> |
||
2978 | <Scripts> |
||
2979 | <OnClick> |
||
2980 | CTA_GreyListItemSaveChanges(); |
||
2981 | </OnClick> |
||
2982 | </Scripts> |
||
2983 | </Button> |
||
2984 | <Button name="$parentDeleteButton" inherits="CTA_AbstractButton" text="CTA_DELETE"> |
||
2985 | <Anchors> |
||
2986 | <Anchor point="TOPRIGHT"> |
||
2987 | <Offset> |
||
2988 | <AbsDimension x="-10" y="-8"/> |
||
2989 | </Offset> |
||
2990 | </Anchor> |
||
2991 | </Anchors> |
||
2992 | <Scripts> |
||
2993 | <OnClick> |
||
2994 | CTA_DeletePlayer(); |
||
2995 | </OnClick> |
||
2996 | </Scripts> |
||
2997 | </Button> |
||
2998 | |||
2999 | <Button name="$parentCloseButton" inherits="CTA_AbstractButton" text="CTA_CANCEL"> |
||
3000 | <Anchors> |
||
3001 | <Anchor point="TOPRIGHT"> |
||
3002 | <Offset> |
||
3003 | <AbsDimension x="-100" y="-32"/> |
||
3004 | </Offset> |
||
3005 | </Anchor> |
||
3006 | </Anchors> |
||
3007 | <Scripts> |
||
3008 | <OnClick> |
||
3009 | CTA_GreyListItemEditFrame:Hide(); |
||
3010 | </OnClick> |
||
3011 | </Scripts> |
||
3012 | </Button> |
||
3013 | </Frames> |
||
3014 | </Frame> |
||
3015 | |||
3016 | </Frames> |
||
3017 | <Scripts> |
||
3018 | <OnLoad> |
||
3019 | CTA_GreyListItemEditFrameTitle:SetText( "" ); --CTA_EDIT_PLAYER ); |
||
3020 | |||
3021 | CTA_GreyListItem0:SetPoint( "TOP", "CTA_GreyListFrame", "TOP", 0, -48 ); |
||
3022 | for i = 1, 15 do |
||
3023 | getglobal( "CTA_GreyListItem"..i ):SetPoint( "TOP", "CTA_GreyListItem"..(i-1), "BOTTOM", 0, 0 ); |
||
3024 | end |
||
3025 | CTA_GreyListFrameTitleLabel:SetText( CTA_CALL_TO_ARMS.." - "..CTA_PLAYER_LIST ); |
||
3026 | </OnLoad> |
||
3027 | </Scripts> |
||
3028 | </Frame> |
||
3029 | |||
3030 | |||
3031 | |||
3032 | |||
3033 | <!-- Log Frame --> |
||
3034 | <Frame name = "CTA_LogFrame" hidden="true"> |
||
3035 | <Size> |
||
3036 | <AbsDimension x="640" y="480"/> |
||
3037 | </Size> |
||
3038 | <Anchors> |
||
3039 | <Anchor point="TOP"> |
||
3040 | <Offset> |
||
3041 | <AbsDimension x="0" y="-16"/> |
||
3042 | </Offset> |
||
3043 | </Anchor> |
||
3044 | </Anchors> |
||
3045 | <Layers> |
||
3046 | <Layer level="ARTWORK"> |
||
3047 | <FontString inherits="CTA_TitleFont" name="$parentTitleLabel" nonspacewrap="false" maxLines="1" hidden="true"> |
||
3048 | <Size> |
||
3049 | <AbsDimension x="300" y="32"/> |
||
3050 | </Size> |
||
3051 | <Anchors> |
||
3052 | <Anchor point="TOP"> |
||
3053 | <Offset> |
||
3054 | <AbsDimension x="0" y="-3"/> |
||
3055 | </Offset> |
||
3056 | </Anchor> |
||
3057 | </Anchors> |
||
3058 | </FontString> |
||
3059 | </Layer> |
||
3060 | </Layers> |
||
3061 | <Frames> |
||
3062 | <Frame name="$parentInternalFrame" inherits="CTA_OptionFrameBoxTemplate"> |
||
3063 | <Size> |
||
3064 | <AbsDimension x="600" y="400"/> |
||
3065 | </Size> |
||
3066 | <Anchors> |
||
3067 | <Anchor point="TOP"> |
||
3068 | <Offset> |
||
3069 | <AbsDimension x="0" y="-64"/> |
||
3070 | </Offset> |
||
3071 | </Anchor> |
||
3072 | </Anchors> |
||
3073 | <Frames> |
||
3074 | |||
3075 | <ScrollingMessageFrame name="CTA_Log" displayDuration="1200.0" maxLines="128"> |
||
3076 | <Anchors> |
||
3077 | <Anchor point="TOPLEFT"> |
||
3078 | <Offset> |
||
3079 | <AbsDimension x="40" y="-20"/> |
||
3080 | </Offset> |
||
3081 | </Anchor> |
||
3082 | <Anchor point="BOTTOMRIGHT"> |
||
3083 | <Offset> |
||
3084 | <AbsDimension x="-40" y="20"/> |
||
3085 | </Offset> |
||
3086 | </Anchor> |
||
3087 | </Anchors> |
||
3088 | <Frames> |
||
3089 | <Button name="$parentBottomButton"> |
||
3090 | <Size> |
||
3091 | <AbsDimension x="32" y="32"/> |
||
3092 | </Size> |
||
3093 | <Anchors> |
||
3094 | <Anchor point="BOTTOMLEFT"> |
||
3095 | <Offset> |
||
3096 | <AbsDimension x="-32" y="-4"/> |
||
3097 | </Offset> |
||
3098 | </Anchor> |
||
3099 | </Anchors> |
||
3100 | <Layers> |
||
3101 | <Layer level="OVERLAY"> |
||
3102 | <Texture name="$parentFlash" file="Interface\ChatFrame\UI-ChatIcon-BlinkHilight" hidden="true"/> |
||
3103 | </Layer> |
||
3104 | </Layers> |
||
3105 | <Scripts> |
||
3106 | <OnClick> |
||
3107 | PlaySound("igChatBottom"); |
||
3108 | this:GetParent():ScrollToBottom(); |
||
3109 | </OnClick> |
||
3110 | </Scripts> |
||
3111 | <NormalTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollEnd-Up"/> |
||
3112 | <PushedTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollEnd-Down"/> |
||
3113 | <DisabledTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollEnd-Disabled"/> |
||
3114 | <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/> |
||
3115 | </Button> |
||
3116 | <Button name="$parentDownButton"> |
||
3117 | <Size> |
||
3118 | <AbsDimension x="32" y="32"/> |
||
3119 | </Size> |
||
3120 | <Anchors> |
||
3121 | <Anchor point="BOTTOM" relativeTo="$parentBottomButton" relativePoint="TOP"> |
||
3122 | <Offset> |
||
3123 | <AbsDimension x="0" y="-2"/> |
||
3124 | </Offset> |
||
3125 | </Anchor> |
||
3126 | </Anchors> |
||
3127 | <Scripts> |
||
3128 | <OnLoad> |
||
3129 | MessageFrameScrollButton_OnLoad(); |
||
3130 | </OnLoad> |
||
3131 | <OnUpdate> |
||
3132 | MessageFrameScrollButton_OnUpdate(arg1); |
||
3133 | </OnUpdate> |
||
3134 | <OnClick> |
||
3135 | if ( this:GetButtonState() == "PUSHED" ) then |
||
3136 | this.clickDelay = MESSAGE_SCROLLBUTTON_INITIAL_DELAY; |
||
3137 | else |
||
3138 | PlaySound("igChatScrollDown"); |
||
3139 | this:GetParent():ScrollDown(); |
||
3140 | end |
||
3141 | </OnClick> |
||
3142 | </Scripts> |
||
3143 | <NormalTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Up"/> |
||
3144 | <PushedTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Down"/> |
||
3145 | <DisabledTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollDown-Disabled"/> |
||
3146 | <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/> |
||
3147 | </Button> |
||
3148 | <Button name="$parentUpButton"> |
||
3149 | <Size> |
||
3150 | <AbsDimension x="32" y="32"/> |
||
3151 | </Size> |
||
3152 | <Anchors> |
||
3153 | <Anchor point="BOTTOM" relativeTo="$parentDownButton" relativePoint="TOP"/> |
||
3154 | </Anchors> |
||
3155 | <Scripts> |
||
3156 | <OnLoad> |
||
3157 | MessageFrameScrollButton_OnLoad(); |
||
3158 | </OnLoad> |
||
3159 | <OnUpdate> |
||
3160 | MessageFrameScrollButton_OnUpdate(arg1); |
||
3161 | </OnUpdate> |
||
3162 | <OnClick> |
||
3163 | if ( this:GetButtonState() == "PUSHED" ) then |
||
3164 | this.clickDelay = MESSAGE_SCROLLBUTTON_INITIAL_DELAY; |
||
3165 | else |
||
3166 | PlaySound("igChatScrollUp"); |
||
3167 | this:GetParent():ScrollUp(); |
||
3168 | end |
||
3169 | </OnClick> |
||
3170 | </Scripts> |
||
3171 | <NormalTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollUp-Up"/> |
||
3172 | <PushedTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollUp-Down"/> |
||
3173 | <DisabledTexture file="Interface\ChatFrame\UI-ChatIcon-ScrollUp-Disabled"/> |
||
3174 | <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/> |
||
3175 | </Button> |
||
3176 | |||
3177 | </Frames> |
||
3178 | <Scripts> |
||
3179 | <OnHyperlinkClick> |
||
3180 | ChatFrame_OnHyperlinkShow(arg1, arg2, arg3); |
||
3181 | </OnHyperlinkClick> |
||
3182 | </Scripts> |
||
3183 | <FontString justifyH="LEFT" font="Fonts\ARIALN.TTF"> |
||
3184 | <FontHeight> |
||
3185 | <AbsValue val="12"/> |
||
3186 | </FontHeight> |
||
3187 | <Shadow> |
||
3188 | <Offset> |
||
3189 | <AbsDimension x="1" y="-1"/> |
||
3190 | </Offset> |
||
3191 | <Color r="0" g="0" b="0" a="0.5"/> |
||
3192 | </Shadow> |
||
3193 | </FontString> |
||
3194 | </ScrollingMessageFrame> |
||
3195 | |||
3196 | </Frames> |
||
3197 | </Frame> |
||
3198 | </Frames> |
||
3199 | <Scripts> |
||
3200 | <OnLoad> |
||
3201 | CTA_LogFrameInternalFrameTitle:SetText( CTA_LOG_AND_MONITOR ); |
||
3202 | CTA_LogFrameTitleLabel:SetText( CTA_CALL_TO_ARMS.." - "..CTA_LOG ); |
||
3203 | </OnLoad> |
||
3204 | </Scripts> |
||
3205 | </Frame> |
||
3206 | |||
3207 | |||
3208 | |||
3209 | |||
3210 | <!-- Settings Frame --> |
||
3211 | <Frame name = "CTA_SettingsFrame" hidden="true"> |
||
3212 | <Size> |
||
3213 | <AbsDimension x="640" y="480"/> |
||
3214 | </Size> |
||
3215 | <Anchors> |
||
3216 | <Anchor point="TOP"> |
||
3217 | <Offset> |
||
3218 | <AbsDimension x="0" y="-16"/> |
||
3219 | </Offset> |
||
3220 | </Anchor> |
||
3221 | </Anchors> |
||
3222 | <Layers> |
||
3223 | <Layer level="ARTWORK"> |
||
3224 | <FontString inherits="CTA_TitleFont" name="$parentTitleLabel" nonspacewrap="false" maxLines="1" hidden="true"> |
||
3225 | <Size> |
||
3226 | <AbsDimension x="300" y="32"/> |
||
3227 | </Size> |
||
3228 | <Anchors> |
||
3229 | <Anchor point="TOP"> |
||
3230 | <Offset> |
||
3231 | <AbsDimension x="0" y="-3"/> |
||
3232 | </Offset> |
||
3233 | </Anchor> |
||
3234 | </Anchors> |
||
3235 | </FontString> |
||
3236 | </Layer> |
||
3237 | </Layers> |
||
3238 | <Frames> |
||
3239 | |||
3240 | <Frame name="$parentMinimapSettings" inherits="CTA_OptionFrameBoxTemplate"> |
||
3241 | <Size> |
||
3242 | <AbsDimension x="600" y="128"/> |
||
3243 | </Size> |
||
3244 | <Anchors> |
||
3245 | <Anchor point="TOP"> |
||
3246 | <Offset> |
||
3247 | <AbsDimension x="0" y="-64"/> |
||
3248 | </Offset> |
||
3249 | </Anchor> |
||
3250 | </Anchors> |
||
3251 | <Frames> |
||
3252 | <Slider name="CTA_MinimapArcSlider" inherits="OptionsSliderTemplate"> |
||
3253 | <Size> |
||
3254 | <AbsDimension x="360" y="16"/> |
||
3255 | </Size> |
||
3256 | <Anchors> |
||
3257 | <Anchor point="TOPLEFT"> |
||
3258 | <Offset> |
||
3259 | <AbsDimension x="24" y="-24" /> |
||
3260 | </Offset> |
||
3261 | </Anchor> |
||
3262 | </Anchors> |
||
3263 | <Scripts> |
||
3264 | <OnLoad> |
||
3265 | getglobal(this:GetName().."Text"):SetText(CTA_ICON.." - "..CTA_ADJUST_ANGLE); |
||
3266 | getglobal(this:GetName().."High"):SetText("360"); |
||
3267 | getglobal(this:GetName().."Low"):SetText("0"); |
||
3268 | this:SetMinMaxValues(0,360); |
||
3269 | this:SetValueStep(1); |
||
3270 | </OnLoad> |
||
3271 | <OnValueChanged> |
||
3272 | CTA_SavedVariables.MinimapArcOffset = this:GetValue(); |
||
3273 | CTA_UpdateMinimapIcon(); |
||
3274 | CTA_IconMsg( floor(this:GetValue() )); |
||
3275 | </OnValueChanged> |
||
3276 | </Scripts> |
||
3277 | </Slider> |
||
3278 | <Slider name="CTA_MinimapRadiusSlider" inherits="OptionsSliderTemplate"> |
||
3279 | <Size> |
||
3280 | <AbsDimension x="160" y="16"/> |
||
3281 | </Size> |
||
3282 | <Anchors> |
||
3283 | <Anchor point="TOPRIGHT"> |
||
3284 | <Offset> |
||
3285 | <AbsDimension x="-24" y="-24" /> |
||
3286 | </Offset> |
||
3287 | </Anchor> |
||
3288 | </Anchors> |
||
3289 | <Scripts> |
||
3290 | <OnLoad> |
||
3291 | getglobal(this:GetName().."Text"):SetText(CTA_ICON.." - "..CTA_ADJUST_RADIUS); |
||
3292 | getglobal(this:GetName().."High"):SetText("160"); |
||
3293 | getglobal(this:GetName().."Low"):SetText("0"); |
||
3294 | this:SetMinMaxValues(0,160); |
||
3295 | this:SetValueStep(1); |
||
3296 | </OnLoad> |
||
3297 | <OnValueChanged> |
||
3298 | CTA_SavedVariables.MinimapRadiusOffset = this:GetValue(); |
||
3299 | CTA_UpdateMinimapIcon(); |
||
3300 | CTA_IconMsg( floor(this:GetValue() )); |
||
3301 | </OnValueChanged> |
||
3302 | </Scripts> |
||
3303 | </Slider> |
||
3304 | |||
3305 | <Slider name="CTA_MinimapMsgArcSlider" inherits="OptionsSliderTemplate"> |
||
3306 | <Size> |
||
3307 | <AbsDimension x="360" y="16"/> |
||
3308 | </Size> |
||
3309 | <Anchors> |
||
3310 | <Anchor point="TOPLEFT"> |
||
3311 | <Offset> |
||
3312 | <AbsDimension x="24" y="-56" /> |
||
3313 | </Offset> |
||
3314 | </Anchor> |
||
3315 | </Anchors> |
||
3316 | <Scripts> |
||
3317 | <OnLoad> |
||
3318 | getglobal(this:GetName().."Text"):SetText(CTA_ICON_TEXT.." - "..CTA_ADJUST_ANGLE); |
||
3319 | getglobal(this:GetName().."High"):SetText("360"); |
||
3320 | getglobal(this:GetName().."Low"):SetText("0"); |
||
3321 | this:SetMinMaxValues(0,360); |
||
3322 | this:SetValueStep(1); |
||
3323 | </OnLoad> |
||
3324 | <OnValueChanged> |
||
3325 | CTA_SavedVariables.MinimapMsgArcOffset = this:GetValue(); |
||
3326 | CTA_UpdateMinimapIcon(); |
||
3327 | CTA_IconMsg( floor(this:GetValue()) ); |
||
3328 | </OnValueChanged> |
||
3329 | </Scripts> |
||
3330 | </Slider> |
||
3331 | <Slider name="CTA_MinimapMsgRadiusSlider" inherits="OptionsSliderTemplate"> |
||
3332 | <Size> |
||
3333 | <AbsDimension x="160" y="16"/> |
||
3334 | </Size> |
||
3335 | <Anchors> |
||
3336 | <Anchor point="TOPRIGHT"> |
||
3337 | <Offset> |
||
3338 | <AbsDimension x="-24" y="-56" /> |
||
3339 | </Offset> |
||
3340 | </Anchor> |
||
3341 | </Anchors> |
||
3342 | <Scripts> |
||
3343 | <OnLoad> |
||
3344 | getglobal(this:GetName().."Text"):SetText(CTA_ICON_TEXT.." - "..CTA_ADJUST_RADIUS); |
||
3345 | getglobal(this:GetName().."High"):SetText("160"); |
||
3346 | getglobal(this:GetName().."Low"):SetText("0"); |
||
3347 | this:SetMinMaxValues(0,160); |
||
3348 | this:SetValueStep(1); |
||
3349 | </OnLoad> |
||
3350 | <OnValueChanged> |
||
3351 | CTA_SavedVariables.MinimapMsgRadiusOffset = this:GetValue(); |
||
3352 | CTA_UpdateMinimapIcon(); |
||
3353 | CTA_IconMsg( floor(this:GetValue() )); |
||
3354 | </OnValueChanged> |
||
3355 | </Scripts> |
||
3356 | </Slider> |
||
3357 | |||
3358 | <Slider name="CTA_FrameTransparencySlider" inherits="OptionsSliderTemplate"> |
||
3359 | <Size> |
||
3360 | <AbsDimension x="552" y="16"/> |
||
3361 | </Size> |
||
3362 | <Anchors> |
||
3363 | <Anchor point="TOP"> |
||
3364 | <Offset> |
||
3365 | <AbsDimension x="0" y="-88" /> |
||
3366 | </Offset> |
||
3367 | </Anchor> |
||
3368 | </Anchors> |
||
3369 | <Scripts> |
||
3370 | <OnLoad> |
||
3371 | getglobal(this:GetName().."Text"):SetText( CTA_ADJUST_TRANSPARENCY ); |
||
3372 | getglobal(this:GetName().."High"):SetText("100"); |
||
3373 | getglobal(this:GetName().."Low"):SetText("0"); |
||
3374 | this:SetMinMaxValues(0.1,1); |
||
3375 | this:SetValueStep(0.002); |
||
3376 | </OnLoad> |
||
3377 | <OnValueChanged> |
||
3378 | CTA_SavedVariables.MainFrameTransparency = this:GetValue(); |
||
3379 | CTA_MainFrame:SetAlpha( this:GetValue() ); |
||
3380 | CTA_IconMsg( floor( 100 * this:GetValue() )); |
||
3381 | </OnValueChanged> |
||
3382 | </Scripts> |
||
3383 | </Slider> |
||
3384 | </Frames> |
||
3385 | </Frame> |
||
3386 | |||
3387 | <Frame name="CTA_SettingsFrameLFxSettings" inherits="CTA_OptionFrameBoxTemplate"> |
||
3388 | <Size> |
||
3389 | <AbsDimension x="600" y="192"/> |
||
3390 | </Size> |
||
3391 | <Anchors> |
||
3392 | <Anchor point="TOP" relativeTo="CTA_SettingsFrameMinimapSettings" relativePoint="BOTTOM"> |
||
3393 | <Offset> |
||
3394 | <AbsDimension x="0" y="-24"/> |
||
3395 | </Offset> |
||
3396 | </Anchor> |
||
3397 | </Anchors> |
||
3398 | <Layers> |
||
3399 | <Layer level="ARTWORK"> |
||
3400 | <FontString inherits="GameFontNormalSmall" nonspacewrap="false" text="CTA_CHANNEL_MONITORING_NOTE"> |
||
3401 | <Size> |
||
3402 | <AbsDimension x="540" y="96"/> |
||
3403 | </Size> |
||
3404 | <Anchors> |
||
3405 | <Anchor point="TOP"> |
||
3406 | <Offset> |
||
3407 | <AbsDimension x="0" y="-80"/> |
||
3408 | </Offset> |
||
3409 | </Anchor> |
||
3410 | </Anchors> |
||
3411 | </FontString> |
||
3412 | </Layer> |
||
3413 | </Layers> |
||
3414 | <Frames> |
||
3415 | |||
3416 | <CheckButton name="CTA_MonitorChatCheckButton" inherits="CTA_AbstractLabelCheckButton"> |
||
3417 | <Anchors> |
||
3418 | <Anchor point="TOP"> |
||
3419 | <Offset> |
||
3420 | <AbsDimension x="-250" y="-16"/> |
||
3421 | </Offset> |
||
3422 | </Anchor> |
||
3423 | </Anchors> |
||
3424 | <Scripts> |
||
3425 | <OnClick> |
||
3426 | </OnClick> |
||
3427 | <OnLoad> |
||
3428 | getglobal( this:GetName().."TextLabel" ):SetWidth( 500 ); |
||
3429 | getglobal( this:GetName().."TextLabel" ):SetText( CTA_FORWARD_LFX ); |
||
3430 | this:SetChecked(1); |
||
3431 | </OnLoad> |
||
3432 | </Scripts> |
||
3433 | </CheckButton> |
||
3434 | |||
3435 | <EditBox name="CTA_SearchFrameLFGTriggerEditBox" inherits="CTA_AbstractLabelEditBox" letters="128"> |
||
3436 | <Anchors> |
||
3437 | <Anchor point="TOPLEFT"> |
||
3438 | <Offset> |
||
3439 | <AbsDimension x="300" y="-40"/> |
||
3440 | </Offset> |
||
3441 | </Anchor> |
||
3442 | </Anchors> |
||
3443 | <Scripts> |
||
3444 | <OnLoad> |
||
3445 | this:SetTextInsets(4,0,0,0); |
||
3446 | this:SetWidth( 200 ); |
||
3447 | getglobal( this:GetName().."TextLabel" ):SetText( CTA_LFG_TRIGGER ); |
||
3448 | </OnLoad> |
||
3449 | </Scripts> |
||
3450 | </EditBox> |
||
3451 | |||
3452 | |||
3453 | <EditBox name="CTA_SearchFrameLFMTriggerEditBox" inherits="CTA_AbstractLabelEditBox" letters="128"> |
||
3454 | <Anchors> |
||
3455 | <Anchor point="TOPLEFT"> |
||
3456 | <Offset> |
||
3457 | <AbsDimension x="300" y="-72"/> |
||
3458 | </Offset> |
||
3459 | </Anchor> |
||
3460 | </Anchors> |
||
3461 | <Scripts> |
||
3462 | <OnLoad> |
||
3463 | this:SetTextInsets(4,0,0,0); |
||
3464 | this:SetWidth( 200 ); |
||
3465 | getglobal( this:GetName().."TextLabel" ):SetText( CTA_LFM_TRIGGER ); |
||
3466 | </OnLoad> |
||
3467 | </Scripts> |
||
3468 | </EditBox> |
||
3469 | |||
3470 | <Button name="CTA_UpdateLFxButtonButton" inherits="CTA_AbstractButton" text="CTA_UPDATE_LFX"> |
||
3471 | <Anchors> |
||
3472 | <Anchor point="BOTTOM"> |
||
3473 | <Offset> |
||
3474 | <AbsDimension x="0" y="16"/> |
||
3475 | </Offset> |
||
3476 | </Anchor> |
||
3477 | </Anchors> |
||
3478 | <Scripts> |
||
3479 | <OnLoad> |
||
3480 | </OnLoad> |
||
3481 | <OnClick> |
||
3482 | CTA_UpdateLFxButtonButton_OnClick(); |
||
3483 | CTA_SearchFrameLFGTriggerEditBox:SetText( CTA_SavedVariables.lfgTrigger ); |
||
3484 | CTA_SearchFrameLFMTriggerEditBox:SetText( CTA_SavedVariables.lfmTrigger ); |
||
3485 | </OnClick> |
||
3486 | </Scripts> |
||
3487 | </Button> |
||
3488 | |||
3489 | </Frames> |
||
3490 | </Frame> |
||
3491 | </Frames> |
||
3492 | <Scripts> |
||
3493 | <OnLoad> |
||
3494 | CTA_SettingsFrameMinimapSettingsTitle:SetText( CTA_MINIMAP_ICON_SETTINGS ); |
||
3495 | CTA_SettingsFrameLFxSettingsTitle:SetText( CTA_CHANNEL_MONITORING ); |
||
3496 | CTA_SettingsFrameTitleLabel:SetText( CTA_CALL_TO_ARMS.." - "..CTA_SETTINGS ); |
||
3497 | </OnLoad> |
||
3498 | </Scripts> |
||
3499 | </Frame> |
||
3500 | |||
3501 | </Frames> |
||
3502 | </Frame> |
||
3503 | |||
3504 | |||
3505 | </Frames> |
||
3506 | <Scripts> |
||
3507 | <OnDragStart> |
||
3508 | this:StartMoving(); |
||
3509 | </OnDragStart> |
||
3510 | <OnDragStop> |
||
3511 | this:StopMovingOrSizing(); |
||
3512 | </OnDragStop> |
||
3513 | <OnLoad> |
||
3514 | this:RegisterForDrag("LeftButton"); |
||
3515 | tinsert(UISpecialFrames,this:GetName()); |
||
3516 | this:SetAlpha( 0.85 ); |
||
3517 | </OnLoad> |
||
3518 | </Scripts> |
||
3519 | </Frame> |
||
3520 | |||
3521 | |||
3522 | <Frame name = "CTA_ErrorReportingFrame" inherits="CTA_AbstractWindow" toplevel="true" enableMouse="true" frameStrata="DIALOG" hidden="true"> |
||
3523 | <Size> |
||
3524 | <AbsDimension x="320" y="180"/> |
||
3525 | </Size> |
||
3526 | <Anchors> |
||
3527 | <Anchor point="TOP"> |
||
3528 | <Offset> |
||
3529 | <AbsDimension x="0" y="-120"/> |
||
3530 | </Offset> |
||
3531 | </Anchor> |
||
3532 | </Anchors> |
||
3533 | <Layers> |
||
3534 | <Layer level="ARTWORK"> |
||
3535 | <FontString inherits="GameFontNormalSmall" name="$parentContentLabel" nonspacewrap="false" text="CTA_ERROR_REPORT"> |
||
3536 | <Size> |
||
3537 | <AbsDimension x="300" y="32"/> |
||
3538 | </Size> |
||
3539 | <Anchors> |
||
3540 | <Anchor point="TOP"> |
||
3541 | <Offset> |
||
3542 | <AbsDimension x="0" y="-8"/> |
||
3543 | </Offset> |
||
3544 | </Anchor> |
||
3545 | </Anchors> |
||
3546 | </FontString> |
||
3547 | </Layer> |
||
3548 | </Layers> |
||
3549 | <Frames> |
||
3550 | <EditBox name="$parentEditBox" autoFocus="false" multiLine="true"> |
||
3551 | <Anchors> |
||
3552 | <Anchor point="TOPLEFT"> |
||
3553 | <Offset> |
||
3554 | <AbsDimension x="16" y="-48"/> |
||
3555 | </Offset> |
||
3556 | </Anchor> |
||
3557 | <Anchor point="BOTTOMRIGHT"> |
||
3558 | <Offset> |
||
3559 | <AbsDimension x="-16" y="48"/> |
||
3560 | </Offset> |
||
3561 | </Anchor> |
||
3562 | </Anchors> |
||
3563 | <Layers> |
||
3564 | <Layer level="ARTWORK"> |
||
3565 | <Texture> |
||
3566 | <Anchors> |
||
3567 | <Anchor point="TOPLEFT"> |
||
3568 | <Offset> |
||
3569 | <AbsDimension x="1" y="-1"/> |
||
3570 | </Offset> |
||
3571 | </Anchor> |
||
3572 | <Anchor point="BOTTOMRIGHT"> |
||
3573 | <Offset> |
||
3574 | <AbsDimension x="-1" y="1"/> |
||
3575 | </Offset> |
||
3576 | </Anchor> |
||
3577 | </Anchors> |
||
3578 | <Color r="0.0" g="0.0" b="0.0" a="0.5"/> |
||
3579 | </Texture> |
||
3580 | </Layer> |
||
3581 | </Layers> |
||
3582 | <FontString inherits="CTA_ListItemFont" nonspacewrap="true"/> |
||
3583 | <Scripts> |
||
3584 | <OnLoad> |
||
3585 | this:SetTextInsets(4,-4,-4,4); |
||
3586 | </OnLoad> |
||
3587 | </Scripts> |
||
3588 | </EditBox> |
||
3589 | <Button name="$parentCloseButton" inherits="CTA_AbstractButton" text="CTA_OK"> |
||
3590 | <Anchors> |
||
3591 | <Anchor point="BOTTOM"> |
||
3592 | <Offset> |
||
3593 | <AbsDimension x="0" y="16"/> |
||
3594 | </Offset> |
||
3595 | </Anchor> |
||
3596 | </Anchors> |
||
3597 | <Scripts> |
||
3598 | <OnClick> |
||
3599 | this:GetParent():Hide(); |
||
3600 | </OnClick> |
||
3601 | </Scripts> |
||
3602 | </Button> |
||
3603 | </Frames> |
||
3604 | </Frame> |
||
3605 | |||
3606 | |||
3607 | |||
3608 | <!-- Sneaky Frame --> |
||
3609 | <Frame name="CTA_SneakyFrame" frameStrata="BACKGROUND" parent="UIParent"> |
||
3610 | <Size> |
||
3611 | <AbsDimension x="1" y="1"/> |
||
3612 | </Size> |
||
3613 | <Anchors> |
||
3614 | <Anchor point="TOPLEFT"> |
||
3615 | <Offset> |
||
3616 | <AbsDimension x="0" y="0"/> |
||
3617 | </Offset> |
||
3618 | </Anchor> |
||
3619 | </Anchors> |
||
3620 | <Scripts> |
||
3621 | <OnLoad> |
||
3622 | this:Show(); |
||
3623 | CTA_OnLoad(); |
||
3624 | </OnLoad> |
||
3625 | <OnEvent> |
||
3626 | CTA_OnEvent(event); |
||
3627 | </OnEvent> |
||
3628 | <OnUpdate> |
||
3629 | CTA_OnUpdate(arg1); |
||
3630 | </OnUpdate> |
||
3631 | </Scripts> |
||
3632 | </Frame> |
||
3633 | |||
3634 | <!-- |
||
3635 | <Frame name="$parentInternalFrame" inherits="CTA_OptionFrameBoxTemplate"> |
||
3636 | <Size> |
||
3637 | <AbsDimension x="600" y="400"/> |
||
3638 | </Size> |
||
3639 | <Anchors> |
||
3640 | <Anchor point="TOP"> |
||
3641 | <Offset> |
||
3642 | <AbsDimension x="0" y="-64"/> |
||
3643 | </Offset> |
||
3644 | </Anchor> |
||
3645 | </Anchors> |
||
3646 | <Frames> |
||
3647 | |||
3648 | </Frames> |
||
3649 | <Scripts> |
||
3650 | <OnLoad> |
||
3651 | getglobal( this:GetName().."Title" ):SetText( "InternalFrame" ); |
||
3652 | </OnLoad> |
||
3653 | </Scripts> |
||
3654 | </Frame> |
||
3655 | --> |
||
3656 | </Ui> |