Misc fixed and a preview for new texture (check 'Bar' type)

This commit is contained in:
iceroth
2006-10-16 13:16:56 +00:00
parent b7decf6a3e
commit e949b5b350
9 changed files with 67 additions and 36 deletions

View File

@ -15,6 +15,7 @@ IceCore.prototype.IceHUDFrame = nil
IceCore.prototype.elements = {}
IceCore.prototype.enabled = nil
IceCore.prototype.presets = {}
IceCore.prototype.settingsHash = nil
-- Constructor --
function IceCore.prototype:init()
@ -25,7 +26,6 @@ function IceCore.prototype:init()
self.IceHUDFrame = CreateFrame("Frame","IceHUDFrame", UIParent)
-- We are ready to load modules
self:RegisterEvent(IceCore.RegisterModule, "Register")
self:TriggerEvent(IceCore.Loaded)
@ -404,5 +404,13 @@ function IceCore.prototype:LoadPresets()
barProportion = 0.14,
barSpace = 1,
}
self.presets["UBar"] = {
barTexture = "UBar",
barWidth = 155,
barHeight = 220,
barProportion = 0.14,
barSpace = 1,
}
end