Version 0.6

- Improved TargetInfo and ToT module
- RoundBar texture looks better than ever
- PlayerHealth and TargetHealth modules have an option to turn off Blizzard default frames
- Fixed MH3 rounding bug
This commit is contained in:
iceroth
2006-09-02 20:20:01 +00:00
parent 6a143549dd
commit b8956a45fe
15 changed files with 716 additions and 236 deletions

View File

@ -187,6 +187,7 @@ function IceElement.prototype:GetColor(color, alpha)
return self.colors[color].r, self.colors[color].g, self.colors[color].b, alpha
end
function IceElement.prototype:GetHexColor(color, alpha)
local r, g, b, a = self:GetColor(color)
return string.format("%02x%02x%02x%02x", a * 255, r * 255, g * 255, b * 255)
@ -213,6 +214,11 @@ function IceElement.prototype:GetClassColor(class)
end
function IceElement.prototype:ConvertToHex(color)
return string.format("ff%02x%02x%02x", color.r*255, color.g*255, color.b*255)
end
function IceElement.prototype:FontFactory(weight, size, frame, font)
local weightString = ""
if (weight) then