vanilla-wow-addons – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 <Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
2 ..\FrameXML\UI.xsd">
3 <Script file="ISync_Options.lua"/>
4  
5 <Button name="ISyncTabTemplate" inherits="CharacterFrameTabButtonTemplate" virtual="true">
6 <Scripts>
7 <OnClick>
8 PanelTemplates_Tab_OnClick(ISync_OptionsFrame);
9 ISync_OptionsFrame:Show();
10 </OnClick>
11 </Scripts>
12 </Button>
13  
14 <Frame name="ISync_OptionsFrame" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="ISync_MainFrame">
15 <Size>
16 <AbsDimension x="360" y="450"/>
17 </Size>
18 <Anchors>
19 <Anchor point="TOPLEFT" relativeTo="ISync_MainFrame" relativePoint="TOPRIGHT">
20 <Offset>
21 <AbsDimension x="32" y="0"/>
22 </Offset>
23 </Anchor>
24 </Anchors>
25 <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
26 <BackgroundInsets>
27 <AbsInset left="11" right="12" top="12" bottom="11"/>
28 </BackgroundInsets>
29 <TileSize>
30 <AbsValue val="32"/>
31 </TileSize>
32 <EdgeSize>
33 <AbsValue val="32"/>
34 </EdgeSize>
35 </Backdrop>
36 <Frames>
37  
38 <Frame name="ISYNC_Options_HeaderBox" inherits="OptionFrameBoxTemplate">
39 <Size>
40 <AbsDimension x="335" y="30"/>
41 </Size>
42 <Anchors>
43 <Anchor point="CENTER" relativeTo="ISync_OptionsFrame" relativePoint="CENTER">
44 <Offset>
45 <AbsDimension x="0" y="233"/>
46 </Offset>
47 </Anchor>
48 </Anchors>
49 <Layers>
50 <Layer level="BACKGROUND">
51 <FontString name="ISync_OptionsFrameHeaderText" inherits="GameFontNormal" text="ISYNC_MAIN_HEADER_OPTIONS">
52 <Anchors>
53 <Anchor point="CENTER">
54 <Offset>
55 <AbsDimension x="0" y="0"/>
56 </Offset>
57 </Anchor>
58 </Anchors>
59 </FontString>
60 </Layer>
61 </Layers>
62 <Scripts>
63 <OnLoad>
64 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
65 this:SetBackdropColor(0.0, 0.5, 0.0, 0.7);
66 </OnLoad>
67 <OnMouseDown>
68 if( arg1 == "LeftButton" ) then
69 GameTooltip:Hide();
70 getglobal(this:GetParent():GetName()):StartMoving();
71 end
72 </OnMouseDown>
73 <OnMouseUp>
74 getglobal(this:GetParent():GetName()):StopMovingOrSizing();
75 </OnMouseUp>
76 </Scripts>
77 </Frame>
78  
79 <Button name="ISYNC_Options_CloseButton" inherits="UIPanelCloseButton" hidden="false" toplevel="true">
80 <Anchors>
81 <Anchor point="CENTER" relativeTo="ISYNC_Options_HeaderBox" relativePoint="RIGHT">
82 <Offset>
83 <AbsDimension x="-17" y="0"/>
84 </Offset>
85 </Anchor>
86 </Anchors>
87 </Button>
88  
89 <Button name="ISync_OptionsFrameTab1" inherits="ISyncTabTemplate" id="1" text="ISYNC_BT_MAIN">
90 <Anchors>
91 <Anchor point="BOTTOMLEFT">
92 <Offset>
93 <AbsDimension x="5" y="-23"/>
94 </Offset>
95 </Anchor>
96 </Anchors>
97 <Scripts>
98 </Scripts>
99 </Button>
100  
101 <Button name="ISync_OptionsFrameTab2" inherits="ISyncTabTemplate" id="2" text="ISYNC_BT_MODS">
102 <Anchors>
103 <Anchor point="LEFT" relativeTo="ISync_OptionsFrameTab1" relativePoint="RIGHT">
104 <Offset>
105 <AbsDimension x="-14" y="0"/>
106 </Offset>
107 </Anchor>
108 </Anchors>
109 <Scripts>
110  
111 </Scripts>
112 </Button>
113  
114  
115 <Button name="ISync_OptionsFrameTab3" inherits="ISyncTabTemplate" id="3" text="ISYNC_MAIN_HEADER_OPTIONSGENERAL">
116 <Anchors>
117 <Anchor point="LEFT" relativeTo="ISync_OptionsFrameTab2" relativePoint="RIGHT">
118 <Offset>
119 <AbsDimension x="-14" y="0"/>
120 </Offset>
121 </Anchor>
122 </Anchors>
123 <Scripts>
124  
125 </Scripts>
126 </Button>
127  
128  
129 <Button name="ISync_OptionsFrameTab4" inherits="ISyncTabTemplate" id="4" text="ISYNC_MAIN_HEADER_OPTIONSCLEAN">
130 <Anchors>
131 <Anchor point="LEFT" relativeTo="ISync_OptionsFrameTab3" relativePoint="RIGHT">
132 <Offset>
133 <AbsDimension x="-14" y="0"/>
134 </Offset>
135 </Anchor>
136 </Anchors>
137 <Scripts>
138  
139 </Scripts>
140 </Button>
141  
142  
143 </Frames>
144  
145 <Scripts>
146 <OnLoad>
147 if(ISync) then ISync:Options_OnLoad(); end
148 </OnLoad>
149 <OnUpdate>
150 if(ISync) then ISync:Options_OnUpdate(); end
151 </OnUpdate>
152 <OnMouseDown> this:StartMoving(); </OnMouseDown>
153 <OnMouseUp> this:StopMovingOrSizing(); </OnMouseUp>
154 <OnDragStop> this:StopMovingOrSizing(); </OnDragStop>
155 <OnHide>PlaySound("igMainMenuOptionCheckBoxOff");</OnHide>
156 </Scripts>
157 </Frame>
158  
159  
160 <Frame name="ISync_OptionsFrame_Tab" toplevel="true" enableMouse="true" hidden="true" parent="ISync_OptionsFrame">
161 <Size>
162 <AbsDimension x="360" y="450"/>
163 </Size>
164 <Anchors>
165 <Anchor point="CENTER" relativeTo="ISync_OptionsFrame" relativePoint="CENTER">
166 <Offset>
167 <AbsDimension x="0" y="0"/>
168 </Offset>
169 </Anchor>
170 </Anchors>
171 <Frames>
172 <Frame name="ISYNC_Options_Moneylayout" inherits="OptionFrameBoxTemplate">
173 <Size>
174 <AbsDimension x="335" y="155"/>
175 </Size>
176 <Anchors>
177 <Anchor point="TOPLEFT" relativeTo="ISync_OptionsFrame" relativePoint="BOTTOMLEFT">
178 <Offset>
179 <AbsDimension x="13" y="410"/>
180 </Offset>
181 </Anchor>
182 </Anchors>
183 <Layers>
184 <Layer level="BACKGROUND">
185 <FontString inherits="GameFontNormal" text="ISYNC_OPT_MONEY1">
186 <Anchors>
187 <Anchor point="TOPLEFT">
188 <Offset>
189 <AbsDimension x="30" y="-10"/>
190 </Offset>
191 </Anchor>
192 </Anchors>
193 </FontString>
194 <FontString inherits="GameFontNormal" text="ISYNC_OPT_MONEY2">
195 <Anchors>
196 <Anchor point="TOPLEFT">
197 <Offset>
198 <AbsDimension x="30" y="-30"/>
199 </Offset>
200 </Anchor>
201 </Anchors>
202 </FontString>
203 <FontString inherits="GameFontNormal" text="ISYNC_OPT_MONEY3">
204 <Anchors>
205 <Anchor point="TOPLEFT">
206 <Offset>
207 <AbsDimension x="30" y="-50"/>
208 </Offset>
209 </Anchor>
210 </Anchors>
211 </FontString>
212 <FontString inherits="GameFontNormal" text="ISYNC_OPT_MONEY4">
213 <Anchors>
214 <Anchor point="TOPLEFT">
215 <Offset>
216 <AbsDimension x="30" y="-70"/>
217 </Offset>
218 </Anchor>
219 </Anchors>
220 </FontString>
221  
222 <FontString inherits="GameFontNormal" text="ISYNC_OPT_MONEY5">
223 <Anchors>
224 <Anchor point="TOPLEFT">
225 <Offset>
226 <AbsDimension x="30" y="-90"/>
227 </Offset>
228 </Anchor>
229 </Anchors>
230 </FontString>
231 <FontString inherits="GameFontNormal" text="ISYNC_OPT_MONEY6">
232 <Anchors>
233 <Anchor point="TOPLEFT">
234 <Offset>
235 <AbsDimension x="30" y="-110"/>
236 </Offset>
237 </Anchor>
238 </Anchors>
239 </FontString>
240 <FontString inherits="GameFontNormal" text="ISYNC_OPT_MONEY7">
241 <Anchors>
242 <Anchor point="TOPLEFT">
243 <Offset>
244 <AbsDimension x="30" y="-130"/>
245 </Offset>
246 </Anchor>
247 </Anchors>
248 </FontString>
249 </Layer>
250 </Layers>
251  
252 <Frames>
253  
254 <CheckButton name="ISYNC_Options_MoneylayoutCheckButton1" inherits="OptionsCheckButtonTemplate">
255 <Size>
256 <AbsDimension x="26" y="26"/>
257 </Size>
258 <Anchors>
259 <Anchor point="TOPLEFT">
260 <Offset>
261 <AbsDimension x="5" y="-5"/>
262 </Offset>
263 </Anchor>
264 </Anchors>
265 <Scripts>
266 <OnClick>
267 if(this:GetChecked()) then
268  
269 ISync:SetVar({"OPT","MONEYSET"}, 1, "TRUE");
270  
271 ISync:SetVar({"LAYOUT","GOLD"}, "|c00FFFFFF%s|r|c00E2CD54"..ISYNC_OPTGOLD1.."|r ", "TRUE");
272 ISync:SetVar({"LAYOUT","SILVER"}, "|c00FFFFFF%s|r|c00AEAEAE"..ISYNC_OPTSILVER1.."|r ", "TRUE");
273 ISync:SetVar({"LAYOUT","COPPER"}, "|c00FFFFFF%s|r|c00D7844D"..ISYNC_OPTCOPPER1.."|r", "TRUE");
274  
275 ISYNC_Options_MoneylayoutCheckButton1:SetChecked(1);
276 ISYNC_Options_MoneylayoutCheckButton2:SetChecked(0);
277 ISYNC_Options_MoneylayoutCheckButton3:SetChecked(0);
278 ISYNC_Options_MoneylayoutCheckButton4:SetChecked(0);
279 ISYNC_Options_MoneylayoutCheckButton5:SetChecked(0);
280 ISYNC_Options_MoneylayoutCheckButton6:SetChecked(0);
281 ISYNC_Options_MoneylayoutCheckButton7:SetChecked(0);
282 end
283 </OnClick>
284 </Scripts>
285 </CheckButton>
286 <CheckButton name="ISYNC_Options_MoneylayoutCheckButton2" inherits="OptionsCheckButtonTemplate">
287 <Size>
288 <AbsDimension x="26" y="26"/>
289 </Size>
290 <Anchors>
291 <Anchor point="TOP" relativeTo="ISYNC_Options_MoneylayoutCheckButton1" relativePoint="BOTTOM">
292 <Offset>
293 <AbsDimension x="0" y="6"/>
294 </Offset>
295 </Anchor>
296 </Anchors>
297 <Scripts>
298 <OnClick>
299 if(this:GetChecked()) then
300  
301 ISync:SetVar({"OPT","MONEYSET"}, 2, "TRUE");
302  
303 ISync:SetVar({"LAYOUT","GOLD"}, "|c00FFFFFF%s|r |c00E2CD54"..ISYNC_OPTGOLD1.."|r ", "TRUE");
304 ISync:SetVar({"LAYOUT","SILVER"}, "|c00FFFFFF%s|r |c00AEAEAE"..ISYNC_OPTSILVER1.."|r ", "TRUE");
305 ISync:SetVar({"LAYOUT","COPPER"}, "|c00FFFFFF%s|r |c00D7844D"..ISYNC_OPTCOPPER1.."|r", "TRUE");
306  
307 ISYNC_Options_MoneylayoutCheckButton1:SetChecked(0);
308 ISYNC_Options_MoneylayoutCheckButton2:SetChecked(1);
309 ISYNC_Options_MoneylayoutCheckButton3:SetChecked(0);
310 ISYNC_Options_MoneylayoutCheckButton4:SetChecked(0);
311 ISYNC_Options_MoneylayoutCheckButton5:SetChecked(0);
312 ISYNC_Options_MoneylayoutCheckButton6:SetChecked(0);
313 ISYNC_Options_MoneylayoutCheckButton7:SetChecked(0);
314 end
315 </OnClick>
316 </Scripts>
317 </CheckButton>
318  
319 <CheckButton name="ISYNC_Options_MoneylayoutCheckButton3" inherits="OptionsCheckButtonTemplate">
320 <Size>
321 <AbsDimension x="26" y="26"/>
322 </Size>
323 <Anchors>
324 <Anchor point="TOP" relativeTo="ISYNC_Options_MoneylayoutCheckButton2" relativePoint="BOTTOM">
325 <Offset>
326 <AbsDimension x="0" y="6"/>
327 </Offset>
328 </Anchor>
329 </Anchors>
330 <Scripts>
331 <OnClick>
332 if(this:GetChecked()) then
333  
334 ISync:SetVar({"OPT","MONEYSET"}, 3, "TRUE");
335  
336 ISync:SetVar({"LAYOUT","GOLD"}, "|c00FFFFFF%s|r|c00E2CD54["..ISYNC_OPTGOLD1.."]|r ", "TRUE");
337 ISync:SetVar({"LAYOUT","SILVER"}, "|c00FFFFFF%s|r|c00AEAEAE["..ISYNC_OPTSILVER1.."]|r ", "TRUE");
338 ISync:SetVar({"LAYOUT","COPPER"}, "|c00FFFFFF%s|r|c00D7844D["..ISYNC_OPTCOPPER1.."]|r", "TRUE");
339  
340 ISYNC_Options_MoneylayoutCheckButton1:SetChecked(0);
341 ISYNC_Options_MoneylayoutCheckButton2:SetChecked(0);
342 ISYNC_Options_MoneylayoutCheckButton3:SetChecked(1);
343 ISYNC_Options_MoneylayoutCheckButton4:SetChecked(0);
344 ISYNC_Options_MoneylayoutCheckButton5:SetChecked(0);
345 ISYNC_Options_MoneylayoutCheckButton6:SetChecked(0);
346 ISYNC_Options_MoneylayoutCheckButton7:SetChecked(0);
347 end
348 </OnClick>
349 </Scripts>
350 </CheckButton>
351 <CheckButton name="ISYNC_Options_MoneylayoutCheckButton4" inherits="OptionsCheckButtonTemplate">
352 <Size>
353 <AbsDimension x="26" y="26"/>
354 </Size>
355 <Anchors>
356 <Anchor point="TOP" relativeTo="ISYNC_Options_MoneylayoutCheckButton3" relativePoint="BOTTOM">
357 <Offset>
358 <AbsDimension x="0" y="6"/>
359 </Offset>
360 </Anchor>
361 </Anchors>
362 <Scripts>
363 <OnClick>
364 if(this:GetChecked()) then
365  
366 ISync:SetVar({"OPT","MONEYSET"}, 4, "TRUE");
367  
368 ISync:SetVar({"LAYOUT","GOLD"}, "|c00FFFFFF%s|r|c00E2CD54["..ISYNC_OPTGOLD2.."]|r ", "TRUE");
369 ISync:SetVar({"LAYOUT","SILVER"}, "|c00FFFFFF%s|r|c00AEAEAE["..ISYNC_OPTSILVER2.."]|r ", "TRUE");
370 ISync:SetVar({"LAYOUT","COPPER"}, "|c00FFFFFF%s|r|c00D7844D["..ISYNC_OPTCOPPER2.."]|r", "TRUE");
371  
372 ISYNC_Options_MoneylayoutCheckButton1:SetChecked(0);
373 ISYNC_Options_MoneylayoutCheckButton2:SetChecked(0);
374 ISYNC_Options_MoneylayoutCheckButton3:SetChecked(0);
375 ISYNC_Options_MoneylayoutCheckButton4:SetChecked(1);
376 ISYNC_Options_MoneylayoutCheckButton5:SetChecked(0);
377 ISYNC_Options_MoneylayoutCheckButton6:SetChecked(0);
378 ISYNC_Options_MoneylayoutCheckButton7:SetChecked(0);
379 end
380 </OnClick>
381 </Scripts>
382 </CheckButton>
383 <CheckButton name="ISYNC_Options_MoneylayoutCheckButton5" inherits="OptionsCheckButtonTemplate">
384 <Size>
385 <AbsDimension x="26" y="26"/>
386 </Size>
387 <Anchors>
388 <Anchor point="TOP" relativeTo="ISYNC_Options_MoneylayoutCheckButton4" relativePoint="BOTTOM">
389 <Offset>
390 <AbsDimension x="0" y="6"/>
391 </Offset>
392 </Anchor>
393 </Anchors>
394 <Scripts>
395 <OnClick>
396 if(this:GetChecked()) then
397  
398 ISync:SetVar({"OPT","MONEYSET"}, 5, "TRUE");
399  
400 ISync:SetVar({"LAYOUT","GOLD"}, "|c00FFFFFF%s|r |c00E2CD54["..ISYNC_OPTGOLD1.."]|r ", "TRUE");
401 ISync:SetVar({"LAYOUT","SILVER"}, "|c00FFFFFF%s|r |c00AEAEAE["..ISYNC_OPTSILVER1.."]|r ", "TRUE");
402 ISync:SetVar({"LAYOUT","COPPER"}, "|c00FFFFFF%s|r |c00D7844D["..ISYNC_OPTCOPPER1.."]|r", "TRUE");
403  
404 ISYNC_Options_MoneylayoutCheckButton1:SetChecked(0);
405 ISYNC_Options_MoneylayoutCheckButton2:SetChecked(0);
406 ISYNC_Options_MoneylayoutCheckButton3:SetChecked(0);
407 ISYNC_Options_MoneylayoutCheckButton4:SetChecked(0);
408 ISYNC_Options_MoneylayoutCheckButton5:SetChecked(1);
409 ISYNC_Options_MoneylayoutCheckButton6:SetChecked(0);
410 ISYNC_Options_MoneylayoutCheckButton7:SetChecked(0);
411 end
412 </OnClick>
413 </Scripts>
414 </CheckButton>
415 <CheckButton name="ISYNC_Options_MoneylayoutCheckButton6" inherits="OptionsCheckButtonTemplate">
416 <Size>
417 <AbsDimension x="26" y="26"/>
418 </Size>
419 <Anchors>
420 <Anchor point="TOP" relativeTo="ISYNC_Options_MoneylayoutCheckButton5" relativePoint="BOTTOM">
421 <Offset>
422 <AbsDimension x="0" y="6"/>
423 </Offset>
424 </Anchor>
425 </Anchors>
426 <Scripts>
427 <OnClick>
428 if(this:GetChecked()) then
429  
430 ISync:SetVar({"OPT","MONEYSET"}, 6, "TRUE");
431  
432 ISync:SetVar({"LAYOUT","GOLD"}, "|c00FFFFFF%s|r |c00E2CD54["..ISYNC_OPTGOLD2.."]|r ", "TRUE");
433 ISync:SetVar({"LAYOUT","SILVER"}, "|c00FFFFFF%s|r |c00AEAEAE["..ISYNC_OPTSILVER2.."]|r ", "TRUE");
434 ISync:SetVar({"LAYOUT","COPPER"}, "|c00FFFFFF%s|r |c00D7844D["..ISYNC_OPTCOPPER2.."]|r", "TRUE");
435  
436 ISYNC_Options_MoneylayoutCheckButton1:SetChecked(0);
437 ISYNC_Options_MoneylayoutCheckButton2:SetChecked(0);
438 ISYNC_Options_MoneylayoutCheckButton3:SetChecked(0);
439 ISYNC_Options_MoneylayoutCheckButton4:SetChecked(0);
440 ISYNC_Options_MoneylayoutCheckButton5:SetChecked(0);
441 ISYNC_Options_MoneylayoutCheckButton6:SetChecked(1);
442 ISYNC_Options_MoneylayoutCheckButton7:SetChecked(0);
443 end
444 </OnClick>
445 </Scripts>
446 </CheckButton>
447  
448 <CheckButton name="ISYNC_Options_MoneylayoutCheckButton7" inherits="OptionsCheckButtonTemplate">
449 <Size>
450 <AbsDimension x="26" y="26"/>
451 </Size>
452 <Anchors>
453 <Anchor point="TOP" relativeTo="ISYNC_Options_MoneylayoutCheckButton6" relativePoint="BOTTOM">
454 <Offset>
455 <AbsDimension x="0" y="6"/>
456 </Offset>
457 </Anchor>
458 </Anchors>
459 <Scripts>
460 <OnClick>
461 if(this:GetChecked()) then
462  
463 ISync:SetVar({"OPT","MONEYSET"}, 7, "TRUE");
464  
465 ISync:SetVar({"LAYOUT","GOLD"}, "|c00E2CD54%s|r|c00FFFFFF.|r", "TRUE");
466 ISync:SetVar({"LAYOUT","SILVER"}, "|c00AEAEAE%s|r|c00FFFFFF.|r", "TRUE");
467 ISync:SetVar({"LAYOUT","COPPER"}, "|c00D7844D%s|r", "TRUE");
468  
469 ISYNC_Options_MoneylayoutCheckButton1:SetChecked(0);
470 ISYNC_Options_MoneylayoutCheckButton2:SetChecked(0);
471 ISYNC_Options_MoneylayoutCheckButton3:SetChecked(0);
472 ISYNC_Options_MoneylayoutCheckButton4:SetChecked(0);
473 ISYNC_Options_MoneylayoutCheckButton5:SetChecked(0);
474 ISYNC_Options_MoneylayoutCheckButton6:SetChecked(0);
475 ISYNC_Options_MoneylayoutCheckButton7:SetChecked(1);
476 end
477 </OnClick>
478 </Scripts>
479 </CheckButton>
480  
481 <Button name="ISync_Options_Regular_Help5" virtual="true" hidden="false">
482 <Size>
483 <AbsDimension x="18" y="16"/>
484 </Size>
485 <Anchors>
486 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
487 <Offset>
488 <AbsDimension x="-8" y="-8"/>
489 </Offset>
490 </Anchor>
491 </Anchors>
492 <Layers>
493 <Layer level="OVERLAY">
494 <FontString name="$parentText" inherits="GameFontNormal" justifyH="RIGHT" text="[?]">
495 <Anchors>
496 <Anchor point="RIGHT">
497 <Offset>
498 <AbsDimension x="0" y="0"/>
499 </Offset>
500 </Anchor>
501 </Anchors>
502 </FontString>
503 </Layer>
504 </Layers>
505 <Scripts>
506 <OnEnter>
507 getglobal(this:GetName() .. "Text"):SetTextColor(1, 1, 0);
508 GameTooltip:SetOwner(this, "ANCHOR_LEFT");
509 GameTooltip:SetText(ISYNC_HELP_SUB5, 1, 0.72, 0, nil, 1);
510 GameTooltip:Show();
511 </OnEnter>
512 <OnLeave>
513 getglobal(this:GetName() .. "Text"):SetTextColor(1, 0.82, 0);
514 GameTooltip:Hide();
515 </OnLeave>
516 </Scripts>
517 </Button>
518 </Frames>
519  
520 <Scripts>
521 <OnLoad>
522 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
523 this:SetBackdropColor(0.15, 0.15, 0.15);
524 getglobal(this:GetName().."Title"):SetText(ISYNC_MONEYDISPLAY_HEADER);
525 </OnLoad>
526 </Scripts>
527 </Frame>
528  
529  
530 <Frame name="ISYNC_Options_DisplayFrameShow" inherits="OptionFrameBoxTemplate">
531 <Size>
532 <AbsDimension x="335" y="40"/>
533 </Size>
534 <Anchors>
535 <Anchor point="TOPLEFT" relativeTo="ISync_OptionsFrame" relativePoint="BOTTOMLEFT">
536 <Offset>
537 <AbsDimension x="13" y="235"/>
538 </Offset>
539 </Anchor>
540 </Anchors>
541 <Layers>
542 <Layer level="BACKGROUND">
543 <FontString inherits="GameFontNormal" text="ISYNC_OPTIONS_HEADER3_SUB1">
544 <Anchors>
545 <Anchor point="TOPLEFT">
546 <Offset>
547 <AbsDimension x="30" y="-10"/>
548 </Offset>
549 </Anchor>
550 </Anchors>
551 </FontString>
552 </Layer>
553 </Layers>
554  
555 <Frames>
556 <CheckButton name="ISYNC_Options_DisplayFrame_CheckButton1" inherits="OptionsCheckButtonTemplate">
557 <Size>
558 <AbsDimension x="26" y="26"/>
559 </Size>
560 <Anchors>
561 <Anchor point="TOPLEFT">
562 <Offset>
563 <AbsDimension x="5" y="-5"/>
564 </Offset>
565 </Anchor>
566 </Anchors>
567 <Scripts>
568 <OnClick>
569 if(this:GetChecked()) then
570  
571 ISync:SetVar({"OPT","ITEMCOUNTDISPLAY"}, 1, "TRUE");
572  
573 if(ISync_ID_Frame) then ISync_ID_Frame:Show(); end
574  
575 else
576 ISync:SetVar({"OPT","ITEMCOUNTDISPLAY"}, 0, "TRUE");
577  
578 if(ISync_ID_Frame) then ISync_ID_Frame:Hide(); end
579 end
580 </OnClick>
581 </Scripts>
582 </CheckButton>
583  
584  
585 <Button name="ISync_Options_Regular_Help6" virtual="true" hidden="false">
586 <Size>
587 <AbsDimension x="18" y="16"/>
588 </Size>
589 <Anchors>
590 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
591 <Offset>
592 <AbsDimension x="-8" y="-8"/>
593 </Offset>
594 </Anchor>
595 </Anchors>
596 <Layers>
597 <Layer level="OVERLAY">
598 <FontString name="$parentText" inherits="GameFontNormal" justifyH="RIGHT" text="[?]">
599 <Anchors>
600 <Anchor point="RIGHT">
601 <Offset>
602 <AbsDimension x="0" y="0"/>
603 </Offset>
604 </Anchor>
605 </Anchors>
606 </FontString>
607 </Layer>
608 </Layers>
609 <Scripts>
610 <OnEnter>
611 getglobal(this:GetName() .. "Text"):SetTextColor(1, 1, 0);
612 GameTooltip:SetOwner(this, "ANCHOR_LEFT");
613 GameTooltip:SetText(ISYNC_HELP_SUB6, 1, 0.72, 0, nil, 1);
614 GameTooltip:Show();
615 </OnEnter>
616 <OnLeave>
617 getglobal(this:GetName() .. "Text"):SetTextColor(1, 0.82, 0);
618 GameTooltip:Hide();
619 </OnLeave>
620 </Scripts>
621 </Button>
622 </Frames>
623  
624 <Scripts>
625 <OnLoad>
626 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
627 this:SetBackdropColor(0.15, 0.15, 0.15);
628 getglobal(this:GetName().."Title"):SetText(ISYNC_OPTIONS_HEADER3);
629 </OnLoad>
630 </Scripts>
631 </Frame>
632  
633  
634  
635 <Frame name="ISYNC_Options_VendorShow" inherits="OptionFrameBoxTemplate">
636 <Size>
637 <AbsDimension x="335" y="40"/>
638 </Size>
639 <Anchors>
640 <Anchor point="TOPLEFT" relativeTo="ISync_OptionsFrame" relativePoint="BOTTOMLEFT">
641 <Offset>
642 <AbsDimension x="13" y="180"/>
643 </Offset>
644 </Anchor>
645 </Anchors>
646 <Layers>
647 <Layer level="BACKGROUND">
648 <FontString inherits="GameFontNormal" text="ISYNC_OPTIONS_HEADER2_SUB1">
649 <Anchors>
650 <Anchor point="TOPLEFT">
651 <Offset>
652 <AbsDimension x="30" y="-10"/>
653 </Offset>
654 </Anchor>
655 </Anchors>
656 </FontString>
657 </Layer>
658 </Layers>
659  
660 <Frames>
661 <CheckButton name="ISYNC_Options_Vendor_CheckButton1" inherits="OptionsCheckButtonTemplate">
662 <Size>
663 <AbsDimension x="26" y="26"/>
664 </Size>
665 <Anchors>
666 <Anchor point="TOPLEFT">
667 <Offset>
668 <AbsDimension x="5" y="-5"/>
669 </Offset>
670 </Anchor>
671 </Anchors>
672 <Scripts>
673 <OnClick>
674 if(this:GetChecked()) then
675  
676 ISync:SetVar({"OPT","VENDOR"}, 1, "TRUE");
677  
678 GameTooltip.isDisplayDone = nil;
679  
680 else
681 ISync:SetVar({"OPT","VENDOR"}, 0, "TRUE");
682  
683 GameTooltip.isDisplayDone = nil;
684 end
685  
686 </OnClick>
687 </Scripts>
688 </CheckButton>
689  
690 <Button name="ISync_Options_Regular_Help7" virtual="true" hidden="false">
691 <Size>
692 <AbsDimension x="18" y="16"/>
693 </Size>
694 <Anchors>
695 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
696 <Offset>
697 <AbsDimension x="-8" y="-8"/>
698 </Offset>
699 </Anchor>
700 </Anchors>
701 <Layers>
702 <Layer level="OVERLAY">
703 <FontString name="$parentText" inherits="GameFontNormal" justifyH="RIGHT" text="[?]">
704 <Anchors>
705 <Anchor point="RIGHT">
706 <Offset>
707 <AbsDimension x="0" y="0"/>
708 </Offset>
709 </Anchor>
710 </Anchors>
711 </FontString>
712 </Layer>
713 </Layers>
714 <Scripts>
715 <OnEnter>
716 getglobal(this:GetName() .. "Text"):SetTextColor(1, 1, 0);
717 GameTooltip:SetOwner(this, "ANCHOR_LEFT");
718 GameTooltip:SetText(ISYNC_HELP_SUB7, 1, 0.72, 0, nil, 1);
719 GameTooltip:Show();
720 </OnEnter>
721 <OnLeave>
722 getglobal(this:GetName() .. "Text"):SetTextColor(1, 0.82, 0);
723 GameTooltip:Hide();
724 </OnLeave>
725 </Scripts>
726 </Button>
727 </Frames>
728  
729 <Scripts>
730 <OnLoad>
731 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
732 this:SetBackdropColor(0.15, 0.15, 0.15);
733 getglobal(this:GetName().."Title"):SetText(ISYNC_OPTIONS_HEADER2);
734 </OnLoad>
735 </Scripts>
736 </Frame>
737  
738  
739  
740 <Frame name="ISYNC_Options_PriceShow" inherits="OptionFrameBoxTemplate">
741 <Size>
742 <AbsDimension x="335" y="40"/>
743 </Size>
744 <Anchors>
745 <Anchor point="TOPLEFT" relativeTo="ISync_OptionsFrame" relativePoint="BOTTOMLEFT">
746 <Offset>
747 <AbsDimension x="13" y="125"/>
748 </Offset>
749 </Anchor>
750 </Anchors>
751 <Layers>
752 <Layer level="BACKGROUND">
753 <FontString inherits="GameFontNormal" text="ISYNC_OPTIONS_HEADER1_SUB1">
754 <Anchors>
755 <Anchor point="TOPLEFT">
756 <Offset>
757 <AbsDimension x="30" y="-10"/>
758 </Offset>
759 </Anchor>
760 </Anchors>
761 </FontString>
762 </Layer>
763 </Layers>
764  
765 <Frames>
766 <CheckButton name="ISYNC_Options_Price_CheckButton1" inherits="OptionsCheckButtonTemplate">
767 <Size>
768 <AbsDimension x="26" y="26"/>
769 </Size>
770 <Anchors>
771 <Anchor point="TOPLEFT">
772 <Offset>
773 <AbsDimension x="5" y="-5"/>
774 </Offset>
775 </Anchor>
776 </Anchors>
777 <Scripts>
778 <OnClick>
779  
780 if(this:GetChecked()) then
781  
782 ISync:SetVar({"OPT","PRICE"}, 1, "TRUE");
783  
784 GameTooltip.isDisplayDone = nil;
785  
786 else
787 ISync:SetVar({"OPT","PRICE"}, 0, "TRUE");
788  
789 GameTooltip.isDisplayDone = nil;
790 end
791  
792 </OnClick>
793 </Scripts>
794 </CheckButton>
795  
796 <Button name="ISync_Options_Regular_Help8" virtual="true" hidden="false">
797 <Size>
798 <AbsDimension x="18" y="16"/>
799 </Size>
800 <Anchors>
801 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
802 <Offset>
803 <AbsDimension x="-8" y="-8"/>
804 </Offset>
805 </Anchor>
806 </Anchors>
807 <Layers>
808 <Layer level="OVERLAY">
809 <FontString name="$parentText" inherits="GameFontNormal" justifyH="RIGHT" text="[?]">
810 <Anchors>
811 <Anchor point="RIGHT">
812 <Offset>
813 <AbsDimension x="0" y="0"/>
814 </Offset>
815 </Anchor>
816 </Anchors>
817 </FontString>
818 </Layer>
819 </Layers>
820 <Scripts>
821 <OnEnter>
822 getglobal(this:GetName() .. "Text"):SetTextColor(1, 1, 0);
823 GameTooltip:SetOwner(this, "ANCHOR_LEFT");
824 GameTooltip:SetText(ISYNC_HELP_SUB8, 1, 0.72, 0, nil, 1);
825 GameTooltip:Show();
826 </OnEnter>
827 <OnLeave>
828 getglobal(this:GetName() .. "Text"):SetTextColor(1, 0.82, 0);
829 GameTooltip:Hide();
830 </OnLeave>
831 </Scripts>
832 </Button>
833  
834 </Frames>
835  
836 <Scripts>
837 <OnLoad>
838 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
839 this:SetBackdropColor(0.15, 0.15, 0.15);
840 getglobal(this:GetName().."Title"):SetText(ISYNC_OPTIONS_HEADER1);
841 </OnLoad>
842 </Scripts>
843 </Frame>
844  
845  
846  
847 <Frame name="ISYNC_Options_ShowMoneyIcons" inherits="OptionFrameBoxTemplate">
848 <Size>
849 <AbsDimension x="335" y="40"/>
850 </Size>
851 <Anchors>
852 <Anchor point="TOPLEFT" relativeTo="ISync_OptionsFrame" relativePoint="BOTTOMLEFT">
853 <Offset>
854 <AbsDimension x="13" y="70"/>
855 </Offset>
856 </Anchor>
857 </Anchors>
858 <Layers>
859 <Layer level="BACKGROUND">
860 <FontString inherits="GameFontNormal" text="ISYNC_OPTIONS_HEADER5_SUB1">
861 <Anchors>
862 <Anchor point="TOPLEFT">
863 <Offset>
864 <AbsDimension x="30" y="-10"/>
865 </Offset>
866 </Anchor>
867 </Anchors>
868 </FontString>
869 </Layer>
870 </Layers>
871  
872 <Frames>
873 <CheckButton name="ISYNC_Options_ShowMoneyIconsCheckButton1" inherits="OptionsCheckButtonTemplate">
874 <Size>
875 <AbsDimension x="26" y="26"/>
876 </Size>
877 <Anchors>
878 <Anchor point="TOPLEFT">
879 <Offset>
880 <AbsDimension x="5" y="-5"/>
881 </Offset>
882 </Anchor>
883 </Anchors>
884 <Scripts>
885 <OnClick>
886  
887 if(this:GetChecked()) then
888  
889 ISync:SetVar({"OPT","SHOWMONEYICONS"}, 1, "TRUE");
890  
891 GameTooltip.isDisplayDone = nil;
892  
893 else
894 ISync:SetVar({"OPT","SHOWMONEYICONS"}, 0, "TRUE");
895  
896 GameTooltip.isDisplayDone = nil;
897 end
898  
899 </OnClick>
900 </Scripts>
901 </CheckButton>
902  
903 <Button name="ISync_Options_Regular_Help15" virtual="true" hidden="false">
904 <Size>
905 <AbsDimension x="18" y="16"/>
906 </Size>
907 <Anchors>
908 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
909 <Offset>
910 <AbsDimension x="-8" y="-8"/>
911 </Offset>
912 </Anchor>
913 </Anchors>
914 <Layers>
915 <Layer level="OVERLAY">
916 <FontString name="$parentText" inherits="GameFontNormal" justifyH="RIGHT" text="[?]">
917 <Anchors>
918 <Anchor point="RIGHT">
919 <Offset>
920 <AbsDimension x="0" y="0"/>
921 </Offset>
922 </Anchor>
923 </Anchors>
924 </FontString>
925 </Layer>
926 </Layers>
927 <Scripts>
928 <OnEnter>
929 getglobal(this:GetName() .. "Text"):SetTextColor(1, 1, 0);
930 GameTooltip:SetOwner(this, "ANCHOR_LEFT");
931 GameTooltip:SetText(ISYNC_HELP_SUB15, 1, 0.72, 0, nil, 1);
932 GameTooltip:Show();
933 </OnEnter>
934 <OnLeave>
935 getglobal(this:GetName() .. "Text"):SetTextColor(1, 0.82, 0);
936 GameTooltip:Hide();
937 </OnLeave>
938 </Scripts>
939 </Button>
940  
941 </Frames>
942  
943 <Scripts>
944 <OnLoad>
945 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
946 this:SetBackdropColor(0.15, 0.15, 0.15);
947 getglobal(this:GetName().."Title"):SetText(ISYNC_OPTIONS_HEADER5);
948 </OnLoad>
949 </Scripts>
950 </Frame>
951  
952 </Frames>
953  
954 <Scripts>
955 <OnShow>
956 getglobal("ISYNC_Options_MoneylayoutCheckButton"..ISync:SetVar({"OPT","MONEYSET"}, 1)):SetChecked(1);
957 getglobal("ISYNC_Options_Vendor_CheckButton1"):SetChecked(ISync:SetVar({"OPT","VENDOR"}, 1));
958 getglobal("ISYNC_Options_Price_CheckButton1"):SetChecked(ISync:SetVar({"OPT","PRICE"}, 1));
959 getglobal("ISYNC_Options_DisplayFrame_CheckButton1"):SetChecked(ISync:SetVar({"OPT","ITEMCOUNTDISPLAY"}, 0));
960 getglobal("ISYNC_Options_ShowMoneyIconsCheckButton1"):SetChecked(ISync:SetVar({"OPT","SHOWMONEYICONS"}, 0));
961  
962 PlaySound("igMainMenuOptionCheckBoxOn");
963 </OnShow>
964  
965 <OnHide>
966 </OnHide>
967 <OnMouseDown> ISync_OptionsFrame:StartMoving(); </OnMouseDown>
968 <OnMouseUp> ISync_OptionsFrame:StopMovingOrSizing(); </OnMouseUp>
969 <OnDragStop> ISync_OptionsFrame:StopMovingOrSizing(); </OnDragStop>
970 </Scripts>
971 </Frame>
972  
973 </Ui>