Label_SetTextColor

Prototype: GemRB.SetLabelTextColor (WindowIndex, ControlIndex, red, green, blue)

Metaclass Prototype: SetTextColor (red, green, blue)

Description: Sets the Text Color of a Label Control. If the the Font has no own palette, you can set a default palette by this command.

Parameters:

  • WindowIndex, ControlIndex - the control’s reference
  • red, green, blue - the control’s desired text color

Return value: N/A

See also: Label_SetUseRGB


Back to function index, GUIScript introduction.