API:NewColor
Aus WARWiki
Keine Beschreibung verfügbar.
Nutzung
API:NewColor()
Diese Funktion übernimmt keine Argumente.
Diese Funktion gibt keine Werte zurück.
Source Code
-- Given a tintable label name and a table of R,G,B, (optional Alpha) values, this function sets that windows tint and alpha.
function DefaultColor.SetLabelColor( windowName, colorTable )
LabelSetTextColor(windowName, colorTable.r, colorTable.g, colorTable.b )
if (colorTable.a ~= nil) then
WindowSetAlpha(windowName, colorTable.a)
end
end