- 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:
Parnic
2010-09-05 20:11:33 +00:00
parent 5a7f8ffa38
commit 59344a134a
45 changed files with 676 additions and 749 deletions

View File

@ -41,15 +41,15 @@ function TargetTargetHealth.prototype:GetOptions()
opts["hideBlizz"] = nil
opts["selfDisplayMode"] = {
type = "text",
type = 'select',
name = "Self Display Mode",
desc = "What this bar should do whenever the player is the TargetOfTarget\n\nNOTE: When this is set to 'hide', then click-targeting is not available due to Blizzard's restrictions",
get = function()
return self.moduleSettings.selfDisplayMode
get = function(info)
return IceHUD:GetSelectValue(info, self.moduleSettings.selfDisplayMode)
end,
set = function(value)
self.moduleSettings.selfDisplayMode = value
if value == "Hide" then
set = function(info, value)
self.moduleSettings.selfDisplayMode = info.option.values[value]
if info.option.values[value] == "Hide" then
self.moduleSettings.allowMouseInteraction = false
self.DisplayClickTargetOption = false
UnregisterUnitWatch(self.frame)
@ -57,13 +57,13 @@ function TargetTargetHealth.prototype:GetOptions()
RegisterUnitWatch(self.frame)
self.DisplayClickTargetOption = true
end
AceLibrary("Waterfall-1.0"):Refresh("IceHUD")
IceHUD:NotifyOptionsChange()
self:Redraw()
end,
disabled = function()
return not self.moduleSettings.enabled
end,
validate = SelfDisplayModeOptions,
values = SelfDisplayModeOptions,
order = 44,
}
@ -74,7 +74,7 @@ function TargetTargetHealth.prototype:GetOptions()
get = function()
return self.moduleSettings.selfColor.r, self.moduleSettings.selfColor.g, self.moduleSettings.selfColor.b
end,
set = function(r, g, b)
set = function(info, r, g, b)
self.moduleSettings.selfColor = { r = r, g = g, b = b }
IceHUD.IceCore:SetColor("SelfColor", r, g, b)
end,