WoWInterface SVN NeedyGreedy

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 203 to Rev 205
    Reverse comparison

Rev 203 → Rev 205

NeedyGreedy.lua
69,6 → 69,17
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)"],
491,6 → 502,8
soundName = "None",
debugStatus = false,
maxDebugEvents = 100,
maxHeight = 250,
scrollStep = 20,
}
}
 
1503,6 → 1516,15
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
1991,6 → 2013,9
end
end
 
self.detachedTooltip:UpdateScrolling(self.db.profile.maxHeight)
self.detachedTooltip:SetScrollStep(self.db.profile.scrollStep)
 
-- Show it, et voila !
self.detachedTooltip:Show()
end
2039,6 → 2064,9
end)
end
 
self.dbTooltip:UpdateScrolling(self.db.profile.maxHeight)
self.dbTooltip:SetScrollStep(self.db.profile.scrollStep)
 
-- Show it, et voila !
self.dbTooltip:Show()
end
2258,8 → 2286,12
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
Localization/enUS.lua
90,5 → 90,7
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