mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
- converted most of the mod to ace3. the only ace2 remaining is AceEvent-2 (probably easy to get away from) and AceOO-2 (not so easy)
- the ace3 conversion also broke the dependence on Waterfall and gave a much better configuration screen through AceConfigDialog; plus Waterfall is very broken in Cataclysm and it's unclear whether anyone will bother to fix it or not - fixed a bug with the custom CD bar when changing profiles where it would generate endless errors until a reloadui - removed DewDrop library as it was no longer in use - temporarily removed FuBar plugin as it doesn't work as a mixin with AceAddon-3. i will eventually be bringing this back in some form (before the next full release version) - removed an unused 'about' button on the config page and some empty headers...not sure why they were ever there
This commit is contained in:
@ -54,7 +54,7 @@ function FocusHealth.prototype:GetOptions()
|
||||
get = function()
|
||||
return self.moduleSettings.mobhealth
|
||||
end,
|
||||
set = function(value)
|
||||
set = function(info, value)
|
||||
self.moduleSettings.mobhealth = value
|
||||
self:Update(self.unit)
|
||||
end,
|
||||
@ -71,7 +71,7 @@ function FocusHealth.prototype:GetOptions()
|
||||
get = function()
|
||||
return self.moduleSettings.classColor
|
||||
end,
|
||||
set = function(value)
|
||||
set = function(info, value)
|
||||
self.moduleSettings.classColor = value
|
||||
self:Update(self.unit)
|
||||
end,
|
||||
@ -88,7 +88,7 @@ function FocusHealth.prototype:GetOptions()
|
||||
get = function()
|
||||
return self.moduleSettings.hideBlizz
|
||||
end,
|
||||
set = function(value)
|
||||
set = function(info, value)
|
||||
self.moduleSettings.hideBlizz = value
|
||||
if (value) then
|
||||
self:HideBlizz()
|
||||
@ -109,7 +109,7 @@ function FocusHealth.prototype:GetOptions()
|
||||
get = function()
|
||||
return self.moduleSettings.scaleHealthColor
|
||||
end,
|
||||
set = function(value)
|
||||
set = function(info, value)
|
||||
self.moduleSettings.scaleHealthColor = value
|
||||
self:Redraw()
|
||||
end,
|
||||
@ -126,7 +126,7 @@ function FocusHealth.prototype:GetOptions()
|
||||
get = function()
|
||||
return self.moduleSettings.showRaidIcon
|
||||
end,
|
||||
set = function(value)
|
||||
set = function(info, value)
|
||||
self.moduleSettings.showRaidIcon = value
|
||||
self:UpdateRaidFocusIcon()
|
||||
end,
|
||||
@ -143,7 +143,7 @@ function FocusHealth.prototype:GetOptions()
|
||||
get = function()
|
||||
return self.moduleSettings.lockIconAlpha
|
||||
end,
|
||||
set = function(value)
|
||||
set = function(info, value)
|
||||
self.moduleSettings.lockIconAlpha = value
|
||||
self:Redraw()
|
||||
end,
|
||||
@ -160,7 +160,7 @@ function FocusHealth.prototype:GetOptions()
|
||||
get = function()
|
||||
return self.moduleSettings.raidIconOnTop
|
||||
end,
|
||||
set = function(value)
|
||||
set = function(info, value)
|
||||
self.moduleSettings.raidIconOnTop = value
|
||||
self:UpdateRaidFocusIcon()
|
||||
end,
|
||||
@ -180,7 +180,7 @@ function FocusHealth.prototype:GetOptions()
|
||||
get = function()
|
||||
return self.moduleSettings.raidIconXOffset
|
||||
end,
|
||||
set = function(value)
|
||||
set = function(info, value)
|
||||
self.moduleSettings.raidIconXOffset = value
|
||||
self:SetRaidIconPlacement()
|
||||
self:Redraw()
|
||||
@ -201,7 +201,7 @@ function FocusHealth.prototype:GetOptions()
|
||||
get = function()
|
||||
return self.moduleSettings.raidIconYOffset
|
||||
end,
|
||||
set = function(value)
|
||||
set = function(info, value)
|
||||
self.moduleSettings.raidIconYOffset = value
|
||||
self:SetRaidIconPlacement()
|
||||
self:Redraw()
|
||||
@ -219,7 +219,7 @@ function FocusHealth.prototype:GetOptions()
|
||||
get = function()
|
||||
return self.moduleSettings.abbreviateHealth
|
||||
end,
|
||||
set = function(v)
|
||||
set = function(info, v)
|
||||
self.moduleSettings.abbreviateHealth = v
|
||||
end,
|
||||
disabled = function()
|
||||
@ -235,14 +235,13 @@ function FocusHealth.prototype:GetOptions()
|
||||
get = function()
|
||||
return self.moduleSettings.allowMouseInteraction
|
||||
end,
|
||||
set = function(v)
|
||||
set = function(info, v)
|
||||
self.moduleSettings.allowMouseInteraction = v
|
||||
self:Redraw()
|
||||
end,
|
||||
disabled = function()
|
||||
return not self.moduleSettings.enabled
|
||||
end,
|
||||
usage = '',
|
||||
order = 43,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user