583 lines
21 KiB
XML
583 lines
21 KiB
XML
<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/">
|
|
<Script file="Menu.lua"/>
|
|
<Script file="AtlaslootDefaultFrame.lua"/>
|
|
|
|
<Button name="AtlasLootDefaultFrameButtonTemplate" inherits="OptionsButtonTemplate" virtual="true">
|
|
<Size>
|
|
<AbsDimension x="105" y="20"/>
|
|
</Size>
|
|
</Button>
|
|
|
|
<Frame name="AtlasLootDefaultFrame" toplevel="true" movable="true" enableMouse="true" hidden="true" parent="UIParent" enableKeyboard="true">
|
|
<Size>
|
|
<AbsDimension x="600" y="690"/>
|
|
</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>
|
|
<Frames>
|
|
<Button name="$parent_CloseButton" inherits="UIPanelCloseButton">
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" relativeTo="AtlasLootDefaultFrame" relativePoint="TOPRIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-10" y="-10"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
AtlasLootDefaultFrame:Hide();
|
|
</OnClick>
|
|
<OnShow>
|
|
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
|
|
</OnShow>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="$parent_LoadModules" inherits="AtlasLootDefaultFrameButtonTemplate">
|
|
<Anchors>
|
|
<Anchor point="TOPRIGHT" relativeTo="$parent" relativePoint="TOPRIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-38" y="-15"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
AtlasLoot_LoadAllModules();
|
|
</OnClick>
|
|
<OnShow>
|
|
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
|
|
this:SetText(AL["Load Modules"]);
|
|
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
|
|
</OnShow>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="$parent_Options" inherits="AtlasLootDefaultFrameButtonTemplate">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT">
|
|
<Offset>
|
|
<AbsDimension x="15" y="-15"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
AtlasLootOptions_Toggle();
|
|
</OnClick>
|
|
<OnShow>
|
|
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
|
|
this:SetText(AL["Options"]);
|
|
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
|
|
</OnShow>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="$parent_Menu" inherits="OptionsButtonTemplate">
|
|
<Size>
|
|
<AbsDimension x="130" y="20"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent" relativePoint="TOP">
|
|
<Offset>
|
|
<AbsDimension x="-160" y="-40"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
if AtlasLoot_Dewdrop:IsOpen() then
|
|
AtlasLoot_Dewdrop:Close();
|
|
else
|
|
AtlasLoot_Dewdrop:Open(this);
|
|
end
|
|
</OnClick>
|
|
<OnShow>
|
|
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
|
|
this:SetText(AL["Select Loot Table"]);
|
|
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
|
|
</OnShow>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="$parent_SubMenu" inherits="OptionsButtonTemplate">
|
|
<Size>
|
|
<AbsDimension x="130" y="20"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent" relativePoint="TOP">
|
|
<Offset>
|
|
<AbsDimension x="160" y="-40"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
if AtlasLoot_DewdropSubMenu:IsOpen() then
|
|
AtlasLoot_DewdropSubMenu:Close();
|
|
else
|
|
AtlasLoot_DewdropSubMenu:Open(this);
|
|
end
|
|
</OnClick>
|
|
<OnShow>
|
|
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
|
|
this:SetText(AL["Select Sub-Table"]);
|
|
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
|
|
</OnShow>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="$parent_SubMenu2" inherits="OptionsButtonTemplate">
|
|
<Size>
|
|
<AbsDimension x="130" y="20"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOP" relativeTo="$parent" relativePoint="TOP">
|
|
<Offset>
|
|
<AbsDimension x="0" y="-40"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
if AtlasLoot_DewdropSubMenu2:IsOpen() then
|
|
AtlasLoot_DewdropSubMenu2:Close();
|
|
else
|
|
AtlasLoot_DewdropSubMenu2:Open(this);
|
|
end
|
|
</OnClick>
|
|
<OnShow>
|
|
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
|
|
this:SetText(AL["Select Difficulty"]);
|
|
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
|
|
</OnShow>
|
|
</Scripts>
|
|
</Button>
|
|
<Frame name="$parent_LootBackground">
|
|
<Size>
|
|
<AbsDimension x="515" y="515"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="BOTTOMLEFT" relativeTo="$parent" relativePoint="BOTTOMLEFT">
|
|
<Offset>
|
|
<AbsDimension x="0" y="90"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Layers>
|
|
<Layer level="BACKGROUND">
|
|
<Texture name="$parent_Back">
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="$parent" relativePoint="TOPLEFT"/>
|
|
<Anchor point="BOTTOMRIGHT" relativeTo="$parent" relativePoint="BOTTOMRIGHT"/>
|
|
</Anchors>
|
|
<Color r="0" g="0" b="0.5" a="0.5"/>
|
|
</Texture>
|
|
</Layer>
|
|
</Layers>
|
|
</Frame>
|
|
<Button name="$parent_Preset2" inherits="AtlasLootDefaultFrameButtonTemplate">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM" relativeTo="$parent" relativePoint="BOTTOM">
|
|
<Offset>
|
|
<AbsDimension x="0" y="63"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnEnter>
|
|
if this:IsEnabled() then
|
|
GameTooltip:ClearLines();
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT", -(this:GetWidth() / 2), 5);
|
|
GameTooltip:AddLine(AtlasLootCharDB["QuickLooks"][2][3]);
|
|
GameTooltip:Show();
|
|
end
|
|
</OnEnter>
|
|
<OnLeave>
|
|
if(GameTooltip:IsVisible()) then
|
|
GameTooltip:Hide();
|
|
end
|
|
</OnLeave>
|
|
<OnClick>
|
|
if AtlasLoot_IsLootTableAvailable(AtlasLootCharDB["QuickLooks"][2][1]) then
|
|
pFrame = { "TOPLEFT", "AtlasLootDefaultFrame_LootBackground", "TOPLEFT", "2", "-2" };
|
|
AtlasLoot_ShowItemsFrame(AtlasLootCharDB["QuickLooks"][2][1], AtlasLootCharDB["QuickLooks"][2][2], AtlasLootCharDB["QuickLooks"][2][3], pFrame);
|
|
end
|
|
</OnClick>
|
|
<OnShow>
|
|
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
|
|
this:SetText(AL["QuickLook"].." 2");
|
|
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
|
|
if ((not AtlasLootCharDB["QuickLooks"][2]) or (not AtlasLootCharDB["QuickLooks"][2][1])) or (AtlasLootCharDB["QuickLooks"][2][1]==nil) then
|
|
this:Disable();
|
|
end
|
|
</OnShow>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="$parent_Preset1" inherits="AtlasLootDefaultFrameButtonTemplate">
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeTo="$parent_Preset2" relativePoint="LEFT">
|
|
<Offset>
|
|
<AbsDimension x="-5" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnEnter>
|
|
if this:IsEnabled() then
|
|
GameTooltip:ClearLines();
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT", -(this:GetWidth() / 2), 5);
|
|
GameTooltip:AddLine(AtlasLootCharDB["QuickLooks"][1][3]);
|
|
GameTooltip:Show();
|
|
end
|
|
</OnEnter>
|
|
<OnLeave>
|
|
if(GameTooltip:IsVisible()) then
|
|
GameTooltip:Hide();
|
|
end
|
|
</OnLeave>
|
|
<OnClick>
|
|
if AtlasLoot_IsLootTableAvailable(AtlasLootCharDB["QuickLooks"][1][1]) then
|
|
pFrame = { "TOPLEFT", "AtlasLootDefaultFrame_LootBackground", "TOPLEFT", "2", "-2" };
|
|
AtlasLoot_ShowItemsFrame(AtlasLootCharDB["QuickLooks"][1][1], AtlasLootCharDB["QuickLooks"][1][2], AtlasLootCharDB["QuickLooks"][1][3], pFrame);
|
|
end
|
|
</OnClick>
|
|
<OnShow>
|
|
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
|
|
this:SetText(AL["QuickLook"].." 1");
|
|
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
|
|
if ((not AtlasLootCharDB["QuickLooks"][1]) or (not AtlasLootCharDB["QuickLooks"][1][1])) or (AtlasLootCharDB["QuickLooks"][1][1]==nil) then
|
|
this:Disable();
|
|
end
|
|
</OnShow>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="$parent_Preset3" inherits="AtlasLootDefaultFrameButtonTemplate">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Preset1" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="5" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnEnter>
|
|
if this:IsEnabled() then
|
|
GameTooltip:ClearLines();
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT", -(this:GetWidth() / 2), 5);
|
|
GameTooltip:AddLine(AtlasLootCharDB["QuickLooks"][3][3]);
|
|
GameTooltip:Show();
|
|
end
|
|
</OnEnter>
|
|
<OnLeave>
|
|
if(GameTooltip:IsVisible()) then
|
|
GameTooltip:Hide();
|
|
end
|
|
</OnLeave>
|
|
<OnClick>
|
|
if AtlasLoot_IsLootTableAvailable(AtlasLootCharDB["QuickLooks"][3][1]) then
|
|
pFrame = { "TOPLEFT", "AtlasLootDefaultFrame_LootBackground", "TOPLEFT", "2", "-2" };
|
|
AtlasLoot_ShowItemsFrame(AtlasLootCharDB["QuickLooks"][3][1], AtlasLootCharDB["QuickLooks"][3][2], AtlasLootCharDB["QuickLooks"][3][3], pFrame);
|
|
end
|
|
</OnClick>
|
|
<OnShow>
|
|
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
|
|
this:SetText(AL["QuickLook"].." 3");
|
|
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
|
|
if ((not AtlasLootCharDB["QuickLooks"][3]) or (not AtlasLootCharDB["QuickLooks"][3][1])) or (AtlasLootCharDB["QuickLooks"][3][1]==nil) then
|
|
this:Disable();
|
|
end
|
|
</OnShow>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="$parent_Preset4" inherits="AtlasLootDefaultFrameButtonTemplate">
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="$parent_Preset3" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="5" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnEnter>
|
|
if this:IsEnabled() then
|
|
GameTooltip:ClearLines();
|
|
GameTooltip:SetOwner(this, "ANCHOR_RIGHT", -(this:GetWidth() / 2), 5);
|
|
GameTooltip:AddLine(AtlasLootCharDB["QuickLooks"][4][3]);
|
|
GameTooltip:Show();
|
|
end
|
|
</OnEnter>
|
|
<OnLeave>
|
|
if(GameTooltip:IsVisible()) then
|
|
GameTooltip:Hide();
|
|
end
|
|
</OnLeave>
|
|
<OnClick>
|
|
if AtlasLoot_IsLootTableAvailable(AtlasLootCharDB["QuickLooks"][4][1]) then
|
|
pFrame = { "TOPLEFT", "AtlasLootDefaultFrame_LootBackground", "TOPLEFT", "2", "-2" };
|
|
AtlasLoot_ShowItemsFrame(AtlasLootCharDB["QuickLooks"][4][1], AtlasLootCharDB["QuickLooks"][4][2], AtlasLootCharDB["QuickLooks"][4][3], pFrame);
|
|
end
|
|
</OnClick>
|
|
<OnShow>
|
|
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
|
|
this:SetText(AL["QuickLook"].." 4");
|
|
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
|
|
if ((not AtlasLootCharDB["QuickLooks"][4]) or (not AtlasLootCharDB["QuickLooks"][4][1])) or (AtlasLootCharDB["QuickLooks"][4][1]==nil) then
|
|
this:Disable();
|
|
end
|
|
</OnShow>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="AtlasLootDefaultFrameWishListButton" inherits="AtlasLootDefaultFrameButtonTemplate">
|
|
<Anchors>
|
|
<Anchor point="RIGHT" relativeTo="$parent_Preset1" relativePoint="LEFT">
|
|
<Offset>
|
|
<AbsDimension x="-5" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnClick>
|
|
AtlasLoot_ShowWishListDropDown("","","","","",this,true)
|
|
</OnClick>
|
|
<OnShow>
|
|
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
|
|
this:SetText(AL["Wishlist"]);
|
|
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
|
|
</OnShow>
|
|
</Scripts>
|
|
</Button>
|
|
<EditBox name="AtlasLootDefaultFrameSearchBox" inherits="InputBoxTemplate" letters="100">
|
|
<Size>
|
|
<AbsDimension x="190" y="32" />
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOPLEFT" relativeTo="AtlasLootDefaultFrameWishListButton" relativePoint="BOTTOMLEFT">
|
|
<Offset>
|
|
<AbsDimension x="7" y="-3"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this:SetAutoFocus(false);
|
|
this:SetTextInsets(0, 8, 0, 0);
|
|
</OnLoad>
|
|
<OnEnterPressed>
|
|
AtlasLoot:Search(this:GetText());
|
|
this:ClearFocus();
|
|
</OnEnterPressed>
|
|
</Scripts>
|
|
<FontString name="AtlasLootDefaultFrameSearchString" inherits="GameFontNormal"></FontString>
|
|
</EditBox>
|
|
<Button name="AtlasLootDefaultFrameSearchButton" inherits="UIPanelButtonTemplate2">
|
|
<Size>
|
|
<AbsDimension x="69" y="32"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="AtlasLootDefaultFrameSearchBox" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="2"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnShow>
|
|
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
|
|
this:SetText(AL["Search"]);
|
|
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
|
|
</OnShow>
|
|
<OnClick>
|
|
AtlasLoot:Search(AtlasLootDefaultFrameSearchBox:GetText());
|
|
AtlasLootDefaultFrameSearchBox:ClearFocus();
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="AtlasLootDefaultFrameSearchOptionsButton" parent="AtlasLootDefaultFrameSearchButton">
|
|
<Size>
|
|
<AbsDimension x="28" y="28" />
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="AtlasLootDefaultFrameSearchButton" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-5" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<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"/>
|
|
<Scripts>
|
|
<OnShow>
|
|
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
|
|
</OnShow>
|
|
<OnClick>
|
|
AtlasLoot:ShowSearchOptions(this);
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="AtlasLootDefaultFrameSearchClearButton" inherits="UIPanelButtonTemplate2" parent="AtlasLootDefaultFrameSearchBox">
|
|
<Size>
|
|
<AbsDimension x="58" y="32"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="AtlasLootDefaultFrameSearchOptionsButton" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="-2" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnShow>
|
|
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
|
|
this:SetText(AL["Clear"]);
|
|
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
|
|
</OnShow>
|
|
<OnClick>
|
|
AtlasLootDefaultFrameSearchBox:SetText("");
|
|
AtlasLootDefaultFrameSearchBox:ClearFocus();
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="AtlasLootDefaultFrameLastResultButton" inherits="UIPanelButtonTemplate2" parent="AtlasLootDefaultFrameSearchBox">
|
|
<Size>
|
|
<AbsDimension x="100" y="32"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="AtlasLootDefaultFrameSearchClearButton" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="1" y="0"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnShow>
|
|
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
|
|
this:SetText(AL["Last Result"]);
|
|
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
|
|
</OnShow>
|
|
<OnClick>
|
|
AtlasLoot:ShowSearchResult();
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
<Button name="AtlasLootDefaultFrameAdvancedSearchButton" inherits="UIPanelButtonTemplate2">
|
|
<Size>
|
|
<AbsDimension x="95" y="32"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="LEFT" relativeTo="AtlasLootDefaultFrameLastResultButton" relativePoint="RIGHT">
|
|
<Offset>
|
|
<AbsDimension x="2"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
<Scripts>
|
|
<OnShow>
|
|
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
|
|
this:SetText("Advanced");
|
|
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
|
|
</OnShow>
|
|
<OnClick>
|
|
AtlasLoot_AdvancedSearchShow();
|
|
AtlasLootDefaultFrameSearchBox:ClearFocus();
|
|
</OnClick>
|
|
</Scripts>
|
|
</Button>
|
|
</Frames>
|
|
<Layers>
|
|
<Layer level="ARTWORK">
|
|
<Texture name="$parentHeader" file="Interface\DialogFrame\UI-DialogBox-Header">
|
|
<Size>
|
|
<AbsDimension x="425" y="64"/>
|
|
</Size>
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset>
|
|
<AbsDimension x="0" y="12"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</Texture>
|
|
<FontString inherits="GameFontNormal" text="ATLASLOOT_VERSION">
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset>
|
|
<AbsDimension x="0" y="-1"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parent_Notice" inherits="GameFontNormal">
|
|
<Anchors>
|
|
<Anchor point="BOTTOM">
|
|
<Offset>
|
|
<AbsDimension x="0" y="17"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
<Layer level="OVERLAY">
|
|
<FontString name="$parent_SelectedCategory" inherits="GameFontNormal" text="">
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset>
|
|
<AbsDimension x="0" y="-50"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parent_SelectedTable" inherits="GameFontNormal" text="Cannot read files">
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset>
|
|
<AbsDimension x="0" y="-50"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
<FontString name="$parent_SelectedTable2" inherits="GameFontNormal" text="Cannot read files">
|
|
<Anchors>
|
|
<Anchor point="TOP">
|
|
<Offset>
|
|
<AbsDimension x="0" y="-50"/>
|
|
</Offset>
|
|
</Anchor>
|
|
</Anchors>
|
|
</FontString>
|
|
</Layer>
|
|
</Layers>
|
|
<Scripts>
|
|
<OnLoad>
|
|
this:RegisterForDrag("LeftButton");
|
|
this:SetMovable(1);
|
|
this:SetBackdropColor(0.75, 0, 0.75);
|
|
local AL = LibStub("AceLocale-3.0"):GetLocale("AtlasLoot");
|
|
getglobal("AtlasLootDefaultFrame_Notice"):SetText(AL["This is a loot browser only. To view maps as well, install either Atlas or Alphamap."]);
|
|
</OnLoad>
|
|
<OnShow>
|
|
AtlasLootDefaultFrame_OnShow();
|
|
</OnShow>
|
|
<OnHide>
|
|
AtlasLootDefaultFrame_OnHide();
|
|
</OnHide>
|
|
<OnDragStart>
|
|
this:StartMoving();
|
|
this.isMoving = true;
|
|
</OnDragStart>
|
|
<OnDragStop>
|
|
this:StopMovingOrSizing();
|
|
this.isMoving = false;
|
|
</OnDragStop>
|
|
</Scripts>
|
|
</Frame>
|
|
</Ui> |