This commit is contained in:
tercio
2014-02-25 21:55:20 -03:00
parent 3e3161da2c
commit 1f5afea571
8 changed files with 44 additions and 14 deletions
+6
View File
@@ -128,6 +128,12 @@
return 1 + (x - rangeMin) * (scaleMax - scaleMin) / (rangeMax - rangeMin)
end
--> font color
function _detalhes:SetFontColor (fontString, r, g, b, a)
r, g, b, a = gump:ParseColors (r, g, b, a)
fontString:SetTextColor (r, g, b, a)
end
--> font size
function _detalhes:SetFontSize (fontString, ...)
local fonte, _, flags = fontString:GetFont()