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="Questie_Toggle" parent="WorldMapFrame" inherits="UIPanelButtonTemplate" text="Toggle Questie">
        <Size>
                <AbsDimension x="120" y="20"/>
        </Size>
        <Anchors>
                <Anchor point="RIGHT" relativePoint="LEFT" relativeTo="WorldMapContinentDropDown">
                        <Offset>
                                <AbsDimension x="10" y="2"/>
                        </Offset>
                </Anchor>
        </Anchors>
        <Scripts>
                <OnLoad>
                        this:SetFrameLevel(10);
                </OnLoad>
                <OnClick>
                        Questie:Toggle();
                </OnClick>
        </Scripts>
</Button>

<Frame name="QuestieUpdates" parent="WorldMapFrame" hidden="false">
        <Scripts>
                <OnLoad>
                        if (WorldMapFrame:IsVisible()) and (arg1 == "ESCAPE") or (arg1 == "M") then
                                ToggleWorldMap();
                        else
                                return
                        end
                </OnLoad>
                <OnUpdate>
                        Questie:OnUpdate(arg1)
                </OnUpdate>
        </Scripts>
</Frame>

<Frame name="Questie" parent="UIParent" hidden="false" inherits="ActionButtonTemplate">
        <Scripts>
                <OnUpdate>
                        Questie:OnUpdate(arg1)
                </OnUpdate>
                <OnEvent>
                        Questie:OnEvent(this, event, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10);
                </OnEvent>
                <OnLoad>
                        Questie:OnLoad()
                </OnLoad>
        </Scripts>
</Frame>

<GameTooltip name="QuestieTooltip" frameStrata="TOOLTIP" hidden="true" inherits="GameTooltipTemplate">
                <Scripts>
                        <OnLoad>
                                this:SetOwner(UIParent,"ANCHOR_NONE")
                        </OnLoad>
                </Scripts> 
</GameTooltip>

</Ui>