/branches/pandaria/Aloft/Libs
## Interface: 40300 |
## Interface: 50001 |
## LoadOnDemand: 1 |
## Title: Lib: Babble-Faction-3.0 |
## Notes: A library to help with localization of factions. |
## X-eMail: oma_daviesh@hotmail.com |
## X-Category: Library |
## X-License: MIT |
## X-Curse-Packaged-Version: 4.3-release32 |
## X-Curse-Packaged-Version: 5.0-release1 |
## X-Curse-Project-Name: LibBabble-Faction-3.0 |
## X-Curse-Project-ID: libbabble-faction-3-0 |
## X-Curse-Repository-ID: wow/libbabble-faction-3-0/mainline |
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) |