Added names for "main" frames

This commit is contained in:
iceroth
2006-07-31 17:07:52 +00:00
parent aead721cb5
commit 3478238114
3 changed files with 6 additions and 3 deletions

View File

@ -7,7 +7,7 @@ IceBarElement.BackgroundAlpha = 0.25
IceBarElement.TexturePath = IceHUD.Location .. "\\textures\\"
IceBarElement.BackgroundTexture = IceHUD.Location .. "\\textures\\HiBarBG"
IceBarElement.BarProportion = 0.35
IceBarElement.BarProportion = 0.36
IceBarElement.BarTextureWidth = 128
IceBarElement.prototype.barFrame = nil
@ -129,7 +129,7 @@ end
-- Creates background for the bar
function IceBarElement.prototype:CreateBackground()
if not (self.frame) then
self.frame = CreateFrame("StatusBar", nil, self.parent)
self.frame = CreateFrame("StatusBar", "IceHUD_"..self.name, self.parent)
end
self.frame:SetFrameStrata("BACKGROUND")