Function TCOD_console_set_color_control

Function Documentation

void TCOD_console_set_color_control(TCOD_colctrl_t con, TCOD_color_t fore, TCOD_color_t back)

Assign a foreground and background color to a color control index.

Parameters:
  • con – Index to change, e.g. TCOD_COLCTRL_1

  • fore – Foreground color to assign to this index.

  • back – Background color to assign to this index.