- added 3 new user-submitted bar textures (GlowArc, CleanCurves, and BloodGlaives) and 2 new user-submitted combo/sunder/lacerate count textures (Glow and CleanCurves)

This commit is contained in:
Parnic
2008-10-09 01:40:56 +00:00
parent 8991539309
commit 6a3598e516
15 changed files with 59 additions and 5 deletions

View File

@ -495,5 +495,35 @@ function IceCore.prototype:LoadPresets()
barBlendMode = "BLEND", barBlendMode = "BLEND",
barBgBlendMode = "BLEND", barBgBlendMode = "BLEND",
} }
self.presets["CleanCurves"] = {
barTexture = "CleanCurves",
barWidth = 155,
barHeight = 220,
barProportion = 0.14,
barSpace = 1,
barBlendMode = "BLEND",
barBgBlendMode = "BLEND",
}
self.presets["GlowArc"] = {
barTexture = "GlowArc",
barWidth = 155,
barHeight = 220,
barProportion = 0.14,
barSpace = 1,
barBlendMode = "ADD",
barBgBlendMode = "BLEND",
}
self.presets["BloodGlaives"] = {
barTexture = "BloodGlaives",
barWidth = 155,
barHeight = 220,
barProportion = 0.14,
barSpace = 1,
barBlendMode = "BLEND",
barBgBlendMode = "BLEND",
}
end end

View File

@ -286,7 +286,7 @@ IceHUD.options =
set = function(value) set = function(value)
IceHUD.IceCore:SetBarPreset(value) IceHUD.IceCore:SetBarPreset(value)
end, end,
validate = { "Bar", "HiBar", "RoundBar", "ColorBar", "RivetBar", "RivetBar2" }, validate = { "Bar", "HiBar", "RoundBar", "ColorBar", "RivetBar", "RivetBar2", "CleanCurves", "GlowArc", "BloodGlaives" },
order = 9 order = 9
}, },
@ -308,7 +308,7 @@ IceHUD.options =
set = function(value) set = function(value)
IceHUD.IceCore:SetBarTexture(value) IceHUD.IceCore:SetBarTexture(value)
end, end,
validate = { "Bar", "HiBar", "RoundBar", "ColorBar", "RivetBar", "RivetBar2" }, validate = { "Bar", "HiBar", "RoundBar", "ColorBar", "RivetBar", "RivetBar2", "CleanCurves", "GlowArc", "BloodGlaives" },
order = 11 order = 11
}, },

View File

@ -73,7 +73,7 @@ function ComboPoints.prototype:GetOptions()
self:CreateComboFrame(true) self:CreateComboFrame(true)
self:Redraw() self:Redraw()
end, end,
validate = { "Numeric", "Graphical Bar", "Graphical Circle" }, validate = { "Numeric", "Graphical Bar", "Graphical Circle", "Graphical Glow", "Graphical Clean Circle" },
disabled = function() disabled = function()
return not self.moduleSettings.enabled return not self.moduleSettings.enabled
end, end,
@ -188,6 +188,10 @@ function ComboPoints.prototype:CreateComboFrame(forceTextureUpdate)
self.frame.graphicalBG[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboBG") self.frame.graphicalBG[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboBG")
elseif self.moduleSettings.comboMode == "Graphical Circle" then elseif self.moduleSettings.comboMode == "Graphical Circle" then
self.frame.graphicalBG[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboRoundBG") self.frame.graphicalBG[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboRoundBG")
elseif self.moduleSettings.comboMode == "Graphical Glow" then
self.frame.graphicalBG[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboGlowBG")
elseif self.moduleSettings.comboMode == "Graphical Clean Circle" then
self.frame.graphicalBG[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboCleanCurvesBG")
end end
end end
@ -212,6 +216,10 @@ function ComboPoints.prototype:CreateComboFrame(forceTextureUpdate)
self.frame.graphical[i]:SetStatusBarTexture(IceElement.TexturePath .. "Combo") self.frame.graphical[i]:SetStatusBarTexture(IceElement.TexturePath .. "Combo")
elseif self.moduleSettings.comboMode == "Graphical Circle" then elseif self.moduleSettings.comboMode == "Graphical Circle" then
self.frame.graphical[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboRound") self.frame.graphical[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboRound")
elseif self.moduleSettings.comboMode == "Graphical Glow" then
self.frame.graphical[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboGlow")
elseif self.moduleSettings.comboMode == "Graphical Clean Circle" then
self.frame.graphical[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboCleanCurves")
end end
end end

View File

@ -74,7 +74,7 @@ function LacerateCount.prototype:GetOptions()
self:CreateLacerateFrame(true) self:CreateLacerateFrame(true)
self:Redraw() self:Redraw()
end, end,
validate = { "Numeric", "Graphical Bar", "Graphical Circle" }, validate = { "Numeric", "Graphical Bar", "Graphical Circle", "Graphical Glow", "Graphical Clean Circle" },
disabled = function() disabled = function()
return not self.moduleSettings.enabled return not self.moduleSettings.enabled
end, end,
@ -185,6 +185,10 @@ function LacerateCount.prototype:CreateLacerateFrame(doTextureUpdate)
self.frame.graphicalBG[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboBG") self.frame.graphicalBG[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboBG")
elseif self.moduleSettings.lacerateMode == "Graphical Circle" then elseif self.moduleSettings.lacerateMode == "Graphical Circle" then
self.frame.graphicalBG[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboRoundBG") self.frame.graphicalBG[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboRoundBG")
elseif self.moduleSettings.comboMode == "Graphical Glow" then
self.frame.graphicalBG[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboGlowBG")
elseif self.moduleSettings.comboMode == "Graphical Clean Circle" then
self.frame.graphicalBG[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboCleanCurvesBG")
end end
end end
@ -209,6 +213,10 @@ function LacerateCount.prototype:CreateLacerateFrame(doTextureUpdate)
self.frame.graphical[i]:SetStatusBarTexture(IceElement.TexturePath .. "Combo") self.frame.graphical[i]:SetStatusBarTexture(IceElement.TexturePath .. "Combo")
elseif self.moduleSettings.lacerateMode == "Graphical Circle" then elseif self.moduleSettings.lacerateMode == "Graphical Circle" then
self.frame.graphical[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboRound") self.frame.graphical[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboRound")
elseif self.moduleSettings.comboMode == "Graphical Glow" then
self.frame.graphical[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboGlow")
elseif self.moduleSettings.comboMode == "Graphical Clean Circle" then
self.frame.graphical[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboCleanCurves")
end end
end end

View File

@ -74,7 +74,7 @@ function SunderCount.prototype:GetOptions()
self:CreateSunderFrame(true) self:CreateSunderFrame(true)
self:Redraw() self:Redraw()
end, end,
validate = { "Numeric", "Graphical Bar", "Graphical Circle" }, validate = { "Numeric", "Graphical Bar", "Graphical Circle", "Graphical Glow", "Graphical Clean Circle" },
disabled = function() disabled = function()
return not self.moduleSettings.enabled return not self.moduleSettings.enabled
end, end,
@ -185,6 +185,10 @@ function SunderCount.prototype:CreateSunderFrame(doTextureUpdate)
self.frame.graphicalBG[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboBG") self.frame.graphicalBG[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboBG")
elseif self.moduleSettings.sunderMode == "Graphical Circle" then elseif self.moduleSettings.sunderMode == "Graphical Circle" then
self.frame.graphicalBG[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboRoundBG") self.frame.graphicalBG[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboRoundBG")
elseif self.moduleSettings.comboMode == "Graphical Glow" then
self.frame.graphicalBG[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboGlowBG")
elseif self.moduleSettings.comboMode == "Graphical Clean Circle" then
self.frame.graphicalBG[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboCleanCurvesBG")
end end
end end
@ -209,6 +213,10 @@ function SunderCount.prototype:CreateSunderFrame(doTextureUpdate)
self.frame.graphical[i]:SetStatusBarTexture(IceElement.TexturePath .. "Combo") self.frame.graphical[i]:SetStatusBarTexture(IceElement.TexturePath .. "Combo")
elseif self.moduleSettings.sunderMode == "Graphical Circle" then elseif self.moduleSettings.sunderMode == "Graphical Circle" then
self.frame.graphical[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboRound") self.frame.graphical[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboRound")
elseif self.moduleSettings.comboMode == "Graphical Glow" then
self.frame.graphical[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboGlow")
elseif self.moduleSettings.comboMode == "Graphical Clean Circle" then
self.frame.graphical[i]:SetStatusBarTexture(IceElement.TexturePath .. "ComboCleanCurves")
end end
end end

BIN
textures/BloodGlaives.blp Normal file

Binary file not shown.

BIN
textures/BloodGlaivesBG.blp Normal file

Binary file not shown.

BIN
textures/CleanCurves.blp Normal file

Binary file not shown.

BIN
textures/CleanCurvesBG.blp Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
textures/ComboGlow.blp Normal file

Binary file not shown.

BIN
textures/ComboGlowBG.blp Normal file

Binary file not shown.

BIN
textures/GlowArc.blp Normal file

Binary file not shown.

BIN
textures/GlowArcBG.blp Normal file

Binary file not shown.