Function TCOD_console_print_frame¶
Defined in File console_printing.h
Function Documentation¶
-
void TCOD_console_print_frame(TCOD_console_t con, int x, int y, int w, int h, bool empty, TCOD_bkgnd_flag_t flag, const char *fmt, ...)
Print a titled, framed region on a console, using default colors and alignment.
This function makes assumptions about the fonts character encoding and may draw garbage with some tilesets.
Deprecated since version 1.19: This function is not using Unicode frame characters and has been deprecated.
- Parameters
con – A console pointer.
x – The starting X coordinate, the left-most position being 0.
y – The starting Y coordinate, the top-most position being 0.
w – The width of the frame.
h – The height of the frame.
empty – If true the characters inside of the frame will be cleared with spaces.
flag – The blending flag.
fmt – A format string as if passed to printf.
... – Variadic arguments as if passed to printf.