vanilla-wow-addons – Rev 1

Subversion Repositories:
Rev:
<Ui xmlns="http://www.blizzard.com/wow/ui/"   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"   xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\..\FrameXML\UI.xsd"> 
        <Button name="GameMenuButtonLoadIT" inherits="GameMenuButtonTemplate" text="LoadIT" parent="GameMenuFrame">
                <Anchors>
                        <Anchor point="TOP" relativeTo="GameMenuButtonKeybindings" relativePoint="BOTTOM">
                                <Offset>
                                        <AbsDimension x="0" y="-1"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Scripts>
                        <OnLoad>
                                GameMenuFrame:SetHeight(GameMenuFrame:GetHeight() + this:GetHeight());
                                GameMenuButtonMacros:SetPoint("TOP", this:GetName(), "BOTTOM", 0, -1);
                                if (myGameMenuButtonAddOns) then
                                        this:SetPoint("TOP", myGameMenuButtonAddOns, "BOTTOM", 0, -1);
                                end
                        </OnLoad>
                        <OnClick>
                                PlaySound("igMainMenuOption");
                                HideUIPanel(GameMenuFrame);
                                LoadITmenu_ToggleMenu();
                        </OnClick>
                </Scripts>
        </Button>
</Ui>