diff classes/Overlay.lua @ 183:1696ff2c80cc

minor library rename/storage/cleanup
author Flick <flickerstreak@gmail.com>
date Fri, 22 Oct 2010 15:56:08 +0000
parents df68b5a40490
children 2e7a322e0195
line wrap: on
line diff
--- a/classes/Overlay.lua	Thu Oct 21 22:07:11 2010 +0000
+++ b/classes/Overlay.lua	Fri Oct 22 15:56:08 2010 +0000
@@ -1,6 +1,7 @@
 local addonName, addonTable = ...
 local ReAction               = addonTable.ReAction
 local L                      = ReAction.L
+local LKB                    = ReAction.LKB
 local CreateFrame            = CreateFrame
 local InCombatLockdown       = InCombatLockdown
 local floor                  = math.floor
@@ -19,8 +20,6 @@
 local GameTooltipTextRight2  = GameTooltipTextRight2
 local GameTooltipTextRight3  = GameTooltipTextRight3
 
-local KB = LibStub("LibKeyBound-1.0")
-
 --
 -- Wrap some of the bar manipulators to make them state-aware
 --
@@ -719,8 +718,8 @@
 
   overlay:SetScript("OnShow", overlay.RefreshControls)
 
-  KB.RegisterCallback(overlay,"LIBKEYBOUND_ENABLED")
-  KB.RegisterCallback(overlay,"LIBKEYBOUND_DISABLED")
+  LKB.RegisterCallback(overlay,"LIBKEYBOUND_ENABLED")
+  LKB.RegisterCallback(overlay,"LIBKEYBOUND_DISABLED")
 
   if ReAction:GetKeybindMode() then
     overlay:SetFrameLevel(1)