7.3.2 (#6)
* update to release 7.3.1 * minor tweaks - tweaked the drop location text to display a bit more cleanly - added boss sigils to bc raid tables - added right click context menu to boss name list so you can open db to that boss (only has raids atm) - the All dungeon items list now wont precache past the normal loot
This commit is contained in:
@@ -16,12 +16,11 @@ local INDENT = " "
|
||||
mainframe:SetPoint("CENTER",0,0)
|
||||
mainframe:SetSize(1105,640)
|
||||
mainframe:EnableMouse(true)
|
||||
mainframe:SetMovable(1)
|
||||
mainframe:SetMovable(true)
|
||||
mainframe.portrait:SetPortraitTexture("Interface\\Icons\\INV_Box_01")
|
||||
mainframe:SetFrameStrata("HIGH")
|
||||
mainframe.TitleText:SetText(AtlasLoot.Version)
|
||||
mainframe:RegisterForDrag("LeftButton")
|
||||
mainframe:SetMovable(true)
|
||||
mainframe:EnableKeyboard(true)
|
||||
mainframe:Hide()
|
||||
mainframe:SetScript("OnShow", function()
|
||||
@@ -90,7 +89,6 @@ for num = 1, 30 do
|
||||
local button = CreateFrame("Button","AtlasLootItem_"..num, AtlasLootItemsFrame)
|
||||
button:SetID(num)
|
||||
button:SetSize(236,29)
|
||||
|
||||
button:SetHighlightTexture("Interface\\QuestFrame\\UI-QuestTitleHighlight", "ADD")
|
||||
button.icon = button:CreateTexture("AtlasLootItem_"..num.."_Icon","ARTWORK")
|
||||
button.icon:SetSize(25,25)
|
||||
@@ -101,11 +99,11 @@ for num = 1, 30 do
|
||||
button.Highlight:SetTexture("Interface\\AddOns\\AtlasLoot\\Images\\knownGreen")
|
||||
button.Highlight:Hide()
|
||||
button.name = button:CreateFontString("AtlasLootItem_"..num.."_Name","ARTWORK","GameFontNormal")
|
||||
button.name:SetSize(400,12)
|
||||
button.name:SetSize(320,12)
|
||||
button.name:SetPoint("TOPLEFT","AtlasLootItem_"..num.."_Icon","TOPRIGHT",3,0)
|
||||
button.name:SetJustifyH("LEFT")
|
||||
button.extra = button:CreateFontString("AtlasLootItem_"..num.."_Extra","ARTWORK","GameFontNormal")
|
||||
button.extra:SetSize(400,10)
|
||||
button.extra:SetSize(320,10)
|
||||
button.extra:SetPoint("TOPLEFT","AtlasLootItem_"..num.."_Name","BOTTOMLEFT",0,-1)
|
||||
button.extra:SetJustifyH("LEFT")
|
||||
button:RegisterForClicks("AnyDown")
|
||||
@@ -702,12 +700,17 @@ local rows2 = setmetatable({}, { __index = function(t, i)
|
||||
row:SetFrameStrata("HIGH")
|
||||
row:SetNormalFontObject(GameFontHighlightLeft)
|
||||
row:SetCheckedTexture("Interface\\QuestFrame\\UI-QuestTitleHighlight", "ADD")
|
||||
row:RegisterForClicks("AnyDown")
|
||||
row.Text = row:CreateFontString("$parentRow"..i.."Text","OVERLAY","GameFontNormal")
|
||||
row.Text:SetSize(230, ROW_HEIGHT)
|
||||
row.Text:SetPoint("LEFT",row)
|
||||
row.Text:SetJustifyH("LEFT")
|
||||
row:SetScript("OnClick", function()
|
||||
if row.dataSource ~= "AtlasLoot_MapData" then
|
||||
row:SetScript("OnClick", function(self, button)
|
||||
local npcID = _G[row.dataSource][row.tablename][row.tablenum].NpcID
|
||||
if button == "RightButton" and npcID then
|
||||
row:SetChecked(not row:GetChecked())
|
||||
AtlasLoot:OpenDB(self, "npc", npcID)
|
||||
elseif row.dataSource ~= "AtlasLoot_MapData" then
|
||||
AtlasLoot:ShowItemsFrame(row.tablename, row.dataSource, row.tablenum)
|
||||
else
|
||||
row:SetChecked(false)
|
||||
|
||||
Reference in New Issue
Block a user