- 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 IceCore.prototype:init()
local defaults = {
gap = 150,
verticalPos = -110,
horizontalPos = 0,
scale = 0.9,
alphaooc = 0.3,
@ -117,7 +118,7 @@ function IceCore.prototype:DrawFrame()
self:SetScale(self.settings.scale)
self.IceHUDFrame:SetPoint("CENTER", 0, self.settings.verticalPos)
self.IceHUDFrame:SetPoint("CENTER", self.settings.horizontalPos, self.settings.verticalPos)
self.IceHUDFrame:Show()
end
@ -196,7 +197,16 @@ end
function IceCore.prototype:SetVerticalPos(value)
self.settings.verticalPos = value
self.IceHUDFrame:ClearAllPoints()
self.IceHUDFrame:SetPoint("CENTER", 0, self.settings.verticalPos)
self.IceHUDFrame:SetPoint("CENTER", self.settings.horizontalPos, self.settings.verticalPos)
end
function IceCore.prototype:GetHorizontalPos()
return self.settings.horizontalPos
end
function IceCore.prototype:SetHorizontalPos(value)
self.settings.horizontalPos = value
self.IceHUDFrame:ClearAllPoints()
self.IceHUDFrame:SetPoint("CENTER", self.settings.horizontalPos, self.settings.verticalPos)
end