/
get = "GetNItems", |
set = "SetNItems" |
}, |
maxHeight = { |
name = L["Maximum Height"], |
desc = L["Maximum height of the display window"], |
type = "range", |
order = 106, |
min = 200, |
max = 1200, |
step = 10, |
get = "GetMaxHeight", |
set = "SetMaxHeight", |
}, |
expiry = { |
name = L["Expiry Time"], |
desc = L["Minutes after item is received before it is removed from display (0 = forever)"], |
soundName = "None", |
debugStatus = false, |
maxDebugEvents = 100, |
maxHeight = 250, |
scrollStep = 20, |
} |
} |
self:RefreshTooltip() |
end |
function NeedyGreedy:GetMaxHeight(info) |
return self.db.profile.maxHeight |
end |
function NeedyGreedy:SetMaxHeight(info, value) |
self.db.profile.maxHeight = value |
self:RefreshTooltip() |
end |
function NeedyGreedy:GetExpiry(info) |
return self.db.profile.expiry |
end |
end |
end |
self.detachedTooltip:UpdateScrolling(self.db.profile.maxHeight) |
self.detachedTooltip:SetScrollStep(self.db.profile.scrollStep) |
-- Show it, et voila ! |
self.detachedTooltip:Show() |
end |
end) |
end |
self.dbTooltip:UpdateScrolling(self.db.profile.maxHeight) |
self.dbTooltip:SetScrollStep(self.db.profile.scrollStep) |
-- Show it, et voila ! |
self.dbTooltip:Show() |
end |
local tooltip |
if self.detachedTooltip and self.detachedTooltip:IsShown() then |
self:BuildDetachedTooltip(self.detachedTooltip) |
self.detachedTooltip:UpdateScrolling(self.db.profile.maxHeight) |
self.detachedTooltip:SetScrollStep(self.db.profile.setStep) |
elseif self.dbTooltip and self.dbTooltip:IsShown() and (not self.db.profile.detachedTooltip) then |
self:BuildDBReportTooltip(self.dbTooltip) |
self.dbTooltip:UpdateScrolling(self.db.profile.maxHeight) |
self.dbTooltip:SetScrollStep(self.db.profile.setStep) |
else |
return |
end |
L["Debug Log"] = true |
L["Clear Debug Log"] = true |
L["Max Debug Messages"] = true |
L["Maximum Height"] = true |
L["Maximum height of the display window"] = true |
end |