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" |
2 | xsi:schemaLocation="http://www.blizzard.com/wow/ui/"> |
||
3 | <!-- <Script file="SW_BarFrames.lua" /> --> |
||
4 | <Frame name="SW_BarFrame1" inherits="SW_Frame" enableMouse="true" movable="true" resizable="true" |
||
5 | frameStrata="MEDIUM" frameLevel="150" parent="UIParent"> |
||
6 | <Scripts> |
||
7 | <OnLoad>this:SetBackdropBorderColor(SW_COLOR_ACT["r"],SW_COLOR_ACT["g"],SW_COLOR_ACT["b"],1); |
||
8 | this.swoBarX = 5; |
||
9 | this.swoBarY = -26; |
||
10 | this.swBarSettings = {}; |
||
11 | --table.insert(SW_Registerd_BF_Titles, this:GetName().."_Title"); |
||
12 | </OnLoad> |
||
13 | <OnHide> |
||
14 | if getglobal("SW_BarSettingsFrameV2"):IsVisible() then |
||
15 | getglobal("SW_BarSettingsFrameV2"):Hide() |
||
16 | end |
||
17 | </OnHide> |
||
18 | <OnShow> |
||
19 | if SW_Settings["OPT_ShowSyncB"] ~= nil then |
||
20 | getglobal("SW_BarFrame1_Title_Sync"):Show(); |
||
21 | else |
||
22 | getglobal("SW_BarFrame1_Title_Sync"):Hide(); |
||
23 | end |
||
24 | if SW_Settings["OPT_ShowConsoleB"] ~= nil then |
||
25 | getglobal("SW_BarFrame1_Title_Console"):Show(); |
||
26 | else |
||
27 | getglobal("SW_BarFrame1_Title_Console"):Hide(); |
||
28 | end |
||
29 | </OnShow> |
||
30 | </Scripts> |
||
31 | <Backdrop bgFile="Interface\AddOns\SW_Stats\images\back" edgeFile="Interface\Tooltips\UI-Tooltip-Border" |
||
32 | tile="true"> |
||
33 | <TileSize> |
||
34 | <AbsValue val="32" /> |
||
35 | </TileSize> |
||
36 | <EdgeSize> |
||
37 | <AbsValue val="16" /> |
||
38 | </EdgeSize> |
||
39 | <BackgroundInsets> |
||
40 | <AbsInset left="5" right="5" top="5" bottom="5" /> |
||
41 | </BackgroundInsets> |
||
42 | </Backdrop> |
||
43 | <Size> |
||
44 | <AbsDimension x="135" y="300" /> |
||
45 | </Size> |
||
46 | <Anchors> |
||
47 | <Anchor point="CENTER" /> |
||
48 | </Anchors> |
||
49 | <Frames> |
||
50 | <Frame name="$parent_Resizer" inherits="SW_Frame_Resize" parent="SW_BarFrame1" /> |
||
51 | <Frame name="$parent_Title" inherits="SW_BarFrame_Title"> |
||
52 | <Anchors> |
||
53 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
54 | <Offset> |
||
55 | <AbsDimension x="5" y="-4" /> |
||
56 | </Offset> |
||
57 | </Anchor> |
||
58 | <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT"> |
||
59 | <Offset> |
||
60 | <AbsDimension x="-5" y="-24" /> |
||
61 | </Offset> |
||
62 | </Anchor> |
||
63 | </Anchors> |
||
64 | <Frames> |
||
65 | <Frame name="$parent_SyncIcon" hidden="true"> |
||
66 | <Scripts> |
||
67 | <OnLoad> |
||
68 | this.oldShow = this.Show; |
||
69 | this.oldHide = this.Hide; |
||
70 | this.TxtToMove = getglobal(this:GetParent():GetName().."_Text"); |
||
71 | this.TextureArrows = getglobal(this:GetName().."_Texture"); |
||
72 | this.Show = function(self) |
||
73 | self.TxtToMove:SetPoint("TOPLEFT", self, "TOPRIGHT", 1, -3); |
||
74 | self.oldShow(self); |
||
75 | end |
||
76 | this.Hide = function(self) |
||
77 | self.TxtToMove:SetPoint("TOPLEFT", self, "TOPLEFT", 0, -3); |
||
78 | self.oldHide(self); |
||
79 | end |
||
80 | this.UpdateColor = function(self, color) |
||
81 | if color then |
||
82 | self.TextureArrows:SetVertexColor(unpack(color)); |
||
83 | else |
||
84 | self.TextureArrows:SetVertexColor(0,1,0,1); |
||
85 | end |
||
86 | end |
||
87 | </OnLoad> |
||
88 | <OnShow> |
||
89 | this:UpdateColor(); |
||
90 | </OnShow> |
||
91 | <OnEnter> |
||
92 | if SW_Settings["SYNCLastChan"] ~= nil then |
||
93 | GameTooltip:SetOwner(this, "ANCHOR_LEFT"); |
||
94 | GameTooltip:SetText(SW_GS_EditBoxes["SW_SetSyncChanTxtFrame"][2].."\r\n"..SW_Settings["SYNCLastChan"],nil,nil,nil,nil,1); |
||
95 | end |
||
96 | </OnEnter> |
||
97 | <OnLeave> |
||
98 | GameTooltip:Hide(); |
||
99 | </OnLeave> |
||
100 | </Scripts> |
||
101 | <Size> |
||
102 | <AbsDimension x="16" y="16" /> |
||
103 | </Size> |
||
104 | <Anchors> |
||
105 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
106 | <Offset> |
||
107 | <AbsDimension x="0" y="-2" /> |
||
108 | </Offset> |
||
109 | </Anchor> |
||
110 | </Anchors> |
||
111 | <Layers> |
||
112 | <Layer level="BACKGROUND"> |
||
113 | <Texture name="$parent_Texture" file="Interface\AddOns\SW_Stats\images\sync"> |
||
114 | <Color r="0" g="1" b="0" a="1" /> |
||
115 | <Anchors> |
||
116 | <Anchor point="TOPLEFT" /> |
||
117 | <Anchor point="BOTTOMRIGHT" /> |
||
118 | </Anchors> |
||
119 | </Texture> |
||
120 | </Layer> |
||
121 | </Layers> |
||
122 | </Frame> |
||
123 | <Frame name="$parent_Close" inherits="SW_RoundButton" hidden="false"> |
||
124 | <Anchors> |
||
125 | <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT"> |
||
126 | <Offset> |
||
127 | <AbsDimension x="-3" y="-3" /> |
||
128 | </Offset> |
||
129 | </Anchor> |
||
130 | </Anchors> |
||
131 | <Scripts> |
||
132 | <OnMouseUp>SW_Settings["SHOWMAIN"] = nil; this:GetParent():GetParent():Hide();</OnMouseUp> |
||
133 | <OnLoad>SW_RoundButtonRegister(this, {1,0,0,0.9}, "X"); |
||
134 | table.insert(SW_Registered_BF_TitleButtons, this:GetName());</OnLoad> |
||
135 | </Scripts> |
||
136 | </Frame> |
||
137 | <Frame name="$parent_Settings" inherits="SW_RoundButton" hidden="false"> |
||
138 | <Anchors> |
||
139 | <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT"> |
||
140 | <Offset> |
||
141 | <AbsDimension x="-25" y="-3" /> |
||
142 | </Offset> |
||
143 | </Anchor> |
||
144 | </Anchors> |
||
145 | <Scripts> |
||
146 | <OnMouseUp> |
||
147 | sF = getglobal("SW_BarSettingsFrameV2"); |
||
148 | if sF ~= nil then |
||
149 | if sF:IsVisible() then |
||
150 | sF:Hide(); |
||
151 | else |
||
152 | getglobal("SW_BarSettings_Visuals").caller = this:GetParent():GetParent():GetName(); |
||
153 | getglobal("SW_BarSettings_Data").caller = this:GetParent():GetParent():GetName(); |
||
154 | getglobal("SW_BarSettings_Pets").caller = this:GetParent():GetParent():GetName(); |
||
155 | sF:Show(); |
||
156 | end |
||
157 | end |
||
158 | </OnMouseUp> |
||
159 | <OnLoad>SW_RoundButtonRegister(this, {1,0,0,0.9}, SW_B_SETTINGS); |
||
160 | table.insert(SW_Registered_BF_TitleButtons, this:GetName());</OnLoad> |
||
161 | </Scripts> |
||
162 | </Frame> |
||
163 | <Frame name="$parent_Report" inherits="SW_RoundButton" hidden="false"> |
||
164 | <Anchors> |
||
165 | <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="$parent_Settings"> |
||
166 | <Offset> |
||
167 | <AbsDimension x="-3" y="0" /> |
||
168 | </Offset> |
||
169 | </Anchor> |
||
170 | </Anchors> |
||
171 | <Scripts> |
||
172 | <OnMouseUp>SW_ToggleReport(this:GetParent():GetParent():GetName());</OnMouseUp> |
||
173 | <OnLoad>SW_RoundButtonRegister(this, {1,0,0,0.9}, SW_B_REPORT); |
||
174 | table.insert(SW_Registered_BF_TitleButtons, this:GetName());</OnLoad> |
||
175 | </Scripts> |
||
176 | </Frame> |
||
177 | <Frame name="$parent_Console" inherits="SW_RoundButton" hidden="true"> |
||
178 | <Anchors> |
||
179 | <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="$parent_Report"> |
||
180 | <Offset> |
||
181 | <AbsDimension x="-3" y="0" /> |
||
182 | </Offset> |
||
183 | </Anchor> |
||
184 | </Anchors> |
||
185 | <Scripts> |
||
186 | <OnMouseUp>SW_ToggleConsole();</OnMouseUp> |
||
187 | <OnLoad>SW_RoundButtonRegister(this, {1,0,0,0.9}, SW_B_CONSOLE); |
||
188 | table.insert(SW_Registered_BF_TitleButtons, this:GetName());</OnLoad> |
||
189 | </Scripts> |
||
190 | </Frame> |
||
191 | <Frame name="$parent_Sync" inherits="SW_RoundButton" hidden="true"> |
||
192 | <Anchors> |
||
193 | <Anchor point="TOPRIGHT" relativePoint="TOPLEFT" relativeTo="$parent_Console"> |
||
194 | <Offset> |
||
195 | <AbsDimension x="-3" y="0" /> |
||
196 | </Offset> |
||
197 | </Anchor> |
||
198 | </Anchors> |
||
199 | <Scripts> |
||
200 | <OnMouseUp>SW_ToggleSync();</OnMouseUp> |
||
201 | <OnLoad>SW_RoundButtonRegister(this, {1,0,0,0.9}, SW_B_SYNC); |
||
202 | table.insert(SW_Registered_BF_TitleButtons, this:GetName());</OnLoad> |
||
203 | </Scripts> |
||
204 | </Frame> |
||
205 | </Frames> |
||
206 | </Frame> |
||
207 | <Frame name="$parent_Selector" hidden="false"> |
||
208 | <Size> |
||
209 | <AbsDimension x="135" y="50" /> |
||
210 | </Size> |
||
211 | <Anchors> |
||
212 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT"> |
||
213 | <Offset> |
||
214 | <AbsDimension x="10" y="0" /> |
||
215 | </Offset> |
||
216 | </Anchor> |
||
217 | <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT"> |
||
218 | <Offset> |
||
219 | <AbsDimension x="-10" y="0" /> |
||
220 | </Offset> |
||
221 | </Anchor> |
||
222 | </Anchors> |
||
223 | <Frames> |
||
224 | <CheckButton name="SW_OptChk_Running" inherits="SW_OptChk_TT" hidden="false"> |
||
225 | <Size> |
||
226 | <AbsDimension x="15" y="15" /> |
||
227 | </Size> |
||
228 | <Anchors> |
||
229 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
230 | <Offset> |
||
231 | <AbsDimension x="-5" y="0" /> |
||
232 | </Offset> |
||
233 | </Anchor> |
||
234 | </Anchors> |
||
235 | <Scripts> |
||
236 | <OnShow> |
||
237 | --SW_ToggleRunning(SW_Settings["IsRunning"]); |
||
238 | -- 1.5.3 changed this, on show only important for visuals |
||
239 | -- and toggle running would leave sync on relog in 1.5.3 because of retaining visual state |
||
240 | if SW_Settings["IsRunning"] then |
||
241 | this:SetChecked(true); |
||
242 | else |
||
243 | this:SetChecked(false); |
||
244 | end |
||
245 | |||
246 | </OnShow> |
||
247 | <OnClick> |
||
248 | if this:GetChecked() then |
||
249 | SW_ToggleRunning(true); |
||
250 | else |
||
251 | SW_ToggleRunning(false); |
||
252 | end |
||
253 | |||
254 | </OnClick> |
||
255 | </Scripts> |
||
256 | </CheckButton> |
||
257 | <Frame name="$parent_Opt1" inherits="SW_RoundButton" hidden="false"> |
||
258 | <Anchors> |
||
259 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="SW_OptChk_Running"> |
||
260 | <Offset> |
||
261 | <AbsDimension x="3" y="0" /> |
||
262 | </Offset> |
||
263 | </Anchor> |
||
264 | </Anchors> |
||
265 | <Scripts> |
||
266 | <OnShow>SW_SetOptTxt(this);</OnShow> |
||
267 | <OnMouseUp>SW_SelOpt(this);</OnMouseUp> |
||
268 | <OnLoad> |
||
269 | SW_RoundButtonRegister(this, {1,0,0,1}, "1",nil,7); |
||
270 | this.optID =1; |
||
271 | table.insert(SW_Registered_BF_TitleButtons, this:GetName()); |
||
272 | </OnLoad> |
||
273 | </Scripts> |
||
274 | </Frame> |
||
275 | <Frame name="$parent_Opt2" inherits="SW_RoundButton" hidden="false"> |
||
276 | <Anchors> |
||
277 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_Opt1"> |
||
278 | <Offset> |
||
279 | <AbsDimension x="3" y="0" /> |
||
280 | </Offset> |
||
281 | </Anchor> |
||
282 | </Anchors> |
||
283 | <Scripts> |
||
284 | <OnShow>SW_SetOptTxt(this);</OnShow> |
||
285 | <OnMouseUp>SW_SelOpt(this);</OnMouseUp> |
||
286 | <OnLoad> |
||
287 | SW_RoundButtonRegister(this, {1,0,0,1}, "2",nil,7); |
||
288 | this.optID =2; |
||
289 | table.insert(SW_Registered_BF_TitleButtons, this:GetName()); |
||
290 | </OnLoad> |
||
291 | </Scripts> |
||
292 | </Frame> |
||
293 | <Frame name="$parent_Opt3" inherits="SW_RoundButton" hidden="false"> |
||
294 | <Anchors> |
||
295 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_Opt2"> |
||
296 | <Offset> |
||
297 | <AbsDimension x="3" y="0" /> |
||
298 | </Offset> |
||
299 | </Anchor> |
||
300 | </Anchors> |
||
301 | <Scripts> |
||
302 | <OnShow>SW_SetOptTxt(this);</OnShow> |
||
303 | <OnMouseUp>SW_SelOpt(this);</OnMouseUp> |
||
304 | <OnLoad> |
||
305 | SW_RoundButtonRegister(this, {1,0,0,1}, "3",nil,7); |
||
306 | this.optID =3; |
||
307 | table.insert(SW_Registered_BF_TitleButtons, this:GetName()); |
||
308 | </OnLoad> |
||
309 | </Scripts> |
||
310 | </Frame> |
||
311 | <Frame name="$parent_Opt4" inherits="SW_RoundButton" hidden="false"> |
||
312 | <Anchors> |
||
313 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_Opt3"> |
||
314 | <Offset> |
||
315 | <AbsDimension x="3" y="0" /> |
||
316 | </Offset> |
||
317 | </Anchor> |
||
318 | </Anchors> |
||
319 | <Scripts> |
||
320 | <OnShow>SW_SetOptTxt(this);</OnShow> |
||
321 | <OnMouseUp>SW_SelOpt(this);</OnMouseUp> |
||
322 | <OnLoad> |
||
323 | SW_RoundButtonRegister(this, {1,0,0,1}, "4",nil,7); |
||
324 | this.optID =4; |
||
325 | table.insert(SW_Registered_BF_TitleButtons, this:GetName()); |
||
326 | </OnLoad> |
||
327 | </Scripts> |
||
328 | </Frame> |
||
329 | <Frame name="$parent_Opt5" inherits="SW_RoundButton" hidden="false"> |
||
330 | <Anchors> |
||
331 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_Opt4"> |
||
332 | <Offset> |
||
333 | <AbsDimension x="3" y="0" /> |
||
334 | </Offset> |
||
335 | </Anchor> |
||
336 | </Anchors> |
||
337 | <Scripts> |
||
338 | <OnShow>SW_SetOptTxt(this);</OnShow> |
||
339 | <OnMouseUp>SW_SelOpt(this);</OnMouseUp> |
||
340 | <OnLoad> |
||
341 | SW_RoundButtonRegister(this, {1,0,0,1}, "5",nil,7); |
||
342 | this.optID =5; |
||
343 | table.insert(SW_Registered_BF_TitleButtons, this:GetName()); |
||
344 | </OnLoad> |
||
345 | </Scripts> |
||
346 | </Frame> |
||
347 | <Frame name="$parent_Opt6" inherits="SW_RoundButton" hidden="false"> |
||
348 | <Anchors> |
||
349 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_Opt5"> |
||
350 | <Offset> |
||
351 | <AbsDimension x="3" y="0" /> |
||
352 | </Offset> |
||
353 | </Anchor> |
||
354 | </Anchors> |
||
355 | <Scripts> |
||
356 | <OnShow>SW_SetOptTxt(this);</OnShow> |
||
357 | <OnMouseUp>SW_SelOpt(this);</OnMouseUp> |
||
358 | <OnLoad> |
||
359 | SW_RoundButtonRegister(this, {1,0,0,1}, "6",nil,7); |
||
360 | this.optID =6; |
||
361 | table.insert(SW_Registered_BF_TitleButtons, this:GetName()); |
||
362 | </OnLoad> |
||
363 | </Scripts> |
||
364 | </Frame> |
||
365 | <Frame name="$parent_Opt7" inherits="SW_RoundButton" hidden="false"> |
||
366 | <Anchors> |
||
367 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_Opt6"> |
||
368 | <Offset> |
||
369 | <AbsDimension x="3" y="0" /> |
||
370 | </Offset> |
||
371 | </Anchor> |
||
372 | </Anchors> |
||
373 | <Scripts> |
||
374 | <OnShow>SW_SetOptTxt(this);</OnShow> |
||
375 | <OnMouseUp>SW_SelOpt(this);</OnMouseUp> |
||
376 | <OnLoad> |
||
377 | SW_RoundButtonRegister(this, {1,0,0,1}, "7",nil,7); |
||
378 | this.optID =7; |
||
379 | table.insert(SW_Registered_BF_TitleButtons, this:GetName()); |
||
380 | </OnLoad> |
||
381 | </Scripts> |
||
382 | </Frame> |
||
383 | <Frame name="$parent_Opt8" inherits="SW_RoundButton" hidden="false"> |
||
384 | <Anchors> |
||
385 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_Opt7"> |
||
386 | <Offset> |
||
387 | <AbsDimension x="3" y="0" /> |
||
388 | </Offset> |
||
389 | </Anchor> |
||
390 | </Anchors> |
||
391 | <Scripts> |
||
392 | <OnShow>SW_SetOptTxt(this);</OnShow> |
||
393 | <OnMouseUp>SW_SelOpt(this);</OnMouseUp> |
||
394 | <OnLoad> |
||
395 | SW_RoundButtonRegister(this, {1,0,0,1}, "8",nil,7); |
||
396 | this.optID =8; |
||
397 | table.insert(SW_Registered_BF_TitleButtons, this:GetName()); |
||
398 | </OnLoad> |
||
399 | </Scripts> |
||
400 | </Frame> |
||
401 | <Frame name="$parent_Opt9" inherits="SW_RoundButton" hidden="false"> |
||
402 | <Anchors> |
||
403 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_Opt8"> |
||
404 | <Offset> |
||
405 | <AbsDimension x="3" y="0" /> |
||
406 | </Offset> |
||
407 | </Anchor> |
||
408 | </Anchors> |
||
409 | <Scripts> |
||
410 | <OnShow>SW_SetOptTxt(this);</OnShow> |
||
411 | <OnMouseUp>SW_SelOpt(this);</OnMouseUp> |
||
412 | <OnLoad> |
||
413 | SW_RoundButtonRegister(this, {1,0,0,1}, "9",nil,7); |
||
414 | this.optID =9; |
||
415 | table.insert(SW_Registered_BF_TitleButtons, this:GetName()); |
||
416 | </OnLoad> |
||
417 | </Scripts> |
||
418 | </Frame> |
||
419 | <Frame name="$parent_Opt10" inherits="SW_RoundButton" hidden="false"> |
||
420 | <Anchors> |
||
421 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_Opt9"> |
||
422 | <Offset> |
||
423 | <AbsDimension x="3" y="0" /> |
||
424 | </Offset> |
||
425 | </Anchor> |
||
426 | </Anchors> |
||
427 | <Scripts> |
||
428 | <OnShow>SW_SetOptTxt(this);</OnShow> |
||
429 | <OnMouseUp>SW_SelOpt(this);</OnMouseUp> |
||
430 | <OnLoad> |
||
431 | SW_RoundButtonRegister(this, {1,0,0,1}, "10",nil,7); |
||
432 | this.optID =10; |
||
433 | table.insert(SW_Registered_BF_TitleButtons, this:GetName()); |
||
434 | </OnLoad> |
||
435 | </Scripts> |
||
436 | </Frame> |
||
437 | </Frames> |
||
438 | </Frame> |
||
439 | <StatusBar name="$parent_Bar1" inherits="SW_BarTemplate" /> |
||
440 | <StatusBar name="$parent_Bar2" inherits="SW_BarTemplate" /> |
||
441 | <StatusBar name="$parent_Bar3" inherits="SW_BarTemplate" /> |
||
442 | <StatusBar name="$parent_Bar4" inherits="SW_BarTemplate" /> |
||
443 | <StatusBar name="$parent_Bar5" inherits="SW_BarTemplate" /> |
||
444 | <StatusBar name="$parent_Bar6" inherits="SW_BarTemplate" /> |
||
445 | <StatusBar name="$parent_Bar7" inherits="SW_BarTemplate" /> |
||
446 | <StatusBar name="$parent_Bar8" inherits="SW_BarTemplate" /> |
||
447 | <StatusBar name="$parent_Bar9" inherits="SW_BarTemplate" /> |
||
448 | <StatusBar name="$parent_Bar10" inherits="SW_BarTemplate" /> |
||
449 | <StatusBar name="$parent_Bar11" inherits="SW_BarTemplate" /> |
||
450 | <StatusBar name="$parent_Bar12" inherits="SW_BarTemplate" /> |
||
451 | <StatusBar name="$parent_Bar13" inherits="SW_BarTemplate" /> |
||
452 | <StatusBar name="$parent_Bar14" inherits="SW_BarTemplate" /> |
||
453 | <StatusBar name="$parent_Bar15" inherits="SW_BarTemplate" /> |
||
454 | <StatusBar name="$parent_Bar16" inherits="SW_BarTemplate" /> |
||
455 | <StatusBar name="$parent_Bar17" inherits="SW_BarTemplate" /> |
||
456 | <StatusBar name="$parent_Bar18" inherits="SW_BarTemplate" /> |
||
457 | <StatusBar name="$parent_Bar19" inherits="SW_BarTemplate" /> |
||
458 | <StatusBar name="$parent_Bar20" inherits="SW_BarTemplate" /> |
||
459 | <StatusBar name="$parent_Bar21" inherits="SW_BarTemplate" /> |
||
460 | <StatusBar name="$parent_Bar22" inherits="SW_BarTemplate" /> |
||
461 | <StatusBar name="$parent_Bar23" inherits="SW_BarTemplate" /> |
||
462 | <StatusBar name="$parent_Bar24" inherits="SW_BarTemplate" /> |
||
463 | <StatusBar name="$parent_Bar25" inherits="SW_BarTemplate" /> |
||
464 | <StatusBar name="$parent_Bar26" inherits="SW_BarTemplate" /> |
||
465 | <StatusBar name="$parent_Bar27" inherits="SW_BarTemplate" /> |
||
466 | <StatusBar name="$parent_Bar28" inherits="SW_BarTemplate" /> |
||
467 | <StatusBar name="$parent_Bar29" inherits="SW_BarTemplate" /> |
||
468 | <StatusBar name="$parent_Bar30" inherits="SW_BarTemplate" /> |
||
469 | <StatusBar name="$parent_Bar31" inherits="SW_BarTemplate" /> |
||
470 | <StatusBar name="$parent_Bar32" inherits="SW_BarTemplate" /> |
||
471 | <StatusBar name="$parent_Bar33" inherits="SW_BarTemplate" /> |
||
472 | <StatusBar name="$parent_Bar34" inherits="SW_BarTemplate" /> |
||
473 | <StatusBar name="$parent_Bar35" inherits="SW_BarTemplate" /> |
||
474 | <StatusBar name="$parent_Bar36" inherits="SW_BarTemplate" /> |
||
475 | <StatusBar name="$parent_Bar37" inherits="SW_BarTemplate" /> |
||
476 | <StatusBar name="$parent_Bar38" inherits="SW_BarTemplate" /> |
||
477 | <StatusBar name="$parent_Bar39" inherits="SW_BarTemplate" /> |
||
478 | <StatusBar name="$parent_Bar40" inherits="SW_BarTemplate" /> |
||
479 | </Frames> |
||
480 | </Frame> |
||
481 | <Frame name="SW_TextWindow" inherits="SW_Frame" enableMouse="true" movable="true" frameStrata="MEDIUM" |
||
482 | resizable="true" frameLevel="185" parent="UIParent"> |
||
483 | <Scripts> |
||
484 | <OnLoad>this:SetBackdropBorderColor(SW_COLOR_ACT["r"],SW_COLOR_ACT["g"],SW_COLOR_ACT["b"],1); |
||
485 | |||
486 | </OnLoad> |
||
487 | <OnShow> |
||
488 | local str = SW_TE_Functions[getglobal("SW_TextWindowExportSlider"):GetValue()][1](this.repMeta, this.repData); |
||
489 | local outBox = getglobal("SW_TextWindow_EditBox"); |
||
490 | outBox:SetText(str); |
||
491 | outBox:HighlightText(); |
||
492 | </OnShow> |
||
493 | </Scripts> |
||
494 | <Size> |
||
495 | <AbsDimension x="220" y="180" /> |
||
496 | </Size> |
||
497 | <Anchors> |
||
498 | <Anchor point="CENTER" /> |
||
499 | </Anchors> |
||
500 | <Frames> |
||
501 | <Frame name="$parent_Resizer" inherits="SW_Frame_Resize" parent="SW_TextWindow" /> |
||
502 | <Frame name="$parent_Title" inherits="SW_BarFrame_Title"> |
||
503 | <Anchors> |
||
504 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
505 | <Offset> |
||
506 | <AbsDimension x="5" y="-4" /> |
||
507 | </Offset> |
||
508 | </Anchor> |
||
509 | <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT"> |
||
510 | <Offset> |
||
511 | <AbsDimension x="-5" y="-24" /> |
||
512 | </Offset> |
||
513 | </Anchor> |
||
514 | </Anchors> |
||
515 | <Frames> |
||
516 | <Frame name="$parent_Close" inherits="SW_RoundButton" hidden="false"> |
||
517 | <Anchors> |
||
518 | <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT"> |
||
519 | <Offset> |
||
520 | <AbsDimension x="-3" y="-3" /> |
||
521 | </Offset> |
||
522 | </Anchor> |
||
523 | </Anchors> |
||
524 | <Scripts> |
||
525 | <OnMouseUp>this:GetParent():GetParent():Hide();</OnMouseUp> |
||
526 | <OnLoad> |
||
527 | SW_RoundButtonRegister(this, {1,0,0,0.9}, "X"); |
||
528 | table.insert(SW_Registered_BF_TitleButtons, this:GetName()); |
||
529 | </OnLoad> |
||
530 | </Scripts> |
||
531 | </Frame> |
||
532 | </Frames> |
||
533 | </Frame> |
||
534 | <Slider name="$parentExportSlider" inherits="OptionsSliderTemplate"> |
||
535 | <Size> |
||
536 | <AbsDimension x="200" y="17" /> |
||
537 | </Size> |
||
538 | <Anchors> |
||
539 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
540 | <Offset> |
||
541 | <AbsDimension x="10" y="-40" /> |
||
542 | </Offset> |
||
543 | </Anchor> |
||
544 | <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT"> |
||
545 | <Offset> |
||
546 | <AbsDimension x="-10" y="-30" /> |
||
547 | </Offset> |
||
548 | </Anchor> |
||
549 | </Anchors> |
||
550 | <Scripts> |
||
551 | <OnShow> |
||
552 | getglobal(this:GetName().."Low"):SetText("1"); |
||
553 | getglobal(this:GetName().."High"):SetText(getn(SW_TE_Functions)); |
||
554 | this:SetMinMaxValues(1, getn(SW_TE_Functions)); |
||
555 | this:SetValueStep(1); |
||
556 | this:SetValue(1); |
||
557 | </OnShow> |
||
558 | <OnValueChanged> |
||
559 | getglobal(this:GetName().."Text"):SetText(SW_TE_Functions[this:GetValue()][2]); |
||
560 | local str = SW_TE_Functions[this:GetValue()][1](this:GetParent().repMeta, this:GetParent().repData); |
||
561 | local outBox = getglobal("SW_TextWindow_EditBox"); |
||
562 | outBox:SetText(str); |
||
563 | outBox:HighlightText(); |
||
564 | |||
565 | </OnValueChanged> |
||
566 | </Scripts> |
||
567 | </Slider> |
||
568 | <EditBox name="$parent_EditBox" multiLine="true"> |
||
569 | <Size> |
||
570 | <AbsDimension x="100" y="30"></AbsDimension> |
||
571 | </Size> |
||
572 | <Anchors> |
||
573 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
574 | <Offset> |
||
575 | <AbsDimension x="10" y="-70" /> |
||
576 | </Offset> |
||
577 | </Anchor> |
||
578 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT"> |
||
579 | <Offset> |
||
580 | <AbsDimension x="-10" y="20" /> |
||
581 | </Offset> |
||
582 | </Anchor> |
||
583 | </Anchors> |
||
584 | <Layers> |
||
585 | <Layer level="BACKGROUND"> |
||
586 | <Texture> |
||
587 | <Color r="0.3" g="0.3" b="0.3" /> |
||
588 | <Anchors> |
||
589 | <Anchor point="TOPLEFT" /> |
||
590 | <Anchor point="BOTTOMRIGHT" /> |
||
591 | </Anchors> |
||
592 | </Texture> |
||
593 | </Layer> |
||
594 | </Layers> |
||
595 | <Scripts></Scripts> |
||
596 | <FontString inherits="GameFontNormalSmall"> |
||
597 | <FontHeight> |
||
598 | <AbsValue val="10" /> |
||
599 | </FontHeight> |
||
600 | </FontString> |
||
601 | </EditBox> |
||
602 | </Frames> |
||
603 | </Frame> |
||
604 | <Frame name="SW_BarReportFrame" inherits="SW_Frame" enableMouse="true" movable="true" frameStrata="MEDIUM" |
||
605 | frameLevel="180" parent="UIParent"> |
||
606 | <Scripts> |
||
607 | <OnLoad>this:SetBackdropBorderColor(SW_COLOR_ACT["r"],SW_COLOR_ACT["g"],SW_COLOR_ACT["b"],1); |
||
608 | this.chkPerRow = 3; |
||
609 | </OnLoad> |
||
610 | <OnShow> |
||
611 | if getglobal("SW_RepTo_Whisper"):GetChecked() == 1 or getglobal("SW_RepTo_Channel"):GetChecked() == 1 then |
||
612 | getglobal(this:GetName().."_VarText"):Show(); |
||
613 | else |
||
614 | getglobal(this:GetName().."_VarText"):Hide(); |
||
615 | end |
||
616 | </OnShow> |
||
617 | </Scripts> |
||
618 | <Size> |
||
619 | <AbsDimension x="220" y="185" /> |
||
620 | </Size> |
||
621 | <Anchors> |
||
622 | <Anchor point="CENTER" /> |
||
623 | </Anchors> |
||
624 | <Frames> |
||
625 | <!-- <Frame name="$parent_Resizer" inherits="SW_Frame_Resize" parent="SW_BarReportFrame" /> --> |
||
626 | <Frame name="$parent_Title" inherits="SW_BarFrame_Title"> |
||
627 | <Anchors> |
||
628 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
629 | <Offset> |
||
630 | <AbsDimension x="5" y="-4" /> |
||
631 | </Offset> |
||
632 | </Anchor> |
||
633 | <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT"> |
||
634 | <Offset> |
||
635 | <AbsDimension x="-5" y="-24" /> |
||
636 | </Offset> |
||
637 | </Anchor> |
||
638 | </Anchors> |
||
639 | <Frames> |
||
640 | <Frame name="$parent_Close" inherits="SW_RoundButton" hidden="false"> |
||
641 | <Anchors> |
||
642 | <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT"> |
||
643 | <Offset> |
||
644 | <AbsDimension x="-3" y="-3" /> |
||
645 | </Offset> |
||
646 | </Anchor> |
||
647 | </Anchors> |
||
648 | <Scripts> |
||
649 | <OnMouseUp>this:GetParent():GetParent():Hide();</OnMouseUp> |
||
650 | <OnLoad>SW_RoundButtonRegister(this, {1,0,0,0.9}, "X"); |
||
651 | table.insert(SW_Registered_BF_TitleButtons, this:GetName());</OnLoad> |
||
652 | </Scripts> |
||
653 | </Frame> |
||
654 | </Frames> |
||
655 | </Frame> |
||
656 | <CheckButton name="SW_RepTo_Say" inherits="SW_Chk_Template"> |
||
657 | <Scripts> |
||
658 | <OnLoad> |
||
659 | this.swoX = 5; |
||
660 | this.swoY = -25; |
||
661 | SW_ChkRegister(this, "", true, "RepTarget"); |
||
662 | this.SW_TargetChat = "SAY"; |
||
663 | </OnLoad> |
||
664 | <OnClick> |
||
665 | SW_ChkClick(this); |
||
666 | getglobal(this:GetParent():GetName().."_VarText"):Hide(); |
||
667 | </OnClick> |
||
668 | </Scripts> |
||
669 | </CheckButton> |
||
670 | <CheckButton name="SW_RepTo_Group" inherits="SW_Chk_Template"> |
||
671 | <Scripts> |
||
672 | <OnLoad> |
||
673 | SW_ChkRegister(this, "", false, "RepTarget"); |
||
674 | this.SW_TargetChat = "PARTY"; |
||
675 | </OnLoad> |
||
676 | <OnClick> |
||
677 | SW_ChkClick(this); |
||
678 | getglobal(this:GetParent():GetName().."_VarText"):Hide(); |
||
679 | </OnClick> |
||
680 | </Scripts> |
||
681 | </CheckButton> |
||
682 | <CheckButton name="SW_RepTo_Raid" inherits="SW_Chk_Template"> |
||
683 | <Scripts> |
||
684 | <OnLoad> |
||
685 | SW_ChkRegister(this, "", false, "RepTarget"); |
||
686 | this.SW_TargetChat = "RAID"; |
||
687 | </OnLoad> |
||
688 | <OnClick> |
||
689 | SW_ChkClick(this); |
||
690 | getglobal(this:GetParent():GetName().."_VarText"):Hide(); |
||
691 | </OnClick> |
||
692 | </Scripts> |
||
693 | </CheckButton> |
||
694 | <CheckButton name="SW_RepTo_Guild" inherits="SW_Chk_Template"> |
||
695 | <Scripts> |
||
696 | <OnLoad> |
||
697 | SW_ChkRegister(this, "", false, "RepTarget"); |
||
698 | this.SW_TargetChat = "GUILD"; |
||
699 | </OnLoad> |
||
700 | <OnClick> |
||
701 | SW_ChkClick(this); |
||
702 | getglobal(this:GetParent():GetName().."_VarText"):Hide(); |
||
703 | </OnClick> |
||
704 | </Scripts> |
||
705 | </CheckButton> |
||
706 | <CheckButton name="SW_RepTo_Channel" inherits="SW_Chk_Template"> |
||
707 | <Scripts> |
||
708 | <OnLoad> |
||
709 | SW_ChkRegister(this, "", false, "RepTarget"); |
||
710 | this.SW_TargetChat = "CHANNEL"; |
||
711 | </OnLoad> |
||
712 | <OnClick> |
||
713 | SW_ChkClick(this); |
||
714 | getglobal(this:GetParent():GetName().."_VarText"):Show(); |
||
715 | </OnClick> |
||
716 | </Scripts> |
||
717 | </CheckButton> |
||
718 | <CheckButton name="SW_RepTo_Whisper" inherits="SW_Chk_Template"> |
||
719 | <Scripts> |
||
720 | <OnLoad> |
||
721 | SW_ChkRegister(this, "", false, "RepTarget"); |
||
722 | this.SW_TargetChat = "WHISPER"; |
||
723 | </OnLoad> |
||
724 | <OnClick> |
||
725 | SW_ChkClick(this); |
||
726 | getglobal(this:GetParent():GetName().."_VarText"):Show(); |
||
727 | </OnClick> |
||
728 | </Scripts> |
||
729 | </CheckButton> |
||
730 | <CheckButton name="SW_RepTo_Officer" inherits="SW_Chk_Template"> |
||
731 | <Scripts> |
||
732 | <OnLoad> |
||
733 | SW_ChkRegister(this, "", false, "RepTarget"); |
||
734 | this.SW_TargetChat = "OFFICER"; |
||
735 | </OnLoad> |
||
736 | <OnClick> |
||
737 | SW_ChkClick(this); |
||
738 | getglobal(this:GetParent():GetName().."_VarText"):Hide(); |
||
739 | </OnClick> |
||
740 | </Scripts> |
||
741 | </CheckButton> |
||
742 | <CheckButton name="SW_RepTo_Clipboard" inherits="SW_Chk_Template"> |
||
743 | <Scripts> |
||
744 | <OnLoad> |
||
745 | SW_ChkRegister(this, "", false, "RepTarget"); |
||
746 | this.SW_TargetChat = "CLIP"; |
||
747 | </OnLoad> |
||
748 | <OnClick> |
||
749 | SW_ChkClick(this); |
||
750 | getglobal(this:GetParent():GetName().."_VarText"):Hide(); |
||
751 | </OnClick> |
||
752 | </Scripts> |
||
753 | </CheckButton> |
||
754 | <Slider name="$parentRepAmountSlider" inherits="OptionsSliderTemplate"> |
||
755 | <Size> |
||
756 | <AbsDimension x="200" y="17" /> |
||
757 | </Size> |
||
758 | <Anchors> |
||
759 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
760 | <Offset> |
||
761 | <AbsDimension x="10" y="-90" /> |
||
762 | </Offset> |
||
763 | </Anchor> |
||
764 | </Anchors> |
||
765 | <Scripts> |
||
766 | <OnLoad> |
||
767 | getglobal(this:GetName().."Low"):SetText("1"); |
||
768 | getglobal(this:GetName().."High"):SetText("40"); |
||
769 | this:SetMinMaxValues(1, 40); |
||
770 | this:SetValueStep(1); |
||
771 | </OnLoad> |
||
772 | <OnShow> |
||
773 | this:SetValue(SW_Settings["ReportAmount"]); |
||
774 | getglobal(this:GetName().."Text"):SetText("#:"..this:GetValue()); |
||
775 | </OnShow> |
||
776 | <OnValueChanged> |
||
777 | getglobal(this:GetName().."Text"):SetText("#:"..this:GetValue()); |
||
778 | SW_Settings["ReportAmount"] = this:GetValue(); |
||
779 | |||
780 | </OnValueChanged> |
||
781 | </Scripts> |
||
782 | </Slider> |
||
783 | <Frame name="$parent_VarText" hidden="true"> |
||
784 | <Size> |
||
785 | <AbsDimension x="300" y="40" /> |
||
786 | </Size> |
||
787 | <Anchors> |
||
788 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
789 | <Offset> |
||
790 | <AbsDimension x="15" y="-115" /> |
||
791 | </Offset> |
||
792 | </Anchor> |
||
793 | </Anchors> |
||
794 | <Layers> |
||
795 | <Layer> |
||
796 | <FontString name="$parent_Lbl" inherits="GameFontNormalSmall" text="Var:"> |
||
797 | <Anchors> |
||
798 | <Anchor point="TOPLEFT" /> |
||
799 | </Anchors> |
||
800 | </FontString> |
||
801 | </Layer> |
||
802 | </Layers> |
||
803 | <Frames> |
||
804 | <EditBox name="$parent_EditBox" letters="30"> |
||
805 | <Size> |
||
806 | <AbsDimension x="100" y="10"></AbsDimension> |
||
807 | </Size> |
||
808 | <Anchors> |
||
809 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
810 | <Offset> |
||
811 | <AbsDimension x="55" y="0" /> |
||
812 | </Offset> |
||
813 | </Anchor> |
||
814 | </Anchors> |
||
815 | <Layers> |
||
816 | <Layer level="BACKGROUND"> |
||
817 | <Texture> |
||
818 | <Color r="0.3" g="0.3" b="0.3" /> |
||
819 | <Anchors> |
||
820 | <Anchor point="TOPLEFT" /> |
||
821 | <Anchor point="BOTTOMRIGHT" /> |
||
822 | </Anchors> |
||
823 | </Texture> |
||
824 | </Layer> |
||
825 | </Layers> |
||
826 | <Scripts></Scripts> |
||
827 | <FontString inherits="GameFontNormalSmall"> |
||
828 | <FontHeight> |
||
829 | <AbsValue val="10" /> |
||
830 | </FontHeight> |
||
831 | </FontString> |
||
832 | </EditBox> |
||
833 | <Button name="$parent_SetTextFromTarget" inherits="GameMenuButtonTemplate" text="FromTarget"> |
||
834 | <Size> |
||
835 | <AbsDimension x="80" y="20" /> |
||
836 | </Size> |
||
837 | <Anchors> |
||
838 | <Anchor point="TOPRIGHT" relativePoint="BOTTOMRIGHT" relativeTo="$parent_EditBox"> |
||
839 | <Offset> |
||
840 | <AbsDimension x="0" y="-5" /> |
||
841 | </Offset> |
||
842 | </Anchor> |
||
843 | </Anchors> |
||
844 | <Scripts> |
||
845 | <OnClick> |
||
846 | local unitName = UnitName("target"); |
||
847 | if unitName == nil then return; end |
||
848 | getglobal(this:GetParent():GetName().."_EditBox"):SetText(unitName); |
||
849 | --local barSettings = SW_GetBarSettings(this:GetParent():GetParent().caller); |
||
850 | --barSettings["TV"] = unitName; |
||
851 | </OnClick> |
||
852 | </Scripts> |
||
853 | </Button> |
||
854 | </Frames> |
||
855 | </Frame> |
||
856 | <Frame name="$parent_ChkContainer" hidden="false"> |
||
857 | <Size> |
||
858 | <AbsDimension x="100" y="40" /> |
||
859 | </Size> |
||
860 | <Anchors> |
||
861 | <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT"> |
||
862 | <Offset> |
||
863 | <AbsDimension x="0" y="0" /> |
||
864 | </Offset> |
||
865 | </Anchor> |
||
866 | </Anchors> |
||
867 | <Frames> |
||
868 | <CheckButton name="SW_Chk_RepMulti" inherits="SW_Chk_Template"> |
||
869 | <Scripts> |
||
870 | <OnLoad> |
||
871 | this.swoX = 10; |
||
872 | this.swoY = -10; |
||
873 | SW_ChkRegister(this, "RE_Multiline", true); |
||
874 | </OnLoad> |
||
875 | </Scripts> |
||
876 | </CheckButton> |
||
877 | </Frames> |
||
878 | </Frame> |
||
879 | <Button name="$parent_SendReport" inherits="GameMenuButtonTemplate" text="Send"> |
||
880 | <Size> |
||
881 | <AbsDimension x="80" y="20" /> |
||
882 | </Size> |
||
883 | <Anchors> |
||
884 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT"> |
||
885 | <Offset> |
||
886 | <AbsDimension x="-20" y="10" /> |
||
887 | </Offset> |
||
888 | </Anchor> |
||
889 | </Anchors> |
||
890 | <Scripts> |
||
891 | <OnClick> |
||
892 | getglobal("SW_TextWindow"):Hide(); |
||
893 | SW_SendReport(this:GetParent().caller, getglobal(this:GetParent():GetName().."_VarText_EditBox"):GetText()) |
||
894 | this:GetParent():Hide(); |
||
895 | </OnClick> |
||
896 | </Scripts> |
||
897 | </Button> |
||
898 | </Frames> |
||
899 | </Frame> |
||
900 | <Frame name="SW_BarSyncFrame" inherits="SW_Frame" enableMouse="true" movable="true" frameStrata="MEDIUM" |
||
901 | frameLevel="190" parent="UIParent"> |
||
902 | <Scripts> |
||
903 | <OnLoad> |
||
904 | this:SetBackdropBorderColor(SW_COLOR_ACT["r"],SW_COLOR_ACT["g"],SW_COLOR_ACT["b"],1); |
||
905 | this.chkPerRow = 3; |
||
906 | function this:UpdateARPVis() |
||
907 | if UnitInRaid("player") then |
||
908 | if IsRaidLeader() or IsRaidOfficer() then |
||
909 | getglobal("SW_BarSyncFrame_SyncARPY"):Show(); |
||
910 | getglobal("SW_BarSyncFrame_SyncARPN"):Show(); |
||
911 | else |
||
912 | getglobal("SW_BarSyncFrame_SyncARPY"):Hide(); |
||
913 | getglobal("SW_BarSyncFrame_SyncARPN"):Hide(); |
||
914 | end |
||
915 | else |
||
916 | getglobal("SW_BarSyncFrame_SyncARPY"):Hide(); |
||
917 | getglobal("SW_BarSyncFrame_SyncARPN"):Hide(); |
||
918 | end |
||
919 | end |
||
920 | </OnLoad> |
||
921 | <OnShow> |
||
922 | this:UpdateARPVis(); |
||
923 | </OnShow> |
||
924 | </Scripts> |
||
925 | <Size> |
||
926 | <AbsDimension x="280" y="120" /> |
||
927 | </Size> |
||
928 | <Anchors> |
||
929 | <Anchor point="CENTER" /> |
||
930 | </Anchors> |
||
931 | <Frames> |
||
932 | <!-- <Frame name="$parent_Resizer" inherits="SW_Frame_Resize" parent="SW_BarSyncFrame" /> --> |
||
933 | <Frame name="$parent_Title" inherits="SW_BarFrame_Title"> |
||
934 | <Anchors> |
||
935 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
936 | <Offset> |
||
937 | <AbsDimension x="5" y="-4" /> |
||
938 | </Offset> |
||
939 | </Anchor> |
||
940 | <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT"> |
||
941 | <Offset> |
||
942 | <AbsDimension x="-5" y="-24" /> |
||
943 | </Offset> |
||
944 | </Anchor> |
||
945 | </Anchors> |
||
946 | <Frames> |
||
947 | <Frame name="$parent_Close" inherits="SW_RoundButton" hidden="false"> |
||
948 | <Anchors> |
||
949 | <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT"> |
||
950 | <Offset> |
||
951 | <AbsDimension x="-3" y="-3" /> |
||
952 | </Offset> |
||
953 | </Anchor> |
||
954 | </Anchors> |
||
955 | <Scripts> |
||
956 | <OnMouseUp>this:GetParent():GetParent():Hide();</OnMouseUp> |
||
957 | <OnLoad>SW_RoundButtonRegister(this, {1,0,0,0.9}, "X"); |
||
958 | table.insert(SW_Registered_BF_TitleButtons, this:GetName());</OnLoad> |
||
959 | </Scripts> |
||
960 | </Frame> |
||
961 | </Frames> |
||
962 | </Frame> |
||
963 | <Frame name="SW_SetSyncChanTxtFrame" inherits="SW_Frame_EditTxt"> |
||
964 | <Size> |
||
965 | <AbsDimension x="200" y="30" /> |
||
966 | </Size> |
||
967 | <Anchors> |
||
968 | <Anchor point="TOPLEFT"> |
||
969 | <Offset> |
||
970 | <AbsDimension x="10" y="-30" /> |
||
971 | </Offset> |
||
972 | </Anchor> |
||
973 | </Anchors> |
||
974 | <Scripts> |
||
975 | <OnShow> |
||
976 | |||
977 | this.SWUpdateFunc = SW_UpdateSyncChanText; |
||
978 | this.SWUpdateInfo = nil; |
||
979 | this.maxLetters = 30; |
||
980 | |||
981 | if SW_Settings["SYNCLastChan"] == nil or SW_SyncChanID == 0 then |
||
982 | this.CurrentVal = NONE; |
||
983 | else |
||
984 | if SW_SyncCheckInChan(SW_Settings["SYNCLastChan"]) then |
||
985 | this.CurrentVal = SW_Settings["SYNCLastChan"]; |
||
986 | else |
||
987 | this.CurrentVal = NONE; |
||
988 | end |
||
989 | end |
||
990 | this:ChangeText(); |
||
991 | </OnShow> |
||
992 | </Scripts> |
||
993 | </Frame> |
||
994 | <Button name="$parent_SyncLeave" inherits="GameMenuButtonTemplate"> |
||
995 | <Size> |
||
996 | <AbsDimension x="80" y="20" /> |
||
997 | </Size> |
||
998 | <Anchors> |
||
999 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
1000 | <Offset> |
||
1001 | <AbsDimension x="10" y="-55" /> |
||
1002 | </Offset> |
||
1003 | </Anchor> |
||
1004 | </Anchors> |
||
1005 | <Scripts> |
||
1006 | <OnClick>SW_SyncSendLeave(); |
||
1007 | this:GetParent():Hide(); |
||
1008 | </OnClick> |
||
1009 | </Scripts> |
||
1010 | </Button> |
||
1011 | <Button name="$parent_SyncARPY" inherits="GameMenuButtonTemplate"> |
||
1012 | <Size> |
||
1013 | <AbsDimension x="80" y="20" /> |
||
1014 | </Size> |
||
1015 | <Anchors> |
||
1016 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_SyncLeave"> |
||
1017 | <Offset> |
||
1018 | <AbsDimension x="10" y="0" /> |
||
1019 | </Offset> |
||
1020 | </Anchor> |
||
1021 | </Anchors> |
||
1022 | <Scripts> |
||
1023 | <OnClick>SW_SyncSendARP(true);</OnClick> |
||
1024 | <OnEnter> |
||
1025 | GameTooltip:SetOwner(this, "ANCHOR_LEFT"); |
||
1026 | GameTooltip:SetText(SW_GS_Tooltips["SW_AllowARP"]); |
||
1027 | </OnEnter> |
||
1028 | <OnLeave> |
||
1029 | GameTooltip:Hide(); |
||
1030 | </OnLeave> |
||
1031 | </Scripts> |
||
1032 | </Button> |
||
1033 | <Button name="$parent_SyncARPN" inherits="GameMenuButtonTemplate"> |
||
1034 | <Size> |
||
1035 | <AbsDimension x="80" y="20" /> |
||
1036 | </Size> |
||
1037 | <Anchors> |
||
1038 | <Anchor point="TOPLEFT" relativePoint="TOPRIGHT" relativeTo="$parent_SyncARPY"> |
||
1039 | <Offset> |
||
1040 | <AbsDimension x="10" y="0" /> |
||
1041 | </Offset> |
||
1042 | </Anchor> |
||
1043 | </Anchors> |
||
1044 | <Scripts> |
||
1045 | <OnClick>SW_SyncSendARP(false);</OnClick> |
||
1046 | <OnEnter> |
||
1047 | GameTooltip:SetOwner(this, "ANCHOR_LEFT"); |
||
1048 | GameTooltip:SetText(SW_GS_Tooltips["SW_DisAllowARP"]); |
||
1049 | </OnEnter> |
||
1050 | <OnLeave> |
||
1051 | GameTooltip:Hide(); |
||
1052 | </OnLeave> |
||
1053 | </Scripts> |
||
1054 | </Button> |
||
1055 | <Button name="$parent_SyncSend" inherits="GameMenuButtonTemplate"> |
||
1056 | <Size> |
||
1057 | <AbsDimension x="80" y="20" /> |
||
1058 | </Size> |
||
1059 | <Anchors> |
||
1060 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
1061 | <Offset> |
||
1062 | <AbsDimension x="10" y="-85" /> |
||
1063 | </Offset> |
||
1064 | </Anchor> |
||
1065 | </Anchors> |
||
1066 | <Scripts> |
||
1067 | <OnClick> |
||
1068 | local sc = getglobal("SW_SetSyncChanTxtFrame").CurrentVal; |
||
1069 | if tonumber(sc) then |
||
1070 | StaticPopup_Show("SW_InvalidChan"); |
||
1071 | else |
||
1072 | if sc ~= NONE then |
||
1073 | sTarget = getglobal(SW_Settings["SyncBCTarget"]).SW_TargetChat; |
||
1074 | SendChatMessage(string.format(SW_SYNC_CHAN_ANNOUNCE, sc), sTarget, nil, nil); |
||
1075 | end |
||
1076 | end |
||
1077 | |||
1078 | this:GetParent():Hide(); |
||
1079 | </OnClick> |
||
1080 | </Scripts> |
||
1081 | </Button> |
||
1082 | <CheckButton name="$parent_OptGuild" inherits="SW_Chk_Template"> |
||
1083 | <Scripts> |
||
1084 | <OnLoad> |
||
1085 | this.swoX = 95; |
||
1086 | this.swoY = -85; |
||
1087 | SW_ChkRegister(this, "", true, "SyncBCTarget"); |
||
1088 | this.SW_TargetChat = "GUILD"; |
||
1089 | </OnLoad> |
||
1090 | <OnClick>SW_ChkClick(this);</OnClick> |
||
1091 | </Scripts> |
||
1092 | </CheckButton> |
||
1093 | <CheckButton name="$parent_OptGroup" inherits="SW_Chk_Template"> |
||
1094 | <Scripts> |
||
1095 | <OnLoad> |
||
1096 | SW_ChkRegister(this, "", false, "SyncBCTarget"); |
||
1097 | this.SW_TargetChat = "PARTY"; |
||
1098 | </OnLoad> |
||
1099 | <OnClick>SW_ChkClick(this);</OnClick> |
||
1100 | </Scripts> |
||
1101 | </CheckButton> |
||
1102 | <CheckButton name="$parent_OptRaid" inherits="SW_Chk_Template"> |
||
1103 | <Scripts> |
||
1104 | <OnLoad> |
||
1105 | SW_ChkRegister(this, "", false, "SyncBCTarget"); |
||
1106 | this.SW_TargetChat = "RAID"; |
||
1107 | </OnLoad> |
||
1108 | <OnClick>SW_ChkClick(this);</OnClick> |
||
1109 | </Scripts> |
||
1110 | </CheckButton> |
||
1111 | </Frames> |
||
1112 | </Frame> |
||
1113 | <Frame name="SW_GeneralSettings" inherits="SW_Frame" enableMouse="true" movable="true" |
||
1114 | frameStrata="MEDIUM" frameLevel="195" parent="UIParent"> |
||
1115 | <Scripts> |
||
1116 | <OnLoad> |
||
1117 | this:SetBackdropBorderColor(SW_COLOR_ACT["r"],SW_COLOR_ACT["g"],SW_COLOR_ACT["b"],1); |
||
1118 | this.chkPerRow = 2; |
||
1119 | </OnLoad> |
||
1120 | <OnShow> |
||
1121 | if ButtonHole and ButtonHole.application.IsOn() then |
||
1122 | SW_GeneralSettingsIconSlider:Hide(); |
||
1123 | SW_GeneralSettingsIconRadiusSlider:Hide(); |
||
1124 | else |
||
1125 | SW_GeneralSettingsIconSlider:Show(); |
||
1126 | SW_GeneralSettingsIconRadiusSlider:Show(); |
||
1127 | end |
||
1128 | if SW_BarSettingsFrameV2:IsVisible() then |
||
1129 | SW_BarSettingsFrameV2:Hide(); |
||
1130 | end |
||
1131 | </OnShow> |
||
1132 | </Scripts> |
||
1133 | <Size> |
||
1134 | <AbsDimension x="310" y="230" /> |
||
1135 | </Size> |
||
1136 | <Anchors> |
||
1137 | <Anchor point="CENTER" /> |
||
1138 | </Anchors> |
||
1139 | <Frames> |
||
1140 | <!-- <Frame name="$parent_Resizer" inherits="SW_Frame_Resize" parent="SW_GeneralSettings" /> --> |
||
1141 | <Frame name="$parent_Title" inherits="SW_BarFrame_Title"> |
||
1142 | <Anchors> |
||
1143 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
1144 | <Offset> |
||
1145 | <AbsDimension x="5" y="-4" /> |
||
1146 | </Offset> |
||
1147 | </Anchor> |
||
1148 | <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT"> |
||
1149 | <Offset> |
||
1150 | <AbsDimension x="-5" y="-24" /> |
||
1151 | </Offset> |
||
1152 | </Anchor> |
||
1153 | </Anchors> |
||
1154 | <Frames> |
||
1155 | <Frame name="$parent_Close" inherits="SW_RoundButton" hidden="false"> |
||
1156 | <Anchors> |
||
1157 | <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT"> |
||
1158 | <Offset> |
||
1159 | <AbsDimension x="-3" y="-3" /> |
||
1160 | </Offset> |
||
1161 | </Anchor> |
||
1162 | </Anchors> |
||
1163 | <Scripts> |
||
1164 | <OnMouseUp>this:GetParent():GetParent():Hide();</OnMouseUp> |
||
1165 | <OnLoad>SW_RoundButtonRegister(this, {1,0,0,0.9}, "X"); |
||
1166 | table.insert(SW_Registered_BF_TitleButtons, this:GetName());</OnLoad> |
||
1167 | </Scripts> |
||
1168 | </Frame> |
||
1169 | </Frames> |
||
1170 | </Frame> |
||
1171 | <CheckButton name="SW_Chk_ShowOnlyFriends" inherits="SW_Chk_Template"> |
||
1172 | <Anchors> |
||
1173 | <Anchor point="TOPLEFT"> |
||
1174 | <Offset> |
||
1175 | <AbsDimension x="1" y="-8" /> |
||
1176 | </Offset> |
||
1177 | </Anchor> |
||
1178 | </Anchors> |
||
1179 | <Scripts> |
||
1180 | <OnLoad> |
||
1181 | this.swoX = 5; |
||
1182 | this.swoY = -25; |
||
1183 | SW_ChkRegister(this, "INF_ShowOnlyFriends", true); |
||
1184 | </OnLoad> |
||
1185 | </Scripts> |
||
1186 | </CheckButton> |
||
1187 | <CheckButton name="SW_Chk_ShowSyncB" inherits="SW_Chk_Template" hidden="false"> |
||
1188 | <Scripts> |
||
1189 | <OnLoad> |
||
1190 | SW_ChkRegister(this, "OPT_ShowSyncB", false); |
||
1191 | </OnLoad> |
||
1192 | <OnClick> |
||
1193 | SW_ChkClick(this); |
||
1194 | if SW_Settings["OPT_ShowSyncB"] ~= nil then |
||
1195 | getglobal("SW_BarFrame1_Title_Sync"):Show(); |
||
1196 | else |
||
1197 | getglobal("SW_BarFrame1_Title_Sync"):Hide(); |
||
1198 | end |
||
1199 | </OnClick> |
||
1200 | </Scripts> |
||
1201 | </CheckButton> |
||
1202 | <CheckButton name="SW_Chk_ShowConsoleB" inherits="SW_Chk_Template" hidden="false"> |
||
1203 | <Scripts> |
||
1204 | <OnLoad>SW_ChkRegister(this, "OPT_ShowConsoleB", false);</OnLoad> |
||
1205 | <OnClick> |
||
1206 | SW_ChkClick(this); |
||
1207 | if SW_Settings["OPT_ShowConsoleB"] ~= nil then |
||
1208 | getglobal("SW_BarFrame1_Title_Console"):Show(); |
||
1209 | else |
||
1210 | getglobal("SW_BarFrame1_Title_Console"):Hide(); |
||
1211 | end |
||
1212 | </OnClick> |
||
1213 | </Scripts> |
||
1214 | </CheckButton> |
||
1215 | <CheckButton name="SW_Chk_ShowDPS" inherits="SW_Chk_Template" hidden="false"> |
||
1216 | <Scripts> |
||
1217 | <OnLoad> |
||
1218 | SW_ChkRegister(this, "OPT_ShowMainWinDPS", false); |
||
1219 | </OnLoad> |
||
1220 | <OnClick> |
||
1221 | SW_ChkClick(this); |
||
1222 | </OnClick> |
||
1223 | </Scripts> |
||
1224 | </CheckButton> |
||
1225 | <!-- TODO: take this out, take translations out, check any dependencies--> |
||
1226 | <CheckButton name="SW_Chk_MergePets" inherits="SW_Chk_Template" hidden="true"> |
||
1227 | <Scripts> |
||
1228 | <OnLoad>SW_ChkRegister(this, "INF_MergePets", false);</OnLoad> |
||
1229 | </Scripts> |
||
1230 | </CheckButton> |
||
1231 | <Frame name="SW_CS_Damage" inherits="SW_ColorSwatch"> |
||
1232 | <Anchors> |
||
1233 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
1234 | <Offset> |
||
1235 | <AbsDimension x="5" y="-70" /> |
||
1236 | </Offset> |
||
1237 | </Anchor> |
||
1238 | </Anchors> |
||
1239 | <Scripts> |
||
1240 | <OnShow> |
||
1241 | this.TargetColor = SW_Settings["Colors"]["Damage"]; |
||
1242 | this.What = "DIRECT"; |
||
1243 | this:SetColor(this.TargetColor); |
||
1244 | </OnShow> |
||
1245 | </Scripts> |
||
1246 | </Frame> |
||
1247 | <Frame name="SW_CS_Heal" inherits="SW_ColorSwatch"> |
||
1248 | <Anchors> |
||
1249 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="SW_CS_Damage"> |
||
1250 | <Offset> |
||
1251 | <AbsDimension x="150" y="0" /> |
||
1252 | </Offset> |
||
1253 | </Anchor> |
||
1254 | </Anchors> |
||
1255 | <Scripts> |
||
1256 | <OnShow> |
||
1257 | this.TargetColor = SW_Settings["Colors"]["Heal"]; |
||
1258 | this.What = "DIRECT"; |
||
1259 | this:SetColor(this.TargetColor); |
||
1260 | </OnShow> |
||
1261 | </Scripts> |
||
1262 | </Frame> |
||
1263 | <Frame name="SW_CS_TitleBar" inherits="SW_ColorSwatch"> |
||
1264 | <Anchors> |
||
1265 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="SW_CS_Damage"> |
||
1266 | <Offset> |
||
1267 | <AbsDimension x="0" y="-5" /> |
||
1268 | </Offset> |
||
1269 | </Anchor> |
||
1270 | </Anchors> |
||
1271 | <Scripts> |
||
1272 | <OnShow> |
||
1273 | this.TargetColor = SW_Settings["Colors"]["TitleBars"]; |
||
1274 | this.What = "DIRECT"; |
||
1275 | this.CallOnUpdate = SW_UpdateTitleColor; |
||
1276 | this:SetColor(this.TargetColor); |
||
1277 | </OnShow> |
||
1278 | </Scripts> |
||
1279 | </Frame> |
||
1280 | <Frame name="SW_CS_TitleFont" inherits="SW_ColorSwatch"> |
||
1281 | <Anchors> |
||
1282 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="SW_CS_Heal"> |
||
1283 | <Offset> |
||
1284 | <AbsDimension x="0" y="-5" /> |
||
1285 | </Offset> |
||
1286 | </Anchor> |
||
1287 | </Anchors> |
||
1288 | <Scripts> |
||
1289 | <OnShow> |
||
1290 | this.TargetColor = SW_Settings["Colors"]["TitleBarsFont"]; |
||
1291 | this.What = "DIRECT"; |
||
1292 | this.CallOnUpdate = SW_UpdateTitleTextColor; |
||
1293 | this:SetColor(this.TargetColor); |
||
1294 | </OnShow> |
||
1295 | </Scripts> |
||
1296 | </Frame> |
||
1297 | <Frame name="SW_CS_Backdrops" inherits="SW_ColorSwatch"> |
||
1298 | <Anchors> |
||
1299 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="SW_CS_TitleBar"> |
||
1300 | <Offset> |
||
1301 | <AbsDimension x="0" y="-5" /> |
||
1302 | </Offset> |
||
1303 | </Anchor> |
||
1304 | </Anchors> |
||
1305 | <Scripts> |
||
1306 | <OnShow> |
||
1307 | this.TargetColor = SW_Settings["Colors"]["Backdrops"]; |
||
1308 | this.What = "DIRECT"; |
||
1309 | this.CallOnUpdate = SW_UpdateFrameBackdrops; |
||
1310 | this:SetColor(this.TargetColor); |
||
1311 | </OnShow> |
||
1312 | </Scripts> |
||
1313 | </Frame> |
||
1314 | <Frame name="SW_CS_MainWinBack" inherits="SW_ColorSwatch"> |
||
1315 | <Anchors> |
||
1316 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="SW_CS_TitleFont"> |
||
1317 | <Offset> |
||
1318 | <AbsDimension x="0" y="-5" /> |
||
1319 | </Offset> |
||
1320 | </Anchor> |
||
1321 | </Anchors> |
||
1322 | <Scripts> |
||
1323 | <OnShow> |
||
1324 | this.TargetColor = SW_Settings["Colors"]["MainWinBack"]; |
||
1325 | this.What = "DIRECT"; |
||
1326 | this.CallOnUpdate = SW_UpdateMainWinBack; |
||
1327 | this:SetColor(this.TargetColor); |
||
1328 | </OnShow> |
||
1329 | </Scripts> |
||
1330 | </Frame> |
||
1331 | <Frame name="SW_CS_ClassCAlpha" inherits="SW_ColorSwatch"> |
||
1332 | <Anchors> |
||
1333 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="SW_CS_Backdrops"> |
||
1334 | <Offset> |
||
1335 | <AbsDimension x="0" y="-5" /> |
||
1336 | </Offset> |
||
1337 | </Anchor> |
||
1338 | </Anchors> |
||
1339 | <Scripts> |
||
1340 | <OnShow> |
||
1341 | SW_DummyColor = {1,1,1, SW_Settings["Colors"]["MAGE"][4]}; |
||
1342 | this.TargetColor = SW_DummyColor; |
||
1343 | this.What = "DIRECT"; |
||
1344 | this.CallOnUpdate = SW_UpdateClassColorAlpha; |
||
1345 | this:SetColor(this.TargetColor); |
||
1346 | </OnShow> |
||
1347 | </Scripts> |
||
1348 | </Frame> |
||
1349 | <Slider name="SW_OptCountSlider" inherits="SW_OptSlider"> |
||
1350 | <Size> |
||
1351 | <AbsDimension x="150" y="17" /> |
||
1352 | </Size> |
||
1353 | <Anchors> |
||
1354 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="SW_CS_ClassCAlpha"> |
||
1355 | <Offset> |
||
1356 | <AbsDimension x="0" y="-10" /> |
||
1357 | </Offset> |
||
1358 | </Anchor> |
||
1359 | <Anchor point="TOPRIGHT" relativePoint="RIGHT"> |
||
1360 | <Offset> |
||
1361 | <AbsDimension x="-5" y="0" /> |
||
1362 | </Offset> |
||
1363 | </Anchor> |
||
1364 | </Anchors> |
||
1365 | <Scripts> |
||
1366 | <OnLoad> |
||
1367 | getglobal(this:GetName().."High"):SetText(SW_OPT_COUNT); |
||
1368 | getglobal(this:GetName().."Low"):SetText("0"); |
||
1369 | this:SetMinMaxValues(0, SW_OPT_COUNT); |
||
1370 | this:SetValueStep(1); |
||
1371 | </OnLoad> |
||
1372 | <OnShow> |
||
1373 | this:SetValue(SW_Settings["QuickOptCount"]); |
||
1374 | getglobal(this:GetName().."Text"):SetText("# "..this:GetValue()); |
||
1375 | </OnShow> |
||
1376 | <OnValueChanged> |
||
1377 | SW_Settings["QuickOptCount"] = this:GetValue(); |
||
1378 | getglobal(this:GetName().."Text"):SetText("# "..this:GetValue()); |
||
1379 | SW_UpdateOptVis(true); |
||
1380 | </OnValueChanged> |
||
1381 | </Scripts> |
||
1382 | </Slider> |
||
1383 | <Slider name="$parentIconSlider" inherits="OptionsSliderTemplate"> |
||
1384 | <Size> |
||
1385 | <AbsDimension x="140" y="17" /> |
||
1386 | </Size> |
||
1387 | <Anchors> |
||
1388 | <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT"> |
||
1389 | <Offset> |
||
1390 | <AbsDimension x="8" y="8" /> |
||
1391 | </Offset> |
||
1392 | </Anchor> |
||
1393 | </Anchors> |
||
1394 | <Scripts> |
||
1395 | <OnLoad> |
||
1396 | getglobal(this:GetName().."High"):SetText(); |
||
1397 | getglobal(this:GetName().."Low"):SetText(); |
||
1398 | this:SetMinMaxValues(0, 360); |
||
1399 | this:SetValueStep(1); |
||
1400 | </OnLoad> |
||
1401 | <OnShow> |
||
1402 | if SW_Settings["SW_IconPos"] ~= nil then |
||
1403 | this:SetValue(SW_Settings["SW_IconPos"]); |
||
1404 | else |
||
1405 | this:SetValue(20); |
||
1406 | SW_Settings["SW_IconPos"] = 20; |
||
1407 | end |
||
1408 | getglobal(this:GetName().."Text"):SetText("SW Icon "..this:GetValue().."\194\176"); |
||
1409 | </OnShow> |
||
1410 | <OnValueChanged> |
||
1411 | if SW_Settings["SW_IconPosR"] == nil then |
||
1412 | SW_Settings["SW_IconPosR"] =80; |
||
1413 | end |
||
1414 | SW_Settings["SW_IconPos"] = this:GetValue(); |
||
1415 | getglobal(this:GetName().."Text"):SetText("SW Icon "..this:GetValue().."\194\176"); |
||
1416 | SW_UpdateIconPos(); |
||
1417 | |||
1418 | </OnValueChanged> |
||
1419 | </Scripts> |
||
1420 | </Slider> |
||
1421 | <Slider name="$parentIconRadiusSlider" inherits="OptionsSliderTemplate"> |
||
1422 | <Size> |
||
1423 | <AbsDimension x="140" y="17" /> |
||
1424 | </Size> |
||
1425 | <Anchors> |
||
1426 | <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMRIGHT" relativeTo="$parentIconSlider"> |
||
1427 | <Offset> |
||
1428 | <AbsDimension x="8" y="0" /> |
||
1429 | </Offset> |
||
1430 | </Anchor> |
||
1431 | </Anchors> |
||
1432 | <Scripts> |
||
1433 | <OnLoad> |
||
1434 | getglobal(this:GetName().."High"):SetText(); |
||
1435 | getglobal(this:GetName().."Low"):SetText(); |
||
1436 | this:SetMinMaxValues(40, 150); |
||
1437 | this:SetValueStep(1); |
||
1438 | </OnLoad> |
||
1439 | <OnShow> |
||
1440 | if SW_Settings["SW_IconPosR"] ~= nil then |
||
1441 | this:SetValue(SW_Settings["SW_IconPosR"]); |
||
1442 | else |
||
1443 | this:SetValue(80); |
||
1444 | SW_Settings["SW_IconPosR"] = 80; |
||
1445 | end |
||
1446 | getglobal(this:GetName().."Text"):SetText("SW Icon "..this:GetValue().."r"); |
||
1447 | </OnShow> |
||
1448 | <OnValueChanged> |
||
1449 | SW_Settings["SW_IconPosR"] = this:GetValue(); |
||
1450 | getglobal(this:GetName().."Text"):SetText("SW Icon "..this:GetValue().."r"); |
||
1451 | SW_UpdateIconPos(); |
||
1452 | |||
1453 | </OnValueChanged> |
||
1454 | </Scripts> |
||
1455 | </Slider> |
||
1456 | </Frames> |
||
1457 | </Frame> |
||
1458 | <Frame name="SW_BarSettingsFrameV2" inherits="SW_Frame" enableMouse="true" movable="true" |
||
1459 | frameStrata="MEDIUM" frameLevel="160" parent="UIParent"> |
||
1460 | <Scripts> |
||
1461 | <OnLoad>this:SetBackdropBorderColor(SW_COLOR_ACT["r"],SW_COLOR_ACT["g"],SW_COLOR_ACT["b"],1); |
||
1462 | |||
1463 | </OnLoad> |
||
1464 | <OnShow>if SW_GeneralSettings:IsVisible() then |
||
1465 | SW_GeneralSettings:Hide(); |
||
1466 | end |
||
1467 | </OnShow> |
||
1468 | </Scripts> |
||
1469 | <Size> |
||
1470 | <AbsDimension x="275" y="260" /> |
||
1471 | </Size> |
||
1472 | <Anchors> |
||
1473 | <Anchor point="CENTER" /> |
||
1474 | </Anchors> |
||
1475 | <Frames> |
||
1476 | <!-- <Frame name="$parent_Resizer" inherits="SW_Frame_Resize" parent="SW_BarSettingsFrameV2" /> --> |
||
1477 | <Frame name="$parent_Title" inherits="SW_BarFrame_Title"> |
||
1478 | <Anchors> |
||
1479 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
1480 | <Offset> |
||
1481 | <AbsDimension x="5" y="-4" /> |
||
1482 | </Offset> |
||
1483 | </Anchor> |
||
1484 | <Anchor point="BOTTOMRIGHT" relativePoint="TOPRIGHT"> |
||
1485 | <Offset> |
||
1486 | <AbsDimension x="-5" y="-24" /> |
||
1487 | </Offset> |
||
1488 | </Anchor> |
||
1489 | </Anchors> |
||
1490 | <Frames> |
||
1491 | <Frame name="$parent_Close" inherits="SW_RoundButton" hidden="false"> |
||
1492 | <Anchors> |
||
1493 | <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT"> |
||
1494 | <Offset> |
||
1495 | <AbsDimension x="-3" y="-3" /> |
||
1496 | </Offset> |
||
1497 | </Anchor> |
||
1498 | </Anchors> |
||
1499 | <Scripts> |
||
1500 | <OnMouseUp>this:GetParent():GetParent():Hide();</OnMouseUp> |
||
1501 | <OnLoad>SW_RoundButtonRegister(this, {1,0,0,0.9}, "X"); |
||
1502 | table.insert(SW_Registered_BF_TitleButtons, this:GetName());</OnLoad> |
||
1503 | </Scripts> |
||
1504 | </Frame> |
||
1505 | </Frames> |
||
1506 | </Frame> |
||
1507 | <Frame name="SW_BarSettings_Data" hidden="false"> |
||
1508 | <Anchors> |
||
1509 | <Anchor point="TOPLEFT"> |
||
1510 | <Offset> |
||
1511 | <AbsDimension x="10" y="-35" /> |
||
1512 | </Offset> |
||
1513 | </Anchor> |
||
1514 | <Anchor point="BOTTOMRIGHT"> |
||
1515 | <Offset> |
||
1516 | <AbsDimension x="2" y="10" /> |
||
1517 | </Offset> |
||
1518 | </Anchor> |
||
1519 | </Anchors> |
||
1520 | <Frames> |
||
1521 | <CheckButton name="SW_OptChk_Rank" inherits="SW_OptChk_TT" hidden="false"> |
||
1522 | <Size> |
||
1523 | <AbsDimension x="20" y="20" /> |
||
1524 | </Size> |
||
1525 | <Anchors> |
||
1526 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
1527 | <Offset> |
||
1528 | <AbsDimension x="0" y="0" /> |
||
1529 | </Offset> |
||
1530 | </Anchor> |
||
1531 | </Anchors> |
||
1532 | <Scripts> |
||
1533 | <OnShow> |
||
1534 | local barSettings = SW_GetBarSettings(this:GetParent().caller); |
||
1535 | this:SetChecked(barSettings["ShowRank"]); |
||
1536 | </OnShow> |
||
1537 | <OnClick> |
||
1538 | local barSettings = SW_GetBarSettings(this:GetParent().caller); |
||
1539 | if this:GetChecked() then |
||
1540 | barSettings["ShowRank"] = 1; |
||
1541 | else |
||
1542 | barSettings["ShowRank"] = nil; |
||
1543 | end |
||
1544 | </OnClick> |
||
1545 | </Scripts> |
||
1546 | </CheckButton> |
||
1547 | <CheckButton name="SW_OptChk_Num" inherits="SW_OptChk_TT" hidden="false"> |
||
1548 | <Size> |
||
1549 | <AbsDimension x="20" y="20" /> |
||
1550 | </Size> |
||
1551 | <Anchors> |
||
1552 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="SW_OptChk_Rank"> |
||
1553 | <Offset> |
||
1554 | <AbsDimension x="55" y="0" /> |
||
1555 | </Offset> |
||
1556 | </Anchor> |
||
1557 | </Anchors> |
||
1558 | <Scripts> |
||
1559 | <OnShow> |
||
1560 | local barSettings = SW_GetBarSettings(this:GetParent().caller); |
||
1561 | this:SetChecked(barSettings["ShowNumber"]); |
||
1562 | </OnShow> |
||
1563 | <OnClick> |
||
1564 | local barSettings = SW_GetBarSettings(this:GetParent().caller); |
||
1565 | if this:GetChecked() then |
||
1566 | barSettings["ShowNumber"] = 1; |
||
1567 | else |
||
1568 | barSettings["ShowNumber"] = nil; |
||
1569 | end |
||
1570 | </OnClick> |
||
1571 | </Scripts> |
||
1572 | </CheckButton> |
||
1573 | <CheckButton name="SW_OptChk_Percent" inherits="SW_OptChk_TT" hidden="false"> |
||
1574 | <Size> |
||
1575 | <AbsDimension x="20" y="20" /> |
||
1576 | </Size> |
||
1577 | <Anchors> |
||
1578 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="SW_OptChk_Num"> |
||
1579 | <Offset> |
||
1580 | <AbsDimension x="70" y="0" /> |
||
1581 | </Offset> |
||
1582 | </Anchor> |
||
1583 | </Anchors> |
||
1584 | <Scripts> |
||
1585 | <OnShow> |
||
1586 | local barSettings = SW_GetBarSettings(this:GetParent().caller); |
||
1587 | this:SetChecked(barSettings["ShowPercent"]); |
||
1588 | </OnShow> |
||
1589 | <OnClick> |
||
1590 | local barSettings = SW_GetBarSettings(this:GetParent().caller); |
||
1591 | if this:GetChecked() then |
||
1592 | barSettings["ShowPercent"] = 1; |
||
1593 | else |
||
1594 | barSettings["ShowPercent"] = nil; |
||
1595 | end |
||
1596 | </OnClick> |
||
1597 | </Scripts> |
||
1598 | </CheckButton> |
||
1599 | <Slider name="SW_InfoTypeSlider" inherits="SW_OptSlider"> |
||
1600 | <Size> |
||
1601 | <AbsDimension x="160" y="17" /> |
||
1602 | </Size> |
||
1603 | <Anchors> |
||
1604 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="SW_OptChk_Rank"> |
||
1605 | <Offset> |
||
1606 | <AbsDimension x="0" y="-15" /> |
||
1607 | </Offset> |
||
1608 | </Anchor> |
||
1609 | <Anchor point="RIGHT"> |
||
1610 | <Offset> |
||
1611 | <AbsDimension x="-10" y="0" /> |
||
1612 | </Offset> |
||
1613 | </Anchor> |
||
1614 | </Anchors> |
||
1615 | <Scripts> |
||
1616 | <OnLoad> |
||
1617 | getglobal(this:GetName().."Low"):SetText("1"); |
||
1618 | getglobal(this:GetName().."High"):SetText(getn(SW_InfoTypes)); |
||
1619 | this:SetMinMaxValues(1, getn(SW_InfoTypes)); |
||
1620 | this:SetValueStep(1); |
||
1621 | |||
1622 | </OnLoad> |
||
1623 | <OnShow> |
||
1624 | local barSettings = SW_GetBarSettings(this:GetParent().caller); |
||
1625 | this:SetValue(barSettings["IN"]); |
||
1626 | getglobal(this:GetName().."Text"):SetText("Info:"..SW_InfoTypes[this:GetValue()]["t"]); |
||
1627 | </OnShow> |
||
1628 | <OnValueChanged> |
||
1629 | local oP = this:GetParent(); |
||
1630 | local type = SW_InfoTypes[this:GetValue()]; |
||
1631 | |||
1632 | local barSettings = SW_GetBarSettings(oP.caller); |
||
1633 | getglobal(this:GetName().."Text"):SetText("Info:"..type["t"]); |
||
1634 | barSettings["IN"] = this:GetValue(); |
||
1635 | |||
1636 | getglobal("SW_InfoLbl"):SetText(type["d"]); |
||
1637 | |||
1638 | if type["varType"] == nil then |
||
1639 | getglobal(oP:GetName().."_VarText"):Hide(); |
||
1640 | getglobal(oP:GetName().."_Filters"):Show(); |
||
1641 | else |
||
1642 | getglobal(oP:GetName().."_Filters"):Hide(); |
||
1643 | if type["varType"] == "TEXT" then |
||
1644 | getglobal(oP:GetName().."_Filters"):Hide(); |
||
1645 | getglobal(oP:GetName().."_VarText"):Show(); |
||
1646 | elseif type["varType"] == "SELF" then |
||
1647 | getglobal(oP:GetName().."_Filters"):Hide(); |
||
1648 | getglobal(oP:GetName().."_VarText"):Hide(); |
||
1649 | elseif type["varType"] == "NONE" then |
||
1650 | getglobal(oP:GetName().."_Filters"):Hide(); |
||
1651 | getglobal(oP:GetName().."_VarText"):Hide(); |
||
1652 | elseif type["varType"] == "PETONLY" then |
||
1653 | getglobal(oP:GetName().."_Filters"):Hide(); |
||
1654 | getglobal(oP:GetName().."_VarText"):Hide(); |
||
1655 | end |
||
1656 | end |
||
1657 | SW_UpdateColor(oP.caller); |
||
1658 | </OnValueChanged> |
||
1659 | </Scripts> |
||
1660 | </Slider> |
||
1661 | <Frame name="$parent_InfoDescription" hidden="false"> |
||
1662 | <Anchors> |
||
1663 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="SW_InfoTypeSlider"> |
||
1664 | <Offset> |
||
1665 | <AbsDimension x="0" y="-10" /> |
||
1666 | </Offset> |
||
1667 | </Anchor> |
||
1668 | <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT"> |
||
1669 | <Offset> |
||
1670 | <AbsDimension x="-10" y="10" /> |
||
1671 | </Offset> |
||
1672 | </Anchor> |
||
1673 | </Anchors> |
||
1674 | <Layers> |
||
1675 | <Layer> |
||
1676 | <FontString name="SW_InfoLbl" inherits="GameFontNormalSmall" maxLines="5" justifyV="TOP" justifyH="LEFT" |
||
1677 | text="TmpTxt"> |
||
1678 | <Anchors> |
||
1679 | <Anchor point="TOPLEFT" /> |
||
1680 | <Anchor point="BOTTOMRIGHT" /> |
||
1681 | </Anchors> |
||
1682 | </FontString> |
||
1683 | </Layer> |
||
1684 | </Layers> |
||
1685 | </Frame> |
||
1686 | <Frame name="$parent_Filters" hidden="true"> |
||
1687 | <Size> |
||
1688 | <AbsDimension x="300" y="200" /> |
||
1689 | </Size> |
||
1690 | <Scripts> |
||
1691 | <OnShow> |
||
1692 | local barSettings = SW_GetBarSettings(this:GetParent().caller); |
||
1693 | if barSettings["SF"] == nil then |
||
1694 | SW_SelectFilter("SW_Filter_None"); |
||
1695 | else |
||
1696 | SW_SelectFilter(barSettings["SF"]); |
||
1697 | end |
||
1698 | </OnShow> |
||
1699 | </Scripts> |
||
1700 | <Anchors> |
||
1701 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="SW_OptChk_Rank"> |
||
1702 | <Offset> |
||
1703 | <AbsDimension x="0" y="-100" /> |
||
1704 | </Offset> |
||
1705 | </Anchor> |
||
1706 | <Anchor point="BOTTOMRIGHT"> |
||
1707 | <Offset> |
||
1708 | <AbsDimension x="-10" y="10" /> |
||
1709 | </Offset> |
||
1710 | </Anchor> |
||
1711 | </Anchors> |
||
1712 | <Layers> |
||
1713 | <Layer> |
||
1714 | <FontString name="$parent_Lbl" inherits="GameFontNormalSmall" text="Filter:"> |
||
1715 | <Anchors> |
||
1716 | <Anchor point="TOPLEFT" /> |
||
1717 | </Anchors> |
||
1718 | </FontString> |
||
1719 | </Layer> |
||
1720 | </Layers> |
||
1721 | <Frames> |
||
1722 | <CheckButton name="SW_Filter_None" inherits="SW_OptChk_TT" hidden="false"> |
||
1723 | <Size> |
||
1724 | <AbsDimension x="20" y="20" /> |
||
1725 | </Size> |
||
1726 | <Scripts> |
||
1727 | <OnLoad>this.SW_Filter="NONE"</OnLoad> |
||
1728 | <OnClick> |
||
1729 | SW_SelectFilter("SW_Filter_None"); |
||
1730 | local barSettings = SW_GetBarSettings(this:GetParent():GetParent().caller); |
||
1731 | barSettings["SF"] = this:GetName(); |
||
1732 | </OnClick> |
||
1733 | </Scripts> |
||
1734 | <Anchors> |
||
1735 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
1736 | <Offset> |
||
1737 | <AbsDimension x="35" y="5" /> |
||
1738 | </Offset> |
||
1739 | </Anchor> |
||
1740 | </Anchors> |
||
1741 | </CheckButton> |
||
1742 | <CheckButton name="SW_Filter_PC" inherits="SW_OptChk_TT" hidden="false"> |
||
1743 | <Size> |
||
1744 | <AbsDimension x="20" y="20" /> |
||
1745 | </Size> |
||
1746 | <Scripts> |
||
1747 | <OnLoad>this.SW_Filter="PC"</OnLoad> |
||
1748 | <OnClick> |
||
1749 | SW_SelectFilter("SW_Filter_PC"); |
||
1750 | local barSettings = SW_GetBarSettings(this:GetParent():GetParent().caller); |
||
1751 | barSettings["SF"] = this:GetName(); |
||
1752 | </OnClick> |
||
1753 | </Scripts> |
||
1754 | <Anchors> |
||
1755 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
1756 | <Offset> |
||
1757 | <AbsDimension x="0" y="-15" /> |
||
1758 | </Offset> |
||
1759 | </Anchor> |
||
1760 | </Anchors> |
||
1761 | </CheckButton> |
||
1762 | <CheckButton name="SW_Filter_NPC" inherits="SW_OptChk_TT" hidden="false"> |
||
1763 | <Size> |
||
1764 | <AbsDimension x="20" y="20" /> |
||
1765 | </Size> |
||
1766 | <Scripts> |
||
1767 | <OnLoad>this.SW_Filter="NPC"</OnLoad> |
||
1768 | <OnClick> |
||
1769 | SW_SelectFilter("SW_Filter_NPC"); |
||
1770 | local barSettings = SW_GetBarSettings(this:GetParent():GetParent().caller); |
||
1771 | barSettings["SF"] = this:GetName(); |
||
1772 | </OnClick> |
||
1773 | </Scripts> |
||
1774 | <Anchors> |
||
1775 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="SW_Filter_PC"> |
||
1776 | <Offset> |
||
1777 | <AbsDimension x="33" y="0" /> |
||
1778 | </Offset> |
||
1779 | </Anchor> |
||
1780 | </Anchors> |
||
1781 | </CheckButton> |
||
1782 | <CheckButton name="SW_Filter_Group" inherits="SW_OptChk_TT" hidden="false"> |
||
1783 | <Size> |
||
1784 | <AbsDimension x="20" y="20" /> |
||
1785 | </Size> |
||
1786 | <Scripts> |
||
1787 | <OnLoad>this.SW_Filter="GROUP"</OnLoad> |
||
1788 | <OnClick> |
||
1789 | SW_SelectFilter("SW_Filter_Group"); |
||
1790 | local barSettings = SW_GetBarSettings(this:GetParent():GetParent().caller); |
||
1791 | barSettings["SF"] = this:GetName(); |
||
1792 | </OnClick> |
||
1793 | </Scripts> |
||
1794 | <Anchors> |
||
1795 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="SW_Filter_NPC"> |
||
1796 | <Offset> |
||
1797 | <AbsDimension x="43" y="0" /> |
||
1798 | </Offset> |
||
1799 | </Anchor> |
||
1800 | </Anchors> |
||
1801 | </CheckButton> |
||
1802 | <CheckButton name="SW_Filter_EverGroup" inherits="SW_OptChk_TT" hidden="false"> |
||
1803 | <Size> |
||
1804 | <AbsDimension x="20" y="20" /> |
||
1805 | </Size> |
||
1806 | <Scripts> |
||
1807 | <OnLoad>this.SW_Filter="EGROUP"</OnLoad> |
||
1808 | <OnClick> |
||
1809 | SW_SelectFilter("SW_Filter_EverGroup"); |
||
1810 | local barSettings = SW_GetBarSettings(this:GetParent():GetParent().caller); |
||
1811 | barSettings["SF"] = this:GetName(); |
||
1812 | </OnClick> |
||
1813 | </Scripts> |
||
1814 | <Anchors> |
||
1815 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
1816 | <Offset> |
||
1817 | <AbsDimension x="0" y="-35" /> |
||
1818 | </Offset> |
||
1819 | </Anchor> |
||
1820 | </Anchors> |
||
1821 | </CheckButton> |
||
1822 | <Slider name="SW_ClassFilterSlider" inherits="SW_OptSlider"> |
||
1823 | <Size> |
||
1824 | <AbsDimension x="160" y="17" /> |
||
1825 | </Size> |
||
1826 | <Anchors> |
||
1827 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="SW_Filter_EverGroup"> |
||
1828 | <Offset> |
||
1829 | <AbsDimension x="0" y="-15" /> |
||
1830 | </Offset> |
||
1831 | </Anchor> |
||
1832 | <Anchor point="RIGHT"> |
||
1833 | <Offset> |
||
1834 | <AbsDimension x="0" y="0" /> |
||
1835 | </Offset> |
||
1836 | </Anchor> |
||
1837 | </Anchors> |
||
1838 | <Scripts> |
||
1839 | <OnLoad> |
||
1840 | getglobal(this:GetName().."Low"):SetText("1"); |
||
1841 | getglobal(this:GetName().."High"):SetText(10); |
||
1842 | this:SetMinMaxValues(1, 10); |
||
1843 | this:SetValueStep(1); |
||
1844 | |||
1845 | </OnLoad> |
||
1846 | <OnShow> |
||
1847 | local barSettings = SW_GetBarSettings(this:GetParent():GetParent().caller); |
||
1848 | if barSettings["CF"] == nil then |
||
1849 | barSettings["CF"] = 1; |
||
1850 | end |
||
1851 | |||
1852 | this:SetValue(barSettings["CF"]); |
||
1853 | |||
1854 | </OnShow> |
||
1855 | <OnValueChanged> |
||
1856 | local barSettings = SW_GetBarSettings(this:GetParent():GetParent().caller); |
||
1857 | barSettings["CF"] = this:GetValue(); |
||
1858 | local dispText = ""; |
||
1859 | if barSettings["CF"] == 1 then |
||
1860 | dispText = NONE; |
||
1861 | else |
||
1862 | dispText = SW_ClassNames[ SW_ClassFilters[ barSettings["CF"] ] ]; |
||
1863 | if dispText == "" then |
||
1864 | dispText = SW_ClassFilters[ barSettings["CF"] ]; |
||
1865 | end |
||
1866 | end |
||
1867 | getglobal(this:GetName().."Text"):SetText(dispText); |
||
1868 | </OnValueChanged> |
||
1869 | </Scripts> |
||
1870 | </Slider> |
||
1871 | </Frames> |
||
1872 | </Frame> |
||
1873 | <Frame name="$parent_VarText"> |
||
1874 | <Size> |
||
1875 | <AbsDimension x="300" y="40" /> |
||
1876 | </Size> |
||
1877 | <Anchors> |
||
1878 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="SW_OptChk_Rank"> |
||
1879 | <Offset> |
||
1880 | <AbsDimension x="0" y="-100" /> |
||
1881 | </Offset> |
||
1882 | </Anchor> |
||
1883 | <Anchor point="BOTTOMRIGHT"> |
||
1884 | <Offset> |
||
1885 | <AbsDimension x="-10" y="10" /> |
||
1886 | </Offset> |
||
1887 | </Anchor> |
||
1888 | </Anchors> |
||
1889 | <Layers> |
||
1890 | <Layer> |
||
1891 | <FontString name="SW_VarInfoLbl" inherits="GameFontNormalSmall" maxLines="5" justifyV="TOP" |
||
1892 | justifyH="LEFT" text="TmpTxt"> |
||
1893 | <Anchors> |
||
1894 | <Anchor point="TOPLEFT" /> |
||
1895 | <Anchor point="BOTTOMRIGHT" /> |
||
1896 | </Anchors> |
||
1897 | </FontString> |
||
1898 | </Layer> |
||
1899 | </Layers> |
||
1900 | <Frames> |
||
1901 | <Frame name="SW_SetInfoVarTxtFrame" inherits="SW_Frame_EditTxt"> |
||
1902 | <Size> |
||
1903 | <AbsDimension x="200" y="300" /> |
||
1904 | </Size> |
||
1905 | <Anchors> |
||
1906 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
1907 | <Offset> |
||
1908 | <AbsDimension x="0" y="-40" /> |
||
1909 | </Offset> |
||
1910 | </Anchor> |
||
1911 | </Anchors> |
||
1912 | <Scripts> |
||
1913 | <OnShow> |
||
1914 | local barSettings = SW_GetBarSettings(this:GetParent():GetParent().caller); |
||
1915 | this.SWUpdateFunc = SW_UpdateTextSetting; |
||
1916 | this.SWUpdateInfo = {this:GetParent():GetParent().caller, "TV"}; |
||
1917 | |||
1918 | if barSettings["TV"] == nil then |
||
1919 | this.CurrentVal = ""; |
||
1920 | else |
||
1921 | this.CurrentVal = barSettings["TV"]; |
||
1922 | end |
||
1923 | this:ChangeText(); |
||
1924 | </OnShow> |
||
1925 | </Scripts> |
||
1926 | </Frame> |
||
1927 | <Button name="SW_SetInfoVarFromTarget" inherits="GameMenuButtonTemplate" text="FromTarget"> |
||
1928 | <Size> |
||
1929 | <AbsDimension x="80" y="20" /> |
||
1930 | </Size> |
||
1931 | <Anchors> |
||
1932 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="SW_SetInfoVarTxtFrame"> |
||
1933 | <Offset> |
||
1934 | <AbsDimension x="0" y="-25" /> |
||
1935 | </Offset> |
||
1936 | </Anchor> |
||
1937 | </Anchors> |
||
1938 | <Scripts> |
||
1939 | <OnClick> |
||
1940 | local unitName = UnitName("target"); |
||
1941 | if unitName == nil then return; end |
||
1942 | --getglobal(this:GetParent():GetName().."_EditBox"):SetText(unitName); |
||
1943 | local barSettings = SW_GetBarSettings(this:GetParent():GetParent().caller); |
||
1944 | barSettings["TV"] = unitName; |
||
1945 | local tf = getglobal("SW_SetInfoVarTxtFrame"); |
||
1946 | tf.CurrentVal = barSettings["TV"]; |
||
1947 | tf:ChangeText(); |
||
1948 | </OnClick> |
||
1949 | </Scripts> |
||
1950 | </Button> |
||
1951 | </Frames> |
||
1952 | </Frame> |
||
1953 | </Frames> |
||
1954 | </Frame> |
||
1955 | <Frame name="$parent_Tab1" inherits="SW_Frame_Tab" parent="SW_BarSettingsFrameV2"> |
||
1956 | <Scripts> |
||
1957 | <OnLoad>SW_TabRegister(this, "SW_BarSettings_Data", true);</OnLoad> |
||
1958 | </Scripts> |
||
1959 | </Frame> |
||
1960 | <Frame name="SW_BarSettings_Visuals" hidden="true"> |
||
1961 | <Anchors> |
||
1962 | <Anchor point="TOPLEFT"> |
||
1963 | <Offset> |
||
1964 | <AbsDimension x="4" y="-35" /> |
||
1965 | </Offset> |
||
1966 | </Anchor> |
||
1967 | <Anchor point="BOTTOMRIGHT"> |
||
1968 | <Offset> |
||
1969 | <AbsDimension x="2" y="10" /> |
||
1970 | </Offset> |
||
1971 | </Anchor> |
||
1972 | </Anchors> |
||
1973 | <Frames> |
||
1974 | <!-- |
||
1975 | <Slider name="SW_BarWidthSlider" inherits="SW_OptSlider"> |
||
1976 | <Size> |
||
1977 | <AbsDimension x="200" y="17" /> |
||
1978 | </Size> |
||
1979 | <Anchors> |
||
1980 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
1981 | <Offset> |
||
1982 | <AbsDimension x="45" y="0" /> |
||
1983 | </Offset> |
||
1984 | </Anchor> |
||
1985 | </Anchors> |
||
1986 | <Scripts> |
||
1987 | <OnLoad>SW_InitSlider(this, 64, 256, "BW");</OnLoad> |
||
1988 | </Scripts> |
||
1989 | </Slider> |
||
1990 | --> |
||
1991 | <Slider name="SW_ColCountSlider" inherits="SW_OptSlider"> |
||
1992 | <Size> |
||
1993 | <AbsDimension x="200" y="17" /> |
||
1994 | </Size> |
||
1995 | <Anchors> |
||
1996 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
1997 | <Offset> |
||
1998 | <AbsDimension x="45" y="0" /> |
||
1999 | </Offset> |
||
2000 | </Anchor> |
||
2001 | </Anchors> |
||
2002 | <Scripts> |
||
2003 | <OnLoad>SW_InitSlider(this, 1, 5, "COLC");</OnLoad> |
||
2004 | </Scripts> |
||
2005 | </Slider> |
||
2006 | <Slider name="SW_BarHeightSlider" inherits="SW_OptSlider" orientation="VERTICAL"> |
||
2007 | <Size> |
||
2008 | <AbsDimension x="12" y="150" /> |
||
2009 | </Size> |
||
2010 | <Anchors> |
||
2011 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
2012 | <Offset> |
||
2013 | <AbsDimension x="15" y="0" /> |
||
2014 | </Offset> |
||
2015 | </Anchor> |
||
2016 | </Anchors> |
||
2017 | <Scripts> |
||
2018 | <OnLoad>SW_InitSlider(this, 4, 32, "BH");</OnLoad> |
||
2019 | </Scripts> |
||
2020 | </Slider> |
||
2021 | <Frame name="SW_CS_BarC" inherits="SW_ColorSwatch"> |
||
2022 | <Anchors> |
||
2023 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT"> |
||
2024 | <Offset> |
||
2025 | <AbsDimension x="45" y="-35" /> |
||
2026 | </Offset> |
||
2027 | </Anchor> |
||
2028 | </Anchors> |
||
2029 | <Scripts> |
||
2030 | <OnShow> |
||
2031 | this.TargetColor = this:GetParent().caller; |
||
2032 | this.What = "BC"; |
||
2033 | this:SetColor(this.TargetColor, this.What); |
||
2034 | </OnShow> |
||
2035 | </Scripts> |
||
2036 | </Frame> |
||
2037 | <Frame name="SW_CS_FontC" inherits="SW_ColorSwatch"> |
||
2038 | <Anchors> |
||
2039 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="SW_CS_BarC"> |
||
2040 | <Offset> |
||
2041 | <AbsDimension x="130" y="0" /> |
||
2042 | </Offset> |
||
2043 | </Anchor> |
||
2044 | </Anchors> |
||
2045 | <Scripts> |
||
2046 | <OnShow> |
||
2047 | this.TargetColor = this:GetParent().caller; |
||
2048 | this.What = "BFC"; |
||
2049 | this:SetColor(this.TargetColor, this.What); |
||
2050 | </OnShow> |
||
2051 | </Scripts> |
||
2052 | </Frame> |
||
2053 | <Slider name="SW_TextureSlider" inherits="SW_OptSlider"> |
||
2054 | <Size> |
||
2055 | <AbsDimension x="75" y="17" /> |
||
2056 | </Size> |
||
2057 | <Anchors> |
||
2058 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="SW_CS_BarC"> |
||
2059 | <Offset> |
||
2060 | <AbsDimension x="0" y="-15" /> |
||
2061 | </Offset> |
||
2062 | </Anchor> |
||
2063 | </Anchors> |
||
2064 | <Scripts> |
||
2065 | <OnLoad>SW_InitSlider(this, 1, 10, "BT");</OnLoad> |
||
2066 | </Scripts> |
||
2067 | </Slider> |
||
2068 | <Slider name="SW_FontSizeSlider" inherits="SW_OptSlider"> |
||
2069 | <Size> |
||
2070 | <AbsDimension x="75" y="17" /> |
||
2071 | </Size> |
||
2072 | <Anchors> |
||
2073 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="SW_CS_FontC"> |
||
2074 | <Offset> |
||
2075 | <AbsDimension x="0" y="-15" /> |
||
2076 | </Offset> |
||
2077 | </Anchor> |
||
2078 | </Anchors> |
||
2079 | <Scripts> |
||
2080 | <OnLoad>SW_InitSlider(this, 6, 14, "BFS");</OnLoad> |
||
2081 | </Scripts> |
||
2082 | </Slider> |
||
2083 | <Frame name="SW_SetFrameTxtFrame" inherits="SW_Frame_EditTxt"> |
||
2084 | <Size> |
||
2085 | <AbsDimension x="200" y="30" /> |
||
2086 | </Size> |
||
2087 | <Anchors> |
||
2088 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="SW_TextureSlider"> |
||
2089 | <Offset> |
||
2090 | <AbsDimension x="0" y="-20" /> |
||
2091 | </Offset> |
||
2092 | </Anchor> |
||
2093 | </Anchors> |
||
2094 | <Scripts> |
||
2095 | <OnShow> |
||
2096 | local barSettings = SW_GetBarSettings(this:GetParent().caller); |
||
2097 | this.SWUpdateFunc = SW_UpdateTextSetting; |
||
2098 | this.SWUpdateInfo = {this:GetParent().caller, "OTF"}; |
||
2099 | |||
2100 | if barSettings["OTF"] == nil then |
||
2101 | this.CurrentVal = SW_Settings["BarFrames"][this:GetParent().caller]["Selected"]; |
||
2102 | else |
||
2103 | this.CurrentVal = barSettings["OTF"]; |
||
2104 | end |
||
2105 | this:ChangeText(); |
||
2106 | </OnShow> |
||
2107 | </Scripts> |
||
2108 | </Frame> |
||
2109 | <Frame name="SW_SetOptTxtFrame" inherits="SW_Frame_EditTxt"> |
||
2110 | <Size> |
||
2111 | <AbsDimension x="200" y="30" /> |
||
2112 | </Size> |
||
2113 | <Anchors> |
||
2114 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="SW_SetFrameTxtFrame"> |
||
2115 | <Offset> |
||
2116 | <AbsDimension x="0" y="0" /> |
||
2117 | </Offset> |
||
2118 | </Anchor> |
||
2119 | </Anchors> |
||
2120 | <Scripts> |
||
2121 | <OnShow> |
||
2122 | local barSettings = SW_GetBarSettings(this:GetParent().caller); |
||
2123 | this.SWUpdateFunc = SW_UpdateTextSetting; |
||
2124 | this.SWUpdateInfo = {this:GetParent().caller, "OT"}; |
||
2125 | this.maxLetters = 2; |
||
2126 | if barSettings["OT"] == nil then |
||
2127 | this.CurrentVal = SW_Settings["BarFrames"][this:GetParent().caller]["Selected"]; |
||
2128 | else |
||
2129 | this.CurrentVal = barSettings["OT"]; |
||
2130 | end |
||
2131 | this:ChangeText(); |
||
2132 | </OnShow> |
||
2133 | </Scripts> |
||
2134 | </Frame> |
||
2135 | <Frame name="SW_CS_OptC" inherits="SW_ColorSwatch"> |
||
2136 | <Anchors> |
||
2137 | <Anchor point="TOPLEFT" relativePoint="BOTTOMLEFT" relativeTo="SW_SetOptTxtFrame"> |
||
2138 | <Offset> |
||
2139 | <AbsDimension x="0" y="0" /> |
||
2140 | </Offset> |
||
2141 | </Anchor> |
||
2142 | </Anchors> |
||
2143 | <Scripts> |
||
2144 | <OnShow> |
||
2145 | this.TargetColor = this:GetParent().caller; |
||
2146 | this.What = "OC"; |
||
2147 | this:SetColor(this.TargetColor, this.What); |
||
2148 | </OnShow> |
||
2149 | </Scripts> |
||
2150 | </Frame> |
||
2151 | <CheckButton name="SW_ColorsOptUseClass" inherits="SW_OptChk_TT" hidden="false"> |
||
2152 | <Size> |
||
2153 | <AbsDimension x="20" y="20" /> |
||
2154 | </Size> |
||
2155 | <Scripts> |
||
2156 | <OnShow> |
||
2157 | local barSettings = SW_GetBarSettings(this:GetParent().caller); |
||
2158 | if barSettings["UCC"] ~= nil then |
||
2159 | this:SetChecked(1); |
||
2160 | else |
||
2161 | this:SetChecked(0); |
||
2162 | end |
||
2163 | </OnShow> |
||
2164 | <OnClick> |
||
2165 | local barSettings = SW_GetBarSettings(this:GetParent().caller); |
||
2166 | if this:GetChecked() then |
||
2167 | barSettings["UCC"] = 1; |
||
2168 | else |
||
2169 | barSettings["UCC"] = nil; |
||
2170 | SW_UpdateColor(this:GetParent().caller); |
||
2171 | end |
||
2172 | |||
2173 | </OnClick> |
||
2174 | </Scripts> |
||
2175 | <Anchors> |
||
2176 | <Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="SW_CS_OptC"> |
||
2177 | <Offset> |
||
2178 | <AbsDimension x="115" y="0" /> |
||
2179 | </Offset> |
||
2180 | </Anchor> |
||
2181 | </Anchors> |
||
2182 | </CheckButton> |
||
2183 | </Frames> |
||
2184 | </Frame> |
||
2185 | <Frame name="$parent_Tab2" inherits="SW_Frame_Tab" parent="SW_BarSettingsFrameV2"> |
||
2186 | <Scripts> |
||
2187 | <OnLoad>SW_TabRegister(this, "SW_BarSettings_Visuals");</OnLoad> |
||
2188 | </Scripts> |
||
2189 | </Frame> |
||
2190 | <Frame name="SW_BarSettings_Pets" hidden="true"> |
||
2191 | <Anchors> |
||
2192 | <Anchor point="TOPLEFT"> |
||
2193 | <Offset> |
||
2194 | <AbsDimension x="4" y="-35" /> |
||
2195 | </Offset> |
||
2196 | </Anchor> |
||
2197 | <Anchor point="BOTTOMRIGHT"> |
||
2198 | <Offset> |
||
2199 | <AbsDimension x="2" y="10" /> |
||
2200 | </Offset> |
||
2201 | </Anchor> |
||
2202 | </Anchors> |
||
2203 | <Scripts> |
||
2204 | <OnShow> |
||
2205 | local barSettings = SW_GetBarSettings(this.caller); |
||
2206 | local showPF = SW_InfoTypes[ barSettings["IN"] ]["showPF"]; |
||
2207 | if showPF then |
||
2208 | getglobal("SW_Pets_Nothing"):Hide(); |
||
2209 | getglobal("SW_Pets_Settings"):Show(); |
||
2210 | if barSettings["PF"] == nil then |
||
2211 | barSettings["PF"] = "SW_PF_Inactive"; |
||
2212 | end |
||
2213 | SW_ChkClick(getglobal(barSettings["PF"]), barSettings, true); |
||
2214 | |||
2215 | else |
||
2216 | getglobal("SW_Pets_Nothing"):Show(); |
||
2217 | getglobal("SW_Pets_Settings"):Hide(); |
||
2218 | end |
||
2219 | </OnShow> |
||
2220 | </Scripts> |
||
2221 | <Frames> |
||
2222 | <Frame name="SW_Pets_Nothing" hidden="false"> |
||
2223 | <Size> |
||
2224 | <AbsDimension x="300" y="40" /> |
||
2225 | </Size> |
||
2226 | <Anchors> |
||
2227 | <Anchor point="TOPLEFT"> |
||
2228 | <Offset> |
||
2229 | <AbsDimension x="4" y="-4" /> |
||
2230 | </Offset> |
||
2231 | </Anchor> |
||
2232 | <Anchor point="BOTTOMRIGHT"> |
||
2233 | <Offset> |
||
2234 | <AbsDimension x="-4" y="4" /> |
||
2235 | </Offset> |
||
2236 | </Anchor> |
||
2237 | </Anchors> |
||
2238 | <Layers> |
||
2239 | <Layer> |
||
2240 | <FontString name="SW_NoPetInfoLabel" inherits="GameFontNormalSmall" maxLines="5" justifyV="CENTER" |
||
2241 | justifyH="LEFT" text="TmpTxt"> |
||
2242 | <Anchors> |
||
2243 | <Anchor point="TOPLEFT" /> |
||
2244 | <Anchor point="BOTTOMRIGHT" /> |
||
2245 | </Anchors> |
||
2246 | </FontString> |
||
2247 | </Layer> |
||
2248 | </Layers> |
||
2249 | </Frame> |
||
2250 | <Frame name="SW_Pets_Settings" hidden="true"> |
||
2251 | <Size> |
||
2252 | <AbsDimension x="300" y="40" /> |
||
2253 | </Size> |
||
2254 | <Anchors> |
||
2255 | <Anchor point="TOPLEFT"> |
||
2256 | <Offset> |
||
2257 | <AbsDimension x="4" y="-4" /> |
||
2258 | </Offset> |
||
2259 | </Anchor> |
||
2260 | <Anchor point="BOTTOMRIGHT"> |
||
2261 | <Offset> |
||
2262 | <AbsDimension x="-4" y="4" /> |
||
2263 | </Offset> |
||
2264 | </Anchor> |
||
2265 | </Anchors> |
||
2266 | <Scripts> |
||
2267 | <OnLoad> |
||
2268 | this.chkPerRow = 1; |
||
2269 | </OnLoad> |
||
2270 | </Scripts> |
||
2271 | <Frames> |
||
2272 | <CheckButton name="SW_PF_Inactive" inherits="SW_Chk_Template"> |
||
2273 | <Scripts> |
||
2274 | <OnLoad> |
||
2275 | this.swoX = 5; |
||
2276 | this.swoY = 0; |
||
2277 | SW_ChkRegister(this, "", true, "PF"); |
||
2278 | this.petFil = {Inactive = true}; |
||
2279 | </OnLoad> |
||
2280 | <OnClick> |
||
2281 | local barSettings = SW_GetBarSettings(this:GetParent():GetParent().caller); |
||
2282 | SW_ChkClick(this, barSettings); |
||
2283 | </OnClick> |
||
2284 | </Scripts> |
||
2285 | </CheckButton> |
||
2286 | <CheckButton name="SW_PF_Active" inherits="SW_Chk_Template"> |
||
2287 | <Scripts> |
||
2288 | <OnLoad> |
||
2289 | SW_ChkRegister(this, "", false, "PF"); |
||
2290 | this.petFil = {Active = true, latePets = true}; |
||
2291 | </OnLoad> |
||
2292 | <OnClick> |
||
2293 | local barSettings = SW_GetBarSettings(this:GetParent():GetParent().caller); |
||
2294 | SW_ChkClick(this, barSettings); |
||
2295 | </OnClick> |
||
2296 | </Scripts> |
||
2297 | </CheckButton> |
||
2298 | <CheckButton name="SW_PF_Current" inherits="SW_Chk_Template"> |
||
2299 | <Scripts> |
||
2300 | <OnLoad> |
||
2301 | SW_ChkRegister(this, "", false, "PF"); |
||
2302 | this.petFil = {Current = true, latePets = true}; |
||
2303 | </OnLoad> |
||
2304 | <OnClick> |
||
2305 | local barSettings = SW_GetBarSettings(this:GetParent():GetParent().caller); |
||
2306 | SW_ChkClick(this, barSettings); |
||
2307 | </OnClick> |
||
2308 | </Scripts> |
||
2309 | </CheckButton> |
||
2310 | <CheckButton name="SW_PF_VPP" inherits="SW_Chk_Template"> |
||
2311 | <Scripts> |
||
2312 | <OnLoad> |
||
2313 | SW_ChkRegister(this, "", false, "PF"); |
||
2314 | this.petFil = {VPP = true, latePets = true}; |
||
2315 | </OnLoad> |
||
2316 | <OnClick> |
||
2317 | local barSettings = SW_GetBarSettings(this:GetParent():GetParent().caller); |
||
2318 | SW_ChkClick(this, barSettings); |
||
2319 | </OnClick> |
||
2320 | </Scripts> |
||
2321 | </CheckButton> |
||
2322 | <CheckButton name="SW_PF_VPR" inherits="SW_Chk_Template"> |
||
2323 | <Scripts> |
||
2324 | <OnLoad> |
||
2325 | SW_ChkRegister(this, "", false, "PF"); |
||
2326 | this.petFil = {VPR = true, latePets = true}; |
||
2327 | </OnLoad> |
||
2328 | <OnClick> |
||
2329 | local barSettings = SW_GetBarSettings(this:GetParent():GetParent().caller); |
||
2330 | SW_ChkClick(this, barSettings); |
||
2331 | </OnClick> |
||
2332 | </Scripts> |
||
2333 | </CheckButton> |
||
2334 | <CheckButton name="SW_PF_MM" inherits="SW_Chk_Template"> |
||
2335 | <Scripts> |
||
2336 | <OnLoad> |
||
2337 | SW_ChkRegister(this, "", false, "PF"); |
||
2338 | this.petFil = {MM = true}; |
||
2339 | </OnLoad> |
||
2340 | <OnClick> |
||
2341 | local barSettings = SW_GetBarSettings(this:GetParent():GetParent().caller); |
||
2342 | SW_ChkClick(this, barSettings); |
||
2343 | </OnClick> |
||
2344 | </Scripts> |
||
2345 | </CheckButton> |
||
2346 | <CheckButton name="SW_PF_MR" inherits="SW_Chk_Template"> |
||
2347 | <Scripts> |
||
2348 | <OnLoad> |
||
2349 | SW_ChkRegister(this, "", false, "PF"); |
||
2350 | this.petFil = {MR = true}; |
||
2351 | </OnLoad> |
||
2352 | <OnClick> |
||
2353 | local barSettings = SW_GetBarSettings(this:GetParent():GetParent().caller); |
||
2354 | SW_ChkClick(this, barSettings); |
||
2355 | </OnClick> |
||
2356 | </Scripts> |
||
2357 | </CheckButton> |
||
2358 | <CheckButton name="SW_PF_MB" inherits="SW_Chk_Template"> |
||
2359 | <Scripts> |
||
2360 | <OnLoad> |
||
2361 | SW_ChkRegister(this, "", false, "PF"); |
||
2362 | this.petFil = {MB = true}; |
||
2363 | </OnLoad> |
||
2364 | <OnClick> |
||
2365 | local barSettings = SW_GetBarSettings(this:GetParent():GetParent().caller); |
||
2366 | SW_ChkClick(this, barSettings); |
||
2367 | </OnClick> |
||
2368 | </Scripts> |
||
2369 | </CheckButton> |
||
2370 | <CheckButton name="SW_PF_Ignore" inherits="SW_Chk_Template"> |
||
2371 | <Scripts> |
||
2372 | <OnLoad> |
||
2373 | SW_ChkRegister(this, "", false, "PF"); |
||
2374 | this.petFil = {Ignore = true, latePets = true}; |
||
2375 | </OnLoad> |
||
2376 | <OnClick> |
||
2377 | local barSettings = SW_GetBarSettings(this:GetParent():GetParent().caller); |
||
2378 | SW_ChkClick(this, barSettings); |
||
2379 | </OnClick> |
||
2380 | </Scripts> |
||
2381 | </CheckButton> |
||
2382 | </Frames> |
||
2383 | </Frame> |
||
2384 | </Frames> |
||
2385 | </Frame> |
||
2386 | <Frame name="$parent_Tab3" inherits="SW_Frame_Tab" parent="SW_BarSettingsFrameV2"> |
||
2387 | <Scripts> |
||
2388 | <OnLoad>SW_TabRegister(this, "SW_BarSettings_Pets");</OnLoad> |
||
2389 | </Scripts> |
||
2390 | </Frame> |
||
2391 | </Frames> |
||
2392 | </Frame> |
||
2393 | </Ui> |