vanilla-wow-addons – Rev 1

Subversion Repositories:
Rev:
<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/
        ..\FrameXML\UI.xsd">
        <Script file="ISync_Options.lua"/>
        
        <Button name="ISyncTabTemplate" inherits="CharacterFrameTabButtonTemplate" virtual="true">
                <Scripts>
                        <OnClick>
                                PanelTemplates_Tab_OnClick(ISync_OptionsFrame);
                                ISync_OptionsFrame:Show();
                        </OnClick>
                </Scripts>
        </Button>
        
        <Frame name="ISync_OptionsFrame"  toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="ISync_MainFrame">
                <Size>
                        <AbsDimension x="360" y="450"/>
                </Size>
                <Anchors>
                        <Anchor point="TOPLEFT" relativeTo="ISync_MainFrame" relativePoint="TOPRIGHT">
                                <Offset>
                                        <AbsDimension x="32" y="0"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
                        <BackgroundInsets>
                                <AbsInset left="11" right="12" top="12" bottom="11"/>
                        </BackgroundInsets>
                        <TileSize>
                                <AbsValue val="32"/>
                        </TileSize>
                        <EdgeSize>
                                <AbsValue val="32"/>
                        </EdgeSize>
                </Backdrop>
                <Frames>
                
                        <Frame name="ISYNC_Options_HeaderBox" inherits="OptionFrameBoxTemplate">
                                <Size>
                                        <AbsDimension x="335" y="30"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="CENTER" relativeTo="ISync_OptionsFrame" relativePoint="CENTER">
                                                <Offset>
                                                        <AbsDimension x="0" y="233"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <FontString name="ISync_OptionsFrameHeaderText" inherits="GameFontNormal" text="ISYNC_MAIN_HEADER_OPTIONS">
                                                        <Anchors>
                                                                <Anchor point="CENTER"> 
                                                                        <Offset>
                                                                                <AbsDimension x="0" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnLoad>
                                                this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                                                this:SetBackdropColor(0.0, 0.5, 0.0, 0.7);
                                        </OnLoad>
                                        <OnMouseDown>
                                                if( arg1 == "LeftButton" ) then
                                                        GameTooltip:Hide();
                                                        getglobal(this:GetParent():GetName()):StartMoving();
                                                end
                                        </OnMouseDown>
                                        <OnMouseUp>
                                                getglobal(this:GetParent():GetName()):StopMovingOrSizing();
                                        </OnMouseUp>
                                </Scripts>
                        </Frame>

                        <Button name="ISYNC_Options_CloseButton" inherits="UIPanelCloseButton" hidden="false" toplevel="true">
                                <Anchors>
                                        <Anchor point="CENTER" relativeTo="ISYNC_Options_HeaderBox" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="-17" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>

                        <Button name="ISync_OptionsFrameTab1" inherits="ISyncTabTemplate" id="1" text="ISYNC_BT_MAIN">
                                <Anchors>
                                        <Anchor point="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="5" y="-23"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                </Scripts>
                        </Button>
                        
                        <Button name="ISync_OptionsFrameTab2" inherits="ISyncTabTemplate" id="2" text="ISYNC_BT_MODS">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="ISync_OptionsFrameTab1" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="-14" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>

                                </Scripts>
                        </Button>
                        
                        
                        <Button name="ISync_OptionsFrameTab3" inherits="ISyncTabTemplate" id="3" text="ISYNC_MAIN_HEADER_OPTIONSGENERAL">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="ISync_OptionsFrameTab2" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="-14" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>

                                </Scripts>
                        </Button>
                        
                        
                        <Button name="ISync_OptionsFrameTab4" inherits="ISyncTabTemplate" id="4" text="ISYNC_MAIN_HEADER_OPTIONSCLEAN">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="ISync_OptionsFrameTab3" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="-14" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>

                                </Scripts>
                        </Button>
                        

                </Frames>
 
                        <Scripts>
                                        <OnLoad>
                                                if(ISync) then ISync:Options_OnLoad(); end
                                        </OnLoad>
                                        <OnUpdate>
                                                if(ISync) then ISync:Options_OnUpdate(); end
                                        </OnUpdate>
                                        <OnMouseDown> this:StartMoving();  </OnMouseDown>
                                        <OnMouseUp>  this:StopMovingOrSizing(); </OnMouseUp>
                                        <OnDragStop> this:StopMovingOrSizing(); </OnDragStop>
                                        <OnHide>PlaySound("igMainMenuOptionCheckBoxOff");</OnHide>
                        </Scripts>
        </Frame>
        
        
        <Frame name="ISync_OptionsFrame_Tab"  toplevel="true" enableMouse="true" hidden="true" parent="ISync_OptionsFrame">
                <Size>
                        <AbsDimension x="360" y="450"/>
                </Size>
                <Anchors>
                        <Anchor point="CENTER" relativeTo="ISync_OptionsFrame" relativePoint="CENTER">
                                <Offset>
                                        <AbsDimension x="0" y="0"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Frames>
                        <Frame name="ISYNC_Options_Moneylayout" inherits="OptionFrameBoxTemplate">
                                <Size>
                                        <AbsDimension x="335" y="155"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ISync_OptionsFrame" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="13" y="410"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <FontString inherits="GameFontNormal" text="ISYNC_OPT_MONEY1">
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT"> 
                                                                        <Offset>
                                                                                <AbsDimension x="30" y="-10"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString inherits="GameFontNormal" text="ISYNC_OPT_MONEY2">
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT"> 
                                                                        <Offset>
                                                                                <AbsDimension x="30" y="-30"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString inherits="GameFontNormal" text="ISYNC_OPT_MONEY3">
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT"> 
                                                                        <Offset>
                                                                                <AbsDimension x="30" y="-50"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString inherits="GameFontNormal" text="ISYNC_OPT_MONEY4">
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT"> 
                                                                        <Offset>
                                                                                <AbsDimension x="30" y="-70"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                
                                                <FontString inherits="GameFontNormal" text="ISYNC_OPT_MONEY5">
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT"> 
                                                                        <Offset>
                                                                                <AbsDimension x="30" y="-90"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString inherits="GameFontNormal" text="ISYNC_OPT_MONEY6">
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT"> 
                                                                        <Offset>
                                                                                <AbsDimension x="30" y="-110"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                                <FontString inherits="GameFontNormal" text="ISYNC_OPT_MONEY7">
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT"> 
                                                                        <Offset>
                                                                                <AbsDimension x="30" y="-130"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                
                                <Frames>

                                        <CheckButton name="ISYNC_Options_MoneylayoutCheckButton1" inherits="OptionsCheckButtonTemplate">
                                                <Size>
                                                        <AbsDimension x="26" y="26"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="-5"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                if(this:GetChecked()) then

                                                                        ISync:SetVar({"OPT","MONEYSET"}, 1, "TRUE");

                                                                        ISync:SetVar({"LAYOUT","GOLD"}, "|c00FFFFFF%s|r|c00E2CD54"..ISYNC_OPTGOLD1.."|r ", "TRUE");
                                                                        ISync:SetVar({"LAYOUT","SILVER"}, "|c00FFFFFF%s|r|c00AEAEAE"..ISYNC_OPTSILVER1.."|r ", "TRUE");
                                                                        ISync:SetVar({"LAYOUT","COPPER"}, "|c00FFFFFF%s|r|c00D7844D"..ISYNC_OPTCOPPER1.."|r", "TRUE");

                                                                        ISYNC_Options_MoneylayoutCheckButton1:SetChecked(1);
                                                                        ISYNC_Options_MoneylayoutCheckButton2:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton3:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton4:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton5:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton6:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton7:SetChecked(0);
                                                                end
                                                        </OnClick>
                                                </Scripts>
                                        </CheckButton>
                                        <CheckButton name="ISYNC_Options_MoneylayoutCheckButton2" inherits="OptionsCheckButtonTemplate">
                                                <Size>
                                                        <AbsDimension x="26" y="26"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP" relativeTo="ISYNC_Options_MoneylayoutCheckButton1" relativePoint="BOTTOM">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="6"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                if(this:GetChecked()) then

                                                                        ISync:SetVar({"OPT","MONEYSET"}, 2, "TRUE");

                                                                        ISync:SetVar({"LAYOUT","GOLD"}, "|c00FFFFFF%s|r |c00E2CD54"..ISYNC_OPTGOLD1.."|r ", "TRUE");
                                                                        ISync:SetVar({"LAYOUT","SILVER"}, "|c00FFFFFF%s|r |c00AEAEAE"..ISYNC_OPTSILVER1.."|r ", "TRUE");
                                                                        ISync:SetVar({"LAYOUT","COPPER"}, "|c00FFFFFF%s|r |c00D7844D"..ISYNC_OPTCOPPER1.."|r", "TRUE");

                                                                        ISYNC_Options_MoneylayoutCheckButton1:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton2:SetChecked(1);
                                                                        ISYNC_Options_MoneylayoutCheckButton3:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton4:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton5:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton6:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton7:SetChecked(0);
                                                                end
                                                        </OnClick>
                                                </Scripts>
                                        </CheckButton>
                                        
                                        <CheckButton name="ISYNC_Options_MoneylayoutCheckButton3" inherits="OptionsCheckButtonTemplate">
                                                <Size>
                                                        <AbsDimension x="26" y="26"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP" relativeTo="ISYNC_Options_MoneylayoutCheckButton2" relativePoint="BOTTOM">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="6"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                if(this:GetChecked()) then

                                                                        ISync:SetVar({"OPT","MONEYSET"}, 3, "TRUE");

                                                                        ISync:SetVar({"LAYOUT","GOLD"}, "|c00FFFFFF%s|r|c00E2CD54["..ISYNC_OPTGOLD1.."]|r ", "TRUE");
                                                                        ISync:SetVar({"LAYOUT","SILVER"}, "|c00FFFFFF%s|r|c00AEAEAE["..ISYNC_OPTSILVER1.."]|r ", "TRUE");
                                                                        ISync:SetVar({"LAYOUT","COPPER"}, "|c00FFFFFF%s|r|c00D7844D["..ISYNC_OPTCOPPER1.."]|r", "TRUE");

                                                                        ISYNC_Options_MoneylayoutCheckButton1:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton2:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton3:SetChecked(1);
                                                                        ISYNC_Options_MoneylayoutCheckButton4:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton5:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton6:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton7:SetChecked(0);
                                                                end
                                                        </OnClick>
                                                </Scripts>
                                        </CheckButton>
                                        <CheckButton name="ISYNC_Options_MoneylayoutCheckButton4" inherits="OptionsCheckButtonTemplate">
                                                <Size>
                                                        <AbsDimension x="26" y="26"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP" relativeTo="ISYNC_Options_MoneylayoutCheckButton3" relativePoint="BOTTOM">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="6"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                if(this:GetChecked()) then

                                                                        ISync:SetVar({"OPT","MONEYSET"}, 4, "TRUE");

                                                                        ISync:SetVar({"LAYOUT","GOLD"}, "|c00FFFFFF%s|r|c00E2CD54["..ISYNC_OPTGOLD2.."]|r ", "TRUE");
                                                                        ISync:SetVar({"LAYOUT","SILVER"}, "|c00FFFFFF%s|r|c00AEAEAE["..ISYNC_OPTSILVER2.."]|r ", "TRUE");
                                                                        ISync:SetVar({"LAYOUT","COPPER"}, "|c00FFFFFF%s|r|c00D7844D["..ISYNC_OPTCOPPER2.."]|r", "TRUE");

                                                                        ISYNC_Options_MoneylayoutCheckButton1:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton2:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton3:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton4:SetChecked(1);
                                                                        ISYNC_Options_MoneylayoutCheckButton5:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton6:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton7:SetChecked(0);
                                                                end
                                                        </OnClick>
                                                </Scripts>
                                        </CheckButton>
                                        <CheckButton name="ISYNC_Options_MoneylayoutCheckButton5" inherits="OptionsCheckButtonTemplate">
                                                <Size>
                                                        <AbsDimension x="26" y="26"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP" relativeTo="ISYNC_Options_MoneylayoutCheckButton4" relativePoint="BOTTOM">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="6"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                if(this:GetChecked()) then

                                                                        ISync:SetVar({"OPT","MONEYSET"}, 5, "TRUE");

                                                                        ISync:SetVar({"LAYOUT","GOLD"}, "|c00FFFFFF%s|r |c00E2CD54["..ISYNC_OPTGOLD1.."]|r ", "TRUE");
                                                                        ISync:SetVar({"LAYOUT","SILVER"}, "|c00FFFFFF%s|r |c00AEAEAE["..ISYNC_OPTSILVER1.."]|r ", "TRUE");
                                                                        ISync:SetVar({"LAYOUT","COPPER"}, "|c00FFFFFF%s|r |c00D7844D["..ISYNC_OPTCOPPER1.."]|r", "TRUE");

                                                                        ISYNC_Options_MoneylayoutCheckButton1:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton2:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton3:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton4:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton5:SetChecked(1);
                                                                        ISYNC_Options_MoneylayoutCheckButton6:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton7:SetChecked(0);
                                                                end
                                                        </OnClick>
                                                </Scripts>
                                        </CheckButton>
                                        <CheckButton name="ISYNC_Options_MoneylayoutCheckButton6" inherits="OptionsCheckButtonTemplate">
                                                <Size>
                                                        <AbsDimension x="26" y="26"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP" relativeTo="ISYNC_Options_MoneylayoutCheckButton5" relativePoint="BOTTOM">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="6"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                if(this:GetChecked()) then

                                                                        ISync:SetVar({"OPT","MONEYSET"}, 6, "TRUE");

                                                                        ISync:SetVar({"LAYOUT","GOLD"}, "|c00FFFFFF%s|r |c00E2CD54["..ISYNC_OPTGOLD2.."]|r ", "TRUE");
                                                                        ISync:SetVar({"LAYOUT","SILVER"}, "|c00FFFFFF%s|r |c00AEAEAE["..ISYNC_OPTSILVER2.."]|r ", "TRUE");
                                                                        ISync:SetVar({"LAYOUT","COPPER"}, "|c00FFFFFF%s|r |c00D7844D["..ISYNC_OPTCOPPER2.."]|r", "TRUE");

                                                                        ISYNC_Options_MoneylayoutCheckButton1:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton2:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton3:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton4:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton5:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton6:SetChecked(1);
                                                                        ISYNC_Options_MoneylayoutCheckButton7:SetChecked(0);
                                                                end
                                                        </OnClick>
                                                </Scripts>
                                        </CheckButton>
  
                                        <CheckButton name="ISYNC_Options_MoneylayoutCheckButton7" inherits="OptionsCheckButtonTemplate">
                                                <Size>
                                                        <AbsDimension x="26" y="26"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOP" relativeTo="ISYNC_Options_MoneylayoutCheckButton6" relativePoint="BOTTOM">
                                                                <Offset>
                                                                        <AbsDimension x="0" y="6"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                if(this:GetChecked()) then
 
                                                                        ISync:SetVar({"OPT","MONEYSET"}, 7, "TRUE");
 
                                                                        ISync:SetVar({"LAYOUT","GOLD"}, "|c00E2CD54%s|r|c00FFFFFF.|r", "TRUE");
                                                                        ISync:SetVar({"LAYOUT","SILVER"}, "|c00AEAEAE%s|r|c00FFFFFF.|r", "TRUE");
                                                                        ISync:SetVar({"LAYOUT","COPPER"}, "|c00D7844D%s|r", "TRUE");
 
                                                                        ISYNC_Options_MoneylayoutCheckButton1:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton2:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton3:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton4:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton5:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton6:SetChecked(0);
                                                                        ISYNC_Options_MoneylayoutCheckButton7:SetChecked(1);
                                                                end
                                                        </OnClick>
                                                </Scripts>
                                        </CheckButton>
                                        
                                        <Button name="ISync_Options_Regular_Help5" virtual="true" hidden="false">
                                                <Size>
                                                        <AbsDimension x="18" y="16"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-8" y="-8"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Layers>
                                                        <Layer level="OVERLAY">
                                                                <FontString name="$parentText" inherits="GameFontNormal" justifyH="RIGHT" text="[?]">
                                                                        <Anchors>
                                                                                <Anchor point="RIGHT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </FontString>
                                                        </Layer>
                                                </Layers>
                                                <Scripts>
                                                        <OnEnter>
                                                                getglobal(this:GetName() .. "Text"):SetTextColor(1, 1, 0);
                                                                GameTooltip:SetOwner(this, "ANCHOR_LEFT");
                                                                GameTooltip:SetText(ISYNC_HELP_SUB5, 1, 0.72, 0, nil, 1);
                                                                GameTooltip:Show();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                getglobal(this:GetName() .. "Text"):SetTextColor(1, 0.82, 0);
                                                                GameTooltip:Hide();                                             
                                                        </OnLeave>
                                                </Scripts>
                                        </Button>
                                </Frames>
                                
                                <Scripts>
                                        <OnLoad>
                                                this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                                                this:SetBackdropColor(0.15, 0.15, 0.15);
                                                getglobal(this:GetName().."Title"):SetText(ISYNC_MONEYDISPLAY_HEADER);
                                        </OnLoad>
                                </Scripts>
                        </Frame>
                        
                        
                        <Frame name="ISYNC_Options_DisplayFrameShow" inherits="OptionFrameBoxTemplate">
                                <Size>
                                        <AbsDimension x="335" y="40"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ISync_OptionsFrame" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="13" y="235"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <FontString inherits="GameFontNormal" text="ISYNC_OPTIONS_HEADER3_SUB1">
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT"> 
                                                                        <Offset>
                                                                                <AbsDimension x="30" y="-10"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>

                                <Frames>
                                        <CheckButton name="ISYNC_Options_DisplayFrame_CheckButton1" inherits="OptionsCheckButtonTemplate">
                                                <Size>
                                                        <AbsDimension x="26" y="26"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="-5"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                if(this:GetChecked()) then

                                                                        ISync:SetVar({"OPT","ITEMCOUNTDISPLAY"}, 1, "TRUE");

                                                                        if(ISync_ID_Frame) then ISync_ID_Frame:Show(); end

                                                                else
                                                                        ISync:SetVar({"OPT","ITEMCOUNTDISPLAY"}, 0, "TRUE");

                                                                        if(ISync_ID_Frame) then ISync_ID_Frame:Hide(); end
                                                                end
                                                        </OnClick>
                                                </Scripts>
                                        </CheckButton>
                                        
                                        
                                        <Button name="ISync_Options_Regular_Help6" virtual="true" hidden="false">
                                                <Size>
                                                        <AbsDimension x="18" y="16"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-8" y="-8"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Layers>
                                                        <Layer level="OVERLAY">
                                                                <FontString name="$parentText" inherits="GameFontNormal" justifyH="RIGHT" text="[?]">
                                                                        <Anchors>
                                                                                <Anchor point="RIGHT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </FontString>
                                                        </Layer>
                                                </Layers>
                                                <Scripts>
                                                        <OnEnter>
                                                                getglobal(this:GetName() .. "Text"):SetTextColor(1, 1, 0);
                                                                GameTooltip:SetOwner(this, "ANCHOR_LEFT");
                                                                GameTooltip:SetText(ISYNC_HELP_SUB6, 1, 0.72, 0, nil, 1);
                                                                GameTooltip:Show();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                getglobal(this:GetName() .. "Text"):SetTextColor(1, 0.82, 0);
                                                                GameTooltip:Hide();                                             
                                                        </OnLeave>
                                                </Scripts>
                                        </Button>
                                </Frames>

                                <Scripts>
                                        <OnLoad>
                                                this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                                                this:SetBackdropColor(0.15, 0.15, 0.15);
                                                getglobal(this:GetName().."Title"):SetText(ISYNC_OPTIONS_HEADER3);
                                        </OnLoad>
                                </Scripts>
                        </Frame>
                        
 
 
                        <Frame name="ISYNC_Options_VendorShow" inherits="OptionFrameBoxTemplate">
                                <Size>
                                        <AbsDimension x="335" y="40"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ISync_OptionsFrame" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="13" y="180"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <FontString inherits="GameFontNormal" text="ISYNC_OPTIONS_HEADER2_SUB1">
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT"> 
                                                                        <Offset>
                                                                                <AbsDimension x="30" y="-10"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>

                                <Frames>
                                        <CheckButton name="ISYNC_Options_Vendor_CheckButton1" inherits="OptionsCheckButtonTemplate">
                                                <Size>
                                                        <AbsDimension x="26" y="26"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="-5"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                        if(this:GetChecked()) then
                                                                        
                                                                                ISync:SetVar({"OPT","VENDOR"}, 1, "TRUE");
                                                                                
                                                                                GameTooltip.isDisplayDone = nil;

                                                                        else
                                                                                ISync:SetVar({"OPT","VENDOR"}, 0, "TRUE");
                                                                                
                                                                                GameTooltip.isDisplayDone = nil;
                                                                        end

                                                        </OnClick>
                                                </Scripts>
                                        </CheckButton>
                                        
                                        <Button name="ISync_Options_Regular_Help7" virtual="true" hidden="false">
                                                <Size>
                                                        <AbsDimension x="18" y="16"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-8" y="-8"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Layers>
                                                        <Layer level="OVERLAY">
                                                                <FontString name="$parentText" inherits="GameFontNormal" justifyH="RIGHT" text="[?]">
                                                                        <Anchors>
                                                                                <Anchor point="RIGHT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </FontString>
                                                        </Layer>
                                                </Layers>
                                                <Scripts>
                                                        <OnEnter>
                                                                getglobal(this:GetName() .. "Text"):SetTextColor(1, 1, 0);
                                                                GameTooltip:SetOwner(this, "ANCHOR_LEFT");
                                                                GameTooltip:SetText(ISYNC_HELP_SUB7, 1, 0.72, 0, nil, 1);
                                                                GameTooltip:Show();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                getglobal(this:GetName() .. "Text"):SetTextColor(1, 0.82, 0);
                                                                GameTooltip:Hide();                                             
                                                        </OnLeave>
                                                </Scripts>
                                        </Button>
                                </Frames>

                                <Scripts>
                                        <OnLoad>
                                                this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                                                this:SetBackdropColor(0.15, 0.15, 0.15);
                                                getglobal(this:GetName().."Title"):SetText(ISYNC_OPTIONS_HEADER2);
                                        </OnLoad>
                                </Scripts>
                        </Frame>



                        <Frame name="ISYNC_Options_PriceShow" inherits="OptionFrameBoxTemplate">
                                <Size>
                                        <AbsDimension x="335" y="40"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ISync_OptionsFrame" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="13" y="125"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <FontString inherits="GameFontNormal" text="ISYNC_OPTIONS_HEADER1_SUB1">
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT"> 
                                                                        <Offset>
                                                                                <AbsDimension x="30" y="-10"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>

                                <Frames>
                                        <CheckButton name="ISYNC_Options_Price_CheckButton1" inherits="OptionsCheckButtonTemplate">
                                                <Size>
                                                        <AbsDimension x="26" y="26"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="-5"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>

                                                                        if(this:GetChecked()) then
                                                                        
                                                                                ISync:SetVar({"OPT","PRICE"}, 1, "TRUE");
                                                                                
                                                                                GameTooltip.isDisplayDone = nil;

                                                                        else
                                                                                ISync:SetVar({"OPT","PRICE"}, 0, "TRUE");
                                                                                
                                                                                GameTooltip.isDisplayDone = nil;
                                                                        end

                                                        </OnClick>
                                                </Scripts>
                                        </CheckButton>
                                        
                                        <Button name="ISync_Options_Regular_Help8" virtual="true" hidden="false">
                                                <Size>
                                                        <AbsDimension x="18" y="16"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-8" y="-8"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Layers>
                                                        <Layer level="OVERLAY">
                                                                <FontString name="$parentText" inherits="GameFontNormal" justifyH="RIGHT" text="[?]">
                                                                        <Anchors>
                                                                                <Anchor point="RIGHT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </FontString>
                                                        </Layer>
                                                </Layers>
                                                <Scripts>
                                                        <OnEnter>
                                                                getglobal(this:GetName() .. "Text"):SetTextColor(1, 1, 0);
                                                                GameTooltip:SetOwner(this, "ANCHOR_LEFT");
                                                                GameTooltip:SetText(ISYNC_HELP_SUB8, 1, 0.72, 0, nil, 1);
                                                                GameTooltip:Show();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                getglobal(this:GetName() .. "Text"):SetTextColor(1, 0.82, 0);
                                                                GameTooltip:Hide();                                             
                                                        </OnLeave>
                                                </Scripts>
                                        </Button>
                                        
                                </Frames>

                                <Scripts>
                                        <OnLoad>
                                                this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                                                this:SetBackdropColor(0.15, 0.15, 0.15);
                                                getglobal(this:GetName().."Title"):SetText(ISYNC_OPTIONS_HEADER1);
                                        </OnLoad>
                                </Scripts>
                        </Frame>
                        
                        

                        <Frame name="ISYNC_Options_ShowMoneyIcons" inherits="OptionFrameBoxTemplate">
                                <Size>
                                        <AbsDimension x="335" y="40"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ISync_OptionsFrame" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="13" y="70"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <FontString inherits="GameFontNormal" text="ISYNC_OPTIONS_HEADER5_SUB1">
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT"> 
                                                                        <Offset>
                                                                                <AbsDimension x="30" y="-10"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>

                                <Frames>
                                        <CheckButton name="ISYNC_Options_ShowMoneyIconsCheckButton1" inherits="OptionsCheckButtonTemplate">
                                                <Size>
                                                        <AbsDimension x="26" y="26"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPLEFT">
                                                                <Offset>
                                                                        <AbsDimension x="5" y="-5"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Scripts>
                                                        <OnClick>
                                                                
                                                                        if(this:GetChecked()) then
                                                                        
                                                                                ISync:SetVar({"OPT","SHOWMONEYICONS"}, 1, "TRUE");
                                                                                
                                                                                GameTooltip.isDisplayDone = nil;

                                                                        else
                                                                                ISync:SetVar({"OPT","SHOWMONEYICONS"}, 0, "TRUE");
                                                                                
                                                                                GameTooltip.isDisplayDone = nil;
                                                                        end

                                                        </OnClick>
                                                </Scripts>
                                        </CheckButton>
                                        
                                        <Button name="ISync_Options_Regular_Help15" virtual="true" hidden="false">
                                                <Size>
                                                        <AbsDimension x="18" y="16"/>
                                                </Size>
                                                <Anchors>
                                                        <Anchor point="TOPRIGHT" relativePoint="TOPRIGHT">
                                                                <Offset>
                                                                        <AbsDimension x="-8" y="-8"/>
                                                                </Offset>
                                                        </Anchor>
                                                </Anchors>
                                                <Layers>
                                                        <Layer level="OVERLAY">
                                                                <FontString name="$parentText" inherits="GameFontNormal" justifyH="RIGHT" text="[?]">
                                                                        <Anchors>
                                                                                <Anchor point="RIGHT">
                                                                                        <Offset>
                                                                                                <AbsDimension x="0" y="0"/>
                                                                                        </Offset>
                                                                                </Anchor>
                                                                        </Anchors>
                                                                </FontString>
                                                        </Layer>
                                                </Layers>
                                                <Scripts>
                                                        <OnEnter>
                                                                getglobal(this:GetName() .. "Text"):SetTextColor(1, 1, 0);
                                                                GameTooltip:SetOwner(this, "ANCHOR_LEFT");
                                                                GameTooltip:SetText(ISYNC_HELP_SUB15, 1, 0.72, 0, nil, 1);
                                                                GameTooltip:Show();
                                                        </OnEnter>
                                                        <OnLeave>
                                                                getglobal(this:GetName() .. "Text"):SetTextColor(1, 0.82, 0);
                                                                GameTooltip:Hide();                                             
                                                        </OnLeave>
                                                </Scripts>
                                        </Button>
                        
                                </Frames>

                                <Scripts>
                                        <OnLoad>
                                                this:SetBackdropBorderColor(0.4, 0.4, 0.4);
                                                this:SetBackdropColor(0.15, 0.15, 0.15);
                                                getglobal(this:GetName().."Title"):SetText(ISYNC_OPTIONS_HEADER5);
                                        </OnLoad>
                                </Scripts>
                        </Frame>
                                        
                </Frames>
 
                        <Scripts>
                                <OnShow>
                                                getglobal("ISYNC_Options_MoneylayoutCheckButton"..ISync:SetVar({"OPT","MONEYSET"}, 1)):SetChecked(1);
                                                getglobal("ISYNC_Options_Vendor_CheckButton1"):SetChecked(ISync:SetVar({"OPT","VENDOR"}, 1));
                                                getglobal("ISYNC_Options_Price_CheckButton1"):SetChecked(ISync:SetVar({"OPT","PRICE"}, 1));
                                                getglobal("ISYNC_Options_DisplayFrame_CheckButton1"):SetChecked(ISync:SetVar({"OPT","ITEMCOUNTDISPLAY"}, 0));
                                                getglobal("ISYNC_Options_ShowMoneyIconsCheckButton1"):SetChecked(ISync:SetVar({"OPT","SHOWMONEYICONS"}, 0));
        
                                                PlaySound("igMainMenuOptionCheckBoxOn");
                                </OnShow>

                                <OnHide>
                                </OnHide>
                                <OnMouseDown> ISync_OptionsFrame:StartMoving();  </OnMouseDown>
                                <OnMouseUp>  ISync_OptionsFrame:StopMovingOrSizing(); </OnMouseUp>
                                <OnDragStop> ISync_OptionsFrame:StopMovingOrSizing(); </OnDragStop>
                        </Scripts>
        </Frame>
  
</Ui>

Generated by GNU Enscript 1.6.5.90.