- set all bars to animate by default

- forced animation off for cast and mirror bars
- made a change to the toc for a curse/wowinterface update
This commit is contained in:
Parnic
2008-02-13 01:42:23 +00:00
parent 72f068215d
commit 9e4bdc2070
5 changed files with 10 additions and 2 deletions

View File

@ -72,7 +72,7 @@ function IceBarElement.prototype:GetDefaultSettings()
settings["lowerText"] = ''
settings["textVerticalOffset"] = -1
settings["textHorizontalOffset"] = 0
settings["shouldAnimate"] = false
settings["shouldAnimate"] = true
settings["desiredLerpTime"] = 0.2
settings["barVisible"] = {bg = true, bar = true}

View File

@ -3,7 +3,7 @@
## Name: IceHUD
## Title: IceHUD |cff7fff7f -Ace2-|r
## Notes: Another HUD addon
## Version: 1.1 ($Revision$)
## Version: 1.2 ($Revision$)
## SavedVariables: IceCoreDB
## OptionalDeps: Ace2, GratuityLib, LibSharedMedia-2.0, WaterfallLib, MobHealth, Deformat-2.0, LibDogTag-2.0
## X-Embeds: Ace2, GratuityLib, LibSharedMedia-2.0, WaterfallLib, Deformat-2.0, LibDogTag-2.0

View File

@ -26,6 +26,7 @@ function CastBar.prototype:GetDefaultSettings()
settings["flashFailures"] = "Caster"
settings["lagAlpha"] = 0.7
settings["showBlizzCast"] = false
settings["shouldAnimate"] = false
return settings
end

View File

@ -26,6 +26,7 @@ function MirrorBar.prototype:init(side, offset, name, db)
self.moduleSettings.side = side
self.moduleSettings.offset = offset
self.moduleSettings.barVisible = {bar = true, bg = true}
self.moduleSettings.shouldAnimate = false
-- unregister the event superclass registered, we don't want to register
-- this to the core
@ -175,13 +176,16 @@ end
function MirrorBarHandler.prototype:GetDefaultSettings()
local settings = MirrorBarHandler.super.prototype.GetDefaultSettings(self)
settings["side"] = IceCore.Side.Left
settings["offset"] = 3
settings["barFontSize"] = 13
settings["barFontBold"] = true
settings["lockTextAlpha"] = true
settings["shouldAnimate"] = false
settings["textVisible"] = {upper = true, lower = true}
settings["barVisible"] = {bg = true, bar = true}
return settings
end

View File

@ -15,10 +15,13 @@ end
-- OVERRIDE
function TargetCast.prototype:GetDefaultSettings()
local settings = TargetCast.super.prototype.GetDefaultSettings(self)
settings["side"] = IceCore.Side.Right
settings["offset"] = 3
settings["flashInstants"] = "Never"
settings["flashFailures"] = "Never"
settings["shouldAnimate"] = false
return settings
end