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="localization.lua"/> |
||
4 | <Script file="CT_BottomBar.lua"/> |
||
5 | <Button name="CT_BottomBarDragTemplate" frameStrata="HIGH" virtual="true" hidden="true" movable="true"> |
||
6 | <Size> |
||
7 | <AbsDimension x="16" y="16"/> |
||
8 | </Size> |
||
9 | <NormalTexture file="Interface\AddOns\CT_BottomBar\Images\DragButton"/> |
||
10 | <Scripts> |
||
11 | <OnEnter> |
||
12 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
13 | GameTooltip:SetText("Click to drag"); |
||
14 | </OnEnter> |
||
15 | <OnLeave> |
||
16 | GameTooltip:Hide(); |
||
17 | </OnLeave> |
||
18 | <OnMouseDown> |
||
19 | if ( arg1 == "LeftButton" ) then |
||
20 | this:StartMoving(); |
||
21 | end |
||
22 | </OnMouseDown> |
||
23 | <OnMouseUp> |
||
24 | if ( arg1 == "LeftButton" ) then |
||
25 | this:StopMovingOrSizing(); |
||
26 | end |
||
27 | </OnMouseUp> |
||
28 | </Scripts> |
||
29 | </Button> |
||
30 | <Frame name="CT_BottomBarFrame" parent="UIParent" hidden="true"> |
||
31 | <Size> |
||
32 | <AbsDimension x="1024" y="43"/> |
||
33 | </Size> |
||
34 | <Anchors> |
||
35 | <Anchor point="BOTTOM"/> |
||
36 | </Anchors> |
||
37 | <Frames> |
||
38 | <Frame name="$parentClass"> |
||
39 | <Frames> |
||
40 | <Frame name="$parentBackground"> |
||
41 | <Scripts> |
||
42 | <OnShow> |
||
43 | if ( this:GetParent():IsVisible() ) then |
||
44 | CT_BottomBar_HideTextures(nil); |
||
45 | end |
||
46 | CT_BarModOptions_RemoveSpaceSpecial(CT_BarModOptions_Options[UnitName("player")]["removeSpecial"]); |
||
47 | </OnShow> |
||
48 | <OnHide> |
||
49 | CT_BottomBar_HideTextures(1); |
||
50 | CT_BarModOptions_RemoveSpaceSpecial(CT_BarModOptions_Options[UnitName("player")]["removeSpecial"]); |
||
51 | </OnHide> |
||
52 | </Scripts> |
||
53 | </Frame> |
||
54 | </Frames> |
||
55 | <Scripts> |
||
56 | <OnShow> |
||
57 | if ( getglobal(this:GetName() .. "Background"):IsVisible() ) then |
||
58 | CT_BottomBar_HideTextures(nil); |
||
59 | end |
||
60 | CT_BottomBar_HideBars(nil); |
||
61 | CT_BarModOptions_RemoveSpaceSpecial(CT_BarModOptions_Options[UnitName("player")]["removeSpecial"]); |
||
62 | </OnShow> |
||
63 | <OnHide> |
||
64 | CT_BottomBar_HideTextures(1); |
||
65 | CT_BottomBar_HideBars(1); |
||
66 | CT_BarModOptions_RemoveSpaceSpecial(CT_BarModOptions_Options[UnitName("player")]["removeSpecial"]); |
||
67 | </OnHide> |
||
68 | </Scripts> |
||
69 | </Frame> |
||
70 | <Frame name="$parentGryphons"> |
||
71 | <Anchors> |
||
72 | <Anchor point="TOPLEFT"/> |
||
73 | </Anchors> |
||
74 | <Frames> |
||
75 | <Frame name="$parentFrame"> |
||
76 | <Anchors> |
||
77 | <Anchor point="TOPLEFT"/> |
||
78 | </Anchors> |
||
79 | <Layers> |
||
80 | <Layer level="OVERLAY"> |
||
81 | <Texture name="$parentLeft" file="Interface\MainMenuBar\UI-MainMenuBar-EndCap-Dwarf"> |
||
82 | <Size> |
||
83 | <AbsDimension x="128" y="128"/> |
||
84 | </Size> |
||
85 | <Anchors> |
||
86 | <Anchor point="TOPLEFT"/> |
||
87 | </Anchors> |
||
88 | </Texture> |
||
89 | <Texture name="$parentRight" file="Interface\MainMenuBar\UI-MainMenuBar-EndCap-Dwarf"> |
||
90 | <Size> |
||
91 | <AbsDimension x="128" y="128"/> |
||
92 | </Size> |
||
93 | <Anchors> |
||
94 | <Anchor point="BOTTOM"/> |
||
95 | </Anchors> |
||
96 | <TexCoords left="1.0" right="0.0" top="0.0" bottom="1.0"/> |
||
97 | </Texture> |
||
98 | </Layer> |
||
99 | </Layers> |
||
100 | </Frame> |
||
101 | </Frames> |
||
102 | </Frame> |
||
103 | <Frame name="$parentBar"> |
||
104 | <Size> |
||
105 | <AbsDimension x="551" y="43"/> |
||
106 | </Size> |
||
107 | <Anchors> |
||
108 | <Anchor point="TOPLEFT"/> |
||
109 | </Anchors> |
||
110 | <Frames> |
||
111 | <Frame name="$parentHotbar"> |
||
112 | <Size> |
||
113 | <AbsDimension x="512" y="43"/> |
||
114 | </Size> |
||
115 | <Anchors> |
||
116 | <Anchor point="TOPLEFT"/> |
||
117 | </Anchors> |
||
118 | <Layers> |
||
119 | <Layer level="BACKGROUND"> |
||
120 | <Texture name="$parentBackgroundLeft" file="Interface\MainMenuBar\UI-MainMenuBar-Dwarf"> |
||
121 | <Size> |
||
122 | <AbsDimension x="256" y="43"/> |
||
123 | </Size> |
||
124 | <Anchors> |
||
125 | <Anchor point="BOTTOMLEFT"> |
||
126 | <Offset> |
||
127 | <AbsDimension x="-1" y="-1"/> |
||
128 | </Offset> |
||
129 | </Anchor> |
||
130 | </Anchors> |
||
131 | <TexCoords left="0" right="1.0" top="0.83203125" bottom="1.0"/> |
||
132 | </Texture> |
||
133 | <Texture name="$parentBackgroundRight" file="Interface\MainMenuBar\UI-MainMenuBar-Dwarf"> |
||
134 | <Size> |
||
135 | <AbsDimension x="256" y="43"/> |
||
136 | </Size> |
||
137 | <Anchors> |
||
138 | <Anchor point="LEFT" relativePoint="RIGHT" relativeTo="$parentBackgroundLeft"/> |
||
139 | </Anchors> |
||
140 | <TexCoords left="0" right="1.0" top="0.58203125" bottom="0.75"/> |
||
141 | </Texture> |
||
142 | </Layer> |
||
143 | </Layers> |
||
144 | <Scripts> |
||
145 | <OnHide> |
||
146 | for i = 1, 12, 1 do |
||
147 | getglobal("ActionButton" .. i):Hide(); |
||
148 | getglobal("BonusActionButton" .. i):Hide(); |
||
149 | end |
||
150 | CT_BottomBarFrameBarDrag:Hide(); |
||
151 | </OnHide> |
||
152 | <OnShow> |
||
153 | if ( CT_MF_ShowFrames ) then |
||
154 | CT_BottomBarFrameBarDrag:Show(); |
||
155 | end |
||
156 | for i = 1, 12, 1 do |
||
157 | if ( GetBonusBarOffset() == 0 ) then |
||
158 | getglobal("ActionButton" .. i).showgrid = 1; |
||
159 | getglobal("ActionButton" .. i):Show(); |
||
160 | end |
||
161 | if ( GetBonusBarOffset() > 0 ) then |
||
162 | getglobal("BonusActionButton" .. i).showgrid = 1; |
||
163 | getglobal("BonusActionButton" .. i):Show(); |
||
164 | end |
||
165 | end |
||
166 | CT_updateActionButtons(); |
||
167 | </OnShow> |
||
168 | </Scripts> |
||
169 | </Frame> |
||
170 | <Frame name="$parentUpDown"> |
||
171 | <Size> |
||
172 | <AbsDimension x="22" y="43"/> |
||
173 | </Size> |
||
174 | <Anchors> |
||
175 | <Anchor point="TOPLEFT"> |
||
176 | <Offset> |
||
177 | <AbsDimension x="511" y="0"/> |
||
178 | </Offset> |
||
179 | </Anchor> |
||
180 | </Anchors> |
||
181 | <Layers> |
||
182 | <Layer level="BACKGROUND"> |
||
183 | <Texture name="$parentBackground" file="Interface\MainMenuBar\UI-MainMenuBar-Dwarf"> |
||
184 | <Size> |
||
185 | <AbsDimension x="22" y="43"/> |
||
186 | </Size> |
||
187 | <Anchors> |
||
188 | <Anchor point="TOPLEFT"/> |
||
189 | </Anchors> |
||
190 | <TexCoords left="0" right="0.0859375" top="0.33203125" bottom="0.5"/> |
||
191 | </Texture> |
||
192 | </Layer> |
||
193 | </Layers> |
||
194 | <Scripts> |
||
195 | <OnHide> |
||
196 | ActionBarUpButton:Hide(); |
||
197 | ActionBarDownButton:Hide(); |
||
198 | </OnHide> |
||
199 | <OnShow> |
||
200 | ActionBarUpButton:Show(); |
||
201 | ActionBarDownButton:Show(); |
||
202 | </OnShow> |
||
203 | </Scripts> |
||
204 | </Frame> |
||
205 | <Frame name="$parentNumber"> |
||
206 | <Size> |
||
207 | <AbsDimension x="17" y="43"/> |
||
208 | </Size> |
||
209 | <Anchors> |
||
210 | <Anchor point="TOPLEFT"> |
||
211 | <Offset> |
||
212 | <AbsDimension x="533" y="0"/> |
||
213 | </Offset> |
||
214 | </Anchor> |
||
215 | </Anchors> |
||
216 | <Layers> |
||
217 | <Layer level="BACKGROUND"> |
||
218 | <Texture name="$parentBackground" file="Interface\MainMenuBar\UI-MainMenuBar-Dwarf"> |
||
219 | <Size> |
||
220 | <AbsDimension x="17" y="43"/> |
||
221 | </Size> |
||
222 | <Anchors> |
||
223 | <Anchor point="TOPLEFT"/> |
||
224 | </Anchors> |
||
225 | <TexCoords left="0.0859375" right="0.14453125" top="0.33203125" bottom="0.5"/> |
||
226 | </Texture> |
||
227 | </Layer> |
||
228 | </Layers> |
||
229 | <Scripts> |
||
230 | <OnHide> |
||
231 | MainMenuBarPageNumber:Hide(); |
||
232 | </OnHide> |
||
233 | <OnShow> |
||
234 | MainMenuBarPageNumber:Show(); |
||
235 | </OnShow> |
||
236 | </Scripts> |
||
237 | </Frame> |
||
238 | </Frames> |
||
239 | </Frame> |
||
240 | <Frame name="$parentMiniButtons"> |
||
241 | <Size> |
||
242 | <AbsDimension x="230" y="43"/> |
||
243 | </Size> |
||
244 | <Anchors> |
||
245 | <Anchor point="TOPLEFT"> |
||
246 | <Offset> |
||
247 | <AbsDimension x="551" y="0"/> |
||
248 | </Offset> |
||
249 | </Anchor> |
||
250 | </Anchors> |
||
251 | <Layers> |
||
252 | <Layer level="BACKGROUND"> |
||
253 | <Texture name="$parentBackgroundLeft" file="Interface\MainMenuBar\UI-MainMenuBar-Dwarf"> |
||
254 | <Size> |
||
255 | <AbsDimension x="227" y="43"/> |
||
256 | </Size> |
||
257 | <Anchors> |
||
258 | <Anchor point="BOTTOMLEFT"/> |
||
259 | </Anchors> |
||
260 | <TexCoords left="0.11328125" right="1.0" top="0.33203125" bottom="0.5"/> |
||
261 | </Texture> |
||
262 | <Texture name="$parentBackgroundRight" file="Interface\MainMenuBar\UI-MainMenuBar-Dwarf"> |
||
263 | <Size> |
||
264 | <AbsDimension x="3" y="43"/> |
||
265 | </Size> |
||
266 | <Anchors> |
||
267 | <Anchor point="BOTTOMLEFT"> |
||
268 | <Offset> |
||
269 | <AbsDimension x="227" y="0"/> |
||
270 | </Offset> |
||
271 | </Anchor> |
||
272 | </Anchors> |
||
273 | <TexCoords left="0" right="0.01171875" top="0.08203125" bottom="0.25"/> |
||
274 | </Texture> |
||
275 | </Layer> |
||
276 | </Layers> |
||
277 | <Scripts> |
||
278 | <OnHide> |
||
279 | CharacterMicroButton:Hide(); |
||
280 | SpellbookMicroButton:Hide(); |
||
281 | TalentMicroButton:Hide(); |
||
282 | QuestLogMicroButton:Hide(); |
||
283 | SocialsMicroButton:Hide(); |
||
284 | WorldMapMicroButton:Hide(); |
||
285 | MainMenuMicroButton:Hide(); |
||
286 | HelpMicroButton:Hide(); |
||
287 | CT_BottomBarFrameMiniButtonsDrag:Hide(); |
||
288 | </OnHide> |
||
289 | <OnShow> |
||
290 | if ( CT_MF_ShowFrames ) then |
||
291 | CT_BottomBarFrameMiniButtonsDrag:Show(); |
||
292 | end |
||
293 | CharacterMicroButton:Show(); |
||
294 | SpellbookMicroButton:Show(); |
||
295 | if ( UnitLevel("player") >= 10 ) then |
||
296 | TalentMicroButton:Show(); |
||
297 | end |
||
298 | QuestLogMicroButton:Show(); |
||
299 | SocialsMicroButton:Show(); |
||
300 | WorldMapMicroButton:Show(); |
||
301 | MainMenuMicroButton:Show(); |
||
302 | HelpMicroButton:Show(); |
||
303 | </OnShow> |
||
304 | </Scripts> |
||
305 | </Frame> |
||
306 | <Frame name="$parentLatency"> |
||
307 | <Size> |
||
308 | <AbsDimension x="28" y="43"/> |
||
309 | </Size> |
||
310 | <Anchors> |
||
311 | <Anchor point="TOPLEFT"> |
||
312 | <Offset> |
||
313 | <AbsDimension x="771" y="0"/> |
||
314 | </Offset> |
||
315 | </Anchor> |
||
316 | </Anchors> |
||
317 | <Layers> |
||
318 | <Layer level="BACKGROUND"> |
||
319 | <Texture name="$parentBackground" file="Interface\MainMenuBar\UI-MainMenuBar-Dwarf"> |
||
320 | <Size> |
||
321 | <AbsDimension x="28" y="43"/> |
||
322 | </Size> |
||
323 | <Anchors> |
||
324 | <Anchor point="BOTTOMLEFT"/> |
||
325 | </Anchors> |
||
326 | <TexCoords left="0.01171875" right="0.12109375" top="0.08203125" bottom="0.25"/> |
||
327 | </Texture> |
||
328 | </Layer> |
||
329 | </Layers> |
||
330 | <Scripts> |
||
331 | <OnHide> |
||
332 | MainMenuBarPerformanceBarFrame:Hide(); |
||
333 | CT_BottomBarFrameLatencyDrag:Hide(); |
||
334 | </OnHide> |
||
335 | <OnShow> |
||
336 | if ( CT_MF_ShowFrames ) then |
||
337 | CT_BottomBarFrameLatencyDrag:Show(); |
||
338 | end |
||
339 | MainMenuBarPerformanceBarFrame:Show(); |
||
340 | </OnShow> |
||
341 | </Scripts> |
||
342 | </Frame> |
||
343 | <Frame name="$parentBags"> |
||
344 | <Size> |
||
345 | <AbsDimension x="225" y="43"/> |
||
346 | </Size> |
||
347 | <Anchors> |
||
348 | <Anchor point="TOPLEFT"> |
||
349 | <Offset> |
||
350 | <AbsDimension x="799" y="0"/> |
||
351 | </Offset> |
||
352 | </Anchor> |
||
353 | </Anchors> |
||
354 | <Layers> |
||
355 | <Layer level="BACKGROUND"> |
||
356 | <Texture name="$parentBackground" file="Interface\MainMenuBar\UI-MainMenuBar-Dwarf"> |
||
357 | <Size> |
||
358 | <AbsDimension x="225" y="43"/> |
||
359 | </Size> |
||
360 | <Anchors> |
||
361 | <Anchor point="BOTTOMLEFT"/> |
||
362 | </Anchors> |
||
363 | <TexCoords left="0.12109375" right="1" top="0.08203125" bottom="0.25"/> |
||
364 | </Texture> |
||
365 | </Layer> |
||
366 | </Layers> |
||
367 | <Scripts> |
||
368 | <OnHide> |
||
369 | CT_BottomBarFrameBagsDrag:Hide(); |
||
370 | MainMenuBarBackpackButton:ClearAllPoints(); |
||
371 | MainMenuBarBackpackButton:SetPoint("TOP", "UIParent", "BOTTOM", 0, -100) |
||
372 | </OnHide> |
||
373 | <OnShow> |
||
374 | if ( CT_MF_ShowFrames ) then |
||
375 | CT_BottomBarFrameBagsDrag:Show(); |
||
376 | end |
||
377 | if ( CT_BottomBar_RotatedFrames[UnitName("player")]["Bags"] ) then |
||
378 | CT_BottomBar_RotateBags(1); |
||
379 | else |
||
380 | CT_BottomBar_RotateBags(-1); |
||
381 | end |
||
382 | </OnShow> |
||
383 | </Scripts> |
||
384 | </Frame> |
||
385 | <Frame name="$parentXP"> |
||
386 | <Size> |
||
387 | <AbsDimension x="1024" y="12"/> |
||
388 | </Size> |
||
389 | <Anchors> |
||
390 | <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT"/> |
||
391 | </Anchors> |
||
392 | <Frames> |
||
393 | <Frame name="$parentTextureFrame"> |
||
394 | <Size> |
||
395 | <AbsDimension x="1024" y="12"/> |
||
396 | </Size> |
||
397 | <Anchors> |
||
398 | <Anchor point="TOPLEFT"/> |
||
399 | </Anchors> |
||
400 | <Layers> |
||
401 | <Layer level="ARTWORK"> |
||
402 | <Texture name="$parentBackground1" file="Interface\MainMenuBar\UI-MainMenuBar-Dwarf"> |
||
403 | <Size> |
||
404 | <AbsDimension x="256" y="12"/> |
||
405 | </Size> |
||
406 | <Anchors> |
||
407 | <Anchor point="BOTTOMLEFT"/> |
||
408 | </Anchors> |
||
409 | <TexCoords left="0" right="1" top="0.79296875" bottom="0.83984375"/> |
||
410 | </Texture> |
||
411 | <Texture name="$parentBackground2" file="Interface\MainMenuBar\UI-MainMenuBar-Dwarf"> |
||
412 | <Size> |
||
413 | <AbsDimension x="256" y="12"/> |
||
414 | </Size> |
||
415 | <Anchors> |
||
416 | <Anchor point="BOTTOMLEFT"> |
||
417 | <Offset> |
||
418 | <AbsDimension x="256" y="0"/> |
||
419 | </Offset> |
||
420 | </Anchor> |
||
421 | </Anchors> |
||
422 | <TexCoords left="0" right="1" top="0.54296875" bottom="0.58984375"/> |
||
423 | </Texture> |
||
424 | <Texture name="$parentBackground3" file="Interface\MainMenuBar\UI-MainMenuBar-Dwarf"> |
||
425 | <Size> |
||
426 | <AbsDimension x="256" y="12"/> |
||
427 | </Size> |
||
428 | <Anchors> |
||
429 | <Anchor point="BOTTOMLEFT"> |
||
430 | <Offset> |
||
431 | <AbsDimension x="512" y="0"/> |
||
432 | </Offset> |
||
433 | </Anchor> |
||
434 | </Anchors> |
||
435 | <TexCoords left="0" right="1" top="0.29296875" bottom="0.33984375"/> |
||
436 | </Texture> |
||
437 | <Texture name="$parentBackground4" file="Interface\MainMenuBar\UI-MainMenuBar-Dwarf"> |
||
438 | <Size> |
||
439 | <AbsDimension x="256" y="12"/> |
||
440 | </Size> |
||
441 | <Anchors> |
||
442 | <Anchor point="BOTTOMLEFT"> |
||
443 | <Offset> |
||
444 | <AbsDimension x="768" y="0"/> |
||
445 | </Offset> |
||
446 | </Anchor> |
||
447 | </Anchors> |
||
448 | <TexCoords left="0" right="1" top="0.04296875" bottom="0.08984375"/> |
||
449 | </Texture> |
||
450 | </Layer> |
||
451 | </Layers> |
||
452 | </Frame> |
||
453 | </Frames> |
||
454 | <Scripts> |
||
455 | <OnHide> |
||
456 | MainMenuExpBar:ClearAllPoints(); |
||
457 | MainMenuExpBar:SetPoint("TOP", "UIParent", "BOTTOM", 0, -5); |
||
458 | CT_BottomBarFrameXPDrag:Hide(); |
||
459 | ReputationWatchBar:Hide(); |
||
460 | </OnHide> |
||
461 | <OnShow> |
||
462 | if ( CT_MF_ShowFrames ) then |
||
463 | CT_BottomBarFrameXPDrag:Show(); |
||
464 | end |
||
465 | ReputationWatchBar_Update(); |
||
466 | MainMenuExpBar:ClearAllPoints(); |
||
467 | MainMenuExpBar:SetPoint("TOPLEFT", "CT_BottomBarFrameXP", "TOPLEFT", 0, -1); |
||
468 | </OnShow> |
||
469 | <OnUpdate> |
||
470 | MainMenuExpBar:SetFrameLevel(2); |
||
471 | </OnUpdate> |
||
472 | </Scripts> |
||
473 | </Frame> |
||
474 | <Button name="$parentXPDrag" hidden="true" inherits="CT_BottomBarDragTemplate" movable="true"> |
||
475 | <Anchors> |
||
476 | <Anchor point="TOPLEFT"> |
||
477 | <Offset> |
||
478 | <AbsDimension x="14" y="28"/> |
||
479 | </Offset> |
||
480 | </Anchor> |
||
481 | </Anchors> |
||
482 | <Scripts> |
||
483 | <OnLoad> |
||
484 | CT_LinkFrameDrag(CT_BottomBarFrameXP, this, "TOPLEFT", "BOTTOM", -16, -2); |
||
485 | </OnLoad> |
||
486 | </Scripts> |
||
487 | </Button> |
||
488 | <Button name="$parentBagsDrag" hidden="true" inherits="CT_BottomBarDragTemplate" movable="true"> |
||
489 | <Anchors> |
||
490 | <Anchor point="TOPLEFT"> |
||
491 | <Offset> |
||
492 | <AbsDimension x="823" y="18"/> |
||
493 | </Offset> |
||
494 | </Anchor> |
||
495 | </Anchors> |
||
496 | <Scripts> |
||
497 | <OnEnter> |
||
498 | GameTooltip:SetOwner(this, "ANCHOR_LEFT"); |
||
499 | GameTooltip:SetText("Left click to drag\nRight click to rotate"); |
||
500 | </OnEnter> |
||
501 | <OnMouseUp> |
||
502 | if ( arg1 == "LeftButton" ) then |
||
503 | this:StopMovingOrSizing(); |
||
504 | else |
||
505 | CT_BottomBar_RotateBags(); |
||
506 | end |
||
507 | </OnMouseUp> |
||
508 | <OnLoad> |
||
509 | CT_LinkFrameDrag(CT_BottomBarFrameBags, this, "TOPLEFT", "BOTTOM", -26, -2); |
||
510 | </OnLoad> |
||
511 | </Scripts> |
||
512 | </Button> |
||
513 | <Button name="$parentMiniButtonsDrag" hidden="true" inherits="CT_BottomBarDragTemplate" movable="true"> |
||
514 | <Anchors> |
||
515 | <Anchor point="TOPLEFT"> |
||
516 | <Offset> |
||
517 | <AbsDimension x="566" y="18"/> |
||
518 | </Offset> |
||
519 | </Anchor> |
||
520 | </Anchors> |
||
521 | <Scripts> |
||
522 | <OnEnter> |
||
523 | GameTooltip:SetOwner(this, "ANCHOR_LEFT"); |
||
524 | GameTooltip:SetText("Left click to drag\nRight click to rotate"); |
||
525 | </OnEnter> |
||
526 | <OnMouseUp> |
||
527 | if ( arg1 == "LeftButton" ) then |
||
528 | this:StopMovingOrSizing(); |
||
529 | else |
||
530 | CT_BottomBar_RotateMiniButtons(); |
||
531 | end |
||
532 | </OnMouseUp> |
||
533 | <OnLoad> |
||
534 | CT_LinkFrameDrag(CT_BottomBarFrameMiniButtons, this, "TOPLEFT", "BOTTOM", -26, -2); |
||
535 | </OnLoad> |
||
536 | </Scripts> |
||
537 | </Button> |
||
538 | <Button name="$parentLatencyDrag" hidden="true" inherits="CT_BottomBarDragTemplate" movable="true"> |
||
539 | <Anchors> |
||
540 | <Anchor point="TOPLEFT"> |
||
541 | <Offset> |
||
542 | <AbsDimension x="784" y="18"/> |
||
543 | </Offset> |
||
544 | </Anchor> |
||
545 | </Anchors> |
||
546 | <Scripts> |
||
547 | <OnLoad> |
||
548 | CT_LinkFrameDrag(CT_BottomBarFrameLatency, this, "TOPLEFT", "BOTTOM", -14, -2); |
||
549 | </OnLoad> |
||
550 | </Scripts> |
||
551 | </Button> |
||
552 | <Button name="$parentBarDrag" hidden="true" inherits="CT_BottomBarDragTemplate" movable="true"> |
||
553 | <Anchors> |
||
554 | <Anchor point="TOPLEFT"> |
||
555 | <Offset> |
||
556 | <AbsDimension x="23" y="18"/> |
||
557 | </Offset> |
||
558 | </Anchor> |
||
559 | </Anchors> |
||
560 | <Scripts> |
||
561 | <OnEnter> |
||
562 | GameTooltip:SetOwner(this, "ANCHOR_LEFT"); |
||
563 | GameTooltip:SetText("Left click to drag\nRight click to rotate"); |
||
564 | </OnEnter> |
||
565 | <OnMouseUp> |
||
566 | if ( arg1 == "LeftButton" ) then |
||
567 | this:StopMovingOrSizing(); |
||
568 | else |
||
569 | CT_BottomBar_RotateBars(); |
||
570 | end |
||
571 | </OnMouseUp> |
||
572 | <OnLoad> |
||
573 | CT_LinkFrameDrag(CT_BottomBarFrameBar, this, "TOPLEFT", "BOTTOM", -25, -2); |
||
574 | </OnLoad> |
||
575 | </Scripts> |
||
576 | </Button> |
||
577 | </Frames> |
||
578 | <Scripts> |
||
579 | <OnLoad> |
||
580 | this:RegisterEvent("PLAYER_ENTERING_WORLD"); |
||
581 | </OnLoad> |
||
582 | <OnEvent> |
||
583 | CT_BottomBar_InitMod(); |
||
584 | </OnEvent> |
||
585 | </Scripts> |
||
586 | </Frame> |
||
587 | <Frame name="CT_BottomBar_OptionsFrame" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="UIParent"> |
||
588 | <Size> |
||
589 | <AbsDimension x="300" y="475"/> |
||
590 | </Size> |
||
591 | <Anchors> |
||
592 | <Anchor point="CENTER"/> |
||
593 | </Anchors> |
||
594 | <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true"> |
||
595 | <BackgroundInsets> |
||
596 | <AbsInset left="11" right="12" top="12" bottom="11"/> |
||
597 | </BackgroundInsets> |
||
598 | <TileSize> |
||
599 | <AbsValue val="32"/> |
||
600 | </TileSize> |
||
601 | <EdgeSize> |
||
602 | <AbsValue val="32"/> |
||
603 | </EdgeSize> |
||
604 | </Backdrop> |
||
605 | <Layers> |
||
606 | <Layer level="ARTWORK"> |
||
607 | <Texture name="$parentHeaderTexture" file="Interface\DialogFrame\UI-DialogBox-Header"> |
||
608 | <Size> |
||
609 | <AbsDimension x="300" y="64"/> |
||
610 | </Size> |
||
611 | <Anchors> |
||
612 | <Anchor point="TOP"> |
||
613 | <Offset> |
||
614 | <AbsDimension x="0" y="12"/> |
||
615 | </Offset> |
||
616 | </Anchor> |
||
617 | </Anchors> |
||
618 | </Texture> |
||
619 | <FontString inherits="GameFontNormal" text="Breakable Bottom Bar"> |
||
620 | <Anchors> |
||
621 | <Anchor point="TOP" relativeTo="$parentHeaderTexture"> |
||
622 | <Offset> |
||
623 | <AbsDimension x="0" y="-14"/> |
||
624 | </Offset> |
||
625 | </Anchor> |
||
626 | </Anchors> |
||
627 | </FontString> |
||
628 | <FontString name="$parentCheckAll" inherits="GameFontNormal" text="Enable Breakable Bottom Bar"> |
||
629 | <Anchors> |
||
630 | <Anchor point="TOPLEFT"> |
||
631 | <Offset> |
||
632 | <AbsDimension x="60" y="-35"/> |
||
633 | </Offset> |
||
634 | </Anchor> |
||
635 | </Anchors> |
||
636 | </FontString> |
||
637 | <FontString name="$parentHideBarCBText" inherits="ChatFontNormal" text="Hide Hotbar"> |
||
638 | <Anchors> |
||
639 | <Anchor point="TOPLEFT"> |
||
640 | <Offset> |
||
641 | <AbsDimension x="80" y="-60"/> |
||
642 | </Offset> |
||
643 | </Anchor> |
||
644 | </Anchors> |
||
645 | </FontString> |
||
646 | <FontString name="$parentHideBarTextureCBText" inherits="ChatFontNormal" text="Hide Hotbar Texture"> |
||
647 | <Anchors> |
||
648 | <Anchor point="TOPLEFT"> |
||
649 | <Offset> |
||
650 | <AbsDimension x="80" y="-85"/> |
||
651 | </Offset> |
||
652 | </Anchor> |
||
653 | </Anchors> |
||
654 | </FontString> |
||
655 | <FontString name="$parentHideUpDownCBText" inherits="ChatFontNormal" text="Hide Hotbar Page Buttons"> |
||
656 | <Anchors> |
||
657 | <Anchor point="TOPLEFT"> |
||
658 | <Offset> |
||
659 | <AbsDimension x="80" y="-110"/> |
||
660 | </Offset> |
||
661 | </Anchor> |
||
662 | </Anchors> |
||
663 | </FontString> |
||
664 | <FontString name="$parentHideUpDownTextureCBText" inherits="ChatFontNormal" text="Hide Hotbar Page Buttons' Texture"> |
||
665 | <Anchors> |
||
666 | <Anchor point="TOPLEFT"> |
||
667 | <Offset> |
||
668 | <AbsDimension x="80" y="-135"/> |
||
669 | </Offset> |
||
670 | </Anchor> |
||
671 | </Anchors> |
||
672 | </FontString> |
||
673 | <FontString name="$parentHideMiniButtonsCBText" inherits="ChatFontNormal" text="Hide Menu Buttons"> |
||
674 | <Anchors> |
||
675 | <Anchor point="TOPLEFT"> |
||
676 | <Offset> |
||
677 | <AbsDimension x="80" y="-160"/> |
||
678 | </Offset> |
||
679 | </Anchor> |
||
680 | </Anchors> |
||
681 | </FontString> |
||
682 | <FontString name="$parentHideMiniButtonsTextureCBText" inherits="ChatFontNormal" text="Hide Menu Buttons' Texture"> |
||
683 | <Anchors> |
||
684 | <Anchor point="TOPLEFT"> |
||
685 | <Offset> |
||
686 | <AbsDimension x="80" y="-185"/> |
||
687 | </Offset> |
||
688 | </Anchor> |
||
689 | </Anchors> |
||
690 | </FontString> |
||
691 | <FontString name="$parentHideBagsCBText" inherits="ChatFontNormal" text="Hide Bags"> |
||
692 | <Anchors> |
||
693 | <Anchor point="TOPLEFT"> |
||
694 | <Offset> |
||
695 | <AbsDimension x="80" y="-210"/> |
||
696 | </Offset> |
||
697 | </Anchor> |
||
698 | </Anchors> |
||
699 | </FontString> |
||
700 | <FontString name="$parentHideBagsTextureCBText" inherits="ChatFontNormal" text="Hide Bags' Texture"> |
||
701 | <Anchors> |
||
702 | <Anchor point="TOPLEFT"> |
||
703 | <Offset> |
||
704 | <AbsDimension x="80" y="-235"/> |
||
705 | </Offset> |
||
706 | </Anchor> |
||
707 | </Anchors> |
||
708 | </FontString> |
||
709 | <FontString name="$parentHideLatencyCBText" inherits="ChatFontNormal" text="Hide Latency Meter"> |
||
710 | <Anchors> |
||
711 | <Anchor point="TOPLEFT"> |
||
712 | <Offset> |
||
713 | <AbsDimension x="80" y="-260"/> |
||
714 | </Offset> |
||
715 | </Anchor> |
||
716 | </Anchors> |
||
717 | </FontString> |
||
718 | <FontString name="$parentHideLatencyTextureCBText" inherits="ChatFontNormal" text="Hide Latency Meter Texture"> |
||
719 | <Anchors> |
||
720 | <Anchor point="TOPLEFT"> |
||
721 | <Offset> |
||
722 | <AbsDimension x="80" y="-285"/> |
||
723 | </Offset> |
||
724 | </Anchor> |
||
725 | </Anchors> |
||
726 | </FontString> |
||
727 | <FontString name="$parentHideXPCBText" inherits="ChatFontNormal" text="Hide Experience Bar"> |
||
728 | <Anchors> |
||
729 | <Anchor point="TOPLEFT"> |
||
730 | <Offset> |
||
731 | <AbsDimension x="80" y="-310"/> |
||
732 | </Offset> |
||
733 | </Anchor> |
||
734 | </Anchors> |
||
735 | </FontString> |
||
736 | <FontString name="$parentHideClassCBText" inherits="ChatFontNormal" text="Hide Pet and Class Bars"> |
||
737 | <Anchors> |
||
738 | <Anchor point="TOPLEFT"> |
||
739 | <Offset> |
||
740 | <AbsDimension x="80" y="-335"/> |
||
741 | </Offset> |
||
742 | </Anchor> |
||
743 | </Anchors> |
||
744 | </FontString> |
||
745 | <FontString name="$parentHideClassTextureCBText" inherits="ChatFontNormal" text="Hide Pet and Class Bars' Texture"> |
||
746 | <Anchors> |
||
747 | <Anchor point="TOPLEFT"> |
||
748 | <Offset> |
||
749 | <AbsDimension x="80" y="-360"/> |
||
750 | </Offset> |
||
751 | </Anchor> |
||
752 | </Anchors> |
||
753 | </FontString> |
||
754 | <FontString name="$parentHideLGryphCBText" inherits="ChatFontNormal" text="Hide Left Gryphon"> |
||
755 | <Anchors> |
||
756 | <Anchor point="TOPLEFT"> |
||
757 | <Offset> |
||
758 | <AbsDimension x="80" y="-385"/> |
||
759 | </Offset> |
||
760 | </Anchor> |
||
761 | </Anchors> |
||
762 | </FontString> |
||
763 | <FontString name="$parentHideRGryphCBText" inherits="ChatFontNormal" text="Hide Right Gryphon"> |
||
764 | <Anchors> |
||
765 | <Anchor point="TOPLEFT"> |
||
766 | <Offset> |
||
767 | <AbsDimension x="80" y="-410"/> |
||
768 | </Offset> |
||
769 | </Anchor> |
||
770 | </Anchors> |
||
771 | </FontString> |
||
772 | </Layer> |
||
773 | </Layers> |
||
774 | <Frames> |
||
775 | <Frame name="$parentDrag"> |
||
776 | <Size> |
||
777 | <AbsDimension x="150" y="32"/> |
||
778 | </Size> |
||
779 | <Anchors> |
||
780 | <Anchor point="TOP"> |
||
781 | <Offset> |
||
782 | <AbsDimension x="-12" y="12"/> |
||
783 | </Offset> |
||
784 | </Anchor> |
||
785 | </Anchors> |
||
786 | <Scripts> |
||
787 | <OnMouseDown> |
||
788 | if ( arg1 == "LeftButton" ) then |
||
789 | this:GetParent():StartMoving(); |
||
790 | elseif ( arg1 == "RightButton" ) then |
||
791 | this:GetParent():ClearAllPoints(); |
||
792 | this:GetParent():SetPoint("CENTER", "UIParent", "CENTER"); |
||
793 | end |
||
794 | </OnMouseDown> |
||
795 | <OnMouseUp> |
||
796 | this:GetParent():StopMovingOrSizing(); |
||
797 | </OnMouseUp> |
||
798 | <OnEnter> |
||
799 | GameTooltip:SetOwner(this, "ANCHOR_RIGHT"); |
||
800 | GameTooltip:SetText("Left-click to drag\nRight-click to reset"); |
||
801 | </OnEnter> |
||
802 | <OnLeave> |
||
803 | GameTooltip:Hide(); |
||
804 | </OnLeave> |
||
805 | </Scripts> |
||
806 | </Frame> |
||
807 | <CheckButton name="$parentAllChecked" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
808 | <Anchors> |
||
809 | <Anchor point="TOPLEFT"> |
||
810 | <Offset> |
||
811 | <AbsDimension x="25" y="-25"/> |
||
812 | </Offset> |
||
813 | </Anchor> |
||
814 | </Anchors> |
||
815 | <HitRectInsets> |
||
816 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
817 | </HitRectInsets> |
||
818 | <Size> |
||
819 | <AbsDimension x="32" y="32"/> |
||
820 | </Size> |
||
821 | <Scripts> |
||
822 | <OnClick> |
||
823 | CT_BottomBar_OptionsFrame_EnableMod(this:GetChecked()); |
||
824 | </OnClick> |
||
825 | </Scripts> |
||
826 | </CheckButton> |
||
827 | <CheckButton name="$parentHideUpDownCB" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
828 | <Anchors> |
||
829 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentHideUpDownCBText"> |
||
830 | <Offset> |
||
831 | <AbsDimension x="-5" y="-2"/> |
||
832 | </Offset> |
||
833 | </Anchor> |
||
834 | </Anchors> |
||
835 | <HitRectInsets> |
||
836 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
837 | </HitRectInsets> |
||
838 | <Size> |
||
839 | <AbsDimension x="32" y="32"/> |
||
840 | </Size> |
||
841 | <Scripts> |
||
842 | <OnClick> |
||
843 | CT_BottomBar_OptionsFrame_Hide("BarUpDown", "BarNumber"); |
||
844 | </OnClick> |
||
845 | <OnLoad> |
||
846 | CT_BottomBar_OptionsFrame_AddToEnableList(); |
||
847 | </OnLoad> |
||
848 | </Scripts> |
||
849 | </CheckButton> |
||
850 | <CheckButton name="$parentHideUpDownTextureCB" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
851 | <Anchors> |
||
852 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentHideUpDownTextureCBText"> |
||
853 | <Offset> |
||
854 | <AbsDimension x="-5" y="-2"/> |
||
855 | </Offset> |
||
856 | </Anchor> |
||
857 | </Anchors> |
||
858 | <HitRectInsets> |
||
859 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
860 | </HitRectInsets> |
||
861 | <Size> |
||
862 | <AbsDimension x="32" y="32"/> |
||
863 | </Size> |
||
864 | <Scripts> |
||
865 | <OnClick> |
||
866 | CT_BottomBar_OptionsFrame_Hide("BarUpDownBackground", "BarNumberBackground"); |
||
867 | </OnClick> |
||
868 | <OnLoad> |
||
869 | CT_BottomBar_OptionsFrame_AddToEnableList(); |
||
870 | </OnLoad> |
||
871 | </Scripts> |
||
872 | </CheckButton> |
||
873 | <CheckButton name="$parentHideMiniButtonsCB" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
874 | <Anchors> |
||
875 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentHideMiniButtonsCBText"> |
||
876 | <Offset> |
||
877 | <AbsDimension x="-5" y="-2"/> |
||
878 | </Offset> |
||
879 | </Anchor> |
||
880 | </Anchors> |
||
881 | <HitRectInsets> |
||
882 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
883 | </HitRectInsets> |
||
884 | <Size> |
||
885 | <AbsDimension x="32" y="32"/> |
||
886 | </Size> |
||
887 | <Scripts> |
||
888 | <OnClick> |
||
889 | CT_BottomBar_OptionsFrame_Hide("MiniButtons"); |
||
890 | </OnClick> |
||
891 | <OnLoad> |
||
892 | CT_BottomBar_OptionsFrame_AddToEnableList(); |
||
893 | </OnLoad> |
||
894 | </Scripts> |
||
895 | </CheckButton> |
||
896 | <CheckButton name="$parentHideMiniButtonsTextureCB" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
897 | <Anchors> |
||
898 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentHideMiniButtonsTextureCBText"> |
||
899 | <Offset> |
||
900 | <AbsDimension x="-5" y="-2"/> |
||
901 | </Offset> |
||
902 | </Anchor> |
||
903 | </Anchors> |
||
904 | <HitRectInsets> |
||
905 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
906 | </HitRectInsets> |
||
907 | <Size> |
||
908 | <AbsDimension x="32" y="32"/> |
||
909 | </Size> |
||
910 | <Scripts> |
||
911 | <OnClick> |
||
912 | CT_BottomBar_OptionsFrame_Hide("MiniButtonsBackgroundLeft", "MiniButtonsBackgroundRight"); |
||
913 | </OnClick> |
||
914 | <OnLoad> |
||
915 | CT_BottomBar_OptionsFrame_AddToEnableList(); |
||
916 | </OnLoad> |
||
917 | </Scripts> |
||
918 | </CheckButton> |
||
919 | <CheckButton name="$parentHideLatencyCB" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
920 | <Anchors> |
||
921 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentHideLatencyCBText"> |
||
922 | <Offset> |
||
923 | <AbsDimension x="-5" y="-2"/> |
||
924 | </Offset> |
||
925 | </Anchor> |
||
926 | </Anchors> |
||
927 | <HitRectInsets> |
||
928 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
929 | </HitRectInsets> |
||
930 | <Size> |
||
931 | <AbsDimension x="32" y="32"/> |
||
932 | </Size> |
||
933 | <Scripts> |
||
934 | <OnClick> |
||
935 | CT_BottomBar_OptionsFrame_Hide("Latency"); |
||
936 | </OnClick> |
||
937 | <OnLoad> |
||
938 | CT_BottomBar_OptionsFrame_AddToEnableList(); |
||
939 | </OnLoad> |
||
940 | </Scripts> |
||
941 | </CheckButton> |
||
942 | <CheckButton name="$parentHideLatencyTextureCB" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
943 | <Anchors> |
||
944 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentHideLatencyTextureCBText"> |
||
945 | <Offset> |
||
946 | <AbsDimension x="-5" y="-2"/> |
||
947 | </Offset> |
||
948 | </Anchor> |
||
949 | </Anchors> |
||
950 | <HitRectInsets> |
||
951 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
952 | </HitRectInsets> |
||
953 | <Size> |
||
954 | <AbsDimension x="32" y="32"/> |
||
955 | </Size> |
||
956 | <Scripts> |
||
957 | <OnClick> |
||
958 | CT_BottomBar_OptionsFrame_Hide("LatencyBackground"); |
||
959 | </OnClick> |
||
960 | <OnLoad> |
||
961 | CT_BottomBar_OptionsFrame_AddToEnableList(); |
||
962 | </OnLoad> |
||
963 | </Scripts> |
||
964 | </CheckButton> |
||
965 | <CheckButton name="$parentHideBarTextureCB" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
966 | <Anchors> |
||
967 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentHideBarTextureCBText"> |
||
968 | <Offset> |
||
969 | <AbsDimension x="-5" y="-2"/> |
||
970 | </Offset> |
||
971 | </Anchor> |
||
972 | </Anchors> |
||
973 | <HitRectInsets> |
||
974 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
975 | </HitRectInsets> |
||
976 | <Size> |
||
977 | <AbsDimension x="32" y="32"/> |
||
978 | </Size> |
||
979 | <Scripts> |
||
980 | <OnClick> |
||
981 | CT_BottomBar_OptionsFrame_Hide("BarHotbarBackgroundLeft", "BarHotbarBackgroundRight"); |
||
982 | </OnClick> |
||
983 | <OnLoad> |
||
984 | CT_BottomBar_OptionsFrame_AddToEnableList(); |
||
985 | </OnLoad> |
||
986 | </Scripts> |
||
987 | </CheckButton> |
||
988 | <CheckButton name="$parentHideBarCB" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
989 | <Anchors> |
||
990 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentHideBarCBText"> |
||
991 | <Offset> |
||
992 | <AbsDimension x="-5" y="-2"/> |
||
993 | </Offset> |
||
994 | </Anchor> |
||
995 | </Anchors> |
||
996 | <HitRectInsets> |
||
997 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
998 | </HitRectInsets> |
||
999 | <Size> |
||
1000 | <AbsDimension x="32" y="32"/> |
||
1001 | </Size> |
||
1002 | <Scripts> |
||
1003 | <OnClick> |
||
1004 | CT_BottomBar_OptionsFrame_Hide("BarHotbar"); |
||
1005 | </OnClick> |
||
1006 | <OnLoad> |
||
1007 | CT_BottomBar_OptionsFrame_AddToEnableList(); |
||
1008 | </OnLoad> |
||
1009 | </Scripts> |
||
1010 | </CheckButton> |
||
1011 | <CheckButton name="$parentHideBagsCB" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
1012 | <Anchors> |
||
1013 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentHideBagsCBText"> |
||
1014 | <Offset> |
||
1015 | <AbsDimension x="-5" y="-2"/> |
||
1016 | </Offset> |
||
1017 | </Anchor> |
||
1018 | </Anchors> |
||
1019 | <HitRectInsets> |
||
1020 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
1021 | </HitRectInsets> |
||
1022 | <Size> |
||
1023 | <AbsDimension x="32" y="32"/> |
||
1024 | </Size> |
||
1025 | <Scripts> |
||
1026 | <OnClick> |
||
1027 | CT_BottomBar_OptionsFrame_Hide("Bags"); |
||
1028 | </OnClick> |
||
1029 | <OnLoad> |
||
1030 | CT_BottomBar_OptionsFrame_AddToEnableList(); |
||
1031 | </OnLoad> |
||
1032 | </Scripts> |
||
1033 | </CheckButton> |
||
1034 | <CheckButton name="$parentHideBagsTextureCB" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
1035 | <Anchors> |
||
1036 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentHideBagsTextureCBText"> |
||
1037 | <Offset> |
||
1038 | <AbsDimension x="-5" y="-2"/> |
||
1039 | </Offset> |
||
1040 | </Anchor> |
||
1041 | </Anchors> |
||
1042 | <HitRectInsets> |
||
1043 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
1044 | </HitRectInsets> |
||
1045 | <Size> |
||
1046 | <AbsDimension x="32" y="32"/> |
||
1047 | </Size> |
||
1048 | <Scripts> |
||
1049 | <OnClick> |
||
1050 | CT_BottomBar_OptionsFrame_Hide("BagsBackground"); |
||
1051 | </OnClick> |
||
1052 | <OnLoad> |
||
1053 | CT_BottomBar_OptionsFrame_AddToEnableList(); |
||
1054 | </OnLoad> |
||
1055 | </Scripts> |
||
1056 | </CheckButton> |
||
1057 | <CheckButton name="$parentHideClassCB" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
1058 | <Anchors> |
||
1059 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentHideClassCBText"> |
||
1060 | <Offset> |
||
1061 | <AbsDimension x="-5" y="-2"/> |
||
1062 | </Offset> |
||
1063 | </Anchor> |
||
1064 | </Anchors> |
||
1065 | <HitRectInsets> |
||
1066 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
1067 | </HitRectInsets> |
||
1068 | <Size> |
||
1069 | <AbsDimension x="32" y="32"/> |
||
1070 | </Size> |
||
1071 | <Scripts> |
||
1072 | <OnClick> |
||
1073 | CT_BottomBar_OptionsFrame_Hide("Class"); |
||
1074 | </OnClick> |
||
1075 | <OnLoad> |
||
1076 | --CT_BottomBar_OptionsFrame_AddToEnableList(); |
||
1077 | </OnLoad> |
||
1078 | </Scripts> |
||
1079 | </CheckButton> |
||
1080 | <CheckButton name="$parentHideClassTextureCB" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
1081 | <Anchors> |
||
1082 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentHideClassTextureCBText"> |
||
1083 | <Offset> |
||
1084 | <AbsDimension x="-5" y="-2"/> |
||
1085 | </Offset> |
||
1086 | </Anchor> |
||
1087 | </Anchors> |
||
1088 | <HitRectInsets> |
||
1089 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
1090 | </HitRectInsets> |
||
1091 | <Size> |
||
1092 | <AbsDimension x="32" y="32"/> |
||
1093 | </Size> |
||
1094 | <Scripts> |
||
1095 | <OnClick> |
||
1096 | CT_BottomBar_OptionsFrame_Hide("ClassBackground"); |
||
1097 | </OnClick> |
||
1098 | <OnLoad> |
||
1099 | --CT_BottomBar_OptionsFrame_AddToEnableList(); |
||
1100 | </OnLoad> |
||
1101 | </Scripts> |
||
1102 | </CheckButton> |
||
1103 | <CheckButton name="$parentHideXPCB" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
1104 | <Anchors> |
||
1105 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentHideXPCBText"> |
||
1106 | <Offset> |
||
1107 | <AbsDimension x="-5" y="-2"/> |
||
1108 | </Offset> |
||
1109 | </Anchor> |
||
1110 | </Anchors> |
||
1111 | <HitRectInsets> |
||
1112 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
1113 | </HitRectInsets> |
||
1114 | <Size> |
||
1115 | <AbsDimension x="32" y="32"/> |
||
1116 | </Size> |
||
1117 | <Scripts> |
||
1118 | <OnClick> |
||
1119 | CT_BottomBar_OptionsFrame_Hide("XP"); |
||
1120 | </OnClick> |
||
1121 | <OnLoad> |
||
1122 | CT_BottomBar_OptionsFrame_AddToEnableList(); |
||
1123 | </OnLoad> |
||
1124 | </Scripts> |
||
1125 | </CheckButton> |
||
1126 | <CheckButton name="$parentHideLGryphCB" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
1127 | <Anchors> |
||
1128 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentHideLGryphCBText"> |
||
1129 | <Offset> |
||
1130 | <AbsDimension x="-5" y="-2"/> |
||
1131 | </Offset> |
||
1132 | </Anchor> |
||
1133 | </Anchors> |
||
1134 | <HitRectInsets> |
||
1135 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
1136 | </HitRectInsets> |
||
1137 | <Size> |
||
1138 | <AbsDimension x="32" y="32"/> |
||
1139 | </Size> |
||
1140 | <Scripts> |
||
1141 | <OnClick> |
||
1142 | CT_BottomBar_OptionsFrame_Hide("GryphonsFrameLeft"); |
||
1143 | </OnClick> |
||
1144 | <OnLoad> |
||
1145 | --CT_BottomBar_OptionsFrame_AddToEnableList(); |
||
1146 | </OnLoad> |
||
1147 | </Scripts> |
||
1148 | </CheckButton> |
||
1149 | <CheckButton name="$parentHideRGryphCB" hidden="false" inherits="OptionsCheckButtonTemplate"> |
||
1150 | <Anchors> |
||
1151 | <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="$parentHideRGryphCBText"> |
||
1152 | <Offset> |
||
1153 | <AbsDimension x="-5" y="-2"/> |
||
1154 | </Offset> |
||
1155 | </Anchor> |
||
1156 | </Anchors> |
||
1157 | <HitRectInsets> |
||
1158 | <AbsInset left="0" right="0" top="0" bottom="0"/> |
||
1159 | </HitRectInsets> |
||
1160 | <Size> |
||
1161 | <AbsDimension x="32" y="32"/> |
||
1162 | </Size> |
||
1163 | <Scripts> |
||
1164 | <OnClick> |
||
1165 | CT_BottomBar_OptionsFrame_Hide("GryphonsFrameRight"); |
||
1166 | </OnClick> |
||
1167 | <OnLoad> |
||
1168 | --CT_BottomBar_OptionsFrame_AddToEnableList(); |
||
1169 | </OnLoad> |
||
1170 | </Scripts> |
||
1171 | </CheckButton> |
||
1172 | <Button name="$parentOkayButton" hidden="false" inherits="UIPanelButtonTemplate" text="Okay"> |
||
1173 | <Size> |
||
1174 | <AbsDimension x="100" y="25"/> |
||
1175 | </Size> |
||
1176 | <Anchors> |
||
1177 | <Anchor point="BOTTOM" relativePoint="BOTTOM"> |
||
1178 | <Offset> |
||
1179 | <AbsDimension x="0" y="15"/> |
||
1180 | </Offset> |
||
1181 | </Anchor> |
||
1182 | </Anchors> |
||
1183 | <Scripts> |
||
1184 | <OnClick> |
||
1185 | this:GetParent():Hide(); |
||
1186 | </OnClick> |
||
1187 | </Scripts> |
||
1188 | </Button> |
||
1189 | </Frames> |
||
1190 | <Scripts> |
||
1191 | <OnHide> |
||
1192 | PlaySound("UChatScrollButton"); |
||
1193 | </OnHide> |
||
1194 | <OnShow> |
||
1195 | PlaySound("UChatScrollButton"); |
||
1196 | </OnShow> |
||
1197 | </Scripts> |
||
1198 | </Frame> |
||
1199 | </Ui> |