- added bar/background graphical blend mode options so we can have us some snazzier artses

This commit is contained in:
Parnic
2008-10-06 18:34:35 +00:00
parent 88e08161fa
commit 8991539309
3 changed files with 72 additions and 10 deletions

View File

@ -511,6 +511,7 @@ function IceBarElement.prototype:CreateBackground()
end
self.frame.bg:SetTexture(IceElement.TexturePath .. self.settings.barTexture.."BG")
self.frame.bg:SetBlendMode(self.settings.barBgBlendMode)
self.frame.bg:ClearAllPoints()
self.frame.bg:SetAllPoints(self.frame)
@ -556,6 +557,7 @@ function IceBarElement.prototype:CreateBar()
end
self.barFrame.bar:SetTexture(IceElement.TexturePath .. self.settings.barTexture)
self.barFrame.bar:SetBlendMode(self.settings.barBlendMode)
self.barFrame.bar:SetAllPoints(self.frame)
if (self.moduleSettings.side == IceCore.Side.Left) then