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  
4 <Script file="ISync_MiniMapButton.lua"/>
5  
6 <Frame name="ISync_MiniMapButtonFrame" parent="Minimap" enableMouse="true" hidden="false" frameStrata="LOW">
7 <Size>
8 <AbsDimension x="32" y="32"/>
9 </Size>
10 <Anchors>
11 <Anchor point="TOPLEFT" relativeTo="Minimap" relativePoint="RIGHT">
12 <Offset>
13 <AbsDimension x="2" y="0"/>
14 </Offset>
15 </Anchor>
16 </Anchors>
17 <Frames>
18 <Button name="ISync_MiniMapButton">
19 <Size>
20 <AbsDimension x="32" y="32"/>
21 </Size>
22 <Anchors>
23 <Anchor point="TOPLEFT">
24 <Offset>
25 <AbsDimension x="0" y="0"/>
26 </Offset>
27 </Anchor>
28 </Anchors>
29 <NormalTexture file="Interface\AddOns\ItemSync\images\ISync_ButtonUp"/>
30 <PushedTexture file="Interface\AddOns\ItemSync\images\ISync_ButtonDown"/>
31 <HighlightTexture alphaMode="ADD" file="Interface\Minimap\UI-Minimap-ZoomButton-Highlight"/>
32 <Scripts>
33 <OnClick>
34 if(ISync) then ISync:MiniMapButton_Toggle(); end
35 </OnClick>
36 <OnEnter>
37 GameTooltip_SetDefaultAnchor(GameTooltip, UIParent);
38 GameTooltip:SetText("ItemSync (V:"..ISYNC_VERSION..")");
39 </OnEnter>
40 <OnLeave>
41 GameTooltip:Hide();
42 </OnLeave>
43 </Scripts>
44 </Button>
45 </Frames>
46 <Scripts>
47 </Scripts>
48 </Frame>
49  
50 <Frame name="ISync_OptionsFrameGeneral_Tab" toplevel="true" enableMouse="true" hidden="true" parent="ISync_OptionsFrame">
51 <Size>
52 <AbsDimension x="360" y="450"/>
53 </Size>
54 <Anchors>
55 <Anchor point="CENTER" relativeTo="ISync_OptionsFrame" relativePoint="CENTER">
56 <Offset>
57 <AbsDimension x="0" y="0"/>
58 </Offset>
59 </Anchor>
60 </Anchors>
61 <Frames>
62 <Frame name="ISYNC_Options_General_MergeDB" inherits="OptionFrameBoxTemplate">
63 <Size>
64 <AbsDimension x="335" y="40"/>
65 </Size>
66 <Anchors>
67 <Anchor point="TOPLEFT" relativeTo="ISync_OptionsFrameGeneral_Tab" relativePoint="BOTTOMLEFT">
68 <Offset>
69 <AbsDimension x="13" y="410"/>
70 </Offset>
71 </Anchor>
72 </Anchors>
73 <Layers>
74 <Layer level="BACKGROUND">
75 <FontString inherits="GameFontNormal" text="ISYNC_OPTIONS_SERVER_HEADER1_SUB1">
76 <Anchors>
77 <Anchor point="TOPLEFT">
78 <Offset>
79 <AbsDimension x="30" y="-10"/>
80 </Offset>
81 </Anchor>
82 </Anchors>
83 </FontString>
84 </Layer>
85 </Layers>
86  
87 <Frames>
88 <CheckButton name="ISYNC_Options_General_MergeDBCheckButton1" inherits="OptionsCheckButtonTemplate">
89 <Size>
90 <AbsDimension x="26" y="26"/>
91 </Size>
92 <Anchors>
93 <Anchor point="TOPLEFT">
94 <Offset>
95 <AbsDimension x="5" y="-5"/>
96 </Offset>
97 </Anchor>
98 </Anchors>
99 <Scripts>
100 <OnClick>
101 if(this:GetChecked()) then
102  
103 StaticPopup_Show("ISYNC_MERGEDB_CONFIRM");
104  
105 else
106 StaticPopup_Show("ISYNC_MERGEDB_UNCHECKCONFIRM");
107  
108 end
109 </OnClick>
110 </Scripts>
111 </CheckButton>
112  
113 <Button name="ISYNC_Options_General_Help16" virtual="true" hidden="false">
114 <Size>
115 <AbsDimension x="18" y="16"/>
116 </Size>
117 <Anchors>
118 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
119 <Offset>
120 <AbsDimension x="-8" y="-8"/>
121 </Offset>
122 </Anchor>
123 </Anchors>
124 <Layers>
125 <Layer level="OVERLAY">
126 <FontString name="$parentText" inherits="GameFontNormal" justifyH="RIGHT" text="[?]">
127 <Anchors>
128 <Anchor point="RIGHT">
129 <Offset>
130 <AbsDimension x="0" y="0"/>
131 </Offset>
132 </Anchor>
133 </Anchors>
134 </FontString>
135 </Layer>
136 </Layers>
137 <Scripts>
138 <OnEnter>
139 getglobal(this:GetName() .. "Text"):SetTextColor(1, 1, 0);
140 GameTooltip:SetOwner(this, "ANCHOR_LEFT");
141 GameTooltip:SetText(ISYNC_HELP_SUB16, 1, 0.72, 0, nil, 1);
142 GameTooltip:Show();
143 </OnEnter>
144 <OnLeave>
145 getglobal(this:GetName() .. "Text"):SetTextColor(1, 0.82, 0);
146 GameTooltip:Hide();
147 </OnLeave>
148 </Scripts>
149 </Button>
150 </Frames>
151  
152 <Scripts>
153 <OnLoad>
154 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
155 this:SetBackdropColor(0.15, 0.15, 0.15);
156 getglobal(this:GetName().."Title"):SetText(ISYNC_OPTIONS_SERVER_HEADER1);
157 </OnLoad>
158 </Scripts>
159 </Frame>
160  
161  
162 <Frame name="ISYNC_Options_General_ItemIcon" inherits="OptionFrameBoxTemplate">
163 <Size>
164 <AbsDimension x="335" y="40"/>
165 </Size>
166 <Anchors>
167 <Anchor point="TOPLEFT" relativeTo="ISync_OptionsFrameGeneral_Tab" relativePoint="BOTTOMLEFT">
168 <Offset>
169 <AbsDimension x="13" y="355"/>
170 </Offset>
171 </Anchor>
172 </Anchors>
173 <Layers>
174 <Layer level="BACKGROUND">
175 <FontString inherits="GameFontNormal" text="ISYNC_OPTIONS_CLEAN_HEADER1_SUB1">
176 <Anchors>
177 <Anchor point="TOPLEFT">
178 <Offset>
179 <AbsDimension x="30" y="-10"/>
180 </Offset>
181 </Anchor>
182 </Anchors>
183 </FontString>
184 </Layer>
185 </Layers>
186  
187 <Frames>
188 <CheckButton name="ISYNC_Options_General_ItemIcon_CheckButton1" inherits="OptionsCheckButtonTemplate">
189 <Size>
190 <AbsDimension x="26" y="26"/>
191 </Size>
192 <Anchors>
193 <Anchor point="TOPLEFT">
194 <Offset>
195 <AbsDimension x="5" y="-5"/>
196 </Offset>
197 </Anchor>
198 </Anchors>
199 <Scripts>
200 <OnClick>
201 if(this:GetChecked()) then
202  
203 ISync:SetVar({"OPT","TOOLTIPITEMICONS"}, 1, "TRUE");
204  
205 else
206 ISync:SetVar({"OPT","TOOLTIPITEMICONS"}, 0, "TRUE");
207  
208 end
209 </OnClick>
210 </Scripts>
211 </CheckButton>
212  
213 <Button name="ISync_Options_Regular_Help_Clean19" virtual="true" hidden="false">
214 <Size>
215 <AbsDimension x="18" y="16"/>
216 </Size>
217 <Anchors>
218 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
219 <Offset>
220 <AbsDimension x="-8" y="-8"/>
221 </Offset>
222 </Anchor>
223 </Anchors>
224 <Layers>
225 <Layer level="OVERLAY">
226 <FontString name="$parentText" inherits="GameFontNormal" justifyH="RIGHT" text="[?]">
227 <Anchors>
228 <Anchor point="RIGHT">
229 <Offset>
230 <AbsDimension x="0" y="0"/>
231 </Offset>
232 </Anchor>
233 </Anchors>
234 </FontString>
235 </Layer>
236 </Layers>
237 <Scripts>
238 <OnEnter>
239 getglobal(this:GetName() .. "Text"):SetTextColor(1, 1, 0);
240 GameTooltip:SetOwner(this, "ANCHOR_LEFT");
241 GameTooltip:SetText(ISYNC_HELP_SUB19, 1, 0.72, 0, nil, 1);
242 GameTooltip:Show();
243 </OnEnter>
244 <OnLeave>
245 getglobal(this:GetName() .. "Text"):SetTextColor(1, 0.82, 0);
246 GameTooltip:Hide();
247 </OnLeave>
248 </Scripts>
249 </Button>
250  
251 </Frames>
252  
253 <Scripts>
254 <OnLoad>
255 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
256 this:SetBackdropColor(0.15, 0.15, 0.15);
257 getglobal(this:GetName().."Title"):SetText(ISYNC_OPTIONS_CLEAN_HEADER1);
258 </OnLoad>
259 </Scripts>
260 </Frame>
261  
262  
263 <Frame name="ISYNC_Options_General_ResetWindows" inherits="OptionFrameBoxTemplate">
264 <Size>
265 <AbsDimension x="335" y="40"/>
266 </Size>
267 <Anchors>
268 <Anchor point="TOPLEFT" relativeTo="ISync_OptionsFrameGeneral_Tab" relativePoint="BOTTOMLEFT">
269 <Offset>
270 <AbsDimension x="13" y="300"/>
271 </Offset>
272 </Anchor>
273 </Anchors>
274 <Frames>
275 <Button name="ISYNC_Options_General_ResetWindows_Button" inherits="UIPanelButtonTemplate" text="ISYNC_SLASHRESETWINDOWS">
276 <Size>
277 <AbsDimension x="140" y="21"/>
278 </Size>
279 <Anchors>
280 <Anchor point="CENTER" relativePoint="CENTER">
281 <Offset>
282 <AbsDimension x="0" y="0"/>
283 </Offset>
284 </Anchor>
285 </Anchors>
286 <Scripts>
287 <OnClick>
288  
289 if(ISync_SlashCommand) then ISync_SlashCommand("resetwindow"); end
290  
291 </OnClick>
292 </Scripts>
293 </Button>
294  
295 <Button name="ISync_Options_Regular_Help_Clean_ResetWindow" virtual="true" hidden="false">
296 <Size>
297 <AbsDimension x="18" y="16"/>
298 </Size>
299 <Anchors>
300 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
301 <Offset>
302 <AbsDimension x="-8" y="-8"/>
303 </Offset>
304 </Anchor>
305 </Anchors>
306 <Layers>
307 <Layer level="OVERLAY">
308 <FontString name="$parentText" inherits="GameFontNormal" justifyH="RIGHT" text="[?]">
309 <Anchors>
310 <Anchor point="RIGHT">
311 <Offset>
312 <AbsDimension x="0" y="0"/>
313 </Offset>
314 </Anchor>
315 </Anchors>
316 </FontString>
317 </Layer>
318 </Layers>
319 <Scripts>
320 <OnEnter>
321 getglobal(this:GetName() .. "Text"):SetTextColor(1, 1, 0);
322 GameTooltip:SetOwner(this, "ANCHOR_LEFT");
323 GameTooltip:SetText(ISYNC_SLASHRESETWINDOWS, 1, 0.72, 0, nil, 1);
324 GameTooltip:Show();
325 </OnEnter>
326 <OnLeave>
327 getglobal(this:GetName() .. "Text"):SetTextColor(1, 0.82, 0);
328 GameTooltip:Hide();
329 </OnLeave>
330 </Scripts>
331 </Button>
332  
333 </Frames>
334  
335 <Scripts>
336 <OnLoad>
337 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
338 this:SetBackdropColor(0.15, 0.15, 0.15);
339 getglobal(this:GetName().."Title"):SetText(ISYNC_SLASHRESETWINDOWS);
340 </OnLoad>
341 </Scripts>
342 </Frame>
343  
344  
345 <Frame name="ISYNC_Options_General_MouseOver" inherits="OptionFrameBoxTemplate">
346 <Size>
347 <AbsDimension x="335" y="40"/>
348 </Size>
349 <Anchors>
350 <Anchor point="TOPLEFT" relativeTo="ISync_OptionsFrameGeneral_Tab" relativePoint="BOTTOMLEFT">
351 <Offset>
352 <AbsDimension x="13" y="245"/>
353 </Offset>
354 </Anchor>
355 </Anchors>
356 <Layers>
357 <Layer level="BACKGROUND">
358 <FontString inherits="GameFontNormal" text="ISYNC_OPTIONS_CLEAN_HEADER2_SUB1">
359 <Anchors>
360 <Anchor point="TOPLEFT">
361 <Offset>
362 <AbsDimension x="30" y="-10"/>
363 </Offset>
364 </Anchor>
365 </Anchors>
366 </FontString>
367 </Layer>
368 </Layers>
369  
370 <Frames>
371 <CheckButton name="ISYNC_Options_General_MouseOver_CheckButton1" inherits="OptionsCheckButtonTemplate">
372 <Size>
373 <AbsDimension x="26" y="26"/>
374 </Size>
375 <Anchors>
376 <Anchor point="TOPLEFT">
377 <Offset>
378 <AbsDimension x="5" y="-5"/>
379 </Offset>
380 </Anchor>
381 </Anchors>
382 <Scripts>
383 <OnClick>
384 if(this:GetChecked()) then
385  
386 ISync:SetVar({"OPT","MOUSEOVERINSPECT"}, 1, "TRUE");
387  
388 else
389 ISync:SetVar({"OPT","MOUSEOVERINSPECT"}, 0, "TRUE");
390  
391 end
392 </OnClick>
393 </Scripts>
394 </CheckButton>
395  
396 <Button name="ISync_Options_Regular_Help_CleanMouseOver" virtual="true" hidden="false">
397 <Size>
398 <AbsDimension x="18" y="16"/>
399 </Size>
400 <Anchors>
401 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
402 <Offset>
403 <AbsDimension x="-8" y="-8"/>
404 </Offset>
405 </Anchor>
406 </Anchors>
407 <Layers>
408 <Layer level="OVERLAY">
409 <FontString name="$parentText" inherits="GameFontNormal" justifyH="RIGHT" text="[?]">
410 <Anchors>
411 <Anchor point="RIGHT">
412 <Offset>
413 <AbsDimension x="0" y="0"/>
414 </Offset>
415 </Anchor>
416 </Anchors>
417 </FontString>
418 </Layer>
419 </Layers>
420 <Scripts>
421 <OnEnter>
422 getglobal(this:GetName() .. "Text"):SetTextColor(1, 1, 0);
423 GameTooltip:SetOwner(this, "ANCHOR_LEFT");
424 GameTooltip:SetText(ISYNC_HELP_SUB21, 1, 0.72, 0, nil, 1);
425 GameTooltip:Show();
426 </OnEnter>
427 <OnLeave>
428 getglobal(this:GetName() .. "Text"):SetTextColor(1, 0.82, 0);
429 GameTooltip:Hide();
430 </OnLeave>
431 </Scripts>
432 </Button>
433  
434 </Frames>
435  
436 <Scripts>
437 <OnLoad>
438 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
439 this:SetBackdropColor(0.15, 0.15, 0.15);
440 getglobal(this:GetName().."Title"):SetText(ISYNC_OPTIONS_CLEAN_HEADER2);
441 </OnLoad>
442 </Scripts>
443 </Frame>
444  
445  
446 <Frame name="ISync_Options_General_EnableTypeLink" inherits="OptionFrameBoxTemplate">
447 <Size>
448 <AbsDimension x="335" y="40"/>
449 </Size>
450 <Anchors>
451 <Anchor point="TOPLEFT" relativeTo="ISync_OptionsFrameGeneral_Tab" relativePoint="BOTTOMLEFT">
452 <Offset>
453 <AbsDimension x="13" y="190"/>
454 </Offset>
455 </Anchor>
456 </Anchors>
457 <Layers>
458 <Layer level="BACKGROUND">
459 <FontString inherits="GameFontNormal" text="ISYNC_OPTIONS_GENERAL_HEADER1_SUB1">
460 <Anchors>
461 <Anchor point="TOPLEFT">
462 <Offset>
463 <AbsDimension x="30" y="-10"/>
464 </Offset>
465 </Anchor>
466 </Anchors>
467 </FontString>
468 </Layer>
469 </Layers>
470  
471 <Frames>
472 <CheckButton name="ISync_Options_General_EnableTypeLink_CheckButton1" inherits="OptionsCheckButtonTemplate">
473 <Size>
474 <AbsDimension x="26" y="26"/>
475 </Size>
476 <Anchors>
477 <Anchor point="TOPLEFT">
478 <Offset>
479 <AbsDimension x="5" y="-5"/>
480 </Offset>
481 </Anchor>
482 </Anchors>
483 <Scripts>
484 <OnClick>
485 if(this:GetChecked()) then
486  
487 ISync:SetVar({"OPT","LINKFETCH"}, 1, "TRUE");
488  
489 else
490 ISync:SetVar({"OPT","LINKFETCH"}, 0, "TRUE");
491  
492 end
493 </OnClick>
494 </Scripts>
495 </CheckButton>
496 <Button name="ISync_Options_Mods_Help_TypeLinks" virtual="true" hidden="false">
497 <Size>
498 <AbsDimension x="18" y="16"/>
499 </Size>
500 <Anchors>
501 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
502 <Offset>
503 <AbsDimension x="-8" y="-8"/>
504 </Offset>
505 </Anchor>
506 </Anchors>
507 <Layers>
508 <Layer level="OVERLAY">
509 <FontString name="$parentText" inherits="GameFontNormal" justifyH="RIGHT" text="[?]">
510 <Anchors>
511 <Anchor point="RIGHT">
512 <Offset>
513 <AbsDimension x="0" y="0"/>
514 </Offset>
515 </Anchor>
516 </Anchors>
517 </FontString>
518 </Layer>
519 </Layers>
520 <Scripts>
521 <OnEnter>
522 getglobal(this:GetName() .. "Text"):SetTextColor(1, 1, 0);
523 GameTooltip:SetOwner(this, "ANCHOR_LEFT");
524 GameTooltip:SetText(ISYNC_HELP_SUB20, 1, 0.72, 0, nil, 1);
525 GameTooltip:Show();
526 </OnEnter>
527 <OnLeave>
528 getglobal(this:GetName() .. "Text"):SetTextColor(1, 0.82, 0);
529 GameTooltip:Hide();
530 </OnLeave>
531 </Scripts>
532 </Button>
533  
534 </Frames>
535  
536 <Scripts>
537 <OnLoad>
538 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
539 this:SetBackdropColor(0.15, 0.15, 0.15);
540 getglobal(this:GetName().."Title"):SetText(ISYNC_OPTIONS_GENERAL_HEADER1);
541 </OnLoad>
542 </Scripts>
543 </Frame>
544  
545  
546 <Frame name="ISync_OptionsFrameGeneral_MiniMapFrame" inherits="OptionFrameBoxTemplate">
547 <Size>
548 <AbsDimension x="335" y="80"/>
549 </Size>
550 <Anchors>
551 <Anchor point="CENTER" relativeTo="ISync_OptionsFrameGeneral_Tab" relativePoint="CENTER">
552 <Offset>
553 <AbsDimension x="0" y="-133"/>
554 </Offset>
555 </Anchor>
556 </Anchors>
557 <Layers>
558 <Layer level="BACKGROUND">
559 <FontString inherits="GameFontNormal" text="ISYNC_MINIMAPBUTTON_CHECKBUTTON">
560 <Anchors>
561 <Anchor point="TOPLEFT">
562 <Offset>
563 <AbsDimension x="30" y="-10"/>
564 </Offset>
565 </Anchor>
566 </Anchors>
567 </FontString>
568 </Layer>
569 </Layers>
570  
571 <Frames>
572  
573 <CheckButton name="ISync_OptionsFrameGeneral_MiniMap_CheckButton1" inherits="OptionsCheckButtonTemplate">
574 <Size>
575 <AbsDimension x="26" y="26"/>
576 </Size>
577 <Anchors>
578 <Anchor point="TOPLEFT">
579 <Offset>
580 <AbsDimension x="5" y="-5"/>
581 </Offset>
582 </Anchor>
583 </Anchors>
584 <Scripts>
585 <OnClick>
586 if(this:GetChecked()) then
587  
588 ISync:SetVar({"OPT","MINIMAP_SHOW"}, 1, "TRUE");
589 ISync:MiniMapButton_Init();
590  
591 else
592 ISync:SetVar({"OPT","MINIMAP_SHOW"}, 0, "TRUE");
593 ISync:MiniMapButton_Init();
594  
595 end
596 </OnClick>
597 </Scripts>
598 </CheckButton>
599  
600  
601 <Slider name="ISync_MiniMapButton_SliderButtonPos" inherits="OptionsSliderTemplate">
602 <Size>
603 <AbsDimension x="220" y="16"/>
604 </Size>
605 <Anchors>
606 <Anchor point="TOP">
607 <Offset>
608 <AbsDimension x="0" y="-50" />
609 </Offset>
610 </Anchor>
611 </Anchors>
612 <Scripts>
613 <OnShow>
614  
615 getglobal(this:GetName().."Text"):SetText(ISYNC_MINIMAPBUTTON_SLIDERTEXT..": |c00FFFFFF"..ISync:SetVar({"OPT","MINIMAP_LOC"}, 305).."|r");
616 getglobal(this:GetName().."High"):SetText();
617 getglobal(this:GetName().."Low"):SetText();
618 ISync_MiniMapButton_SliderButtonPos:SetMinMaxValues(0,360);
619 ISync_MiniMapButton_SliderButtonPos:SetValueStep(1);
620  
621 ISync_MiniMapButton_SliderButtonPos:SetValue(ISync:SetVar({"OPT","MINIMAP_LOC"}, 305));
622  
623  
624 </OnShow>
625 <OnValueChanged>
626  
627 ISync:SetVar({"OPT","MINIMAP_LOC"}, ISync_MiniMapButton_SliderButtonPos:GetValue(), "TRUE");
628 getglobal(this:GetName().."Text"):SetText(ISYNC_MINIMAPBUTTON_SLIDERTEXT..": |c00FFFFFF"..ISync_MiniMapButton_SliderButtonPos:GetValue().."|r");
629  
630 ISync:MiniMapButton_UpdatePosition();
631  
632 </OnValueChanged>
633 </Scripts>
634 </Slider>
635  
636 <Button name="ISync_OptionsGeneral_MiniMapOptHelp" virtual="true" hidden="false">
637 <Size>
638 <AbsDimension x="18" y="16"/>
639 </Size>
640 <Anchors>
641 <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
642 <Offset>
643 <AbsDimension x="-8" y="-8"/>
644 </Offset>
645 </Anchor>
646 </Anchors>
647 <Layers>
648 <Layer level="OVERLAY">
649 <FontString name="$parentText" inherits="GameFontNormal" justifyH="RIGHT" text="[?]">
650 <Anchors>
651 <Anchor point="RIGHT">
652 <Offset>
653 <AbsDimension x="0" y="0"/>
654 </Offset>
655 </Anchor>
656 </Anchors>
657 </FontString>
658 </Layer>
659 </Layers>
660 <Scripts>
661 <OnEnter>
662 getglobal(this:GetName() .. "Text"):SetTextColor(1, 1, 0);
663 GameTooltip:SetOwner(this, "ANCHOR_LEFT");
664 GameTooltip:SetText(ISYNC_MINIMAPBUTTON_TOOLTIP, 1, 0.72, 0, nil, 1);
665 GameTooltip:Show();
666 </OnEnter>
667 <OnLeave>
668 getglobal(this:GetName() .. "Text"):SetTextColor(1, 0.82, 0);
669 GameTooltip:Hide();
670 </OnLeave>
671 </Scripts>
672 </Button>
673  
674 </Frames>
675  
676 <Scripts>
677 <OnLoad>
678 this:SetBackdropBorderColor(0.4, 0.4, 0.4);
679 this:SetBackdropColor(0.15, 0.15, 0.15);
680 getglobal(this:GetName().."Title"):SetText(ISYNC_MINIMAPBUTTON_HEADER);
681  
682 </OnLoad>
683 </Scripts>
684 </Frame>
685  
686  
687 </Frames>
688  
689 <Scripts>
690 <OnShow>
691 getglobal("ISync_OptionsFrameGeneral_MiniMap_CheckButton1"):SetChecked(ISync:SetVar({"OPT","MINIMAP_SHOW"}, 0));
692 getglobal("ISYNC_Options_General_MergeDBCheckButton1"):SetChecked(ISync:SetVar({"OPT","SERVER_MERGE"}, 0));
693 getglobal("ISYNC_Options_General_ItemIcon_CheckButton1"):SetChecked(ISync:SetVar({"OPT","TOOLTIPITEMICONS"}, 1));
694 getglobal("ISYNC_Options_General_MouseOver_CheckButton1"):SetChecked(ISync:SetVar({"OPT","MOUSEOVERINSPECT"}, 1));
695 getglobal("ISync_Options_General_EnableTypeLink_CheckButton1"):SetChecked(ISync:SetVar({"OPT","LINKFETCH"}, 0));
696 getglobal("ISync_MiniMapButton_SliderButtonPos"):SetValue(ISync:SetVar({"OPT","MINIMAP_LOC"}, 305));
697 getglobal("ISync_MiniMapButton_SliderButtonPosText"):SetText(ISYNC_MINIMAPBUTTON_SLIDERTEXT..": |c00FFFFFF"..ISync:SetVar({"OPT","MINIMAP_LOC"}, 305).."|r");
698  
699  
700  
701 PlaySound("igMainMenuOptionCheckBoxOn");
702  
703 </OnShow>
704 <OnMouseDown> ISync_OptionsFrame:StartMoving(); </OnMouseDown>
705 <OnMouseUp> ISync_OptionsFrame:StopMovingOrSizing(); </OnMouseUp>
706 <OnDragStop> ISync_OptionsFrame:StopMovingOrSizing(); </OnDragStop>
707  
708 </Scripts>
709 </Frame>
710  
711  
712  
713  
714 </Ui>