mirror of
https://github.com/parnic/ice-hud.git
synced 2025-06-16 06:40:13 -05:00
Misc fixed and a preview for new texture (check 'Bar' type)
This commit is contained in:
10
IceCore.lua
10
IceCore.lua
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user