/trunk
## Interface: 50001 |
## Title: sStats |
## Author: Seerah |
## Version: 1.2.3 |
## Version: 1.2.4 |
## Notes: Modular framework for stat displays. Includes memory, latency, and fps |
## SavedVariables: sStatsDB |
## SavedVariablesPerCharacter: sStatsPCDB |
ScrollFrame Container |
Plain container that scrolls its content and doesn't grow in height. |
-------------------------------------------------------------------------------]] |
local Type, Version = "ScrollFrame", 22 |
local Type, Version = "ScrollFrame", 23 |
local AceGUI = LibStub and LibStub("AceGUI-3.0", true) |
if not AceGUI or (AceGUI:GetWidgetVersion(Type) or 0) >= Version then return end |
local methods = { |
["OnAcquire"] = function(self) |
self:SetScroll(0) |
self:FixScroll() |
self.scrollframe:SetScript("OnUpdate", FixScrollOnUpdate) |
end, |
["OnRelease"] = function(self) |