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

<Frame name="DUF_HealthBarOptions" parent="DUF_ElementOptions" frameStrata="HIGH" hidden="true">
        <Size><AbsDimension x="10" y="10"/></Size>
        <Anchors>
                <Anchor point="TOPLEFT"/>
        </Anchors>
        <Frames>
                <Slider name="$parent_Height" inherits="DUF_SliderTemplate" minValue="1" maxValue="100"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="30" y="-60"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "height";
                                        this.minlock = true;
                                        DL_Set_Label(DUF_TEXT.Height);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Slider name="$parent_Width" inherits="DUF_SliderTemplate" minValue="1" maxValue="300"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Height" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-25"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "width";
                                        this.minlock = true;
                                        DL_Set_Label(DUF_TEXT.Width);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Button name="$parent_Color" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Width" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-30"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "color";
                                        DL_Set_Label(DUF_TEXT.BarColor);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_SecondaryColor" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Color" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "color2";
                                        DL_Set_Label(DUF_TEXT.SecondaryBarColor);
                                </OnLoad>
                        </Scripts>
                </Button>
                <CheckButton name="$parent_Fill" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_SecondaryColor" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-10"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "fill";
                                        DL_Set_Label(DUF_TEXT.Fill);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_ResizeMax" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Fill" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "resizemax";
                                        DL_Set_Label(DUF_TEXT.ResizeBasedOnMax);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_Fade" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_ResizeMax" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "fade";
                                        DL_Set_Label(DUF_TEXT.Fade);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <EditBox name="$parent_CustomTexture" inherits="DUF_EditBoxTemplate">
                        <Size><AbsDimension x="150" y="20"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this.index = "customtexture";
                                        DL_Set_Label(DUF_TEXT.CustomTexture);
                                        DL_Set_Anchor("_Fade", 0, -10);
                                </OnLoad>
                        </Scripts>
                </EditBox>
                <EditBox name="$parent_CustomTexture2" inherits="DUF_EditBoxTemplate">
                        <Size><AbsDimension x="150" y="20"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this.index = "customtexture2";
                                        DL_Set_Label(DUF_TEXT.CustomTexture2);
                                        DL_Set_Anchor("_Fade", 0, -35);
                                </OnLoad>
                        </Scripts>
                </EditBox>
                <Button name="$parent_Direction" 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_STATUSBAR_DIRECTIONS";
                                        this.index = "direction";
                                        DL_Set_Label(DUF_TEXT.FillDirection);
                                        DL_Set_Anchor("_Fade", 0, -70);
                                </OnLoad>
                        </Scripts>
                </Button>
                <CheckButton name="$parent_InCombat" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Fade" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-110"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "incombat";
                                        DL_Set_Label(DUF_TEXT.ShowInCombat);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_HealthUpdating" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_InCombat" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "healthupdating";
                                        DL_Set_Label(DUF_TEXT.HealthUpdating);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_ManaUpdating" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_HealthUpdating" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "manaupdating";
                                        DL_Set_Label(DUF_TEXT.ManaUpdating);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
        </Frames>
        <Scripts>
                <OnLoad>
                        this.initFunc = DUF_Initialize_StatusBar;
                </OnLoad>
        </Scripts>
</Frame>

<Frame name="DUF_ManaBarOptions" parent="DUF_ElementOptions" frameStrata="HIGH" hidden="true">
        <Size><AbsDimension x="10" y="10"/></Size>
        <Anchors>
                <Anchor point="TOPLEFT"/>
        </Anchors>
        <Frames>
                <Slider name="$parent_Height" inherits="DUF_SliderTemplate" minValue="1" maxValue="100"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="30" y="-60"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "height";
                                        this.minlock = true;
                                        DL_Set_Label(DUF_TEXT.Height);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Slider name="$parent_Width" inherits="DUF_SliderTemplate" minValue="1" maxValue="300"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Height" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-25"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "width";
                                        this.minlock = true;
                                        DL_Set_Label(DUF_TEXT.Width);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Button name="$parent_ManaColor" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Width" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-30"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "manacolor";
                                        DL_Set_Label(DUF_TEXT.ManaColor);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_RageColor" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_ManaColor" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "ragecolor";
                                        DL_Set_Label(DUF_TEXT.RageColor);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_FocusColor" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_RageColor" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "focuscolor";
                                        DL_Set_Label(DUF_TEXT.FocusColor);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_EnergyColor" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_FocusColor" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "energycolor";
                                        DL_Set_Label(DUF_TEXT.EnergyColor);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_SecondaryColor" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_EnergyColor" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "color2";
                                        DL_Set_Label(DUF_TEXT.SecondaryBarColor);
                                </OnLoad>
                        </Scripts>
                </Button>
                <CheckButton name="$parent_Fill" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_SecondaryColor" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-10"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "fill";
                                        DL_Set_Label(DUF_TEXT.Fill);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_ResizeMax" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Fill" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "resizemax";
                                        DL_Set_Label(DUF_TEXT.ResizeBasedOnMax);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_Fade" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_ResizeMax" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "fade";
                                        DL_Set_Label(DUF_TEXT.Fade);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_HideIfNoMana" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Fade" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "hideifnomana";
                                        DL_Set_Label(DUF_TEXT.HideIfNoMana);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <EditBox name="$parent_CustomTexture" inherits="DUF_EditBoxTemplate">
                        <Size><AbsDimension x="150" y="20"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this.index = "customtexture";
                                        DL_Set_Label(DUF_TEXT.CustomTexture);
                                        DL_Set_Anchor("_HideIfNoMana", 0, -10);
                                </OnLoad>
                        </Scripts>
                </EditBox>
                <EditBox name="$parent_CustomTexture2" inherits="DUF_EditBoxTemplate">
                        <Size><AbsDimension x="150" y="20"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this.index = "customtexture2";
                                        DL_Set_Label(DUF_TEXT.CustomTexture2);
                                        DL_Set_Anchor("_HideIfNoMana", 0, -35);
                                </OnLoad>
                        </Scripts>
                </EditBox>
                <Button name="$parent_Direction" 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_STATUSBAR_DIRECTIONS";
                                        this.index = "direction";
                                        DL_Set_Label(DUF_TEXT.FillDirection);
                                        DL_Set_Anchor("_HideIfNoMana", 0, -70);
                                </OnLoad>
                        </Scripts>
                </Button>
                <CheckButton name="$parent_InCombat" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_HideIfNoMana" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-110"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "incombat";
                                        DL_Set_Label(DUF_TEXT.ShowInCombat);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_HealthUpdating" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_InCombat" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "healthupdating";
                                        DL_Set_Label(DUF_TEXT.HealthUpdating);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_ManaUpdating" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_HealthUpdating" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "manaupdating";
                                        DL_Set_Label(DUF_TEXT.ManaUpdating);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
        </Frames>
        <Scripts>
                <OnLoad>
                        this.initFunc = DUF_Initialize_StatusBar;
                </OnLoad>
        </Scripts>
</Frame>

<Frame name="DUF_XPBarOptions" parent="DUF_ElementOptions" frameStrata="HIGH" hidden="true">
        <Size><AbsDimension x="10" y="10"/></Size>
        <Anchors>
                <Anchor point="TOPLEFT"/>
        </Anchors>
        <Frames>
                <Slider name="$parent_Height" inherits="DUF_SliderTemplate" minValue="1" maxValue="100"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="30" y="-60"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "height";
                                        this.minlock = true;
                                        DL_Set_Label(DUF_TEXT.Height);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Slider name="$parent_Width" inherits="DUF_SliderTemplate" minValue="1" maxValue="300"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Height" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-25"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "width";
                                        this.minlock = true;
                                        DL_Set_Label(DUF_TEXT.Width);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Button name="$parent_Color" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Width" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-30"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "color";
                                        DL_Set_Label(DUF_TEXT.BarColor);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_SecondaryColor" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Color" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "color2";
                                        DL_Set_Label(DUF_TEXT.SecondaryBarColor);
                                </OnLoad>
                        </Scripts>
                </Button>
                <EditBox name="$parent_CustomTexture" inherits="DUF_EditBoxTemplate">
                        <Size><AbsDimension x="150" y="20"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this.index = "customtexture";
                                        DL_Set_Label(DUF_TEXT.CustomTexture);
                                        DL_Set_Anchor("_SecondaryColor", 0, -10);
                                </OnLoad>
                        </Scripts>
                </EditBox>
                <EditBox name="$parent_CustomTexture2" inherits="DUF_EditBoxTemplate">
                        <Size><AbsDimension x="150" y="20"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this.index = "customtexture2";
                                        DL_Set_Label(DUF_TEXT.CustomTexture2);
                                        DL_Set_Anchor("_SecondaryColor", 0, -35);
                                </OnLoad>
                        </Scripts>
                </EditBox>
                <Button name="$parent_Direction" 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_STATUSBAR_DIRECTIONS";
                                        this.index = "direction";
                                        DL_Set_Label(DUF_TEXT.FillDirection);
                                        DL_Set_Anchor("_SecondaryColor", 0, -70);
                                </OnLoad>
                        </Scripts>
                </Button>
                <CheckButton name="$parent_Reputation" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_SecondaryColor" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-100"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "trackRep";
                                        DL_Set_Label(DUF_TEXT.TrackReputation);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
        </Frames>
        <Scripts>
                <OnLoad>
                        this.initFunc = DUF_Initialize_StatusBar;
                </OnLoad>
        </Scripts>
</Frame>

<Frame name="DUF_IconOptions" parent="DUF_ElementOptions" frameStrata="HIGH" hidden="true">
        <Size><AbsDimension x="10" y="10"/></Size>
        <Anchors>
                <Anchor point="TOPLEFT"/>
        </Anchors>
        <Frames>
                <Slider name="$parent_Size" inherits="DUF_SliderTemplate" minValue="1" maxValue="100"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="30" y="-60"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "size";
                                        this.minlock = true;
                                        DL_Set_Label(DUF_TEXT.Size);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <CheckButton name="$parent_Circle" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Size" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-20"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "circle";
                                        DL_Set_Label(DUF_TEXT.ShowCircularBorder);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_TargetIcon" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Circle" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-5"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "targetIcon";
                                        DL_Set_Label(DUF_TEXT.ShowTargetIcon);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
        </Frames>
        <Scripts>
                <OnLoad>
                        this.initFunc = DUF_Init_Element;
                </OnLoad>
        </Scripts>
</Frame>

<Frame name="DUF_PortraitOptions" parent="DUF_ElementOptions" frameStrata="HIGH" hidden="true">
        <Size><AbsDimension x="10" y="10"/></Size>
        <Anchors>
                <Anchor point="TOPLEFT"/>
        </Anchors>
        <Frames>
                <Slider name="$parent_Size" inherits="DUF_SliderTemplate" minValue="1" maxValue="100"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="30" y="-60"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "size";
                                        this.minlock = true;
                                        DL_Set_Label(DUF_TEXT.Size);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Button name="$parent_BorderColor" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Size" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-30"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "bordcolor";
                                        DL_Set_Label(DUF_TEXT.BorderColor);
                                </OnLoad>
                        </Scripts>
                </Button>
                <CheckButton name="$parent_UseClassTexture" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Size" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-60"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "useclass";
                                        DL_Set_Label(DUF_TEXT.UseClassTexture);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_ShowBorder" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_UseClassTexture" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="0"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "showborder";
                                        DL_Set_Label(DUF_TEXT.ShowCircularBorder);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
        </Frames>
        <Scripts>
                <OnLoad>
                        this.initFunc = DUF_Init_Element;
                </OnLoad>
        </Scripts>
</Frame>

<Frame name="DUF_ClassIconOptions" parent="DUF_ElementOptions" frameStrata="HIGH" hidden="true">
        <Size><AbsDimension x="10" y="10"/></Size>
        <Anchors>
                <Anchor point="TOPLEFT"/>
        </Anchors>
        <Frames>
                <Slider name="$parent_Size" inherits="DUF_SliderTemplate" minValue="1" maxValue="100"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="30" y="-60"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "size";
                                        this.minlock = true;
                                        DL_Set_Label(DUF_TEXT.Size);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <CheckButton name="$parent_UseRaceTexture" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Size" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-30"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "userace";
                                        DL_Set_Label(DUF_TEXT.UseRaceTexture);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
        </Frames>
        <Scripts>
                <OnLoad>
                        this.initFunc = DUF_Init_Element;
                </OnLoad>
        </Scripts>
</Frame>

<Frame name="DUF_EliteTextureOptions" parent="DUF_ElementOptions" frameStrata="HIGH" hidden="true">
        <Size><AbsDimension x="10" y="10"/></Size>
        <Anchors>
                <Anchor point="TOPLEFT"/>
        </Anchors>
        <Frames>
                <Slider name="$parent_Size" inherits="DUF_SliderTemplate" minValue="1" maxValue="150"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="30" y="-60"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "size";
                                        this.minlock = true;
                                        DL_Set_Label(DUF_TEXT.Size);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <CheckButton name="$parent_FacesLeft" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Size" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-30"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "faceleft";
                                        DL_Set_Label(DUF_TEXT.FacesLeft);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <EditBox name="$parent_CustomEliteTexture" inherits="DUF_EditBoxTemplate">
                        <Size><AbsDimension x="150" y="20"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this.index = "elitetexture";
                                        DL_Set_Label(DUF_TEXT.CustomEliteTexture);
                                        DL_Set_Anchor("_FacesLeft", 0, -10);
                                </OnLoad>
                        </Scripts>
                </EditBox>
                <EditBox name="$parent_CustomRareTexture" inherits="DUF_EditBoxTemplate">
                        <Size><AbsDimension x="150" y="20"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this.index = "raretexture";
                                        DL_Set_Label(DUF_TEXT.CustomRareTexture);
                                        DL_Set_Anchor("_FacesLeft", 0, -35);
                                </OnLoad>
                        </Scripts>
                </EditBox>
        </Frames>
        <Scripts>
                <OnLoad>
                        this.initFunc = DUF_Initialize_EliteTexture;
                </OnLoad>
        </Scripts>
</Frame>

<Frame name="DUF_TextBoxOptions" parent="DUF_ElementOptions" frameStrata="HIGH" hidden="true">
        <Size><AbsDimension x="10" y="10"/></Size>
        <Anchors>
                <Anchor point="TOPLEFT"/>
        </Anchors>
        <Frames>
                <EditBox name="$parent_Label" inherits="DUF_EditBoxTemplate">
                        <Size><AbsDimension x="325" y="20"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this.index = "label";
                                        DL_Set_Label(DUF_TEXT.Label);
                                        DL_Set_Anchor("", 30, -35);
                                </OnLoad>
                        </Scripts>
                </EditBox>
                <Slider name="$parent_Height" inherits="DUF_SliderTemplate" minValue="1" maxValue="100"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="30" y="-90"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "height";
                                        this.minlock = true;
                                        DL_Set_Label(DUF_TEXT.Height);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Slider name="$parent_Width" inherits="DUF_SliderTemplate" minValue="1" maxValue="300"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Height" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-25"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "width";
                                        this.minlock = true;
                                        DL_Set_Label(DUF_TEXT.Width);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Button name="$parent_TextOutline" 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_TEXT_OUTLINES";
                                        this.index = "outline";
                                        this.initFunc = DUF_Init_Element;
                                        DL_Set_Label(DUF_TEXT.Outline);
                                        DL_Set_Anchor("_Height", 80, 0, "LEFT", "RIGHT");
                                </OnLoad>
                        </Scripts>
                </Button>
                <EditBox name="$parent_Text" inherits="DUF_EditBoxTemplate">
                        <Size><AbsDimension x="325" y="20"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this.index = "text";
                                        DL_Set_Label(DUF_TEXT.Text);
                                        DL_Set_Anchor("_Width", 0, -20);
                                </OnLoad>
                        </Scripts>
                </EditBox>
                <Button name="$parent_VariablesButton" inherits="UIPanelButtonTemplate" hidden="false">
                        <Size><AbsDimension x="170" y="24"/></Size>
                        <Anchors>
                                <Anchor point="TOP" relativeTo="$parent_Text" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(DUF_TEXT.TextVariables);
                                </OnLoad>
                                <OnClick>
                                        if (DUF_TextVariablesFrame:IsVisible()) then
                                                DUF_TextVariablesFrame:Hide();
                                        else
                                                DUF_TextVariablesFrame:Show();
                                        end
                                </OnClick>
                        </Scripts>
                </Button>
                <CheckButton name="$parent_VerticalText" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Width" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-70"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "verttext";
                                        DL_Set_Label(DUF_TEXT.VerticalText);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <EditBox name="$parent_MaxCharacters" inherits="DUF_EditBoxTemplate">
                        <Size><AbsDimension x="70" y="20"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this.index = "maxcharacters";
                                        this.number = true;
                                        DL_Set_Label(DUF_TEXT.MaxCharacters);
                                        DL_Set_Anchor("_Width", 0, -90);
                                </OnLoad>
                        </Scripts>
                </EditBox>
                <Button name="$parent_JustifyH" 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_JUSTIFICATION_HORIZONTAL";
                                        this.index = "justify";
                                        this.initFunc = DUF_Init_Element;
                                        DL_Set_Label(DUF_TEXT.JustifyH);
                                        DL_Set_Anchor("_Width", 0, -115);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_JustifyV" 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_JUSTIFICATION_VERTICAL";
                                        this.index = "justifyV";
                                        this.initFunc = DUF_Init_Element;
                                        DL_Set_Label(DUF_TEXT.JustifyV);
                                        DL_Set_Anchor("_Width", 0, -140);
                                </OnLoad>
                        </Scripts>
                </Button>
                <EditBox name="$parent_Font" inherits="DUF_EditBoxTemplate">
                        <Size><AbsDimension x="175" y="20"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this.index = "font";
                                        DL_Set_Label(DUF_TEXT.Font);
                                        DL_Set_Anchor("_Width", 0, -165);
                                </OnLoad>
                        </Scripts>
                </EditBox>
                <Button name="$parent_Color" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="30" y="-360"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "textcolor";
                                        DL_Set_Label(DUF_TEXT.TextColor);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Slider name="$parent_FontHeight" inherits="DUF_SliderTemplate" minValue="1" maxValue="30"  valueStep=".25">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Color" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-25"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "textheight";
                                        this.minlock = true;
                                        DL_Set_Label(DUF_TEXT.FontHeight);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <CheckButton name="$parent_HideIfNoMana" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_FontHeight" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-20"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "hideifnomana";
                                        DL_Set_Label(DUF_TEXT.HideIfNoMana);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_HideIfNoText" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_HideIfNoMana" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "hideifnotext";
                                        DL_Set_Label(DUF_TEXT.HideIfNoText);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_InCombat" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_HideIfNoText" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "incombat";
                                        DL_Set_Label(DUF_TEXT.ShowInCombat);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_HealthUpdating" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_InCombat" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "healthupdating";
                                        DL_Set_Label(DUF_TEXT.HealthUpdating);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_ManaUpdating" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_HealthUpdating" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "manaupdating";
                                        DL_Set_Label(DUF_TEXT.ManaUpdating);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
        </Frames>
        <Scripts>
                <OnLoad>
                        this.initFunc = DUF_Initialize_TextBox;
                </OnLoad>
        </Scripts>
</Frame>

<Frame name="DUF_ComboPointsOptions" parent="DUF_ElementOptions" frameStrata="HIGH" hidden="true">
        <Size><AbsDimension x="10" y="10"/></Size>
        <Anchors>
                <Anchor point="TOPLEFT"/>
        </Anchors>
        <Frames>
                <Slider name="$parent_Size" inherits="DUF_SliderTemplate" minValue="1" maxValue="100"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="30" y="-60"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "size";
                                        this.minlock = true;
                                        DL_Set_Label(DUF_TEXT.Size);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <CheckButton name="$parent_Vertical" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Size" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-20"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "vertical";
                                        DL_Set_Label(DUF_TEXT.VerticalLayout);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <Button name="$parent_Color" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Vertical" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "color";
                                        DL_Set_Label(DUF_TEXT.Color);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Slider name="$parent_Spacing" inherits="DUF_SliderTemplate" minValue="-30" maxValue="30"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Color" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-20"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "spacing";
                                        DL_Set_Label(DUF_TEXT.Spacing);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <EditBox name="$parent_CustomTexture" inherits="DUF_EditBoxTemplate">
                        <Size><AbsDimension x="150" y="20"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this.index = "customtexture";
                                        DL_Set_Label(DUF_TEXT.CustomTexture);
                                        DL_Set_Anchor("_Spacing", 0, -20);
                                </OnLoad>
                        </Scripts>
                </EditBox>
        </Frames>
        <Scripts>
                <OnLoad>
                        this.initFunc = DUF_Initialize_ComboPoints;
                </OnLoad>
        </Scripts>
</Frame>

<Frame name="DUF_BuffOptions" parent="DUF_ElementOptions" frameStrata="HIGH" hidden="true">
        <Size><AbsDimension x="10" y="10"/></Size>
        <Anchors>
                <Anchor point="TOPLEFT"/>
        </Anchors>
        <Frames>
                <Slider name="$parent_Size" inherits="DUF_SliderTemplate" minValue="1" maxValue="100"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="30" y="-60"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "size";
                                        this.minlock = true;
                                        DL_Set_Label(DUF_TEXT.Size);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <CheckButton name="$parent_ReverseFill" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Size" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-20"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "reverse";
                                        DL_Set_Label(DUF_TEXT.ReverseFill);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_Vertical" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_ReverseFill" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "vertical";
                                        DL_Set_Label(DUF_TEXT.VerticalLayout);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_TwoRows" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Vertical" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "tworows";
                                        DL_Set_Label(DUF_TEXT.TwoRows);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <Slider name="$parent_HSpacing" inherits="DUF_SliderTemplate" minValue="-30" maxValue="30"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_TwoRows" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-20"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "hspacing";
                                        DL_Set_Label(DUF_TEXT.HSpacing);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Slider name="$parent_VSpacing" inherits="DUF_SliderTemplate" minValue="-30" maxValue="30"  valueStep="1">
                        <Anchors>
                                <Anchor point="LEFT" relativeTo="$parent_HSpacing" relativePoint="RIGHT">
                                        <Offset><AbsDimension x="70" y="0"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "vspacing";
                                        DL_Set_Label(DUF_TEXT.VSpacing);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Slider name="$parent_Shown" inherits="DUF_SliderTemplate" minValue="1" maxValue="16"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_HSpacing" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-25"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "shown";
                                        this.maxlock = true;
                                        this.minlock = true;
                                        DL_Set_Label(DUF_TEXT.BuffsShown);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <CheckButton name="$parent_ShowDuration" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Shown" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-25"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "showduration";
                                        DL_Set_Label(DUF_TEXT.ShowDuration);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_DurationFormat" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="LEFT" relativeTo="$parent_ShowDuration" relativePoint="RIGHT">
                                        <Offset><AbsDimension x="200" y="0"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "altformat";
                                        DL_Set_Label(DUF_TEXT.DurationFormat);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <Slider name="$parent_DurationHeight" inherits="DUF_SliderTemplate" minValue="1" maxValue="30"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_ShowDuration" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-20"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "durationheight";
                                        DL_Set_Label(DUF_TEXT.DurationHeight);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Slider name="$parent_DurationAlpha" inherits="DUF_SliderTemplate" minValue="0" maxValue="100"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_DurationHeight" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-20"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "durationalpha";
                                        this.minlock = true;
                                        this.maxlock = true;
                                        this.scale = 100;
                                        DL_Set_Label(DUF_TEXT.DurationAlpha);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Slider name="$parent_DurationXOffset" inherits="DUF_SliderTemplate" minValue="-50" maxValue="50"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_DurationAlpha" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-20"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "durationx";
                                        DL_Set_Label(DUF_TEXT.DurationXOffset);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Slider name="$parent_DurationYOffset" inherits="DUF_SliderTemplate" minValue="-50" maxValue="50"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_DurationXOffset" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-20"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "durationy";
                                        DL_Set_Label(DUF_TEXT.DurationYOffset);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Button name="$parent_DurationColor" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_DurationYOffset" relativePoint="TOPLEFT">
                                        <Offset><AbsDimension x="0" y="-25"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "durationcolor";
                                        DL_Set_Label(DUF_TEXT.DurationColor);
                                </OnLoad>
                        </Scripts>
                </Button>
                <EditBox name="$parent_DurationFont" inherits="DUF_EditBoxTemplate">
                        <Size><AbsDimension x="150" y="20"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this.index = "durationfont";
                                        DL_Set_Label(DUF_TEXT.DurationFont);
                                        DL_Set_Anchor("_DurationColor", 0, -5);
                                </OnLoad>
                        </Scripts>
                </EditBox>
        </Frames>
        <Scripts>
                <OnLoad>
                        this.initFunc = DUF_Initialize_Buffs;
                </OnLoad>
        </Scripts>
</Frame>

<Frame name="DUF_DebuffOptions" parent="DUF_ElementOptions" frameStrata="HIGH" hidden="true">
        <Size><AbsDimension x="10" y="10"/></Size>
        <Anchors>
                <Anchor point="TOPLEFT"/>
        </Anchors>
        <Frames>
                <Slider name="$parent_Size" inherits="DUF_SliderTemplate" minValue="1" maxValue="100"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="30" y="-60"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "size";
                                        this.minlock = true;
                                        DL_Set_Label(DUF_TEXT.Size);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <CheckButton name="$parent_ReverseFill" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Size" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-20"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "reverse";
                                        DL_Set_Label(DUF_TEXT.ReverseFill);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_Vertical" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_ReverseFill" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "vertical";
                                        DL_Set_Label(DUF_TEXT.VerticalLayout);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_TwoRows" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Vertical" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "tworows";
                                        DL_Set_Label(DUF_TEXT.TwoRows);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_Flash" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_TwoRows" relativePoint="BOTTOMLEFT"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "flash";
                                        DL_Set_Label(DUF_TEXT.FlashWhenActive);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <Slider name="$parent_HSpacing" inherits="DUF_SliderTemplate" minValue="-30" maxValue="30"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Flash" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-20"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "hspacing";
                                        DL_Set_Label(DUF_TEXT.HSpacing);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Slider name="$parent_VSpacing" inherits="DUF_SliderTemplate" minValue="-30" maxValue="30"  valueStep="1">
                        <Anchors>
                                <Anchor point="LEFT" relativeTo="$parent_HSpacing" relativePoint="RIGHT">
                                        <Offset><AbsDimension x="70" y="0"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "vspacing";
                                        DL_Set_Label(DUF_TEXT.VSpacing);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Slider name="$parent_Shown" inherits="DUF_SliderTemplate" minValue="1" maxValue="16"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_HSpacing" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-25"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "shown";
                                        this.maxlock = true;
                                        this.minlock = true;
                                        DL_Set_Label(DUF_TEXT.BuffsShown);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <CheckButton name="$parent_ShowDuration" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Shown" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-25"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "showduration";
                                        DL_Set_Label(DUF_TEXT.ShowDuration);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_DurationFormat" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="LEFT" relativeTo="$parent_ShowDuration" relativePoint="RIGHT">
                                        <Offset><AbsDimension x="200" y="0"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "altformat";
                                        DL_Set_Label(DUF_TEXT.DurationFormat);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <Slider name="$parent_DurationHeight" inherits="DUF_SliderTemplate" minValue="1" maxValue="30"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_ShowDuration" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-20"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "durationheight";
                                        DL_Set_Label(DUF_TEXT.DurationHeight);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Slider name="$parent_DurationAlpha" inherits="DUF_SliderTemplate" minValue="0" maxValue="100"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_DurationHeight" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-20"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "durationalpha";
                                        this.minlock = true;
                                        this.maxlock = true;
                                        this.scale = 100;
                                        DL_Set_Label(DUF_TEXT.DurationAlpha);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Slider name="$parent_DurationXOffset" inherits="DUF_SliderTemplate" minValue="-50" maxValue="50"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_DurationAlpha" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-20"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "durationx";
                                        DL_Set_Label(DUF_TEXT.DurationXOffset);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Slider name="$parent_DurationYOffset" inherits="DUF_SliderTemplate" minValue="-50" maxValue="50"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_DurationXOffset" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-20"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "durationy";
                                        DL_Set_Label(DUF_TEXT.DurationYOffset);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Button name="$parent_DurationColor" inherits="DUF_ColorPickerTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_DurationYOffset" relativePoint="TOPLEFT">
                                        <Offset><AbsDimension x="0" y="-25"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "durationcolor";
                                        DL_Set_Label(DUF_TEXT.DurationColor);
                                </OnLoad>
                        </Scripts>
                </Button>
                <EditBox name="$parent_DurationFont" inherits="DUF_EditBoxTemplate">
                        <Size><AbsDimension x="150" y="20"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this.index = "durationfont";
                                        DL_Set_Label(DUF_TEXT.DurationFont);
                                        DL_Set_Anchor("_DurationColor", 0, -5);
                                </OnLoad>
                        </Scripts>
                </EditBox>
        </Frames>
        <Scripts>
                <OnLoad>
                        this.initFunc = DUF_Initialize_Debuffs;
                </OnLoad>
        </Scripts>
</Frame>

<Frame name="DUF_FrameOptions" parent="DUF_Options" frameStrata="HIGH" hidden="false">
        <Size><AbsDimension x="10" y="10"/></Size>
        <Anchors>
                <Anchor point="TOPLEFT" relativeTo="DUF_ElementOptions"/>
        </Anchors>
        <Frames>
                <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="-80"/></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_Initialize_Frame;
                                        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_Initialize_Frame;
                                        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_Initialize_Frame;
                                        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="-165"/></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";
                                        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";
                                        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";
                                        DL_Set_Label(DUF_TEXT.MiddleClick);
                                </OnLoad>
                        </Scripts>
                </Button>

                <Button name="$parent_FrameChooser" inherits="DiscordLib_MenuControlTemplate">
                        <Size><AbsDimension x="50" y="24"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this:SetBackdropColor(0.0, 0.0, 0.0);
                                        this.menu = "DUF_DropMenu";
                                        this.table = "DUF_FRAME_CHOICES";
                                        this.initFunc = DUF_Options_UpdateFrameLoc
                                        DL_Set_Label(DUF_TEXT.FrameToMove);
                                        DL_Set_Anchor("", 210, -180);
                                </OnLoad>
                        </Scripts>
                </Button>
                <EditBox name="$parent_XOffset" inherits="DUF_EditBoxTemplate" letters="1000">
                        <Size><AbsDimension x="75" y="20"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this.index = "FRAMELOC"
                                        this.subindex = "xos"
                                        this.number = true
                                        DL_Set_Label("X:");
                                        DL_Set_Anchor("", 210, -205);
                                </OnLoad>
                        </Scripts>
                </EditBox>
                <EditBox name="$parent_YOffset" inherits="DUF_EditBoxTemplate" letters="1000">
                        <Size><AbsDimension x="75" y="20"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this.index = "FRAMELOC"
                                        this.subindex = "yos"
                                        this.number = true
                                        DL_Set_Label("Y:");
                                        DL_Set_Anchor("", 210, -230);
                                </OnLoad>
                        </Scripts>
                </EditBox>
                <Button name="$parent_NudgeUp" inherits="DUF_MainMenuButton">
                        <Size><AbsDimension x="24" y="24"/></Size>
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="360" y="-215"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText("^");
                                        this:RegisterForClicks("LeftButtonUp", "RightButtonUp", "MiddleButtonUp");
                                        this.func = DUF_UnitFrame_Nudge_Up;
                                </OnLoad>
                                <OnMouseDown>
                                        if (arg1 == "MiddleButton") then
                                                this.moving = true;
                                        end
                                </OnMouseDown>
                                <OnMouseUp>
                                        if (arg1 == "MiddleButton") then
                                                this.moving = nil;
                                        else
                                                DUF_UnitFrame_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_UnitFrame_Nudge_Down;
                                </OnLoad>
                                <OnMouseDown>
                                        if (arg1 == "MiddleButton") then
                                                this.moving = true;
                                        end
                                </OnMouseDown>
                                <OnMouseUp>
                                        if (arg1 == "MiddleButton") then
                                                this.moving = nil;
                                        else
                                                DUF_UnitFrame_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_UnitFrame_Nudge_Left;
                                </OnLoad>
                                <OnMouseDown>
                                        if (arg1 == "MiddleButton") then
                                                this.moving = true;
                                        end
                                </OnMouseDown>
                                <OnMouseUp>
                                        if (arg1 == "MiddleButton") then
                                                this.moving = nil;
                                        else
                                                DUF_UnitFrame_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_UnitFrame_Nudge_Right;
                                </OnLoad>
                                <OnMouseDown>
                                        if (arg1 == "MiddleButton") then
                                                this.moving = true;
                                        end
                                </OnMouseDown>
                                <OnMouseUp>
                                        if (arg1 == "MiddleButton") then
                                                this.moving = nil;
                                        else
                                                DUF_UnitFrame_Nudge_Right(arg1);
                                        end
                                </OnMouseUp>
                                <OnUpdate>
                                        DUF_Nudge_OnUpdate(arg1);
                                </OnUpdate>
                        </Scripts>
                </Button>

                <CheckButton name="$parent_Connect" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPRIGHT" relativeTo="DUF_Options">
                                        <Offset><AbsDimension x="-190" y="-325"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "connect";
                                        DL_Set_Label(DUF_TEXT.ConnectFrames);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <Button name="$parent_ConnectMethod" inherits="DiscordLib_MenuControlTemplate">
                        <Size><AbsDimension x="125" y="24"/></Size>
                        <Scripts>
                                <OnLoad>
                                        this:SetBackdropColor(0.0, 0.0, 0.0);
                                        this.menu = "DUF_DropMenu";
                                        this.table = "DUF_CONNECT_OPTIONS";
                                        this.index = "connectmethod";
                                        this.initFunc = DUF_Initialize_Frame;
                                        DL_Set_Label(DUF_TEXT.Method);
                                        DL_Set_Anchor("_Connect", 0, 0);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Slider name="$parent_Spacing" inherits="DUF_SliderTemplate" minValue="0" maxValue="100"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Connect" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-40"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "spacing";
                                        DL_Set_Label(DUF_TEXT.Spacing);
                                </OnLoad>
                        </Scripts>
                </Slider>

                <CheckButton name="$parent_Hide" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT">
                                        <Offset><AbsDimension x="10" y="-10"/></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 = "flash";
                                        DL_Set_Label(DUF_TEXT.FlashForLowHealth);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_ShowDefault" 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 = "showDefault";
                                        DL_Set_Label(DUF_TEXT.ShowDefault);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_UseMouseoverColor" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_ShowDefault" 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_Height" inherits="DUF_SliderTemplate" minValue="1" maxValue="200"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_UseMouseoverColor" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-40"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "height";
                                        this.minlock = true;
                                        DL_Set_Label(DUF_TEXT.Height);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Slider name="$parent_Width" inherits="DUF_SliderTemplate" minValue="1" maxValue="300"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Height" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-25"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "width";
                                        this.minlock = true;
                                        DL_Set_Label(DUF_TEXT.Width);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Slider name="$parent_Scale" inherits="DUF_SliderTemplate" minValue="1" maxValue="200"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Width" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-25"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "scale";
                                        this.minlock = true;
                                        this.scale = 100;
                                        DL_Set_Label(DUF_TEXT.Scale);
                                </OnLoad>
                        </Scripts>
                </Slider>
                <Slider name="$parent_Alpha" inherits="DUF_SliderTemplate" minValue="0" maxValue="100"  valueStep="1">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="$parent_Scale" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-25"/></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_Initialize_Frame;
                                        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_HideBG" relativePoint="TOPLEFT">
                                        <Offset><AbsDimension x="200" y="-65"/></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_Initialize_Frame;
                                        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_BGPadding" relativePoint="BOTTOMLEFT">
                                        <Offset><AbsDimension x="0" y="-45"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "disabletooltip";
                                        DL_Set_Label(DUF_TEXT.DisableTooltip);
                                </OnLoad>
                        </Scripts>
                </CheckButton>
                <CheckButton name="$parent_DisableMouse" inherits="DUF_CheckBoxTemplate">
                        <Anchors>
                                <Anchor point="LEFT" relativeTo="$parent_DisableTooltip" relativePoint="RIGHT">
                                        <Offset><AbsDimension x="190" y="0"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this.index = "disablemouse";
                                        DL_Set_Label(DUF_TEXT.DisableMouse);
                                </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>
                <Button name="$parent_CopyFrame" 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_COPY_FRAMES";
                                        this.initFunc = DUF_SetCopyFrame;
                                        DL_Set_Label(DUF_TEXT.CopyFrame);
                                        DL_Set_Anchor("_UseCustomTooltip", 0, -5);
                                </OnLoad>
                        </Scripts>
                </Button>
                <Button name="$parent_CopyButton" inherits="DUF_MainMenuButton">
                        <Size><AbsDimension x="70" y="24"/></Size>
                        <Anchors>
                                <Anchor point="LEFT" relativeTo="$parent_CopyFrame" relativePoint="RIGHT">
                                        <Offset><AbsDimension x="5" y="0"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(DUF_TEXT.Copy);
                                </OnLoad>
                                <OnClick>
                                        DUF_CopyFrame(this.index);
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="$parent_SafeCopyButton" inherits="DUF_MainMenuButton">
                        <Size><AbsDimension x="90" y="24"/></Size>
                        <Anchors>
                                <Anchor point="LEFT" relativeTo="$parent_CopyButton" relativePoint="RIGHT">
                                        <Offset><AbsDimension x="5" y="0"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(DUF_TEXT.SafeCopy);
                                </OnLoad>
                                <OnClick>
                                        DUF_CopyFrame(this.index, 1);
                                </OnClick>
                        </Scripts>
                </Button>
        </Frames>
        <Scripts>
                <OnLoad>
                        this.initFunc = DUF_Initialize_Frame;
                </OnLoad>
        </Scripts>
</Frame>

</Ui>

Generated by GNU Enscript 1.6.5.90.