Overhaul
This commit is contained in:
+22
-1
@@ -11,6 +11,7 @@
|
||||
<Script file="AtlasLoot.lua"/>
|
||||
<Script file="WishList.lua"/>
|
||||
<Script file="Search.lua"/>
|
||||
<Script file="WorldBoss.lua"/>
|
||||
|
||||
<Button name="AtlasLootDefaultFrameButtonTemplate" inherits="OptionsButtonTemplate" virtual="true">
|
||||
<Size>
|
||||
@@ -18,7 +19,7 @@
|
||||
</Size>
|
||||
</Button>
|
||||
|
||||
<Frame name="AtlasLootDefaultFrame" toplevel="true" frameStrata="MEDIUM" movable="true" enableMouse="true" hidden="true" parent="UIParent" enableKeyboard="true">
|
||||
<Frame name="AtlasLootDefaultFrame" toplevel="true" frameStrata="DIALOG" movable="true" enableMouseClicks="true" hidden="true" parent="UIParent" enableKeyboard="true">
|
||||
<Size>
|
||||
<AbsDimension x="600" y="690"/>
|
||||
</Size>
|
||||
@@ -69,6 +70,7 @@
|
||||
AtlasLootSearchBox:ClearFocus();
|
||||
end
|
||||
Atlas_Toggle();
|
||||
CloseDropDownMenus();
|
||||
</OnClick>
|
||||
<OnShow>
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
|
||||
@@ -93,6 +95,7 @@
|
||||
<Scripts>
|
||||
<OnClick>
|
||||
AtlasLootOptions_Toggle();
|
||||
CloseDropDownMenus();
|
||||
</OnClick>
|
||||
<OnShow>
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
|
||||
@@ -210,6 +213,7 @@
|
||||
pFrame = { "TOPLEFT", "AtlasLootDefaultFrame_LootBackground", "TOPLEFT", "2", "-2" };
|
||||
AtlasLoot_ShowItemsFrame(AtlasLootCharDB["QuickLooks"][1][1], AtlasLootCharDB["QuickLooks"][1][2], AtlasLootCharDB["QuickLooks"][1][3], pFrame);
|
||||
end
|
||||
CloseDropDownMenus();
|
||||
</OnClick>
|
||||
<OnShow>
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
|
||||
@@ -255,6 +259,7 @@
|
||||
pFrame = { "TOPLEFT", "AtlasLootDefaultFrame_LootBackground", "TOPLEFT", "2", "-2" };
|
||||
AtlasLoot_ShowItemsFrame(AtlasLootCharDB["QuickLooks"][2][1], AtlasLootCharDB["QuickLooks"][2][2], AtlasLootCharDB["QuickLooks"][2][3], pFrame);
|
||||
end
|
||||
CloseDropDownMenus();
|
||||
</OnClick>
|
||||
<OnShow>
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
|
||||
@@ -300,6 +305,7 @@
|
||||
pFrame = { "TOPLEFT", "AtlasLootDefaultFrame_LootBackground", "TOPLEFT", "2", "-2" };
|
||||
AtlasLoot_ShowItemsFrame(AtlasLootCharDB["QuickLooks"][3][1], AtlasLootCharDB["QuickLooks"][3][2], AtlasLootCharDB["QuickLooks"][3][3], pFrame);
|
||||
end
|
||||
CloseDropDownMenus();
|
||||
</OnClick>
|
||||
<OnShow>
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
|
||||
@@ -330,6 +336,7 @@
|
||||
GameTooltip:Show();
|
||||
end
|
||||
</OnEnter>
|
||||
|
||||
<OnLeave>
|
||||
if(GameTooltip:IsVisible()) then
|
||||
GameTooltip:Hide();
|
||||
@@ -345,6 +352,7 @@
|
||||
pFrame = { "TOPLEFT", "AtlasLootDefaultFrame_LootBackground", "TOPLEFT", "2", "-2" };
|
||||
AtlasLoot_ShowItemsFrame(AtlasLootCharDB["QuickLooks"][4][1], AtlasLootCharDB["QuickLooks"][4][2], AtlasLootCharDB["QuickLooks"][4][3], pFrame);
|
||||
end
|
||||
CloseDropDownMenus();
|
||||
</OnClick>
|
||||
<OnShow>
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
|
||||
@@ -399,6 +407,7 @@
|
||||
<OnClick>
|
||||
AtlasLoot:Search(AtlasLootDefaultFrameSearchBox:GetText());
|
||||
AtlasLootDefaultFrameSearchBox:ClearFocus();
|
||||
CloseDropDownMenus();
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</Button>
|
||||
@@ -446,6 +455,7 @@
|
||||
<OnClick>
|
||||
AtlasLootDefaultFrameSearchBox:SetText("");
|
||||
AtlasLootDefaultFrameSearchBox:ClearFocus();
|
||||
CloseDropDownMenus();
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</Button>
|
||||
@@ -468,6 +478,7 @@
|
||||
</OnShow>
|
||||
<OnClick>
|
||||
AtlasLoot:ShowSearchResult();
|
||||
CloseDropDownMenus();
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</Button>
|
||||
@@ -485,6 +496,7 @@
|
||||
<Scripts>
|
||||
<OnClick>
|
||||
AtlasLoot_ShowWishList();
|
||||
CloseDropDownMenus();
|
||||
</OnClick>
|
||||
<OnShow>
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
|
||||
@@ -556,6 +568,9 @@
|
||||
local AL = AceLibrary("AceLocale-2.2"):new("AtlasLoot");
|
||||
getglobal("AtlasLootDefaultFrame_Notice"):SetText(AL["NoticeFrame"]);
|
||||
</OnLoad>
|
||||
<OnMouseUp>
|
||||
CloseDropDownMenus();
|
||||
</OnMouseUp>
|
||||
<OnShow>
|
||||
AtlasLootDefaultFrame_OnShow();
|
||||
</OnShow>
|
||||
@@ -647,6 +662,7 @@
|
||||
<Scripts>
|
||||
<OnClick>
|
||||
AtlasLoot_NavButton_OnClick();
|
||||
CloseDropDownMenus();
|
||||
</OnClick>
|
||||
<OnShow>
|
||||
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
|
||||
@@ -830,6 +846,7 @@
|
||||
</OnLeave>
|
||||
<OnClick>
|
||||
AtlasLootItem_OnClick(arg1);
|
||||
CloseDropDownMenus();
|
||||
</OnClick>
|
||||
<OnShow>
|
||||
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
|
||||
@@ -1173,6 +1190,7 @@
|
||||
<Scripts>
|
||||
<OnClick>
|
||||
AtlasLoot_NavButton_OnClick()
|
||||
CloseDropDownMenus();
|
||||
</OnClick>
|
||||
<OnShow>
|
||||
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
|
||||
@@ -1213,6 +1231,7 @@
|
||||
<OnClick>
|
||||
GameTooltip:Hide();
|
||||
AtlasLoot_QueryLootPage();
|
||||
CloseDropDownMenus();
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</Button>
|
||||
@@ -1242,6 +1261,7 @@
|
||||
</OnShow>
|
||||
<OnClick>
|
||||
AtlasLoot_ShowQuickLooks(this);
|
||||
CloseDropDownMenus();
|
||||
</OnClick>
|
||||
</Scripts>
|
||||
</Button>
|
||||
@@ -1256,6 +1276,7 @@
|
||||
<Scripts>
|
||||
<OnClick>
|
||||
AtlasLoot_NavButton_OnClick();
|
||||
CloseDropDownMenus();
|
||||
</OnClick>
|
||||
<OnShow>
|
||||
this:SetFrameLevel( (this:GetParent()):GetFrameLevel() + 1 );
|
||||
|
||||
Reference in New Issue
Block a user