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

<Script file="DUF_Options.lua"/>

<Button name="DUF_Options" inherits="DiscordLib_OptionsTemplate" hidden="true">
        <Size><AbsDimension x="575" y="630"/></Size>
        <Frames>
                <Button name="$parent_CloseButton" inherits="DiscordLib_CloseButtonTemplate">
                        <Scripts>
                                <OnClick>
                                        DUF_Options:Hide();
                                </OnClick>
                        </Scripts>
                </Button>

                <Button name="$parent_Self" inherits="DUF_SelectButton2" hidden="false">
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="152" y="-15"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.Self);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectFrame_OnClick("player");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_Party" inherits="DUF_SelectButton2" hidden="false">
                        <Anchors>
                                <Anchor point="LEFT" relativeTo="$parent_Self" relativePoint="RIGHT">
                                        <Offset><AbsDimension x="-1" y="0"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.Party);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectFrame_OnClick("party");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_Target" inherits="DUF_SelectButton2" hidden="false">
                        <Anchors>
                                <Anchor point="LEFT" relativeTo="$parent_Party" relativePoint="RIGHT">
                                        <Offset><AbsDimension x="-1" y="0"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.Target);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectFrame_OnClick("target");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_Pet" inherits="DUF_SelectButton2" hidden="false">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_Self" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.Pet);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectFrame_OnClick("pet");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_PartyPets" inherits="DUF_SelectButton2" hidden="false">
                        <Anchors>
                                <Anchor point="LEFT" relativeTo="$parent_Pet" relativePoint="RIGHT">
                                        <Offset><AbsDimension x="-1" y="0"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.PartyPets);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectFrame_OnClick("partypet");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_TargetOfTarget" inherits="DUF_SelectButton2" hidden="false">
                        <Anchors>
                                <Anchor point="LEFT" relativeTo="$parent_PartyPets" relativePoint="RIGHT">
                                        <Offset><AbsDimension x="-1" y="0"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.TargetOfTarget);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectFrame_OnClick("targettarget");
                                </OnClick>
                        </Scripts>
                </Button>

                <Button name="$parent_FrameOptions" inherits="DUF_SelectButton" hidden="false">
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="12" y="-55"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.FrameOptions);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick();
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_Buffs" inherits="DUF_SelectButton" hidden="false">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_FrameOptions" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.BuffFrame);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("Buffs");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_ClassIcon" inherits="DUF_SelectButton" hidden="false">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_Buffs" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.ClassIcon);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("ClassIcon");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_Debuffs" inherits="DUF_SelectButton" hidden="false">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_ClassIcon" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.DebuffFrame);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("Debuffs");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_HealthBar" inherits="DUF_SelectButton" hidden="false">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_Debuffs" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.HealthBar);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("StatusBar", 1);
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_LeaderIcon" inherits="DUF_SelectButton" hidden="false">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_HealthBar" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.LeaderIcon);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("LeaderIcon");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_LootIcon" inherits="DUF_SelectButton" hidden="false">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_LeaderIcon" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.LootIcon);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("LootIcon");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_ManaBar" inherits="DUF_SelectButton" hidden="false">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_LootIcon" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.ManaBar);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("StatusBar", 2);
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_Portrait" inherits="DUF_SelectButton" hidden="false">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_ManaBar" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.Portrait);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("Portrait");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_PVPIcon" inherits="DUF_SelectButton" hidden="false">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_Portrait" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.PVPIcon);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("PVPIcon");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_RaceIcon" inherits="DUF_SelectButton" hidden="false">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_PVPIcon" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.RaceIcon);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("RaceIcon");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_RankIcon" inherits="DUF_SelectButton" hidden="false">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_RaceIcon" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.RankIcon);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("RankIcon");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_StatusIcon" inherits="DUF_SelectButton" hidden="false">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_RankIcon" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.StatusIcon);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("StatusIcon");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_TargetHealthBar" inherits="DUF_SelectButton" hidden="false">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_StatusIcon" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.TargetHealthBar);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("StatusBar", 4);
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_TargetManaBar" inherits="DUF_SelectButton" hidden="false">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_TargetHealthBar" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.TargetManaBar);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("StatusBar", 5);
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_TextBox1" inherits="DUF_SelectButton" hidden="false">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_TargetManaBar" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.TextBox1);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("TextBox", 1);
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_TextBox2" inherits="DUF_SelectButton" hidden="false">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_TextBox1" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.TextBox2);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("TextBox", 2);
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_TextBox3" inherits="DUF_SelectButton" hidden="false">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_TextBox2" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.TextBox3);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("TextBox", 3);
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_TextBox4" inherits="DUF_SelectButton" hidden="false">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_TextBox3" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.TextBox4);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("TextBox", 4);
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_TextBox5" inherits="DUF_SelectButton" hidden="false">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_TextBox4" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.TextBox5);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("TextBox", 5);
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_TextBox6" inherits="DUF_SelectButton" hidden="false">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_TextBox5" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.TextBox6);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("TextBox", 6);
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_TextBox7" inherits="DUF_SelectButton" hidden="false">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_TextBox6" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.TextBox7);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("TextBox", 7);
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_TextBox8" inherits="DUF_SelectButton" hidden="false">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_TextBox7" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.TextBox8);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("TextBox", 8);
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_TextBox9" inherits="DUF_SelectButton" hidden="false">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_TextBox8" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.TextBox9);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("TextBox", 9);
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_TextBox10" inherits="DUF_SelectButton" hidden="false">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_TextBox9" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.TextBox10);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("TextBox", 10);
                                </OnClick>
                        </Scripts>
                </Button>

                <Button name="$parent_XPBar" inherits="DUF_SelectButton" hidden="true">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_TextBox10" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.XPBar);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("StatusBar", 3);
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_HonorBar" inherits="DUF_SelectButton" hidden="true">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_XPBar" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.HonorBar);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("StatusBar", 6);
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_HappinessIcon" inherits="DUF_SelectButton" hidden="true">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_XPBar" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.HappinessIcon);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("HappinessIcon");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_ComboPoints" inherits="DUF_SelectButton" hidden="true">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_TextBox10" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.ComboPoints);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("ComboPoints");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_EliteTexture" inherits="DUF_SelectButton" hidden="true">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_ComboPoints" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="1"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.EliteTexture);
                                </OnLoad>
                                <OnClick>
                                        DUF_SelectElement_OnClick("EliteTexture");
                                </OnClick>
                        </Scripts>
                </Button>

                <Button name="$parent_MiscOptions" inherits="DUF_MainMenuButton">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_HappinessIcon" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="-10"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(DUF_TEXT.MiscOptions);
                                </OnLoad>
                                <OnClick>
                                        DUF_Show_MiscOptions();
                                </OnClick>
                        </Scripts>
                </Button>

                <Button name="$parent_ContextColors" inherits="DUF_MainMenuButton">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_MiscOptions" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="-5"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(DUF_TEXT.ContextColors);
                                </OnLoad>
                                <OnClick>
                                        DUF_Show_ContextColors();
                                </OnClick>
                        </Scripts>
                </Button>

                <Button name="$parent_ToggleElements" inherits="DUF_MainMenuButton">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_ContextColors" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="-5"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(DUF_TEXT.UnlockElements);
                                </OnLoad>
                                <OnClick>
                                        DUF_Toggle_ElementsLock();
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_ToggleFrames" inherits="DUF_MainMenuButton">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_ToggleElements" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="3"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(DUF_TEXT.UnlockFrames);
                                </OnLoad>
                                <OnClick>
                                        DUF_Toggle_FramesLock();
                                </OnClick>
                        </Scripts>
                </Button>
        </Frames>
        <Scripts>
                <OnHide>
                        DUF_Options_OnHide();
                </OnHide>
                <OnShow>
                        DUF_Options_OnShow();
                </OnShow>
                <OnUpdate>
                        DUF_Options_OnUpdate();
                </OnUpdate>
        </Scripts>
</Button>

<Frame name="DUF_ElementOptions" inherits="DUF_ElementOptionsTemplate" parent="DUF_Options" hidden="true">
        <Frames>
                <Button name="$parent_BaseSelect" inherits="DUF_SelectButton3" hidden="false">
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="70" y="-10"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.Base);
                                </OnLoad>
                                <OnClick>
                                        DUF_OptionsSelect_OnClick();
                                        DUF_ElementOptions_Base:Show();
                                        if (DUF_SPECIAL_OPTIONS) then
                                                getglobal(DUF_SPECIAL_OPTIONS):Hide();
                                        end
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_SpecialSelect" inherits="DUF_SelectButton3" hidden="false">
                        <Anchors>
                                <Anchor point="LEFT" relativeTo="$parent_BaseSelect" relativePoint="RIGHT">
                                        <Offset><AbsDimension x="-1" y="0"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        DUF_SelectButton_OnLoad();
                                        this:SetText(DUF_TEXT.Special);
                                </OnLoad>
                                <OnClick>
                                        DUF_OptionsSelect_OnClick();
                                        DUF_ElementOptions_Base:Hide();
                                        if (DUF_SPECIAL_OPTIONS) then
                                                getglobal(DUF_SPECIAL_OPTIONS):Show();
                                        end
                                </OnClick>
                        </Scripts>
                </Button>
        </Frames>
</Frame>

<Frame name="DUF_ElementOptions_Base" parent="DUF_ElementOptions" frameStrata="HIGH" hidden="false">
        <Size><AbsDimension x="10" y="10"/></Size>
        <Anchors>
                <Anchor point="TOPLEFT"/>
        </Anchors>
        <Frames>
                <Button name="$parent_NudgeUp" inherits="DUF_MainMenuButton">
                        <Size><AbsDimension x="24" y="24"/></Size>
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="330" y="-60"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText("^");
                                        this:RegisterForClicks("LeftButtonUp", "RightButtonUp", "MiddleButtonUp");
                                        this.func = DUF_Nudge_Up;
                                </OnLoad>
                                <OnMouseDown>
                                        if (arg1 == "MiddleButton") then
                                                this.moving = true;
                                        end
                                </OnMouseDown>
                                <OnMouseUp>
                                        if (arg1 == "MiddleButton") then
                                                this.moving = nil;
                                        else
                                                DUF_Nudge_Up(arg1);
                                        end
                                </OnMouseUp>
                                <OnUpdate>
                                        DUF_Nudge_OnUpdate(arg1);
                                </OnUpdate>
                        </Scripts>
                </Button>
                <Button name="$parent_NudgeDown" inherits="DUF_MainMenuButton">
                        <Size><AbsDimension x="24" y="24"/></Size>
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_NudgeUp" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="0" y="4"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText("v");
                                        this:RegisterForClicks("LeftButtonUp", "RightButtonUp", "MiddleButtonUp");
                                        this.func = DUF_Nudge_Down;
                                </OnLoad>
                                <OnMouseDown>
                                        if (arg1 == "MiddleButton") then
                                                this.moving = true;
                                        end
                                </OnMouseDown>
                                <OnMouseUp>
                                        if (arg1 == "MiddleButton") then
                                                this.moving = nil;
                                        else
                                                DUF_Nudge_Down(arg1);
                                        end
                                </OnMouseUp>
                                <OnUpdate>
                                        DUF_Nudge_OnUpdate(arg1);
                                </OnUpdate>
                        </Scripts>
                </Button>
                <Button name="$parent_NudgeLeft" inherits="DUF_MainMenuButton">
                        <Size><AbsDimension x="24" y="24"/></Size>
                        <Anchors>
                                <Anchor point="TOPRIGHT" relativeTo="$parent_NudgeUp" relativePoint="LEFT">
                                        <Offset><AbsDimension x="2" y="0"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(DUF_ARROW_LEFT);
                                        this:RegisterForClicks("LeftButtonUp", "RightButtonUp", "MiddleButtonUp");
                                        this.func = DUF_Nudge_Left;
                                </OnLoad>
                                <OnMouseDown>
                                        if (arg1 == "MiddleButton") then
                                                this.moving = true;
                                        end
                                </OnMouseDown>
                                <OnMouseUp>
                                        if (arg1 == "MiddleButton") then
                                                this.moving = nil;
                                        else
                                                DUF_Nudge_Left(arg1);
                                        end
                                </OnMouseUp>
                                <OnUpdate>
                                        DUF_Nudge_OnUpdate(arg1);
                                </OnUpdate>
                        </Scripts>
                </Button>
                <Button name="$parent_NudgeRight" inherits="DUF_MainMenuButton">
                        <Size><AbsDimension x="24" y="24"/></Size>
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_NudgeUp" relativePoint="RIGHT">
                                        <Offset><AbsDimension x="-2" y="0"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(DUF_ARROW_RIGHT);
                                        this:RegisterForClicks("LeftButtonUp", "RightButtonUp", "MiddleButtonUp");
                                        this.func = DUF_Nudge_Right;
                                </OnLoad>
                                <OnMouseDown>
                                        if (arg1 == "MiddleButton") then
                                                this.moving = true;
                                        end
                                </OnMouseDown>
                                <OnMouseUp>
                                        if (arg1 == "MiddleButton") then
                                                this.moving = nil;
                                        else
                                                DUF_Nudge_Right(arg1);
                                        end
                                </OnMouseUp>
                                <OnUpdate>
                                        DUF_Nudge_OnUpdate(arg1);
                                </OnUpdate>
                        </Scripts>
                </Button>
                <Frame name="$parent_NudgeLabel">
                        <Size><AbsDimension x="10" y="20"/></Size>
                        <Anchors>
                                <Anchor point="BOTTOM" relativeTo="$parent_NudgeUp" relativePoint="TOP"/>
                        </Anchors>
                        <Layers>
                                <Layer level="ARTWORK">
                                        <FontString name="$parent_Label" inherits="GameFontNormal" text="DUF_NUDGE">
                                                <Color r=".8" g=".8" b="0"/>
                                                <Anchors>
                                                        <Anchor point="CENTER"/>
                                                </Anchors>
                                        </FontString>
                                </Layer>
                        </Layers>
                </Frame>

                <EditBox name="$parent_XOffset" inherits="DUF_EditBoxTemplate">
                        <Size><AbsDimension x="75" y="20"/></Size>
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_NudgeDown" relativePoint="BOTTOM">
                                        <Offset><AbsDimension x="10" y="-20"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "xoffset";
                                        this.number = true;
                                        DL_Set_Label("X:");
                                </OnLoad>
                        </Scripts>
                </EditBox>
                <EditBox name="$parent_YOffset" inherits="DUF_EditBoxTemplate">
                        <Size><AbsDimension x="75" y="20"/></Size>
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_XOffset" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "yoffset";
                                        this.number = true;
                                        DL_Set_Label("Y:");
                                </OnLoad>
                        </Scripts>
                </EditBox>

                <Button name="$parent_MainColorContext" inherits="DiscordLib_MenuControlTemplate">
                        <Size><AbsDimension x="100" y="24"/></Size>
                        <Anchors>
                                <Anchor point="TOPRIGHT" relativeTo="DUF_Options">
                                        <Offset><AbsDimension x="-20" y="-250"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetBackdropColor(0.0, 0.0, 0.0);
                                        this.menu = "DUF_DropMenu";
                                        this.table = "DUF_COLOR_CONTEXTS";
                                        this.index = "context";
                                        this.initFunc = DUF_Init_Element;
                                        DL_Set_Label(DUF_TEXT.Main);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_BackgroundColorContext" inherits="DiscordLib_MenuControlTemplate">
                        <Size><AbsDimension x="100" y="24"/></Size>
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_MainColorContext" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetBackdropColor(0.0, 0.0, 0.0);
                                        this.menu = "DUF_DropMenu";
                                        this.table = "DUF_COLOR_CONTEXTS";
                                        this.index = "bgcontext";
                                        this.initFunc = DUF_Init_Element;
                                        DL_Set_Label(DUF_TEXT.Background);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_BorderColorContext" inherits="DiscordLib_MenuControlTemplate">
                        <Size><AbsDimension x="100" y="24"/></Size>
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_BackgroundColorContext" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetBackdropColor(0.0, 0.0, 0.0);
                                        this.menu = "DUF_DropMenu";
                                        this.table = "DUF_COLOR_CONTEXTS";
                                        this.index = "bordercontext";
                                        this.initFunc = DUF_Init_Element;
                                        DL_Set_Label(DUF_TEXT.Border);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Frame name="$parent_ContextLabel">
                        <Size><AbsDimension x="10" y="20"/></Size>
                        <Anchors>
                                <Anchor point="BOTTOM" relativeTo="$parent_MainColorContext" relativePoint="TOP">
                                        <Offset><AbsDimension x="-30" y="0"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Layers>
                                <Layer level="ARTWORK">
                                        <FontString name="$parent_Label" inherits="GameFontNormal" text="DUF_CONTEXTLABEL">
                                                <Color r=".8" g=".8" b="0"/>
                                                <Anchors>
                                                        <Anchor point="CENTER"/>
                                                </Anchors>
                                        </FontString>
                                </Layer>
                        </Layers>
                </Frame>

                <Button name="$parent_LeftClick" inherits="DiscordLib_MenuControlTemplate">
                        <Size><AbsDimension x="100" y="24"/></Size>
                        <Anchors>
                                <Anchor point="TOPRIGHT" relativeTo="DUF_Options">
                                        <Offset><AbsDimension x="-20" y="-340"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetBackdropColor(0.0, 0.0, 0.0);
                                        this.menu = "DUF_DropMenu";
                                        this.table = "DUF_CLICK_OPTIONS";
                                        this.index = "leftclick";
                                        this.initFunc = DUF_Init_Element;
                                        DL_Set_Label(DUF_TEXT.LeftClick);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_RightClick" inherits="DiscordLib_MenuControlTemplate">
                        <Size><AbsDimension x="100" y="24"/></Size>
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_LeftClick" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetBackdropColor(0.0, 0.0, 0.0);
                                        this.menu = "DUF_DropMenu";
                                        this.table = "DUF_CLICK_OPTIONS";
                                        this.index = "rightclick";
                                        this.initFunc = DUF_Init_Element;
                                        DL_Set_Label(DUF_TEXT.RightClick);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_MiddleClick" inherits="DiscordLib_MenuControlTemplate">
                        <Size><AbsDimension x="100" y="24"/></Size>
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_RightClick" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetBackdropColor(0.0, 0.0, 0.0);
                                        this.menu = "DUF_DropMenu";
                                        this.table = "DUF_CLICK_OPTIONS";
                                        this.index = "middleclick";
                                        this.initFunc = DUF_Init_Element;
                                        DL_Set_Label(DUF_TEXT.MiddleClick);
                                </OnLoad>
                        </Scripts>
                </Button>

                <Button name="$parent_AttachFrame" inherits="DiscordLib_MenuControlTemplate">
                        <Size><AbsDimension x="100" y="24"/></Size>
                        <Anchors>
                                <Anchor point="TOPRIGHT" relativeTo="DUF_Options">
                                        <Offset><AbsDimension x="-20" y="-440"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetBackdropColor(0.0, 0.0, 0.0);
                                        this.menu = "DUF_DropMenu";
                                        this.table = "DUF_ATTACH_FRAMES";
                                        this.index = "attach";
                                        this.initFunc = DUF_Init_Element;
                                        DL_Set_Label(DUF_TEXT.AttachFrame);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_AttachPoint" inherits="DiscordLib_MenuControlTemplate">
                        <Size><AbsDimension x="100" y="24"/></Size>
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_AttachFrame" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetBackdropColor(0.0, 0.0, 0.0);
                                        this.menu = "DUF_DropMenu";
                                        this.table = "DUF_ANCHORS";
                                        this.index = "attachpoint";
                                        this.initFunc = DUF_Init_Element;
                                        DL_Set_Label(DUF_TEXT.AttachPoint);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_AttachTo" inherits="DiscordLib_MenuControlTemplate">
                        <Size><AbsDimension x="100" y="24"/></Size>
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_AttachPoint" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetBackdropColor(0.0, 0.0, 0.0);
                                        this.menu = "DUF_DropMenu";
                                        this.table = "DUF_ANCHORS";
                                        this.index = "attachto";
                                        this.initFunc = DUF_Init_Element;
                                        DL_Set_Label(DUF_TEXT.AttachTo);
                                </OnLoad>
                        </Scripts>
                </Button>

                <Button name="$parent_FrameStrata" inherits="DiscordLib_MenuControlTemplate">
                        <Size><AbsDimension x="100" y="24"/></Size>
                        <Anchors>
                                <Anchor point="TOPRIGHT" relativeTo="DUF_Options">
                                        <Offset><AbsDimension x="-20" y="-522"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetBackdropColor(0.0, 0.0, 0.0);
                                        this.menu = "DUF_DropMenu";
                                        this.table = "DL_FRAMESTRATAS";
                                        this.index = "framestrata";
                                        this.initFunc = DUF_Init_Element;
                                        DL_Set_Label(DUF_TEXT.FrameStrata);
                                </OnLoad>
                        </Scripts>
                </Button>
                <EditBox name="$parent_FrameLevel" inherits="DUF_EditBoxTemplate" letters="4">
                        <Size><AbsDimension x="47" y="20"/></Size>
                        <Anchors>
                                <Anchor point="TOPRIGHT" relativeTo="$parent_FrameStrata" relativePoint="BOTTOMRIGHT">
                                        <Offset><AbsDimension x="-10" y="0"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "framelevel";
                                        this.number = true;
                                        this.initFunc = DUF_Init_Element;
                                        DL_Set_Label(DUF_TEXT.FrameLevelOffset);
                                </OnLoad>
                        </Scripts>
                </EditBox>
                <Button name="$parent_FrameLevelMinus" inherits="DUF_MainMenuButton" text="-">
                        <Size><AbsDimension x="15" y="15"/></Size>
                        <Anchors>
                                <Anchor point="RIGHT" relativeTo="$parent_FrameLevel" relativePoint="LEFT">
                                        <Offset><AbsDimension x="-7" y="0"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnClick>
                                        DUF_Options_FrameLevelMinus();
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_FrameLevelPlus" inherits="DUF_MainMenuButton" text="+">
                        <Size><AbsDimension x="15" y="15"/></Size>
                        <Anchors>
                                <Anchor point="LEFT" relativeTo="$parent_FrameLevel" relativePoint="RIGHT">
                                        <Offset><AbsDimension x="-9" y="0"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnClick>
                                        DUF_Options_FrameLevelPlus();
                                </OnClick>
                        </Scripts>
                </Button>

                <CheckButton name="$parent_Hide" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="10" y="-40"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "hide";
                                        DL_Set_Label(DUF_TEXT.Hide);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_Flash" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Hide" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="4"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "flashlowhealth";
                                        DL_Set_Label(DUF_TEXT.FlashForLowHealth);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_DisableMouse" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Flash" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="4"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "disablemouse";
                                        DL_Set_Label(DUF_TEXT.DisableMouse);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_HideOnMouseover" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_DisableMouse" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="4"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "hidemouseover";
                                        DL_Set_Label(DUF_TEXT.HideOnMouseover);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_Mouseover" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_HideOnMouseover" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="4"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "mouseover";
                                        DL_Set_Label(DUF_TEXT.Mouseover);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_UseMouseoverColor" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Mouseover" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="4"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "usemouseovercolor";
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <Button name="$parent_MouseoverColor" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="LEFT" relativeTo="$parent_UseMouseoverColor" relativePoint="RIGHT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "mouseovercolor";
                                        DL_Set_Label(DUF_TEXT.MouseoverColor);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_MouseoverGroup" inherits="DiscordLib_MenuControlTemplate">
                        <Size><AbsDimension x="65" y="24"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this:SetBackdropColor(0.0, 0.0, 0.0);
                                        this.menu = "DUF_DropMenu";
                                        this.table = "DUF_MOUSEOVER_GROUPS";
                                        this.index = "mouseovergroup";
                                        this.initFunc = DUF_Init_Element;
                                        DL_Set_Label(DUF_TEXT.MouseoverGroup);
                                        DL_Set_Anchor("_UseMouseoverColor", 0, 0);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Slider name="$parent_Alpha" inherits="DUF_SliderTemplate" minValue="0" maxValue="100"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_UseMouseoverColor" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-40"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "alpha";
                                        this.minlock = true;
                                        this.maxlock = true;
                                        this.scale = 100;
                                        DL_Set_Label(DUF_TEXT.Alpha);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <CheckButton name="$parent_HideBG" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Alpha" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-20"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "hidebg";
                                        DL_Set_Label(DUF_TEXT.HideBackground);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <Button name="$parent_BGColor" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_HideBG" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "bgcolor";
                                        DL_Set_Label(DUF_TEXT.BackgroundColor);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Slider name="$parent_BGAlpha" inherits="DUF_SliderTemplate" minValue="0" maxValue="100"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_BGColor" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-13"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "bgalpha";
                                        this.minlock = true;
                                        this.maxlock = true;
                                        this.scale = 100;
                                        DL_Set_Label(DUF_TEXT.BackgroundAlpha);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Slider name="$parent_BGPadding" inherits="DUF_SliderTemplate" minValue="0" maxValue="20"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_BGAlpha" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-20"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "bgpadding";
                                        this.minlocked = true;
                                        DL_Set_Label(DUF_TEXT.BackgroundPadding);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <EditBox name="$parent_BGTexture" inherits="DUF_EditBoxTemplate" letters="1000">
                        <Size><AbsDimension x="125" y="20"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this.index = "bgtexture";
                                        this.initFunc = DUF_Init_Element;
                                        DL_Set_Label(DUF_TEXT.BackgroundTexture);
                                        DL_Set_Anchor("_BGPadding", 0, -15);
                                </OnLoad>
                        </Scripts>
                </EditBox>
                <Button name="$parent_BorderColor" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_BGPadding" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-45"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "bordercolor";
                                        DL_Set_Label(DUF_TEXT.BorderColor);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_BorderStyle" inherits="DiscordLib_MenuControlTemplate">
                        <Size><AbsDimension x="100" y="24"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this:SetBackdropColor(0.0, 0.0, 0.0);
                                        this.menu = "DUF_DropMenu";
                                        this.table = "DUF_BORDER_STYLES";
                                        this.index = "backgroundstyle";
                                        this.initFunc = DUF_Init_Element;
                                        DL_Set_Label(DUF_TEXT.BorderStyle);
                                        DL_Set_Anchor("_BorderColor", 0, 0);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Slider name="$parent_BorderAlpha" inherits="DUF_SliderTemplate" minValue="0" maxValue="100"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_BorderColor" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-40"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "borderalpha";
                                        this.minlock = true;
                                        this.maxlock = true;
                                        this.scale = 100;
                                        DL_Set_Label(DUF_TEXT.BorderAlpha);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <CheckButton name="$parent_DisableTooltip" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_BorderAlpha" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-20"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "disabletooltip";
                                        DL_Set_Label(DUF_TEXT.DisableTooltip);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_UseCustomTooltip" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_DisableTooltip" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "usecustomtooltip";
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <EditBox name="$parent_CustomTooltip" inherits="DUF_EditBoxTemplate">
                        <Size><AbsDimension x="275" y="20"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this.index = "customtooltip";
                                        DL_Set_Label(DUF_TEXT.CustomTooltip);
                                        DL_Set_Anchor("_UseCustomTooltip", 24, 23);
                                </OnLoad>
                        </Scripts>
                </EditBox>
        </Frames>
        <Scripts>
                <OnLoad>
                        this.initFunc = DUF_Init_Element;
                </OnLoad>
        </Scripts>
</Frame>

<Button name="DUF_DropMenu" inherits="DiscordLib_TooltipBackdropTemplate" hidden="true"  frameStrata="DIALOG">
        <Size><AbsDimension x="10" y="10"/></Size>
        <Anchors>
                <Anchor point="CENTER"/>
        </Anchors>
        <Frames>
                <Button name="$parent_Option1" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="10" y="-10"/></Offset>
                                </Anchor>
                        </Anchors>
                </Button>
                <Button name="$parent_Option2" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option1" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option3" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option2" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option4" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option3" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option5" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option4" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option6" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option5" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option7" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option6" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option8" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option7" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option9" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option8" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option10" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option9" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option11" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option10" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option12" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option11" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option13" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option12" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option14" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option13" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option15" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option14" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option16" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option15" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option17" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option16" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option18" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option17" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option19" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option18" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option20" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option19" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option21" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option20" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option22" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option21" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option23" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option22" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option24" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option23" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option25" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option24" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option26" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option25" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option27" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option26" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option28" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option27" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option29" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option28" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option30" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option29" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option31" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option30" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option32" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option31" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option33" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option32" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option34" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option33" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option35" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option34" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option36" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option35" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option37" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option36" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option38" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option37" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option39" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option38" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
                <Button name="$parent_Option40" inherits="DUF_MenuOptionTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Option39" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                </Button>
        </Frames>
        <Scripts>
                <OnLoad>
                        this:SetBackdropColor(.2,.2,.2);
                        this.count = 40;
                </OnLoad>
                <OnEnter>
                        this.timer = nil;
                </OnEnter>
                <OnLeave>
                        this.timer = .5;
                </OnLeave>
                <OnHide>
                        if (this.timer) then
                                this.timer = .01;
                        end
                </OnHide>
                <OnUpdate>
                        DL_Menu_Timeout(arg1);
                </OnUpdate>
        </Scripts>
</Button>

<Frame name="DUF_MiscOptions" parent="DUF_Options" frameStrata="HIGH" hidden="true">
        <Size><AbsDimension x="10" y="10"/></Size>
        <Anchors>
                <Anchor point="TOPLEFT" relativeTo="DUF_ElementOptions"/>
        </Anchors>
        <Frames>
                <CheckButton name="$parent_HidePartyInRaid" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="10" y="-10"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "hidepartyinraid";
                                        DL_Set_Label(DUF_TEXT.HidePartyInRaid);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_HideTargetTarget" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_HidePartyInRaid" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "hidetargettarget";
                                        DL_Set_Label(DUF_TEXT.HideTargetTarget);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_HideBuffFrame" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_HideTargetTarget" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "hidebuffframe";
                                        DL_Set_Label(DUF_TEXT.HideBuffFrame);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_AutoLock" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_HideBuffFrame" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "autolock";
                                        DL_Set_Label(DUF_TEXT.AutoLock);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <Slider name="$parent_UpdateSpeed" inherits="DUF_SliderTemplate" minValue="1" maxValue="60"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_AutoLock" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-25"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "updatespeedbase";
                                        this.minlock = true;
                                        this.maxlock = true;
                                        this.initFunc = DUF_Options_SetUpdateSpeed;
                                        DL_Set_Label(DUF_TEXT.UpdateSpeed);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <EditBox name="$parent_LowHealthThreshold" inherits="DUF_EditBoxTemplate">
                        <Size><AbsDimension x="75" y="20"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this.index = "flashthreshold";
                                        this.number = true;
                                        DL_Set_Label(DUF_TEXT.LowHealthThreshold);
                                        DL_Set_Anchor("_UpdateSpeed", 0, -20);
                                </OnLoad>
                        </Scripts>
                </EditBox>
                <Button name="$parent_OptionsScale" inherits="DiscordLib_MenuControlTemplate">
                        <Size><AbsDimension x="100" y="24"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this:SetBackdropColor(0.0, 0.0, 0.0);
                                        this.menu = "DUF_DropMenu";
                                        this.table = "DUF_OPTIONS_SCALES";
                                        this.index = "optionscale";
                                        this.initFunc = DUF_Options_SetScale;
                                        DL_Set_Label(DUF_TEXT.OptionsScale);
                                        DL_Set_Anchor("_UpdateSpeed", 0, -50);
                                </OnLoad>
                        </Scripts>
                </Button>

                <EditBox name="$parent_SaveSettings" inherits="DUF_EditBoxTemplate">
                        <Size><AbsDimension x="150" y="20"/></Size>
                        <Scripts>
                                <OnLoad>
                                        DL_Set_Label(DUF_TEXT.NewProfile);
                                        DL_Set_Anchor("_UpdateSpeed", 0, -120);
                                </OnLoad>
                                <OnEnterPressed>
                                        DUF_Options_SaveSettings();
                                </OnEnterPressed>
                        </Scripts>
                </EditBox>
                <Button inherits="UIPanelButtonTemplate" hidden="false">
                        <Size><AbsDimension x="60" y="20"/></Size>
                        <Anchors>
                                <Anchor point="LEFT" relativeTo="$parent_SaveSettings" relativePoint="RIGHT">
                                        <Offset><AbsDimension x="0" y="0"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(DUF_TEXT.Create);
                                </OnLoad>
                                <OnClick>
                                        DUF_Options_SaveSettings();
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_LoadSettings" inherits="DiscordLib_MenuControlTemplate">
                        <Size><AbsDimension x="150" y="24"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this:SetBackdropColor(0.0, 0.0, 0.0);
                                        this.menu = "DUF_DropMenu";
                                        this.table = "DUF_SAVED_SETTINGS";
                                        this.initFunc = DUF_Options_SetLoadIndex;
                                        DL_Set_Label(DUF_TEXT.LoadProfile);
                                        DL_Set_Anchor("_UpdateSpeed", 0, -145);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_LoadSettingsButton" inherits="UIPanelButtonTemplate" hidden="false">
                        <Size><AbsDimension x="60" y="20"/></Size>
                        <Anchors>
                                <Anchor point="LEFT" relativeTo="$parent_LoadSettings" relativePoint="RIGHT">
                                        <Offset><AbsDimension x="0" y="0"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(DUF_TEXT.Load);
                                </OnLoad>
                                <OnClick>
                                        DUF_Options_LoadSettings();
                                </OnClick>
                        </Scripts>
                </Button>
                <Button inherits="UIPanelButtonTemplate" hidden="false">
                        <Size><AbsDimension x="90" y="20"/></Size>
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_LoadSettingsButton" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(DUF_TEXT.SafeLoad);
                                </OnLoad>
                                <OnClick>
                                        DUF_Options_LoadSettings(nil, 1);
                                </OnClick>
                        </Scripts>
                </Button>
                <Button inherits="UIPanelButtonTemplate" hidden="false">
                        <Size><AbsDimension x="70" y="20"/></Size>
                        <Anchors>
                                <Anchor point="LEFT" relativeTo="$parent_LoadSettingsButton" relativePoint="RIGHT">
                                        <Offset><AbsDimension x="0" y="0"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(DUF_TEXT.Delete);
                                </OnLoad>
                                <OnClick>
                                        DUF_Options_DeleteSettings();
                                </OnClick>
                        </Scripts>
                </Button>
        </Frames>
        <Layers>
                <Layer level="OVERLAY">
                        <FontString name="$parent_CurrentProfile" inherits="GameFontNormal">
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset><AbsDimension x="10" y="-250"/></Offset>
                                        </Anchor>
                                </Anchors>
                        </FontString>
                </Layer>
        </Layers>
</Frame>

<Frame name="DUF_ColorContextOptions" parent="DUF_Options" frameStrata="HIGH" hidden="true">
        <Size><AbsDimension x="10" y="10"/></Size>
        <Anchors>
                <Anchor point="TOPLEFT" relativeTo="DUF_ElementOptions"/>
        </Anchors>
        <Frames>
                <Frame name="$parent_DifficultyLabel">
                        <Size><AbsDimension x="200" y="20"/></Size>
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="10" y="-20"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Layers>
                                <Layer level="ARTWORK">
                                        <FontString name="$parent_Label" inherits="GameFontNormal" justifyH="LEFT" text="DUF_DIFFICULTYLABEL">
                                                <Color r=".8" g=".8" b="0"/>
                                                <Anchors>
                                                        <Anchor point="LEFT"/>
                                                </Anchors>
                                        </FontString>
                                </Layer>
                        </Layers>
                </Frame>
                <Button name="$parent_Difficulty1" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_DifficultyLabel" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "lvlcolor1";
                                        DL_Set_Label(DUF_TEXT.LevelDifference1);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_Difficulty2" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Difficulty1" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "lvlcolor2";
                                        DL_Set_Label(DUF_TEXT.LevelDifference2);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_Difficulty3" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Difficulty2" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "lvlcolor3";
                                        DL_Set_Label(DUF_TEXT.LevelDifference3);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_Difficulty4" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Difficulty3" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "lvlcolor4";
                                        DL_Set_Label(DUF_TEXT.LevelDifference4);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_Difficulty5" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Difficulty4" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "lvlcolor5";
                                        DL_Set_Label(DUF_TEXT.LevelDifference5);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_Difficulty6" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Difficulty5" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "lvlcolor6";
                                        DL_Set_Label(DUF_TEXT.LevelDifference6);
                                </OnLoad>
                        </Scripts>
                </Button>

                <Frame name="$parent_ReactionLabel">
                        <Size><AbsDimension x="200" y="20"/></Size>
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="230" y="-20"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Layers>
                                <Layer level="ARTWORK">
                                        <FontString name="$parent_Label" inherits="GameFontNormal" justifyH="LEFT" text="DUF_REACTIONLABEL">
                                                <Color r=".8" g=".8" b="0"/>
                                                <Anchors>
                                                        <Anchor point="LEFT"/>
                                                </Anchors>
                                        </FontString>
                                </Layer>
                        </Layers>
                </Frame>
                <Button name="$parent_Reaction1" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_ReactionLabel" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "reactioncolor1";
                                        DL_Set_Label(DUF_TEXT.Hostile);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_Reaction2" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Reaction1" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "reactioncolor2";
                                        DL_Set_Label(DUF_TEXT.Neutral);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_Reaction3" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Reaction2" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "reactioncolor3";
                                        DL_Set_Label(DUF_TEXT.FriendlyNPC);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_Reaction4" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Reaction3" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "reactioncolor4";
                                        DL_Set_Label(DUF_TEXT.FriendlyPlayer);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_Reaction5" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Reaction4" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "reactioncolor5";
                                        DL_Set_Label(DUF_TEXT.PVPFriendly);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_Reaction6" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Reaction5" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "reactioncolor6";
                                        DL_Set_Label(DUF_TEXT.TargetTapped);
                                </OnLoad>
                        </Scripts>
                </Button>

                <Frame name="$parent_HealthLabel">
                        <Size><AbsDimension x="200" y="20"/></Size>
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Difficulty6" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-20"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Layers>
                                <Layer level="ARTWORK">
                                        <FontString name="$parent_Label" inherits="GameFontNormal" justifyH="LEFT" text="DUF_HEALTHLABEL">
                                                <Color r=".8" g=".8" b="0"/>
                                                <Anchors>
                                                        <Anchor point="LEFT"/>
                                                </Anchors>
                                        </FontString>
                                </Layer>
                        </Layers>
                </Frame>
                <Button name="$parent_Health1" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_HealthLabel" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "healthcolor1";
                                </OnLoad>
                        </Scripts>
                </Button>
                <EditBox name="$parent_HealthThreshold1" inherits="DUF_EditBoxTemplate">
                        <Size><AbsDimension x="50" y="20"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this.index = "healththreshold1";
                                        this.number = true;
                                        DL_Set_Label(DUF_TEXT.HealthThreshold);
                                        DL_Set_Anchor("_Health1", 26, 23);
                                </OnLoad>
                        </Scripts>
                </EditBox>
                <Button name="$parent_Health2" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Health1" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "healthcolor2";
                                </OnLoad>
                        </Scripts>
                </Button>
                <EditBox name="$parent_HealthThreshold2" inherits="DUF_EditBoxTemplate">
                        <Size><AbsDimension x="50" y="20"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this.index = "healththreshold2";
                                        this.number = true;
                                        DL_Set_Label(DUF_TEXT.HealthThreshold);
                                        DL_Set_Anchor("_Health2", 26, 23);
                                </OnLoad>
                        </Scripts>
                </EditBox>

                <Frame name="$parent_ManaLabel">
                        <Size><AbsDimension x="200" y="20"/></Size>
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Health2" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-20"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Layers>
                                <Layer level="ARTWORK">
                                        <FontString name="$parent_Label" inherits="GameFontNormal" justifyH="LEFT" text="DUF_MANALABEL">
                                                <Color r=".8" g=".8" b="0"/>
                                                <Anchors>
                                                        <Anchor point="LEFT"/>
                                                </Anchors>
                                        </FontString>
                                </Layer>
                        </Layers>
                </Frame>
                <Button name="$parent_Mana1" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_ManaLabel" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "manacolor1";
                                </OnLoad>
                        </Scripts>
                </Button>
                <EditBox name="$parent_ManaThreshold1" inherits="DUF_EditBoxTemplate">
                        <Size><AbsDimension x="50" y="20"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this.index = "manathreshold1";
                                        this.number = true;
                                        DL_Set_Label(DUF_TEXT.ManaThreshold);
                                        DL_Set_Anchor("_Mana1", 26, 23);
                                </OnLoad>
                        </Scripts>
                </EditBox>
                <Button name="$parent_Mana2" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Mana1" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "manacolor2";
                                </OnLoad>
                        </Scripts>
                </Button>
                <EditBox name="$parent_ManaThreshold2" inherits="DUF_EditBoxTemplate">
                        <Size><AbsDimension x="50" y="20"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this.index = "manathreshold2";
                                        this.number = true;
                                        DL_Set_Label(DUF_TEXT.ManaThreshold);
                                        DL_Set_Anchor("_Mana2", 26, 23);
                                </OnLoad>
                        </Scripts>
                </EditBox>
                <CheckButton name="$parent_UseFor0" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Mana2" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "usefor0";
                                        DL_Set_Label(DUF_TEXT.Mana);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_UseFor1" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_UseFor0" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "usefor1";
                                        DL_Set_Label(DUF_TEXT.Rage);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_UseFor2" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_UseFor1" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "usefor2";
                                        DL_Set_Label(DUF_TEXT.Focus);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_UseFor3" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_UseFor2" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "usefor3";
                                        DL_Set_Label(DUF_TEXT.Energy);
                                </OnLoad>
                        </Scripts>
                </CheckButton>

                <Frame name="$parent_ClassLabel">
                        <Size><AbsDimension x="200" y="20"/></Size>
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Reaction6" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-20"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Layers>
                                <Layer level="ARTWORK">
                                        <FontString name="$parent_Label" inherits="GameFontNormal" justifyH="LEFT" text="DUF_CLASSLABEL">
                                                <Color r=".8" g=".8" b="0"/>
                                                <Anchors>
                                                        <Anchor point="LEFT"/>
                                                </Anchors>
                                        </FontString>
                                </Layer>
                        </Layers>
                </Frame>
                <Button name="$parent_Druid" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_ClassLabel" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "classcolorDruid";
                                        DL_Set_Label(DUF_TEXT.Druid);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_Hunter" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Druid" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "classcolorHunter";
                                        DL_Set_Label(DUF_TEXT.Hunter);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_Mage" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Hunter" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "classcolorMage";
                                        DL_Set_Label(DUF_TEXT.Mage);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_Paladin" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Mage" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "classcolorPaladin";
                                        DL_Set_Label(DUF_TEXT.Paladin);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_Priest" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Paladin" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "classcolorPriest";
                                        DL_Set_Label(DUF_TEXT.Priest);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_Rogue" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Priest" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "classcolorRogue";
                                        DL_Set_Label(DUF_TEXT.Rogue);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_Shaman" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Rogue" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "classcolorShaman";
                                        DL_Set_Label(DUF_TEXT.Shaman);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_Warlock" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Shaman" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "classcolorWarlock";
                                        DL_Set_Label(DUF_TEXT.Warlock);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_Warrior" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Warlock" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "classcolorWarrior";
                                        DL_Set_Label(DUF_TEXT.Warrior);
                                </OnLoad>
                        </Scripts>
                </Button>
        </Frames>
</Frame>

<Button name="DUF_TextVariablesFrame" inherits="DiscordLib_TooltipBackdropTemplate" movable="true" parent="DUF_Options" hidden="true" frameStrata="DIALOG">
        <Size><AbsDimension x="575" y="630"/></Size>
        <Anchors>
                <Anchor point="LEFT" relativePoint="RIGHT"/>
        </Anchors>
        <Frames>
                <Button name="$parent_CloseButton" inherits="DiscordLib_CloseButtonTemplate">
                        <Scripts>
                                <OnClick>
                                        DUF_TextVariablesFrame:Hide();
                                </OnClick>
                        </Scripts>
                </Button>
        </Frames>
        <Layers>
                <Layer level="OVERLAY">
                        <FontString name="$parent_Title" inherits="GameFontNormal">
                                <Color r="1.0" g="1.0" b="0"/>
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset><AbsDimension x="0" y="-20"/></Offset>
                                        </Anchor>
                                </Anchors>
                        </FontString>
                        <FontString name="$parent_Column1" inherits="GameFontNormalSmall" justifyH="LEFT">
                                <Color r="1.0" g="1.0" b="1.0"/>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset><AbsDimension x="10" y="-40"/></Offset>
                                        </Anchor>
                                </Anchors>
                        </FontString>
                        <FontString name="$parent_Column2" inherits="GameFontNormalSmall" justifyH="LEFT">
                                <Color r="1.0" g="1.0" b="1.0"/>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativeTo="$parent_Column1" relativePoint="TOPRIGHT">
                                                <Offset><AbsDimension x="10" y="0"/></Offset>
                                        </Anchor>
                                </Anchors>
                        </FontString>
                </Layer>
        </Layers>
        <Scripts>
                <OnLoad>
                        this:SetBackdropBorderColor(1, 0, 0);
                        this:SetBackdropColor(0, 0, 0, 1);
                        this:RegisterForDrag("LeftButton", "RightButton");
                </OnLoad>
                <OnDragStart>
                        this:StartMoving();
                </OnDragStart>
                <OnDragStop>
                        this:StopMovingOrSizing();
                </OnDragStop>
        </Scripts>
</Button>

</Ui>

Generated by GNU Enscript 1.6.5.90.