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

<Button name="DUF_MainMenuButton" inherits="UIPanelButtonTemplate" virtual="true" hidden="false">
        <Size><AbsDimension x="140" y="22"/></Size>
</Button>

<Button name="DUF_SelectButton" inherits="DiscordLib_PlainBackgroundTemplate" frameStrata="HIGH" virtual="true">
        <Size><AbsDimension x="140" y="16"/></Size>
        <NormalText name="$parentText" inherits="GameFontNormalSmall"/>
        <Scripts>
                <OnLoad>
                        DUF_SelectButton_OnLoad();
                </OnLoad>
                <OnEnter>
                        this:SetTextColor(1, 0, 0);
                        this:SetBackdropColor(.6, .6, .6);
                        this:SetBackdropBorderColor(1, 1, 0);
                </OnEnter>
                <OnLeave>
                        if (DUF_ELEMENT_SELECTED == this:GetName()) then
                                this:SetBackdropColor(1, 1, 0);
                                this:SetBackdropBorderColor(1, 1, 1);
                        else
                                DUF_SelectButton_OnLoad();
                        end
                </OnLeave>
        </Scripts>
</Button>

<Button name="DUF_SelectButton2" inherits="DiscordLib_PlainBackgroundTemplate" frameStrata="HIGH" virtual="true">
        <Size><AbsDimension x="130" y="20"/></Size>
        <NormalText name="$parentText" inherits="GameFontNormal"/>
        <Scripts>
                <OnLoad>
                        DUF_SelectButton_OnLoad();
                </OnLoad>
                <OnEnter>
                        this:SetTextColor(1, 0, 0);
                        this:SetBackdropColor(.6, .6, .6);
                        this:SetBackdropBorderColor(1, 1, 0);
                </OnEnter>
                <OnLeave>
                        if (DUF_FRAME_SELECTED == this:GetName()) then
                                this:SetBackdropColor(1, 1, 0);
                                this:SetBackdropBorderColor(1, 1, 1);
                        else
                                DUF_SelectButton_OnLoad();
                        end
                </OnLeave>
        </Scripts>
</Button>

<Button name="DUF_SelectButton3" inherits="DiscordLib_PlainBackgroundTemplate" frameStrata="HIGH" virtual="true">
        <Size><AbsDimension x="130" y="20"/></Size>
        <NormalText name="$parentText" inherits="GameFontNormal"/>
        <Scripts>
                <OnLoad>
                        DUF_SelectButton_OnLoad();
                </OnLoad>
                <OnEnter>
                        this:SetTextColor(1, 0, 0);
                        this:SetBackdropColor(.6, .6, .6);
                        this:SetBackdropBorderColor(1, 1, 0);
                </OnEnter>
                <OnLeave>
                        if (DUF_OPTIONS_SELECTED == this:GetName()) then
                                this:SetBackdropColor(1, 1, 0);
                                this:SetBackdropBorderColor(1, 1, 1);
                        else
                                DUF_SelectButton_OnLoad();
                        end
                </OnLeave>
        </Scripts>
</Button>

<Frame name="DUF_ElementOptionsTemplate" hidden="true"  frameStrata="HIGH" virtual="true">
        <Size><AbsDimension x="10" y="10"/></Size>
        <Anchors>
                <Anchor point="TOPLEFT" relativeTo="DUF_Options_Pet" relativePoint="BOTTOMLEFT"/>
        </Anchors>
</Frame>

<CheckButton name="DUF_CheckBoxTemplate" inherits="DiscordLib_CheckBoxTemplate" virtual="true">
        <Scripts>
                <OnClick>
                        DUF_CheckButton_OnClick();
                </OnClick>
        </Scripts>
</CheckButton>

<Button name="DUF_ColorPickerTemplate" inherits="DiscordLib_ColorPickerTemplate" virtual="true">
        <Scripts>
                <OnClick>
                        DUF_ColorPicker_OnClick();
                </OnClick>
        </Scripts>
</Button>

<Slider name="DUF_SliderTemplate" inherits="DiscordLib_SliderTemplate" virtual="true">
        <Frames>
                <EditBox name="$parent_Display" inherits="DiscordLib_SliderEditBoxTemplate">
                        <Scripts>
                                <OnEnterPressed>
                                        DUF_Slider_UpdateFromEditBox();
                                </OnEnterPressed>
                        </Scripts>
                </EditBox>
        </Frames>
        <Scripts>
                <OnValueChanged>
                        DUF_Slider_Update();
                </OnValueChanged>
        </Scripts>
</Slider>

<EditBox name="DUF_EditBoxTemplate" inherits="DiscordLib_EditBoxTemplate" virtual="true">
        <Scripts>
                <OnEnterPressed>
                        DUF_EditBox_Update();
                </OnEnterPressed>
        </Scripts>
</EditBox>

<Button name="DUF_MenuOptionTemplate" inherits="DiscordLib_MenuOptionTemplate" virtual="true">
        <Scripts>
                <OnClick>
                        DUF_Menu_OnClick();
                </OnClick>
        </Scripts>
</Button>

</Ui>

Generated by GNU Enscript 1.6.5.90.