- fixed up a couple more modules with an empty 'animation settings' header and some too-long options that were being ellipsised (is that a word? it is now.)

This commit is contained in:
Parnic
2010-09-12 22:52:37 +00:00
parent 1961b66f57
commit 4b927832df
4 changed files with 9 additions and 30 deletions

View File

@ -163,6 +163,7 @@ function CastBar.prototype:GetOptions()
type = 'toggle', type = 'toggle',
name = 'Change color when not in range', name = 'Change color when not in range',
desc = 'Changes the bar color to the CastNotInRange color when the target goes out of range for the current spell.', desc = 'Changes the bar color to the CastNotInRange color when the target goes out of range for the current spell.',
width = 'double',
get = function() get = function()
return self.moduleSettings.rangeColor return self.moduleSettings.rangeColor
end, end,

View File

@ -22,6 +22,7 @@ function FocusCast.prototype:GetDefaultSettings()
settings["flashInstants"] = "Never" settings["flashInstants"] = "Never"
settings["flashFailures"] = "Never" settings["flashFailures"] = "Never"
settings["shouldAnimate"] = false settings["shouldAnimate"] = false
settings["hideAnimationSettings"] = true
settings["usesDogTagStrings"] = false settings["usesDogTagStrings"] = false
settings["enabled"] = false settings["enabled"] = false
settings["barVerticalOffset"] = 35 settings["barVerticalOffset"] = 35
@ -63,31 +64,6 @@ end
function FocusCast.prototype:GetOptions() function FocusCast.prototype:GetOptions()
local opts = FocusCast.super.prototype.GetOptions(self) local opts = FocusCast.super.prototype.GetOptions(self)
-- Parnic - this exists solely for the console/rock config to work...animating cast bars doesn't make sense
opts["shouldAnimate"] =
{
type = 'toggle',
name = 's',
desc = 's',
set = 's',
get = 's',
hidden = function()
return true
end
}
opts["desiredLerpTime"] =
{
type = 'toggle',
name = 'd',
desc = 'd',
set = 'd',
get = 'd',
hidden = function()
return true
end
}
opts["barVisible"] = { opts["barVisible"] = {
type = 'toggle', type = 'toggle',
name = 'Bar visible', name = 'Bar visible',

View File

@ -125,6 +125,7 @@ function FocusHealth.prototype:GetOptions()
type = "toggle", type = "toggle",
name = "Lock raid icon to 100% alpha", name = "Lock raid icon to 100% alpha",
desc = "With this enabled, the raid icon is always 100% alpha, regardless of the bar's alpha. Otherwise, it assumes the bar's alpha level.", desc = "With this enabled, the raid icon is always 100% alpha, regardless of the bar's alpha. Otherwise, it assumes the bar's alpha level.",
width = 'double',
get = function() get = function()
return self.moduleSettings.lockIconAlpha return self.moduleSettings.lockIconAlpha
end, end,

View File

@ -135,6 +135,7 @@ function TargetCast.prototype:GetOptions()
type = 'toggle', type = 'toggle',
name = 'Display non-interruptible color', name = 'Display non-interruptible color',
desc = 'Toggles whether or not to show the CastNonInterruptible color for this bar when a cast is non-interruptible', desc = 'Toggles whether or not to show the CastNonInterruptible color for this bar when a cast is non-interruptible',
width = 'double',
get = function() get = function()
return self.moduleSettings.displayNonInterruptible return self.moduleSettings.displayNonInterruptible
end, end,