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">
        <Frame name="YatlasFrame" frameStrata="HIGH" toplevel="true" movable="true" parent="UIParent" inherits="YatlasFrameTemplatePreBuilt" hidden="true">
                <Size>
                        <AbsDimension x="539" y="628"/>
                </Size>
                <Anchors>
                        <Anchor point="TOPLEFT">
                                <Offset>
                                        <AbsDimension x="64" y="-64"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Layers>
                        <Layer level="BACKGROUND">
                                <Texture name="$parentPortrait" file="Interface\WorldMap\WorldMap-Icon">
                    <Size>
                        <AbsDimension x="64" y="64"/>
                    </Size>
                    <Anchors>
                        <Anchor point="TOPLEFT">
                            <Offset>
                                <AbsDimension x="6" y="-4"/>
                            </Offset>
                        </Anchor>
                    </Anchors>
                </Texture>
                        </Layer>
                        <Layer level="BORDER">
                                <Texture file="Interface\AddOns\Yatlas\images\frame-topleft">
                                        <Size>
                                                <AbsDimension x="512" y="512"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\AddOns\Yatlas\images\frame-botleft">
                                        <Size>
                                                <AbsDimension x="512" y="128"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-510"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\AddOns\Yatlas\images\frame-topright">
                                        <Size>
                                                <AbsDimension x="128" y="512"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="512" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\AddOns\Yatlas\images\frame-botright">
                                        <Size>
                                                <AbsDimension x="128" y="128"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="512" y="-510"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                        </Layer>
                        <Layer level="OVERLAY">
                                <FontString name="$parentName" inherits="GameFontHighlight" text="YATLAS_TITLE">
                                        <Size>
                                                <AbsDimension x="256" y="12"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="1" y="-17"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="$parentVersion" inherits="GameFontHighlight" justifyH="RIGHT" text="YATLAS_VERSION">
                                        <Size>
                                                <AbsDimension x="112" y="12"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="-45" y="-18"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                        <Color r="0.4" g="0.4" b="0.4"/>
                                </FontString>
                        </Layer>
                </Layers>
                <Frames>
                        <Button name="YatlasFrameCloseButton" inherits="UIPanelCloseButton">
                                <Anchors>
                                        <Anchor point="CENTER" relativeTo="YatlasFrame" relativePoint="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-8" y="-25"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                this:SetFrameLevel(this:GetFrameLevel() + 4);
                                        </OnLoad>
                                </Scripts>
                        </Button>
                        <Button name="YatlasFrameLockButton">
                                <Size>
                                        <AbsDimension x="32" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="RIGHT" relativeTo="YatlasFrameCloseButton" relativePoint="LEFT">
                                                <Offset>
                                                        <AbsDimension x="11" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                this:SetFrameLevel(this:GetFrameLevel() + 4);
                                        </OnLoad>
                                        <OnClick>
                                                YatlasFrame:ToggleLock();
                                        </OnClick>
                                </Scripts>
                                <NormalTexture name="$parentNorm"/>
                                <PushedTexture name="$parentPush"/>
                                <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" alphaMode="ADD"/>
                        </Button>
                        <Frame name="$parentViewFrame" enableMouse="true" inherits="YatlasFrameViewTemplate">
                                <Size>
                                        <AbsDimension x="512" y="512"/>
                                </Size>
                                <Anchors>
                                    <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="22" y="-74"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                        <Button name="YatlasFrameDropDown" inherits="UIDropDownMenuTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="58" y="-40"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                YatlasFrameDropDown_OnLoad();
                                        </OnLoad>
                                        <OnEvent>
                                                YatlasFrameDropDown_OnEvent(event);
                                        </OnEvent>
                                </Scripts>
                        </Button>
                        <Button name="YatlasFrameDropDown2" inherits="UIDropDownMenuTemplate">
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="235" y="-40"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                YatlasFrameDropDown2_OnLoad();
                                        </OnLoad>
                                        <OnEvent>
                                                YatlasFrameDropDown2_OnEvent(event);
                                        </OnEvent>
                                </Scripts>
                        </Button>
                        <Button name="YatlasFramePlayerJumpButton" text="YATLAS_PLAYERJUMP" inherits="UIPanelButtonTemplate2">
                                <Size>
                                        <AbsDimension x="108" y="24"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="425" y="-42"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                this:SetFrameLevel(this:GetFrameLevel() + 4);
                                                this:RegisterEvent("VARIABLES_LOADED");
                                        </OnLoad>
                                        <OnEvent>
                                                YatlasFramePlayerJumpButton_Update(this);
                                        </OnEvent>
                                        <OnClick>
                                                if(IsShiftKeyDown()) then
                                                        YatlasFramePlayerJumpButton_Toggle(this);
                                                else
                                                        YatlasFramePlayerJumpButton_Jump(this);
                                                end
                                        </OnClick>
                                        <OnMouseUp>
                                                YatlasFramePlayerJumpButton_Update(this);
                                        </OnMouseUp>
                                        <OnShow>
                                                YatlasFramePlayerJumpButton_Update(this);
                                        </OnShow>
                                </Scripts>
                        </Button>
                        <Button name="YatlasFrameOptionsButton" inherits="UIPanelButtonTemplate" text="YATLAS_OPTIONSBUTTON">
                                <Size>
                                        <AbsDimension x="108" y="24"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-5" y="8"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                this:SetFrameLevel(this:GetFrameLevel() + 4);
                                        </OnLoad>
                                        <OnClick>
                                                if(YatlasOptionsFrame:IsShown()) then
                                                        YatlasOptionsFrame:Hide()
                                                else
                                                        YatlasOptionsFrame:Show();
                                                end
                                        </OnClick>
                                </Scripts>
                        </Button>
                </Frames>
                <Scripts>
                        <OnLoad>
                                tinsert(UISpecialFrames,"YatlasFrame");
                                YatlasFrame_Bootstrap();
                                YatlasFrame_OnLoadExtra();
                        </OnLoad>
                </Scripts>
        </Frame>

        <Frame name="YatlasTooltip" frameStrata="TOOLTIP" hidden="true" parent="YatlasFrame" inherits="YatlasTooltipTemplate">
                <Anchors>
                        <Anchor point="BOTTOMRIGHT" relativeTo="YatlasFrameViewFrame" relativePoint="BOTTOMRIGHT">
                                <Offset>
                                        <AbsDimension x="0" y="0"/>
                                </Offset>
                        </Anchor>
                </Anchors>
        </Frame>

        <Button name="YFOO" parent="YatlasFrameViewFrame"> <!-- call me YFOO -->
                <Size>
                        <AbsDimension x="24" y="24"/>
                </Size>
                <Anchors>
                        <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
                                <Offset>
                                        <AbsDimension x="-8" y="8"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Frames>
                        <Frame name="$parentDropDown" inherits="UIDropDownMenuTemplate" hidden="true">
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="-80" y="-35"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                YFOO_Init();
                                        </OnLoad>
                                </Scripts>
                        </Frame>
                </Frames>
                <Scripts>
                        <OnLoad>
                                this:SetFrameLevel(this:GetFrameLevel() + 4);
                        </OnLoad>
                        <OnClick>
                                YFOO_OnClick();
                        </OnClick>
                </Scripts>
                <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
                <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
                <DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Disabled"/>
                <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
        </Button>

        <Button name="YatlasFrameZoomButton" parent="YatlasFrameViewFrame">
                <Size>
                        <AbsDimension x="24" y="24"/>
                </Size>
                <Anchors>
                        <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT">
                                <Offset>
                                        <AbsDimension x="8" y="8"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Frames>
                        <Frame name="YatlasFrameZoomFrame" inherits="YatlasZoomTemplate" hidden="true">
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="0" y="-20"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                </Frames>
                <Scripts>
                        <OnClick>
                                if(not YatlasFrameZoomFrame:IsShown()) then
                                        YatlasFrameZoomFrame:Show();
                                else
                                        YatlasFrameZoomFrame:Hide();
                                end
                        </OnClick>
                </Scripts>
                <NormalTexture file="Interface\AddOns\Yatlas\images\MagButton-Up"/>
                <PushedTexture file="Interface\AddOns\Yatlas\images\MagButton-Down"/>
                <DisabledTexture file="Interface\AddOns\Yatlas\images\MagButton-Disabled"/>
                <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
        </Button>

        <Frame name="BigYatlasFrame"  setAllPoints="true" frameStrata="FULLSCREEN" hidden="true" enableKeyboard="true" inherits="YatlasFrameTemplatePreBuilt">
                <Layers>
                        <Layer level="ARTWORK">
                                <Texture file="Interface\AddOns\Yatlas\images\bframe-top1">
                                        <Size>
                                                <AbsDimension x="256" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativePoint="CENTER">
                                                        <Offset>
                                                                <AbsDimension x="-512" y="384"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\AddOns\Yatlas\images\bframe-top2">
                                        <Size>
                                                <AbsDimension x="256" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativePoint="CENTER">
                                                        <Offset>
                                                                <AbsDimension x="-256" y="384"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\AddOns\Yatlas\images\bframe-top3">
                                        <Size>
                                                <AbsDimension x="256" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativePoint="CENTER">
                                                        <Offset>
                                                                <AbsDimension x="0" y="384"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\AddOns\Yatlas\images\bframe-top4">
                                        <Size>
                                                <AbsDimension x="256" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativePoint="CENTER">
                                                        <Offset>
                                                                <AbsDimension x="256" y="384"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\AddOns\Yatlas\images\bframe-mid1">
                                        <Size>
                                                <AbsDimension x="256" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativePoint="CENTER">
                                                        <Offset>
                                                                <AbsDimension x="-512" y="128"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\AddOns\Yatlas\images\bframe-mid4">
                                        <Size>
                                                <AbsDimension x="256" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativePoint="CENTER">
                                                        <Offset>
                                                                <AbsDimension x="256" y="128"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\AddOns\Yatlas\images\bframe-bot1">
                                        <Size>
                                                <AbsDimension x="256" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativePoint="CENTER">
                                                        <Offset>
                                                                <AbsDimension x="-512" y="-128"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\AddOns\Yatlas\images\bframe-bot2">
                                        <Size>
                                                <AbsDimension x="256" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativePoint="CENTER">
                                                        <Offset>
                                                                <AbsDimension x="-256" y="-128"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\AddOns\Yatlas\images\bframe-bot3">
                                        <Size>
                                                <AbsDimension x="256" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativePoint="CENTER">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-128"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\AddOns\Yatlas\images\bframe-bot4">
                                        <Size>
                                                <AbsDimension x="256" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativePoint="CENTER">
                                                        <Offset>
                                                                <AbsDimension x="256" y="-128"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <FontString inherits="GameFontNormal" text="YATLAS_TITLE">
                                        <Anchors>
                                                <Anchor point="CENTER">
                                                        <Offset>
                                                                <AbsDimension x="0" y="372"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                </Layers>
                <Frames>
                        <Frame name="BigYatlasPositioningGuide">
                                <Size>
                                        <AbsDimension x="1024" y="768" />
                                </Size>
                                <Anchors>
                                        <Anchor point="CENTER" relativePoint="CENTER">
                                                <Offset>
                                                        <AbsDimension x="0" y="0" />
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="ARTWORK">
                                                <!-- This stuff probably belongs elsewhere, but we need position correctly -->
                                                <FontString name="$parentVersion" inherits="GameFontHighlight" justifyH="RIGHT" text="YATLAS_VERSION">
                                                        <Size>
                                                                <AbsDimension x="112" y="12"/>
                                                        </Size>
                                                        <Anchors>
                                                                <Anchor point="TOPRIGHT">
                                                                        <Offset>
                                                                                <AbsDimension x="-29" y="-6"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                        <Color r="0.4" g="0.4" b="0.4"/>
                                                </FontString>
                                        </Layer>
                                </Layers>
                        </Frame>
                        <Button name="BigYatlasFrameCloseButton" inherits="UIPanelCloseButton">
                                <Anchors>
                                        <Anchor point="TOPRIGHT" relativePoint="TOP" relativeTo="BigYatlasPositioningGuide">
                                                <Offset>
                                                        <AbsDimension x="516" y="4"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="$parentDropDown" inherits="UIDropDownMenuTemplate">
                                <Anchors>
                                        <Anchor point="TOP" relativePoint="TOP" relativeTo="BigYatlasPositioningGuide">
                                                <Offset>
                                                        <AbsDimension x="-120" y="-35"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="OVERLAY">
                                                <FontString inherits="GameFontNormalSmall" text="CONTINENT">
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="20" y="10"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnLoad>
                                                YatlasFrameDropDown_OnLoad();
                                        </OnLoad>
                                        <OnEvent>
                                                YatlasFrameDropDown_OnEvent(event);
                                        </OnEvent>
                                </Scripts>
                        </Button>
                        <Button name="$parentDropDown2" inherits="UIDropDownMenuTemplate">
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parentDropDown" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="13" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Layers>
                                        <Layer level="OVERLAY">
                                                <FontString inherits="GameFontNormalSmall" text="ZONE">
                                                        <Anchors>
                                                                <Anchor point="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="20" y="10"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <Scripts>
                                        <OnLoad>
                                                YatlasFrameDropDown2_OnLoad();
                                        </OnLoad>
                                        <OnEvent>
                                                YatlasFrameDropDown2_OnEvent(event);
                                        </OnEvent>
                                </Scripts>
                        </Button>
                        <Button name="BigYatlasFramePlayerJumpButton" text="YATLAS_PLAYERJUMP" inherits="UIPanelButtonTemplate2">
                                <Size>
                                        <AbsDimension x="108" y="24"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="$parentDropDown2" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="11" y="2"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                this:SetFrameLevel(this:GetFrameLevel() + 4);
                                                this:RegisterEvent("VARIABLES_LOADED");
                                        </OnLoad>
                                        <OnEvent>
                                                YatlasFramePlayerJumpButton_Update(this);
                                        </OnEvent>
                                        <OnClick>
                                                if(IsShiftKeyDown()) then
                                                        YatlasFramePlayerJumpButton_Toggle(this);
                                                else
                                                        YatlasFramePlayerJumpButton_Jump(this);
                                                end
                                        </OnClick>
                                        <OnMouseUp>
                                                YatlasFramePlayerJumpButton_Update(this);
                                        </OnMouseUp>
                                        <OnShow>
                                                YatlasFramePlayerJumpButton_Update(this);
                                        </OnShow>
                                </Scripts>
                        </Button>
                        <Frame name="$parentViewFrame" enableMouse="true" inherits="YatlasFrameViewTemplate">
                                <Size>
                                        <AbsDimension x="1004" y="670"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="TOPLEFT" relativePoint="TOP" relativeTo="BigYatlasPositioningGuide">
                                                <Offset>
                                                        <AbsDimension x="-502" y="-69"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                </Frames>
                <Scripts>
                        <OnLoad>
                                YatlasFrame_Bootstrap();
                                BigYatlasFrame_OnLoadExtra();
                        </OnLoad>
                        <OnKeyDown>
                                local toggleKey1, toggleKey2 = GetBindingKey("YATLAS_BIG_TOGGLE");
                                local screenshotKey = GetBindingKey("SCREENSHOT");
                                local keyPressed = arg1;
                                if ( IsShiftKeyDown() ) then
                                        keyPressed = "SHIFT-"..keyPressed;
                                end
                                if ( IsControlKeyDown() ) then
                                        keyPressed = "CTRL-"..keyPressed;
                                end
                                if ( IsAltKeyDown() ) then
                                        keyPressed = "ALT-"..keyPressed;
                                end
                                if ( (toggleKey1 and (keyPressed == toggleKey1)) or (toggleKey2 and (keyPressed == toggleKey2)) or (arg1 == "ESCAPE") ) then
                                        RunBinding("YATLAS_BIG_TOGGLE");
                                elseif ( screenshotKey and (arg1 == screenshotKey) ) then
                                        RunBinding("SCREENSHOT");
                                end
                        </OnKeyDown>
                </Scripts>
        </Frame>
        <Frame name="BigYatlasTooltip" frameStrata="TOOLTIP" hidden="true" parent="BigYatlasFrame" inherits="YatlasTooltipTemplate">
                <Anchors>
                        <Anchor point="BOTTOMRIGHT" relativeTo="BigYatlasFrameViewFrame" relativePoint="BOTTOMRIGHT">
                                <Offset>
                                        <AbsDimension x="0" y="0"/>
                                </Offset>
                        </Anchor>
                </Anchors>
        </Frame>

        <Button name="BigYFOO" parent="BigYatlasPositioningGuide"> <!-- call me YFOO -->
                <Size>
                        <AbsDimension x="24" y="24"/>
                </Size>
                <Anchors>
                        <Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT">
                                <Offset>
                                        <AbsDimension x="-11" y="4"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Frames>
                        <Frame name="$parentDropDown" inherits="UIDropDownMenuTemplate" hidden="true">
                                <Anchors>
                                        <Anchor point="TOP">
                                                <Offset>
                                                        <AbsDimension x="-80" y="-35"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnLoad>
                                                YFOO_Init();
                                        </OnLoad>
                                </Scripts>
                        </Frame>
                </Frames>
                <Scripts>
                        <OnLoad>
                                this:SetFrameLevel(this:GetFrameLevel() + 4);
                        </OnLoad>
                        <OnClick>
                                YFOO_OnClick();
                        </OnClick>
                </Scripts>
                <NormalTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Up"/>
                <PushedTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Down"/>
                <DisabledTexture file="Interface\Buttons\UI-SpellbookIcon-NextPage-Disabled"/>
                <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
        </Button>

        <Button name="BigYatlasFrameZoomButton" parent="BigYatlasFrameViewFrame">
                <Size>
                        <AbsDimension x="24" y="24"/>
                </Size>
                <Anchors>
                        <Anchor point="BOTTOMLEFT" relativePoint="BOTTOMLEFT">
                                <Offset>
                                        <AbsDimension x="11" y="4"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Frames>
                        <Frame name="BigYatlasFrameZoomFrame" inherits="YatlasZoomTemplate" hidden="true">
                                <Anchors>
                                        <Anchor point="BOTTOM">
                                                <Offset>
                                                        <AbsDimension x="0" y="20"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Frame>
                </Frames>
                <Scripts>
                        <OnClick>
                                if(not BigYatlasFrameZoomFrame:IsShown()) then
                                        BigYatlasFrameZoomFrame:Show();
                                else
                                        BigYatlasFrameZoomFrame:Hide();
                                end
                        </OnClick>
                </Scripts>
                <NormalTexture file="Interface\AddOns\Yatlas\images\MagButton-Up"/>
                <PushedTexture file="Interface\AddOns\Yatlas\images\MagButton-Down"/>
                <DisabledTexture file="Interface\AddOns\Yatlas\images\MagButton-Disabled"/>
                <HighlightTexture file="Interface\Buttons\UI-Common-MouseHilight" alphaMode="ADD"/>
        </Button>



</Ui>