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="AtlasFrame" toplevel="true" enableMouse="true" movable="true" parent="UIParent" hidden="true">
                <Size>
                        <AbsDimension x="837" y="604"/>
                </Size>
                <Anchors>
                        <Anchor point="TOPLEFT">
                                <Offset>
                                        <AbsDimension x="0" y="-104"/>
                                </Offset>
                        </Anchor>
                </Anchors>
                <Frames>
                        <Button name="AtlasFrameCloseButton" inherits="UIPanelCloseButton">
                                <Anchors>
                                        <Anchor point="TOPRIGHT" relativeTo="AtlasFrame" relativePoint="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="5" y="-7"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                        </Button>
                        <Button name="AtlasFrameLockButton">
                                <Size>
                                        <AbsDimension x="32" y="32"/>
                                </Size>
                                <Anchors>
                                        <Anchor point="RIGHT" relativeTo="AtlasFrameCloseButton" relativePoint="LEFT">
                                                <Offset>
                                                        <AbsDimension x="10" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                Atlas_ToggleLock();
                                        </OnClick>
                                </Scripts>
                                <NormalTexture name="AtlasLockNorm"/>
                                <PushedTexture name="AtlasLockPush"/>
                                <HighlightTexture file="Interface\Buttons\UI-Panel-MinimizeButton-Highlight" AlphaMode="ADD"/>
                        </Button>
                        <Button name="AtlasFrameDropDownType" inherits="UIDropDownMenuTemplate">
                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <FontString name="$parentLabel" inherits="GameFontNormalSmall" text="ATLAS_STRING_SELECT_CAT">
                                                        <Anchors>
                                                                <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="21" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <Anchors>
                                        <Anchor point="TOPLEFT">
                                                <Offset>
                                                        <AbsDimension x="60" y="-50"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnShow>
                                                AtlasFrameDropDownType_OnShow();
                                        </OnShow>
                                </Scripts>
                        </Button>
                        <Button name="AtlasFrameDropDown" inherits="UIDropDownMenuTemplate">
                                <Layers>
                                        <Layer level="BACKGROUND">
                                                <FontString name="$parentLabel" inherits="GameFontNormalSmall" text="ATLAS_STRING_SELECT_MAP">
                                                        <Anchors>
                                                                <Anchor point="BOTTOMLEFT" relativePoint="TOPLEFT">
                                                                        <Offset>
                                                                                <AbsDimension x="21" y="0"/>
                                                                        </Offset>
                                                                </Anchor>
                                                        </Anchors>
                                                </FontString>
                                        </Layer>
                                </Layers>
                                <Anchors>
                                        <Anchor point="LEFT" relativeTo="AtlasFrameDropDownType" relativePoint="RIGHT">
                                                <Offset>
                                                        <AbsDimension x="0" y="0"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnShow>
                                                AtlasFrameDropDown_OnShow();
                                        </OnShow>
                                </Scripts>
                        </Button>
                        <Button name="AtlasFrameOptionsButton" inherits="OptionsButtonTemplate" text="ATLAS_OPTIONS_BUTTON">
                                <Anchors>
                                        <Anchor point="TOPRIGHT">
                                                <Offset>
                                                        <AbsDimension x="-20" y="-50"/>
                                                </Offset>
                                        </Anchor>
                                </Anchors>
                                <Scripts>
                                        <OnClick>
                                                AtlasOptions_Toggle();
                                        </OnClick>
                                </Scripts>
                        </Button>
                </Frames>
                <Layers>
                        <Layer level="ARTWORK">
                                <Texture file="Interface\AddOns\Atlas\Images\AtlasFrame-Top">
                                        <Size>
                                                <AbsDimension x="512" y="128"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\AddOns\Atlas\Images\AtlasFrame-Left">
                                        <Size>
                                                <AbsDimension x="32" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-128"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\AddOns\Atlas\Images\AtlasFrame-Bottom">
                                        <Size>
                                                <AbsDimension x="512" y="256"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-384"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\AddOns\Atlas\Images\AtlasFrame-Bottom2">
                                        <Size>
                                                <AbsDimension x="512" y="128"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="512" y="-512"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <Texture file="Interface\AddOns\Atlas\Images\AtlasFrame-Right">
                                        <Size>
                                                <AbsDimension x="512" y="512"/>
                                        </Size>
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="512" y="0"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </Texture>
                                <FontString inherits="GameFontHighlight" text="ATLAS_TITLE">
                                        <Anchors>
                                                <Anchor point="TOP">
                                                        <Offset>
                                                                <AbsDimension x="20" y="-17"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString inherits="GameFontNormalSmall" text="ATLAS_VERSION">
                                        <Color r="0.4" g="0.4" b="0.4"/>
                                        <Anchors>
                                                <Anchor point="TOPRIGHT">
                                                        <Offset>
                                                                <AbsDimension x="-52" y="-18"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_ZoneName" inherits="GameFontHighlightLarge">
                                        <Anchors>
                                                <Anchor point="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="546" y="-97"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_Location" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-20"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_LevelRange" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-35"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_PlayerLimit" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-50"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_1" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-80"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_2" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-95"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_3" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-110"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_4" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-125"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_5" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-140"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_6" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-155"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_7" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-170"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_8" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-185"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_9" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-200"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_10" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-215"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_11" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-230"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_12" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-245"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_13" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-260"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_14" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-275"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_15" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-290"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_16" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-305"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_17" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-320"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_18" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-335"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_19" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-350"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_20" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-365"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_21" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-380"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_22" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-395"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_23" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-410"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_24" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-425"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_25" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-440"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_26" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-455"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                                <FontString name="AtlasText_27" inherits="GameFontNormal">
                                        <Anchors>
                                                <Anchor point="TOPLEFT" relativeTo="AtlasText_ZoneName" relativePoint="TOPLEFT">
                                                        <Offset>
                                                                <AbsDimension x="0" y="-470"/>
                                                        </Offset>
                                                </Anchor>
                                        </Anchors>
                                </FontString>
                        </Layer>
                        <Layer level="BACKGROUND">
                                <Texture name="AtlasMap"/>
                </Layer>
                </Layers>
                <Scripts>
                        <OnLoad>
                                Atlas_OnLoad();
                        </OnLoad>
                        <OnEvent>
                                Atlas_OnEvent();
                        </OnEvent>
                        <OnShow>
                                Atlas_OnShow();
                        </OnShow>
                        <OnHide>
                                AtlasFrame:StopMovingOrSizing();
                        </OnHide>
                        <OnDragStart>
                                if(arg1 == "LeftButton") then
                                        Atlas_StartMoving();
                                end
                        </OnDragStart>
                        <OnDragStop>
                                AtlasFrame:StopMovingOrSizing();
                        </OnDragStop>
                        <OnMouseUp>
                                AtlasFrame:StopMovingOrSizing();
                                Atlas_OnClick();
                        </OnMouseUp>
                </Scripts>
        </Frame>
</Ui>