WoWInterface SVN NeedyGreedy

Compare Revisions

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

Rev 205 → Rev 204

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