- added ability to specify a different texture on individual bars than the global one chosen on the main bar configuration panel

This commit is contained in:
Parnic
2009-04-21 05:00:14 +00:00
parent 8b61b36398
commit b4fe009e8e
2 changed files with 54 additions and 4 deletions

View File

@ -8,6 +8,8 @@ IceHUD.debugging = false
IceHUD.WowVer = select(4, GetBuildInfo())
IceHUD.validBarList = { "Bar", "HiBar", "RoundBar", "ColorBar", "RivetBar", "RivetBar2", "CleanCurves", "GlowArc", "BloodGlaives", "ArcHUD" }
IceHUD.Location = "Interface\\AddOns\\IceHUD"
IceHUD.options =
{
@ -321,7 +323,7 @@ IceHUD.options =
set = function(value)
IceHUD.IceCore:SetBarPreset(value)
end,
validate = { "Bar", "HiBar", "RoundBar", "ColorBar", "RivetBar", "RivetBar2", "CleanCurves", "GlowArc", "BloodGlaives", "ArcHUD" },
validate = IceHUD.validBarList,
order = 9
},
@ -343,7 +345,7 @@ IceHUD.options =
set = function(value)
IceHUD.IceCore:SetBarTexture(value)
end,
validate = { "Bar", "HiBar", "RoundBar", "ColorBar", "RivetBar", "RivetBar2", "CleanCurves", "GlowArc", "BloodGlaives", "FangRune", "RuneBar", "RuneColor", "ArcHUD" },
validate = IceHUD.validBarList,
order = 11
},