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 | <Script file="CT_BarModOptions.lua"/> |
||
4 | <CheckButton name="CT_BarModOptionsRadioTemplate" virtual="true"> |
||
5 | <Size> |
||
6 | <AbsDimension x="20" y="20"/> |
||
7 | </Size> |
||
8 | <Layers> |
||
9 | <Layer level="ARTWORK"> |
||
10 | <FontString inherits="GameFontNormalSmall" name="$parentName"> |
||
11 | <Anchors> |
||
12 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parent"> |
||
13 | <Offset> |
||
14 | <AbsDimension x="0" y="0"/> |
||
15 | </Offset> |
||
16 | </Anchor> |
||
17 | </Anchors> |
||
18 | <Color r="1" g="1" b="1"/> |
||
19 | </FontString> |
||
20 | </Layer> |
||
21 | </Layers> |
||
22 | <NormalTexture name="$parentNormalTexture" file="Interface\Buttons\UI-RadioButton"> |
||
23 | <TexCoords left="0" right="0.25" top="0" bottom="1"/> |
||
24 | </NormalTexture> |
||
25 | <DisabledTexture name="$parentDisabledTexture" file="Interface\Buttons\UI-RadioButton"> |
||
26 | <TexCoords left="0" right="0.25" top="0" bottom="1"/> |
||
27 | </DisabledTexture> |
||
28 | <PushedTexture name="$parentPushedTexture" file="Interface\Buttons\UI-RadioButton"> |
||
29 | <TexCoords left="0.25" right="0.5" top="0" bottom="1"/> |
||
30 | </PushedTexture> |
||
31 | <HighlightTexture name="$parentHighlightTexture" file="Interface\Buttons\UI-RadioButton" alphaMode="ADD"> |
||
32 | <TexCoords left="0.51" right="0.75" top="0" bottom="1"/> |
||
33 | </HighlightTexture> |
||
34 | <CheckedTexture name="$parentCheckedTexture" file="Interface\Buttons\UI-RadioButton"> |
||
35 | <TexCoords left="0.25" right="0.5" top="0" bottom="1"/> |
||
36 | </CheckedTexture> |
||
37 | <DisabledCheckedTexture name="$parentDisabledCheckedTexture" file="Interface\Buttons\UI-RadioButton"> |
||
38 | <TexCoords left="0.25" right="0.5" top="0" bottom="1"/> |
||
39 | </DisabledCheckedTexture> |
||
40 | <Scripts> |
||
41 | <OnClick> |
||
42 | CT_BarModOptions_SetButtons(this:GetID(), this:GetChecked()); |
||
43 | </OnClick> |
||
44 | <OnLoad> |
||
45 | CT_BarModOptions_LoadButton(); |
||
46 | </OnLoad> |
||
47 | </Scripts> |
||
48 | </CheckButton> |
||
49 | <Slider name="CT_BarModOptionsSliderTemplate" virtual="true" inherits="OptionsSliderTemplate"> |
||
50 | <Size> |
||
51 | <AbsDimension x="170" y="17"/> |
||
52 | </Size> |
||
53 | <Scripts> |
||
54 | <OnLoad> |
||
55 | --CT_BarModOptions_Slider_OnLoad(); |
||
56 | </OnLoad> |
||
57 | <OnShow> |
||
58 | CT_BarModOptions_Slider_OnShow(); |
||
59 | </OnShow> |
||
60 | <OnValueChanged> |
||
61 | CT_BarModOptions_Slider_OnValueChanged(); |
||
62 | </OnValueChanged> |
||
63 | </Scripts> |
||
64 | </Slider> |
||
65 | <Frame name="CT_BarModOptionsFrame" movable="true" frameStrata="DIALOG" toplevel="true" hidden="true" parent="UIParent"> |
||
66 | <Size> |
||
67 | <AbsDimension x="450" y="480"/> |
||
68 | </Size> |
||
69 | <Anchors> |
||
70 | <Anchor point="CENTER"/> |
||
71 | </Anchors> |
||
72 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
73 | <BackgroundInsets> |
||
74 | <AbsInset left="11" right="12" top="12" bottom="11"/> |
||
75 | </BackgroundInsets> |
||
76 | <TileSize> |
||
77 | <AbsValue val="32"/> |
||
78 | </TileSize> |
||
79 | <EdgeSize> |
||
80 | <AbsValue val="32"/> |
||
81 | </EdgeSize> |
||
82 | </Backdrop> |
||
83 | <Layers> |
||
84 | <Layer level="ARTWORK"> |
||
85 | <Texture name="$parentHeaderTexture" file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
86 | <Size> |
||
87 | <AbsDimension x="256" y="64"/> |
||
88 | </Size> |
||
89 | <Anchors> |
||
90 | <Anchor point="TOP"> |
||
91 | <Offset> |
||
92 | <AbsDimension x="0" y="12"/> |
||
93 | </Offset> |
||
94 | </Anchor> |
||
95 | </Anchors> |
||
96 | </Texture> |
||
97 | <FontString inherits="GameFontNormal" text="Bar Options"> |
||
98 | <Anchors> |
||
99 | <Anchor point="TOP" relativeTo="$parentHeaderTexture"> |
||
100 | <Offset> |
||
101 | <AbsDimension x="0" y="-14"/> |
||
102 | </Offset> |
||
103 | </Anchor> |
||
104 | </Anchors> |
||
105 | </FontString> |
||
106 | <FontString name="$parentInfo" justifyV="top" justifyH="center" inherits="ChatFontNormal" text="CT_BARMODOPTIONS_INFO"> |
||
107 | <Anchors> |
||
108 | <Anchor point="BOTTOM" relativePoint="BOTTOMLEFT"> |
||
109 | <Offset> |
||
110 | <AbsDimension x="225" y="55"/> |
||
111 | </Offset> |
||
112 | </Anchor> |
||
113 | </Anchors> |
||
114 | </FontString> |
||
115 | </Layer> |
||
116 | </Layers> |
||
117 | <Frames> |
||
118 | <Frame name="$parentScaling"> |
||
119 | <Size> |
||
120 | <AbsDimension x="450" y="350"/> |
||
121 | </Size> |
||
122 | <Anchors> |
||
123 | <Anchor point="TOPLEFT"> |
||
124 | <Offset> |
||
125 | <AbsDimension x="0" y="-165"/> |
||
126 | </Offset> |
||
127 | </Anchor> |
||
128 | </Anchors> |
||
129 | <Layers> |
||
130 | <Layer level="ARTWORK"> |
||
131 | <FontString name="$parentRemoveSpaceBars" justifyV="top" justifyH="left" inherits="GameFontNormal" text="Remove space between hotbar buttons"> |
||
132 | <Anchors> |
||
133 | <Anchor point="LEFT" relativePoint="TOPLEFT"> |
||
134 | <Offset> |
||
135 | <AbsDimension x="90" y="-20"/> |
||
136 | </Offset> |
||
137 | </Anchor> |
||
138 | </Anchors> |
||
139 | </FontString> |
||
140 | <FontString name="$parentRemoveSpaceSpecial" justifyV="top" justifyH="left" inherits="GameFontNormal" text="Remove space between pet and class bars"> |
||
141 | <Anchors> |
||
142 | <Anchor point="LEFT" relativePoint="TOPLEFT"> |
||
143 | <Offset> |
||
144 | <AbsDimension x="90" y="0"/> |
||
145 | </Offset> |
||
146 | </Anchor> |
||
147 | </Anchors> |
||
148 | </FontString> |
||
149 | <FontString name="$parentRemoveSpaceBags" justifyV="top" justifyH="left" inherits="GameFontNormal" text="Remove space between bags"> |
||
150 | <Anchors> |
||
151 | <Anchor point="LEFT" relativePoint="TOPLEFT"> |
||
152 | <Offset> |
||
153 | <AbsDimension x="90" y="-40"/> |
||
154 | </Offset> |
||
155 | </Anchor> |
||
156 | </Anchors> |
||
157 | </FontString> |
||
158 | </Layer> |
||
159 | </Layers> |
||
160 | <Frames> |
||
161 | <CheckButton name="$parentCheckButtonSpecial" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
162 | <Anchors> |
||
163 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentRemoveSpaceSpecial"> |
||
164 | <Offset> |
||
165 | <AbsDimension x="-5" y="0"/> |
||
166 | </Offset> |
||
167 | </Anchor> |
||
168 | </Anchors> |
||
169 | <HitRectInsets> |
||
170 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
171 | </HitRectInsets> |
||
172 | <Size> |
||
173 | <AbsDimension x="24" y="24"/> |
||
174 | </Size> |
||
175 | <Scripts> |
||
176 | <OnClick> |
||
177 | CT_BarModOptions_RemoveSpaceSpecial(this:GetChecked()); |
||
178 | </OnClick> |
||
179 | </Scripts> |
||
180 | </CheckButton> |
||
181 | <CheckButton name="$parentCheckButtonBars" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
182 | <Anchors> |
||
183 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentRemoveSpaceBars"> |
||
184 | <Offset> |
||
185 | <AbsDimension x="-5" y="0"/> |
||
186 | </Offset> |
||
187 | </Anchor> |
||
188 | </Anchors> |
||
189 | <HitRectInsets> |
||
190 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
191 | </HitRectInsets> |
||
192 | <Size> |
||
193 | <AbsDimension x="24" y="24"/> |
||
194 | </Size> |
||
195 | <Scripts> |
||
196 | <OnClick> |
||
197 | CT_BarModOptions_RemoveSpaceBars(this:GetChecked()); |
||
198 | </OnClick> |
||
199 | </Scripts> |
||
200 | </CheckButton> |
||
201 | <CheckButton name="$parentCheckButtonBags" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
202 | <Anchors> |
||
203 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentRemoveSpaceBags"> |
||
204 | <Offset> |
||
205 | <AbsDimension x="-5" y="0"/> |
||
206 | </Offset> |
||
207 | </Anchor> |
||
208 | </Anchors> |
||
209 | <HitRectInsets> |
||
210 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
211 | </HitRectInsets> |
||
212 | <Size> |
||
213 | <AbsDimension x="24" y="24"/> |
||
214 | </Size> |
||
215 | <Scripts> |
||
216 | <OnClick> |
||
217 | CT_BarModOptions_RemoveSpaceBags(this:GetChecked()); |
||
218 | </OnClick> |
||
219 | </Scripts> |
||
220 | </CheckButton> |
||
221 | <Slider name="$parentSliderHotbarLeft" id="1" inherits="CT_BarModOptionsSliderTemplate"> |
||
222 | <Anchors> |
||
223 | <Anchor point="RIGHT" relativePoint="TOPLEFT"> |
||
224 | <Offset> |
||
225 | <AbsDimension x="215" y="-80"/> |
||
226 | </Offset> |
||
227 | </Anchor> |
||
228 | </Anchors> |
||
229 | </Slider> |
||
230 | <Slider name="$parentSliderHotbarRight" id="2" inherits="CT_BarModOptionsSliderTemplate"> |
||
231 | <Anchors> |
||
232 | <Anchor point="LEFT" relativePoint="TOPLEFT"> |
||
233 | <Offset> |
||
234 | <AbsDimension x="235" y="-80"/> |
||
235 | </Offset> |
||
236 | </Anchor> |
||
237 | </Anchors>> |
||
238 | </Slider> |
||
239 | |||
240 | <Slider name="$parentSliderSidebarLeft" id="3" inherits="CT_BarModOptionsSliderTemplate"> |
||
241 | <Anchors> |
||
242 | <Anchor point="RIGHT" relativePoint="TOPLEFT"> |
||
243 | <Offset> |
||
244 | <AbsDimension x="215" y="-130"/> |
||
245 | </Offset> |
||
246 | </Anchor> |
||
247 | </Anchors> |
||
248 | </Slider> |
||
249 | <Slider name="$parentSliderSidebarRight" id="4" inherits="CT_BarModOptionsSliderTemplate"> |
||
250 | <Anchors> |
||
251 | <Anchor point="LEFT" relativePoint="TOPLEFT"> |
||
252 | <Offset> |
||
253 | <AbsDimension x="235" y="-130"/> |
||
254 | </Offset> |
||
255 | </Anchor> |
||
256 | </Anchors>> |
||
257 | </Slider> |
||
258 | |||
259 | <Slider name="$parentSliderHotbarTop" id="5" inherits="CT_BarModOptionsSliderTemplate"> |
||
260 | <Anchors> |
||
261 | <Anchor point="RIGHT" relativePoint="TOPLEFT"> |
||
262 | <Offset> |
||
263 | <AbsDimension x="215" y="-180"/> |
||
264 | </Offset> |
||
265 | </Anchor> |
||
266 | </Anchors>> |
||
267 | </Slider> |
||
268 | |||
269 | <Slider name="$parentSliderMainBar" id="6" inherits="CT_BarModOptionsSliderTemplate"> |
||
270 | <Anchors> |
||
271 | <Anchor point="LEFT" relativePoint="TOPLEFT"> |
||
272 | <Offset> |
||
273 | <AbsDimension x="235" y="-180"/> |
||
274 | </Offset> |
||
275 | </Anchor> |
||
276 | </Anchors>> |
||
277 | </Slider> |
||
278 | </Frames> |
||
279 | </Frame> |
||
280 | <Frame name="$parentOptions"> |
||
281 | <Size> |
||
282 | <AbsDimension x="410" y="350"/> |
||
283 | </Size> |
||
284 | <Anchors> |
||
285 | <Anchor point="TOPLEFT"> |
||
286 | <Offset> |
||
287 | <AbsDimension x="20" y="0"/> |
||
288 | </Offset> |
||
289 | </Anchor> |
||
290 | </Anchors> |
||
291 | <Layers> |
||
292 | <Layer level="ARTWORK"> |
||
293 | <FontString name="$parentShowLeftHotbar" inherits="GameFontNormal" text="Display Left Hotbar"> |
||
294 | <Anchors> |
||
295 | <Anchor point="LEFT" relativePoint="TOPLEFT"> |
||
296 | <Offset> |
||
297 | <AbsDimension x="50" y="-50"/> |
||
298 | </Offset> |
||
299 | </Anchor> |
||
300 | </Anchors> |
||
301 | </FontString> |
||
302 | <FontString name="$parentShowRightHotbar" inherits="GameFontNormal" text="Display Right Hotbar"> |
||
303 | <Anchors> |
||
304 | <Anchor point="LEFT" relativePoint="TOPLEFT"> |
||
305 | <Offset> |
||
306 | <AbsDimension x="250" y="-50"/> |
||
307 | </Offset> |
||
308 | </Anchor> |
||
309 | </Anchors> |
||
310 | </FontString> |
||
311 | <FontString name="$parentShowLeftSidebar" inherits="GameFontNormal" text="Display Left Sidebar"> |
||
312 | <Anchors> |
||
313 | <Anchor point="LEFT" relativePoint="TOPLEFT"> |
||
314 | <Offset> |
||
315 | <AbsDimension x="50" y="-70"/> |
||
316 | </Offset> |
||
317 | </Anchor> |
||
318 | </Anchors> |
||
319 | </FontString> |
||
320 | <FontString name="$parentShowRightSidebar" inherits="GameFontNormal" text="Display Right Sidebar"> |
||
321 | <Anchors> |
||
322 | <Anchor point="LEFT" relativePoint="TOPLEFT"> |
||
323 | <Offset> |
||
324 | <AbsDimension x="250" y="-70"/> |
||
325 | </Offset> |
||
326 | </Anchor> |
||
327 | </Anchors> |
||
328 | </FontString> |
||
329 | |||
330 | <FontString name="$parentLeftSidebarButtons" inherits="GameFontNormal" text="Buttons:"> |
||
331 | <Anchors> |
||
332 | <Anchor point="LEFT" relativePoint="TOPLEFT"> |
||
333 | <Offset> |
||
334 | <AbsDimension x="60" y="-90"/> |
||
335 | </Offset> |
||
336 | </Anchor> |
||
337 | </Anchors> |
||
338 | </FontString> |
||
339 | <FontString name="$parentRightSidebarButtons" inherits="GameFontNormal" text="Buttons:"> |
||
340 | <Anchors> |
||
341 | <Anchor point="LEFT" relativePoint="TOPLEFT"> |
||
342 | <Offset> |
||
343 | <AbsDimension x="260" y="-90"/> |
||
344 | </Offset> |
||
345 | </Anchor> |
||
346 | </Anchors> |
||
347 | </FontString> |
||
348 | |||
349 | <FontString name="$parentShowTopHotbar" inherits="GameFontNormal" text="Display Top Hotbar"> |
||
350 | <Anchors> |
||
351 | <Anchor point="LEFT" relativePoint="TOPLEFT"> |
||
352 | <Offset> |
||
353 | <AbsDimension x="50" y="-110"/> |
||
354 | </Offset> |
||
355 | </Anchor> |
||
356 | </Anchors> |
||
357 | </FontString> |
||
358 | <FontString name="$parentHideGrid" inherits="GameFontNormal" text="Hide Button Grid"> |
||
359 | <Anchors> |
||
360 | <Anchor point="LEFT" relativePoint="TOPLEFT"> |
||
361 | <Offset> |
||
362 | <AbsDimension x="250" y="-110"/> |
||
363 | </Offset> |
||
364 | </Anchor> |
||
365 | </Anchors> |
||
366 | </FontString> |
||
367 | |||
368 | <FontString name="$parentButtonLock" inherits="GameFontNormal" text="Button Lock"> |
||
369 | <Anchors> |
||
370 | <Anchor point="LEFT" relativePoint="TOPLEFT"> |
||
371 | <Offset> |
||
372 | <AbsDimension x="50" y="-130"/> |
||
373 | </Offset> |
||
374 | </Anchor> |
||
375 | </Anchors> |
||
376 | </FontString> |
||
377 | <FontString name="$parentPageLock" inherits="GameFontNormal" text="Page Lock"> |
||
378 | <Anchors> |
||
379 | <Anchor point="LEFT" relativePoint="TOPLEFT"> |
||
380 | <Offset> |
||
381 | <AbsDimension x="250" y="-130"/> |
||
382 | </Offset> |
||
383 | </Anchor> |
||
384 | </Anchors> |
||
385 | </FontString> |
||
386 | </Layer> |
||
387 | </Layers> |
||
388 | <Frames> |
||
389 | <CheckButton name="$parentDisplayLHBCB" id="1" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
390 | <Anchors> |
||
391 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentShowLeftHotbar"> |
||
392 | <Offset> |
||
393 | <AbsDimension x="-5" y="0"/> |
||
394 | </Offset> |
||
395 | </Anchor> |
||
396 | </Anchors> |
||
397 | <HitRectInsets> |
||
398 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
399 | </HitRectInsets> |
||
400 | <Size> |
||
401 | <AbsDimension x="24" y="24"/> |
||
402 | </Size> |
||
403 | <Scripts> |
||
404 | <OnClick> |
||
405 | CT_BarModOptions_EnableBar(this:GetID(), this:GetChecked()); |
||
406 | </OnClick> |
||
407 | </Scripts> |
||
408 | </CheckButton> |
||
409 | |||
410 | <CheckButton name="$parentDisplayRHBCB" id="2" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
411 | <Anchors> |
||
412 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentShowRightHotbar"> |
||
413 | <Offset> |
||
414 | <AbsDimension x="-5" y="0"/> |
||
415 | </Offset> |
||
416 | </Anchor> |
||
417 | </Anchors> |
||
418 | <HitRectInsets> |
||
419 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
420 | </HitRectInsets> |
||
421 | <Size> |
||
422 | <AbsDimension x="24" y="24"/> |
||
423 | </Size> |
||
424 | <Scripts> |
||
425 | <OnClick> |
||
426 | CT_BarModOptions_EnableBar(this:GetID(), this:GetChecked()); |
||
427 | </OnClick> |
||
428 | </Scripts> |
||
429 | </CheckButton> |
||
430 | |||
431 | <CheckButton name="$parentDisplayLSBCB" id="3" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
432 | <Anchors> |
||
433 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentShowLeftSidebar"> |
||
434 | <Offset> |
||
435 | <AbsDimension x="-5" y="0"/> |
||
436 | </Offset> |
||
437 | </Anchor> |
||
438 | </Anchors> |
||
439 | <HitRectInsets> |
||
440 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
441 | </HitRectInsets> |
||
442 | <Size> |
||
443 | <AbsDimension x="24" y="24"/> |
||
444 | </Size> |
||
445 | <Scripts> |
||
446 | <OnClick> |
||
447 | CT_BarModOptions_EnableBar(this:GetID(), this:GetChecked()); |
||
448 | </OnClick> |
||
449 | </Scripts> |
||
450 | </CheckButton> |
||
451 | |||
452 | <CheckButton name="$parentDisplayRSBCB" id="4" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
453 | <Anchors> |
||
454 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentShowRightSidebar"> |
||
455 | <Offset> |
||
456 | <AbsDimension x="-5" y="0"/> |
||
457 | </Offset> |
||
458 | </Anchor> |
||
459 | </Anchors> |
||
460 | <HitRectInsets> |
||
461 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
462 | </HitRectInsets> |
||
463 | <Size> |
||
464 | <AbsDimension x="24" y="24"/> |
||
465 | </Size> |
||
466 | <Scripts> |
||
467 | <OnClick> |
||
468 | CT_BarModOptions_EnableBar(this:GetID(), this:GetChecked()); |
||
469 | </OnClick> |
||
470 | </Scripts> |
||
471 | </CheckButton> |
||
472 | |||
473 | <CheckButton name="$parentLSB1" id="1" inherits="CT_BarModOptionsRadioTemplate"> |
||
474 | <Anchors> |
||
475 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentLeftSidebarButtons"> |
||
476 | <Offset> |
||
477 | <AbsDimension x="5" y="0"/> |
||
478 | </Offset> |
||
479 | </Anchor> |
||
480 | </Anchors> |
||
481 | </CheckButton> |
||
482 | <CheckButton name="$parentLSB2" id="2" inherits="CT_BarModOptionsRadioTemplate"> |
||
483 | <Anchors> |
||
484 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentLSB1"> |
||
485 | <Offset> |
||
486 | <AbsDimension x="10" y="0"/> |
||
487 | </Offset> |
||
488 | </Anchor> |
||
489 | </Anchors> |
||
490 | </CheckButton> |
||
491 | <CheckButton name="$parentLSB3" id="3" inherits="CT_BarModOptionsRadioTemplate"> |
||
492 | <Anchors> |
||
493 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentLSB2"> |
||
494 | <Offset> |
||
495 | <AbsDimension x="10" y="0"/> |
||
496 | </Offset> |
||
497 | </Anchor> |
||
498 | </Anchors> |
||
499 | </CheckButton> |
||
500 | <CheckButton name="$parentRSB1" id="4" inherits="CT_BarModOptionsRadioTemplate"> |
||
501 | <Anchors> |
||
502 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentRightSidebarButtons"> |
||
503 | <Offset> |
||
504 | <AbsDimension x="5" y="0"/> |
||
505 | </Offset> |
||
506 | </Anchor> |
||
507 | </Anchors> |
||
508 | </CheckButton> |
||
509 | <CheckButton name="$parentRSB2" id="5" inherits="CT_BarModOptionsRadioTemplate"> |
||
510 | <Anchors> |
||
511 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentRSB1"> |
||
512 | <Offset> |
||
513 | <AbsDimension x="10" y="0"/> |
||
514 | </Offset> |
||
515 | </Anchor> |
||
516 | </Anchors> |
||
517 | </CheckButton> |
||
518 | <CheckButton name="$parentRSB3" id="6" inherits="CT_BarModOptionsRadioTemplate"> |
||
519 | <Anchors> |
||
520 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentRSB2"> |
||
521 | <Offset> |
||
522 | <AbsDimension x="10" y="0"/> |
||
523 | </Offset> |
||
524 | </Anchor> |
||
525 | </Anchors> |
||
526 | </CheckButton> |
||
527 | |||
528 | <CheckButton name="$parentHideGridCB" id="1" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
529 | <Anchors> |
||
530 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentHideGrid"> |
||
531 | <Offset> |
||
532 | <AbsDimension x="-5" y="0"/> |
||
533 | </Offset> |
||
534 | </Anchor> |
||
535 | </Anchors> |
||
536 | <HitRectInsets> |
||
537 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
538 | </HitRectInsets> |
||
539 | <Size> |
||
540 | <AbsDimension x="24" y="24"/> |
||
541 | </Size> |
||
542 | <Scripts> |
||
543 | <OnClick> |
||
544 | CT_BarModOptions_SetOption(this:GetID(), this:GetChecked()); |
||
545 | </OnClick> |
||
546 | </Scripts> |
||
547 | </CheckButton> |
||
548 | <CheckButton name="$parentDisplayTHBCB" id="5" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
549 | <Anchors> |
||
550 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentShowTopHotbar"> |
||
551 | <Offset> |
||
552 | <AbsDimension x="-5" y="0"/> |
||
553 | </Offset> |
||
554 | </Anchor> |
||
555 | </Anchors> |
||
556 | <HitRectInsets> |
||
557 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
558 | </HitRectInsets> |
||
559 | <Size> |
||
560 | <AbsDimension x="24" y="24"/> |
||
561 | </Size> |
||
562 | <Scripts> |
||
563 | <OnClick> |
||
564 | CT_BarModOptions_EnableBar(this:GetID(), this:GetChecked()); |
||
565 | </OnClick> |
||
566 | </Scripts> |
||
567 | </CheckButton> |
||
568 | |||
569 | <CheckButton name="$parentButtonLockCB" id="2" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
570 | <Anchors> |
||
571 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentButtonLock"> |
||
572 | <Offset> |
||
573 | <AbsDimension x="-5" y="0"/> |
||
574 | </Offset> |
||
575 | </Anchor> |
||
576 | </Anchors> |
||
577 | <HitRectInsets> |
||
578 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
579 | </HitRectInsets> |
||
580 | <Size> |
||
581 | <AbsDimension x="24" y="24"/> |
||
582 | </Size> |
||
583 | <Scripts> |
||
584 | <OnClick> |
||
585 | CT_BarModOptions_SetOption(this:GetID(), this:GetChecked()); |
||
586 | </OnClick> |
||
587 | </Scripts> |
||
588 | </CheckButton> |
||
589 | <CheckButton name="$parentPageLockCB" id="3" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
590 | <Anchors> |
||
591 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentPageLock"> |
||
592 | <Offset> |
||
593 | <AbsDimension x="-5" y="0"/> |
||
594 | </Offset> |
||
595 | </Anchor> |
||
596 | </Anchors> |
||
597 | <HitRectInsets> |
||
598 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
599 | </HitRectInsets> |
||
600 | <Size> |
||
601 | <AbsDimension x="24" y="24"/> |
||
602 | </Size> |
||
603 | <Scripts> |
||
604 | <OnClick> |
||
605 | CT_BarModOptions_SetOption(this:GetID(), this:GetChecked()); |
||
606 | </OnClick> |
||
607 | </Scripts> |
||
608 | </CheckButton> |
||
609 | </Frames> |
||
610 | </Frame> |
||
611 | <Frame name="$parentDrag"> |
||
612 | <Size> |
||
613 | <AbsDimension x="150" y="32"/> |
||
614 | </Size> |
||
615 | <Anchors> |
||
616 | <Anchor point="TOP"> |
||
617 | <Offset> |
||
618 | <AbsDimension x="-12" y="12"/> |
||
619 | </Offset> |
||
620 | </Anchor> |
||
621 | </Anchors> |
||
622 | <Scripts> |
||
623 | <OnMouseDown> |
||
624 | if ( arg1 == "LeftButton" ) then |
||
625 | this:GetParent():StartMoving(); |
||
626 | elseif ( arg1 == "RightButton" ) then |
||
627 | this:GetParent():ClearAllPoints(); |
||
628 | this:GetParent():SetPoint("CENTER", "UIParent", "CENTER"); |
||
629 | end |
||
630 | </OnMouseDown> |
||
631 | <OnMouseUp> |
||
632 | this:GetParent():StopMovingOrSizing(); |
||
633 | </OnMouseUp> |
||
634 | <OnEnter> |
||
635 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
636 | GameTooltip:SetText("Left-click to drag\nRight-click to reset"); |
||
637 | </OnEnter> |
||
638 | <OnLeave> |
||
639 | GameTooltip:Hide(); |
||
640 | </OnLeave> |
||
641 | </Scripts> |
||
642 | </Frame> |
||
643 | <Button name="$parentCloseButton" hidden="false" inherits="GameMenuButtonTemplate" text="Okay"> |
||
644 | <Size> |
||
645 | <AbsDimension x="100" y="25"/> |
||
646 | </Size> |
||
647 | <Anchors> |
||
648 | <Anchor point="BOTTOM"> |
||
649 | <Offset> |
||
650 | <AbsDimension x="0" y="15"/> |
||
651 | </Offset> |
||
652 | </Anchor> |
||
653 | </Anchors> |
||
654 | <Scripts> |
||
655 | <OnClick> |
||
656 | this:GetParent():Hide(); |
||
657 | </OnClick> |
||
658 | </Scripts> |
||
659 | </Button> |
||
660 | </Frames> |
||
661 | <Scripts> |
||
662 | <OnShow> |
||
663 | PlaySound("UChatScrollButton"); |
||
664 | </OnShow> |
||
665 | <OnHide> |
||
666 | PlaySound("UChatScrollButton"); |
||
667 | </OnHide> |
||
668 | <OnLoad> |
||
669 | this:RegisterEvent("PLAYER_ENTERING_WORLD"); |
||
670 | </OnLoad> |
||
671 | <OnEvent> |
||
672 | CT_BarModOptions_LoadOptions(); |
||
673 | </OnEvent> |
||
674 | </Scripts> |
||
675 | </Frame> |
||
676 | </Ui> |