- MAJOR thanks to Shefki for finding and fixing most of the 3.3.3 issues!

- fixed runes module
- fixed a few other minor issues
This commit is contained in:
Parnic
2010-03-25 04:15:22 +00:00
parent 415e4428a4
commit 06daebe0fd
5 changed files with 15 additions and 13 deletions

View File

@ -644,7 +644,7 @@ function IceBarElement.prototype:CreateBar()
if not (self.barFrame.bar) then
self.barFrame.bar = self.frame:CreateTexture(nil, "BACKGROUND")
self.barFrame.bar = self.frame:CreateTexture(nil, "LOW")
end
self.barFrame.bar:SetTexture(IceElement.TexturePath .. self:GetMyBarTexture())
@ -839,7 +839,7 @@ function IceBarElement.prototype:UpdateBar(scale, color, alpha)
self.alpha = 1
end
self.frame.bg:SetVertexColor(r, g, b, self.backGroundAlpha)
self.frame.bg:SetVertexColor(r, g, b, self.backgroundAlpha)
self.barFrame.bar:SetVertexColor(self:GetColor(color))
if self.DesiredScale ~= scale then

View File

@ -303,7 +303,7 @@ function ComboPoints.prototype:CreateComboFrame(forceTextureUpdate)
end
end
self.frame.graphical[i]:SetFrameStrata("BACKGROUND")
self.frame.graphical[i]:SetFrameStrata("LOW")
self.frame.graphical[i]:SetAllPoints(self.frame.graphicalBG[i])
local r, g, b = self:GetColor("ComboPoints")

View File

@ -301,8 +301,8 @@ function Runes.prototype:UpdateRuneType(rune)
local thisRuneName = self.runeNames[GetRuneType(rune)]
self.frame.graphical[rune]:SetStatusBarTexture(self:GetRuneTexture(thisRuneName))
self.frame.graphical[rune]:SetStatusBarColor(self:GetColor("Runes"..thisRuneName))
self.frame.graphical[rune].rune:SetTexture(self:GetRuneTexture(thisRuneName))
self.frame.graphical[rune].rune:SetVertexColor(self:GetColor("Runes"..thisRuneName))
end
function Runes.prototype:GetRuneTexture(runeName)
@ -365,11 +365,13 @@ function Runes.prototype:CreateRune(i, type, name)
-- create runes
if (not self.frame.graphical[i]) then
self.frame.graphical[i] = CreateFrame("StatusBar", nil, self.frame)
self.frame.graphical[i] = CreateFrame("Frame", nil, self.frame)
self.frame.graphical[i].rune = self.frame.graphical[i]:CreateTexture(nil, "LOW")
self.frame.graphical[i].rune:SetAllPoints(self.frame.graphical[i])
self.frame.graphical[i].cd = CreateFrame("Cooldown", nil, self.frame.graphical[i], "CooldownFrameTemplate")
self.frame.graphical[i].shine = self.frame.graphical[i]:CreateTexture(nil, "OVERLAY")
self.frame.graphical[i]:SetStatusBarTexture(self:GetRuneTexture(name))
self.frame.graphical[i].rune:SetTexture(self:GetRuneTexture(name))
end
self.frame.graphical[i]:SetFrameStrata("BACKGROUND")
@ -391,7 +393,7 @@ function Runes.prototype:CreateRune(i, type, name)
self.frame.graphical[i]:SetPoint("TOPLEFT", 0, -1 * ((runeSwapI-1) * (self.runeSize-5) + (runeSwapI-1) + ((runeSwapI-1) * self.moduleSettings.runeGap)))
end
self.frame.graphical[i]:SetStatusBarColor(self:GetColor("Runes"..name))
self.frame.graphical[i].rune:SetVertexColor(self:GetColor("Runes"..name))
self.frame.graphical[i]:Show()
self.frame.graphical[i].cd:SetFrameStrata("BACKGROUND")

View File

@ -140,16 +140,16 @@ end
function SliceAndDice.prototype:CreateDurationBar()
if not self.durationFrame then
self.durationFrame = CreateFrame("Statusbar", nil, self.frame)
self.durationFrame = CreateFrame("Frame", nil, self.frame)
self.CurrScale = 0
end
self.durationFrame:SetFrameStrata("LOW")
self.durationFrame:SetFrameStrata("BACKGROUND")
self.durationFrame:SetWidth(self.settings.barWidth + (self.moduleSettings.widthModifier or 0))
self.durationFrame:SetHeight(self.settings.barHeight)
if not self.durationFrame.bar then
self.durationFrame.bar = self.frame:CreateTexture(nil, "BACKGROUND")
self.durationFrame.bar = self.frame:CreateTexture(nil, "LOW")
end
self.durationFrame.bar:SetTexture(IceElement.TexturePath .. self:GetMyBarTexture())

View File

@ -163,10 +163,10 @@ function IceThreat.prototype:CreateAggroBar()
self.aggroBar:SetHeight(self.settings.barHeight)
if not (self.aggroBar.bar) then
self.aggroBar.bar = self.aggroBar:CreateTexture(nil, "BACKGROUND")
self.aggroBar.bar = self.aggroBar:CreateTexture(nil, "LOW")
end
self.aggroBar.bar:SetTexture(IceElement.TexturePath .. self:GetMyBarTexture() .. "BG")
self.aggroBar.bar:SetTexture(IceElement.TexturePath .. self:GetMyBarTexture())
self.aggroBar.bar:SetPoint("BOTTOMLEFT",self.aggroBar,"BOTTOMLEFT")
self.aggroBar.bar:SetPoint("BOTTOMRIGHT",self.aggroBar,"BOTTOMRIGHT")