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="GB_Options" inherits="GB_OptionsBGTemplate" parent="UIParent" movable="true" enableMouse="true" hidden="true">
        <Size><AbsDimension x="722" y="590"/></Size>
        <Anchors>
                <Anchor point="CENTER"/>
        </Anchors>
        <Frames>
                <Button name="GB_CloseButton" hidden="false">
                        <Size><AbsDimension x="42" y="42"/></Size>
                        <Anchors>
                                <Anchor point="TOPRIGHT">
                                        <Offset><AbsDimension x="-2" y="-2"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnClick>
                                        GB_Show_OptionsFrame("main");
                                </OnClick>
                        </Scripts>
                        <NormalTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Up"/>
                        <PushedTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Down"/>
                        <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
                </Button>
                <Frame name="GB_TitleFrame" inherits="GB_OptionsBGTemplate" hidden="false">
                        <Size><AbsDimension x="170" y="50"/></Size>
                        <Anchors>
                                <Anchor point="BOTTOM" relativePoint="TOP">
                                        <Offset><AbsDimension x="0" y="-15"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Layers>
                                <Layer level="ARTWORK">
                                        <FontString name="$parent_Label" inherits="GameFontNormal">
                                                <Color r="1.0" g="1.0" b="0.0"/>
                                                <Anchor point="CENTER"/>
                                        </FontString>
                                </Layer>
                        </Layers>
                        <Scripts>
                                <OnLoad>
                                        this:SetBackdropBorderColor(1.0, 0.0, 0.0);
                                        this:SetBackdropColor(1.0, 0.0, 0.0);
                                        GB_Set_Label(GB_TEXT.GroupButtons);
                                </OnLoad>
                        </Scripts>
                </Frame>

                <Frame name="GB_ButtonBG_Bars" inherits="GB_ButtonBGTemplate">
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="GB_Options" relativePoint="TOPLEFT">
                                        <Offset><AbsDimension x="10" y="-10"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetHeight(8 * 26 + 20);
                                        this:SetBackdropColor(.1, .1, 1);
                                </OnLoad>
                        </Scripts>
                </Frame>
                <Frame name="GB_OptionsTitle" inherits="GB_BGTemplate" hidden="false">
                        <Size><AbsDimension x="517" y="30"/></Size>
                        <Anchors>
                                <Anchor point="TOPLEFT" relativeTo="GB_ButtonBG_Bars" relativePoint="TOPRIGHT">
                                        <Offset><AbsDimension x="-2" y="0"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetBackdropColor(.1, .1, 1);
                                </OnLoad>
                        </Scripts>
                        <Layers>
                                <Layer level="ARTWORK">
                                        <FontString name="$parent_Label" inherits="GameFontNormal">
                                                <Color r="1.0" g="1.0" b="0.0"/>
                                                <Anchor point="CENTER"/>
                                        </FontString>
                                </Layer>
                        </Layers>
                </Frame>

                <Button name="GB_Self_Button" inherits="GB_ButtonTemplate">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_ButtonBG_Bars" relativePoint="TOP">
                                        <Offset><AbsDimension x="0" y="-10"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(GB_TEXT.Self);
                                </OnLoad>
                                <OnClick>
                                        GB_Show_OptionsFrame("player");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="GB_Party_Button" inherits="GB_ButtonTemplate">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_Self_Button" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(GB_TEXT.Party);
                                </OnLoad>
                                <OnClick>
                                        GB_Show_OptionsFrame("party");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="GB_FriendlyTarget_Button" inherits="GB_ButtonTemplate">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_Party_Button" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(GB_TEXT.FriendlyTarget);
                                </OnLoad>
                                <OnClick>
                                        GB_Show_OptionsFrame("friendlytarget");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="GB_HostileTarget_Button" inherits="GB_ButtonTemplate">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_FriendlyTarget_Button" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(GB_TEXT.HostileTarget);
                                </OnLoad>
                                <OnClick>
                                        GB_Show_OptionsFrame("hostiletarget");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="GB_LowestHealth_Button" inherits="GB_ButtonTemplate">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_HostileTarget_Button" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(GB_TEXT.LowestHealth);
                                </OnLoad>
                                <OnClick>
                                        GB_Show_OptionsFrame("lowesthealth");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="GB_Raid_Button" inherits="GB_ButtonTemplate">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_LowestHealth_Button" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(GB_TEXT.Raid);
                                </OnLoad>
                                <OnClick>
                                        GB_Show_OptionsFrame("raid");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="GB_Pet_Button" inherits="GB_ButtonTemplate">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_Raid_Button" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(GB_TEXT.Pet);
                                </OnLoad>
                                <OnClick>
                                        GB_Show_OptionsFrame("pet");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="GB_Pets_Button" inherits="GB_ButtonTemplate">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_Pet_Button" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(GB_TEXT.PartyPets);
                                </OnLoad>
                                <OnClick>
                                        GB_Show_OptionsFrame("partypet");
                                </OnClick>
                        </Scripts>
                </Button>

                <Frame name="GB_ButtonBG_OtherOptions" inherits="GB_ButtonBGTemplate">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_ButtonBG_Bars" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetHeight(4 * 26 + 20);
                                        this:SetBackdropColor(.1, .1, 1);
                                </OnLoad>
                        </Scripts>
                </Frame>
                <Button name="GB_AnnounceOptions_Button" inherits="GB_ButtonTemplate">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_ButtonBG_OtherOptions" relativePoint="TOP">
                                        <Offset><AbsDimension x="0" y="-10"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(GB_TEXT.AnnounceOptions);
                                </OnLoad>
                                <OnClick>
                                        GB_Show_OptionsFrame("announce");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="GB_Thresholds_Button" inherits="GB_ButtonTemplate">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_AnnounceOptions_Button" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(GB_TEXT.Thresholds);
                                </OnLoad>
                                <OnClick>
                                        GB_Show_OptionsFrame("thresholds");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="GB_RaidMembers_Button" inherits="GB_ButtonTemplate">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_Thresholds_Button" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(GB_TEXT.RaidMembers);
                                </OnLoad>
                                <OnClick>
                                        GB_Show_OptionsFrame("raidmembers");
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="GB_MiscOptions_Button" inherits="GB_ButtonTemplate">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_RaidMembers_Button" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(GB_TEXT.MiscOptions);
                                </OnLoad>
                                <OnClick>
                                        GB_Show_OptionsFrame("misc");
                                </OnClick>
                        </Scripts>
                </Button>

                <Frame name="GB_ButtonBG_Toggles" inherits="GB_ButtonBGTemplate">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_ButtonBG_OtherOptions" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetBackdropColor(.1, .1, 1);
                                        this:SetHeight(6 * 26 + 20);
                                </OnLoad>
                        </Scripts>
                </Frame>
                <Button name="GB_MiniSpellbook_Button" inherits="GB_ButtonTemplate">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_ButtonBG_Toggles" relativePoint="TOP">
                                        <Offset><AbsDimension x="0" y="-10"/></Offset>
                                </Anchor>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(GB_TEXT.MiniSpellbook);
                                </OnLoad>
                                <OnClick>
                                        GB_Toggle_MiniSpellbook();
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="GB_LockBars_Button" inherits="GB_ButtonTemplate">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_MiniSpellbook_Button" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(GB_TEXT.UnlockBars);
                                </OnLoad>
                                <OnClick>
                                        GB_Toggle_BarLock();
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="GB_LockButtons_Button" inherits="GB_ButtonTemplate">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_LockBars_Button" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(GB_TEXT.UnlockButtons);
                                </OnLoad>
                                <OnClick>
                                        GB_Toggle_ButtonsLock();
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="GB_ShowEmpty_Button" inherits="GB_ButtonTemplate">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_LockButtons_Button" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(GB_TEXT.ShowEmpty);
                                </OnLoad>
                                <OnClick>
                                        GB_Toggle_EmptyButtons();
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="GB_ShowLabels_Button" inherits="GB_ButtonTemplate">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_ShowEmpty_Button" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(GB_TEXT.ShowLabels);
                                </OnLoad>
                                <OnClick>
                                        GB_Toggle_Labels();
                                </OnClick>
                        </Scripts>
                </Button>
                <Button name="GB_HideClickboxes_Button" inherits="GB_ButtonTemplate">
                        <Anchors>
                                <Anchor point="TOP" relativeTo="GB_ShowLabels_Button" relativePoint="BOTTOM"/>
                        </Anchors>
                        <Scripts>
                                <OnLoad>
                                        this:SetText(GB_TEXT.HideClickboxes);
                                </OnLoad>
                                <OnClick>
                                        GB_Toggle_Clickboxes();
                                </OnClick>
                        </Scripts>
                </Button>
        </Frames>
        <Scripts>
                <OnLoad>
                        this:SetBackdropBorderColor(1.0, 0.0, 0.0);
                        --this:SetHeight(14 * 26 + 3 * 20 + 20);
                </OnLoad>
                <OnMouseDown>
                        GB_StartMoving();
                </OnMouseDown>
                <OnMouseUp>
                        GB_StopMoving();
                </OnMouseUp>
                <OnHide>
                        GB_StopMoving();
                </OnHide>
        </Scripts>
</Frame>

</Ui>

Generated by GNU Enscript 1.6.5.90.