vanilla-wow-addons – Rev 1
?pathlinks?
<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">
<Script file="localization.lua"/>
<Script file="localization.fr.lua"/>
<Script file="TitanAtlas.lua" />
<Frame parent="UIParent">
<Frames>
<Button name="TitanPanelAtlasButton" inherits="TitanPanelComboTemplate" frameStrata="FULLSCREEN" toplevel="true">
<Scripts>
<OnLoad>
TitanPanelAtlasButton_OnLoad();
TitanPanelButton_OnLoad();
</OnLoad>
<OnEvent>
TitanPanelAtlasButton_OnEvent();
</OnEvent>
<OnClick>
TitalPanelAtlasButton_OnClick(arg1);
TitanPanelButton_OnClick(arg1, 1);
</OnClick>
</Scripts>
</Button>
</Frames>
</Frame>
<Frame name="AtlasFrame" toplevel="true" enableMouse="true" movable="true" parent="UIParent" hidden="true">
<Size>
<AbsDimension x="768" y="587"/>
</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="11" 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="AtlasFrameDropDown" inherits="UIDropDownMenuTemplate">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="55" y="-39"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
AtlasFrameDropDown_OnLoad();
</OnLoad>
<OnEvent>
AtlasFrameDropDown_OnEvent();
</OnEvent>
</Scripts>
</Button>
<Button name="AtlasFrameOptionsButton" inherits="OptionsButtonTemplate" text="ATLAS_OPTIONS_BUTTON">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="668" y="-42"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AtlasOptions_Toggle();
</OnClick>
</Scripts>
</Button>
</Frames>
<Layers>
<Layer level="ARTWORK">
<Texture file="Interface\AddOns\TitanAtlas\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\TitanAtlas\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\TitanAtlas\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\TitanAtlas\Images\AtlasFrame-Bottom2">
<Size>
<AbsDimension x="256" y="128"/>
</Size>
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="512" y="-512"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<Texture file="Interface\AddOns\TitanAtlas\Images\AtlasFrame-Right">
<Size>
<AbsDimension x="256" 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="538" y="-80"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_Location" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-100"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_LevelRange" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-115"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_PlayerLimit" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-130"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_1" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-160"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_2" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-175"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_3" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-190"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_4" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-205"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_5" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-220"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_6" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-235"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_7" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-250"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_8" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-265"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_9" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-280"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_10" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-295"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_11" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-310"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_12" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-325"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_13" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-340"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_14" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-355"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_15" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-370"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_16" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-385"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_17" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-400"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_18" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-415"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_19" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-430"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_20" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-445"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_21" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-460"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_22" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-475"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_23" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-490"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_24" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-505"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_25" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-520"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_26" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-535"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_27" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-550"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
<FontString name="AtlasText_28" inherits="GameFontNormal">
<Anchors>
<Anchor point="TOPLEFT">
<Offset>
<AbsDimension x="538" y="-565"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
<Layer level="BACKGROUND">
<Texture name="AtlasMap"/>
</Layer>
</Layers>
<Scripts>
<OnLoad>
Atlas_OnLoad();
</OnLoad>
<OnEvent>
Atlas_OnEvent();
</OnEvent>
<OnHide>
AtlasFrame:StopMovingOrSizing();
</OnHide>
<OnDragStart>
if(arg1 == "LeftButton") then
Atlas_StartMoving();
end
</OnDragStart>
<OnDragStop>
AtlasFrame:StopMovingOrSizing();
</OnDragStop>
<OnMouseUp>
AtlasFrame:StopMovingOrSizing();
</OnMouseUp>
</Scripts>
</Frame>
<Frame name="AtlasOptionsFrame" toplevel="true" frameStrata="DIALOG" movable="true" enableMouse="true" hidden="true" parent="UIParent" enableKeyboard="true">
<Size>
<AbsDimension x="300" y="120"/>
</Size>
<Anchors>
<Anchor point="CENTER"/>
</Anchors>
<Backdrop bgFile="Interface\DialogFrame\UI-DialogBox-Background" edgeFile="Interface\DialogFrame\UI-DialogBox-Border" tile="true">
<BackgroundInsets>
<AbsInset left="11" right="12" top="12" bottom="11"/>
</BackgroundInsets>
<TileSize>
<AbsValue val="32"/>
</TileSize>
<EdgeSize>
<AbsValue val="32"/>
</EdgeSize>
</Backdrop>
<Layers>
<Layer level="ARTWORK">
<Texture name="AtlasOptionsFrameHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
<Size>
<AbsDimension x="256" y="64"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="12"/>
</Offset>
</Anchor>
</Anchors>
</Texture>
<FontString inherits="GameFontNormal" text="ATLAS_OPTIONS_TITLE">
<Anchors>
<Anchor point="TOP" relativeTo="AtlasOptionsFrameHeader">
<Offset>
<AbsDimension x="0" y="-14"/>
</Offset>
</Anchor>
</Anchors>
</FontString>
</Layer>
</Layers>
<Frames>
<Slider name="SliderAlpha" inherits="OptionsSliderTemplate">
<Size>
<AbsDimension x="220" y="16"/>
</Size>
<Anchors>
<Anchor point="TOP">
<Offset>
<AbsDimension x="0" y="-50" />
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnLoad>
getglobal(this:GetName().."Text"):SetText(ATLAS_OPTIONS_TRANS);
getglobal(this:GetName().."High"):SetText();
getglobal(this:GetName().."Low"):SetText();
SliderAlpha:SetMinMaxValues(0.0,1.0);
SliderAlpha:SetValueStep(0.01);
</OnLoad>
<OnValueChanged>
AtlasOptions.AtlasAlpha = SliderAlpha:GetValue();
Atlas_UpdateAlpha();
</OnValueChanged>
</Scripts>
</Slider>
<Button name="AtlasOptionsFrameDone" inherits="OptionsButtonTemplate" text="ATLAS_OPTIONS_DONE">
<Anchors>
<Anchor point="BOTTOM">
<Offset>
<AbsDimension x="0" y="20"/>
</Offset>
</Anchor>
</Anchors>
<Scripts>
<OnClick>
AtlasOptions_Toggle();
</OnClick>
</Scripts>
</Button>
</Frames>
<Scripts>
<OnLoad>
AtlasOptions_OnLoad();
</OnLoad>
<OnHide>
AtlasOptions_OnHide();
</OnHide>
<OnShow>
Atlas_OnShow();
</OnShow>
</Scripts>
</Frame>
</Ui>