mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 14:50:13 -05:00
Version 0.7
- Added an option to change the bar colors - Using scheduled events now instead of Metrognome - Some small bug fixes
This commit is contained in:
18
IceHUD.lua
18
IceHUD.lua
@ -373,6 +373,13 @@ IceHUD.options =
|
||||
order = 41
|
||||
},
|
||||
|
||||
colors = {
|
||||
type='group',
|
||||
desc = 'Module color configuration options',
|
||||
name = 'Colors',
|
||||
args = {},
|
||||
order = 42
|
||||
},
|
||||
|
||||
headerOtherBlank = { type = 'header', name = ' ', order = 90 },
|
||||
headerOther = {
|
||||
@ -478,17 +485,22 @@ function IceHUD:OnInitialize()
|
||||
|
||||
self.IceCore = IceCore:new()
|
||||
|
||||
self.options.args.modules.args = self.IceCore:GetModuleOptions()
|
||||
|
||||
self:RegisterChatCommand({ "/icehud" }, IceHUD.slashMenu)
|
||||
|
||||
end
|
||||
|
||||
|
||||
function IceHUD:OnEnable()
|
||||
self:Debug("IceHUD:OnEnable()")
|
||||
|
||||
|
||||
|
||||
self.IceCore:Enable()
|
||||
self:SetDebugging(self.IceCore:GetDebug())
|
||||
self.debugFrame = ChatFrame2
|
||||
|
||||
self.options.args.modules.args = self.IceCore:GetModuleOptions()
|
||||
self.options.args.colors.args = self.IceCore:GetColorOptions()
|
||||
|
||||
self:RegisterChatCommand({ "/icehud" }, IceHUD.slashMenu)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user