< index
< 2. Console emulator
< 2.2 Drawing on the root console

=====================================
Reading the default foreground color
=====================================

C++ : TCODColor TCODConsole::getForegroundColor() const
C   : TCOD_color_t TCOD_console_get_foreground_color(TCOD_console_t con)
Py  : console_get_foreground_color(con)

This function returns the default foreground color of a console.
ParameterDescription
conIn the C version, the offscreen console handler or NULL for the root console.
insert a comment