WoWInterface SVN ChatScroll

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 5 to Rev 6
    Reverse comparison

Rev 5 → Rev 6

trunk/ChatScroll/ChatScroll.lua
10,9 → 10,8
 
Change List
v3.1
- More agressive button hiding
- Better saved variable initialization
- Now uses embedded LibDefaults
- More aggressive button hiding
- Now uses LibDefaults for variable initialization
v3.0
- Updated for WoW 3.0
- Added Portfolio Options, Removed Khaos Options
104,7 → 103,7
-- <= == == == == == == == == == == == == =>
 
local function ScrollButton_OnShow(self)
if (ChatScroll_SavedVars and ChatScroll_SavedVars.HideChatButtons) then
if (ChatScroll_SavedVars and ChatScroll_SavedVars.HideChatButtons == "1") then
self:Hide()
end
end
161,7 → 160,10
else
local loader = LibStub("LibDefaults")
local addonName = "ChatScroll"
loader:SetDefault(addonName, savedVarTableName, "EnableScrolling", "1")
loader:SetDefault(addonName, savedVarTableName, "HideChatButtons", "0")
local defaults = {
EnableScrolling = "1";
HideChatButtons = "0";
}
loader:SetDefault(addonName, savedVarTableName, defaults)
loader:SetScript(addonName, ChatScroll.UpdateButtons)
end
trunk/ChatScroll/ChatScroll.toc
4,8 → 4,8
## Notes: Makes chat windows scrollable with the mouse wheel and has scroll button visibility options.
## Notes-deDE: Erlaubt es das Chatfenster mit dem Mausrad rauf und runter zu scrollen.
## Author: AnduinLothar
## OptionalDeps: Portfolio
## SavedVariables: ChatScroll_SavedVars
## OptionalDeps: Portfolio, LibDefaults
## SavedVariables: ChatScroll_SavedVars, meh
## Version: 3.1
## X-Date: Oct 25 2008
## X-Category: Chat