Function TCOD_console_get_char_foreground¶
Defined in File console.h
Function Documentation¶
-
TCOD_color_t TCOD_console_get_char_foreground(const TCOD_Console *con, int x, int y)
Return the foreground color of a console at x,y.
- Parameters
con – A console pointer.
x – The X coordinate, the left-most position being 0.
y – The Y coordinate, the top-most position being 0.
- Returns
A TCOD_color_t struct with a copy of the foreground color.