User Tools

Site Tools


eliteapi:functions:thirdparty:setcolor

SetColor

Sets the color of a text object.

ELITEAPI_API void __stdcall SetColor(void* apiObject, const char* name, unsigned char a, unsigned char r, unsigned char g, unsigned char b);

Parameters

  • apiObject [in]
    • A handle to an EliteAPI object.
  • name [in]
    • The name of the text object.
  • a [in]
    • The alpha color.
  • r [in]
    • The red color.
  • g [in]
    • The green color.
  • b [in]
    • The blue color.
eliteapi/functions/thirdparty/setcolor.txt · Last modified: 2014/12/16 11:51 (external edit)