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">

        <Frame name="ISync_OptionsFrameMods_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_Mods_AuctionMatrix" inherits="OptionFrameBoxTemplate">
                                <Size>
                                        <AbsDimension x="335" y="40"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ISync_OptionsFrameMods_Tab" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="13" y="410"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <FontString inherits="GameFontNormal" text="ISYNC_OPTIONS_MODS_HEADER1_SUB1">
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT"> 
                                                                        <Offset>
                                                                                <AbsDimension x="30" y="-10"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>

                                <Frames>
                                        <CheckButton name="ISYNC_Options_Mods_AuctionMatrix_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({"MOD","AMAS"}, 1, "TRUE");

                                                                else
                                                                        ISync:SetVar({"MOD","AMAS"}, 0, "TRUE");

                                                                end
                                                        </OnClick>
                                                </Scripts>
                                        </CheckButton>
                                        
                                        <Button name="ISync_Options_Mods_Help10" 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_SUB10, 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_MODS_HEADER1);
                                        </OnLoad>
                                </Scripts>
                        </Frame>
                        
 
 
                        <Frame name="ISYNC_Options_Mods_Auctioneer" inherits="OptionFrameBoxTemplate">
                                <Size>
                                        <AbsDimension x="335" y="40"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="ISync_OptionsFrameMods_Tab" relativePoint="BOTTOMLEFT">
                                                <Offset>
                                                        <AbsDimension x="13" y="355"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <FontString inherits="GameFontNormal" text="ISYNC_OPTIONS_MODS_HEADER2_SUB1">
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT"> 
                                                                        <Offset>
                                                                                <AbsDimension x="30" y="-10"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>

                                <Frames>
                                        <CheckButton name="ISYNC_Options_Mods_Auctioneer_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({"MOD","AUCTIONEER"}, 1, "TRUE");

                                                                else
                                                                        ISync:SetVar({"MOD","AUCTIONEER"}, 0, "TRUE");

                                                                end
                                                        </OnClick>
                                                </Scripts>
                                        </CheckButton>

                                        <Button name="ISync_Options_Mods_Help11" 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_SUB11, 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_MODS_HEADER2);
                                        </OnLoad>
                                </Scripts>
                        </Frame>



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

                                <Frames>
                                        <CheckButton name="ISYNC_Options_Mods_ReagentInfo_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({"MOD","REAGENTINFO"}, 1, "TRUE");

                                                                else
                                                                        ISync:SetVar({"MOD","REAGENTINFO"}, 0, "TRUE");

                                                                end
                                                        </OnClick>
                                                </Scripts>
                                        </CheckButton>

                                        <Button name="ISync_Options_Mods_Help12" 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_SUB12, 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_MODS_HEADER3);
                                        </OnLoad>
                                </Scripts>
                        </Frame>
                        
                </Frames>
 
                        <Scripts>
                                <OnShow>
                                                getglobal("ISYNC_Options_Mods_AuctionMatrix_CheckButton1"):SetChecked(ISync:SetVar({"MOD","AMAS"}, 0));
                                                getglobal("ISYNC_Options_Mods_Auctioneer_CheckButton1"):SetChecked(ISync:SetVar({"MOD","AUCTIONEER"}, 0));
                                                getglobal("ISYNC_Options_Mods_ReagentInfo_CheckButton1"):SetChecked(ISync:SetVar({"MOD","REAGENTINFO"}, 0));
                                                PlaySound("igMainMenuOptionCheckBoxOn");

                                </OnShow>
                                <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.