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:
@ -35,7 +35,7 @@ function TargetOfTarget.prototype:GetOptions()
|
||||
get = function()
|
||||
return self.moduleSettings.vpos
|
||||
end,
|
||||
set = function(v)
|
||||
set = function(info, v)
|
||||
self.moduleSettings.vpos = v
|
||||
self:Redraw()
|
||||
end,
|
||||
@ -55,7 +55,7 @@ function TargetOfTarget.prototype:GetOptions()
|
||||
get = function()
|
||||
return self.moduleSettings.hpos
|
||||
end,
|
||||
set = function(v)
|
||||
set = function(info, v)
|
||||
self.moduleSettings.hpos = v
|
||||
self:Redraw()
|
||||
end,
|
||||
@ -75,7 +75,7 @@ function TargetOfTarget.prototype:GetOptions()
|
||||
get = function()
|
||||
return self.moduleSettings.showDebuffs
|
||||
end,
|
||||
set = function(value)
|
||||
set = function(info, value)
|
||||
self.moduleSettings.showDebuffs = value
|
||||
self:UpdateBuffs()
|
||||
end,
|
||||
@ -92,7 +92,7 @@ function TargetOfTarget.prototype:GetOptions()
|
||||
get = function()
|
||||
return self.moduleSettings.fontSize
|
||||
end,
|
||||
set = function(v)
|
||||
set = function(info, v)
|
||||
self.moduleSettings.fontSize = v
|
||||
self:Redraw()
|
||||
end,
|
||||
@ -112,7 +112,7 @@ function TargetOfTarget.prototype:GetOptions()
|
||||
get = function()
|
||||
return self.moduleSettings.mouse
|
||||
end,
|
||||
set = function(v)
|
||||
set = function(info, v)
|
||||
self.moduleSettings.mouse = v
|
||||
self:Redraw()
|
||||
end,
|
||||
@ -123,20 +123,20 @@ function TargetOfTarget.prototype:GetOptions()
|
||||
}
|
||||
|
||||
opts["texture"] = {
|
||||
type = 'text',
|
||||
type = 'select',
|
||||
name = 'Texture',
|
||||
desc = 'ToT frame texture',
|
||||
get = function()
|
||||
return self.moduleSettings.texture
|
||||
get = function(info)
|
||||
return IceHUD:GetSelectValue(info, self.moduleSettings.texture)
|
||||
end,
|
||||
set = function(v)
|
||||
self.moduleSettings.texture = v
|
||||
set = function(info, v)
|
||||
self.moduleSettings.texture = info.option.values[v]
|
||||
self:Redraw()
|
||||
end,
|
||||
disabled = function()
|
||||
return not self.moduleSettings.enabled
|
||||
end,
|
||||
validate = SML:List(SML.MediaType.STATUSBAR),
|
||||
values = SML:List(SML.MediaType.STATUSBAR),
|
||||
order = 35
|
||||
}
|
||||
|
||||
@ -147,7 +147,7 @@ function TargetOfTarget.prototype:GetOptions()
|
||||
get = function()
|
||||
return self.moduleSettings.sizeToGap
|
||||
end,
|
||||
set = function(v)
|
||||
set = function(info, v)
|
||||
self.moduleSettings.sizeToGap = v
|
||||
self:Redraw()
|
||||
end,
|
||||
@ -166,7 +166,7 @@ function TargetOfTarget.prototype:GetOptions()
|
||||
get = function()
|
||||
return self.moduleSettings.totWidth
|
||||
end,
|
||||
set = function(v)
|
||||
set = function(info, v)
|
||||
self.moduleSettings.totWidth = v
|
||||
self:Redraw()
|
||||
end,
|
||||
|
Reference in New Issue
Block a user