- Fix for the alpha problem in graphical combo point display (thanks Kurathor)

- Scaling for every bar
- Horizontal position adjustment for you dual screen freaks
This commit is contained in:
iceroth
2007-06-03 11:48:07 +00:00
parent 77782fb169
commit ccaeeaa198
5 changed files with 57 additions and 8 deletions

View File

@ -38,6 +38,7 @@ function IceBarElement.prototype:GetDefaultSettings()
settings["side"] = IceCore.Side.Left
settings["offset"] = 1
settings["scale"] = 1
settings["barFontSize"] = 12
settings["lockTextAlpha"] = true
settings["textVisible"] = {upper = true, lower = true}
@ -99,6 +100,28 @@ function IceBarElement.prototype:GetOptions()
order = 31
}
opts["scale"] =
{
type = 'range',
name = '|c' .. self.configColor .. 'Scale|r',
desc = 'Scale of the bar',
min = 0.1,
max = 2,
step = 0.05,
isPercent = true,
get = function()
return self.moduleSettings.scale
end,
set = function(value)
self.moduleSettings.scale = value
self:Redraw()
end,
disabled = function()
return not self.moduleSettings.enabled
end,
order = 32
}
opts["textSettings"] =
{
type = 'group',