/trunk
--[[----------------------------------------------------------------------------- |
Frame Container |
-------------------------------------------------------------------------------]] |
local Type, Version = "Frame", 22 |
local Type, Version = "Frame", 23 |
local AceGUI = LibStub and LibStub("AceGUI-3.0", true) |
if not AceGUI or (AceGUI:GetWidgetVersion(Type) or 0) >= Version then return end |
self.frame:Show() |
end, |
["EnableResize"] = function(self, state) |
local func = state and "Show" or "Hide" |
self.sizer_se[func](self.sizer_se) |
self.sizer_s[func](self.sizer_s) |
self.sizer_e[func](self.sizer_e) |
end, |
-- called to set an external table to store status in |
["SetStatusTable"] = function(self, status) |
assert(type(status) == "table") |
titletext = titletext, |
statustext = statustext, |
titlebg = titlebg, |
sizer_se = sizer_se, |
sizer_s = sizer_s, |
sizer_e = sizer_e, |
content = content, |
frame = frame, |
type = Type |
title:SetPoint("TOP", 0, -10) |
LootButton1:ClearAllPoints() |
LootButton1:SetPoint("TOPLEFT", 15, -80) |
for i=1,3 do |
_G["LootButton"..i+1]:ClearAllPoints() |
_G["LootButton"..i+1]:SetPoint("TOP", "LootButton"..i, "BOTTOM", 0, -4) |
end |
--resize actual loot frame |
LootFrame:SetWidth(179) |
## Interface: 40200 |
## Interface: 40300 |
## Title: LovelyLoot |
## Author: Seerah |
## Version: 1.1 |
## Version: 1.1.1 |
## Notes: Making the loot frames more lovely to look at and work with. |
## OptionalDeps: Ace3, LibSharedMedia-3.0, AceGUI-3.0-SharedMediaWidgets, rActionButtonStyler, ButtonFacade |
## SavedVariables: LovelyLootDB |