libtui
|
The group of functions that provide a nice interface for the client to draw to screen. More...
#include <stdlib.h>
Go to the source code of this file.
Enumerations | |
enum | LIBTUI_DRAW_ERR { DRAW_ERROR_OK = 0 , DRAW_ERROR_NULL_RENDERER , DRAW_ERROR_INVALID_DIMENSIONS , DRAW_ERROR_COUNT } |
Error Codes For Draw Module. More... | |
Functions | |
const char * | libtui_draw_err_str (enum LIBTUI_DRAW_ERR err) |
This function returns the string that corresponds to the given LIBTUI_DRAW_ERR. | |
enum LIBTUI_DRAW_ERR | libtui_draw_clear_with_char (struct libtui_renderer *const renderer, const char c) |
Clears the screen with the specified char. | |
enum LIBTUI_DRAW_ERR | libtui_draw_clear (struct libtui_renderer *const renderer) |
Clears the screen. | |
enum LIBTUI_DRAW_ERR | libtui_draw_single_char (struct libtui_renderer *const renderer, const char c, size_t x, size_t y) |
Draws a single char at the specified (x, y). | |
The group of functions that provide a nice interface for the client to draw to screen.