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

=====================================
Reading the fading color
=====================================

C++ : static TCODColor TCODConsole::getFadingColor()
C   : TCOD_color_t TCOD_console_get_fading_color()
Py  : console_get_fading_color()

This function returns the current fading color, previously defined by setFade.
Example :

C++ : TCODColor currentFadingColor = TCODConsole::getFadingColor();
C   : TCOD_color_t current_fading_color = TCOD_console_get_fading_color();
Py  : current_fading_color = libtcod.console_get_fading_color()

insert a comment