libtui
|
The magical part that handles the libtui_buffer and screen. More...
#include <stdlib.h>
Go to the source code of this file.
Data Structures | |
struct | libtui_renderer |
Struct that holds data used by therendering module. More... | |
Enumerations | |
enum | LIBTUI_RENDERER_ERR { RENDERER_ERROR_OK = 0 , RENDERER_ERROR_MALLOC_FAILED , RENDERER_ERROR_NULL_RENDERER , RENDERER_ERROR_COUNT } |
Functions | |
const char * | libtui_renderer_err_str (enum LIBTUI_RENDERER_ERR err) |
This function returns the string that corresponds to the given LIBTUI_RENDERER_ERR. | |
enum LIBTUI_RENDERER_ERR | libtui_renderer_create (size_t width, size_t height, struct libtui_renderer **const renderer_out) |
Creates a new libtui_renderer. | |
enum LIBTUI_RENDERER_ERR | libtui_renderer_render (struct libtui_renderer *const renderer) |
Renders the final buffer to the screen. | |
enum LIBTUI_RENDERER_ERR | libtui_renderer_free (struct libtui_renderer *renderer) |
Frees the renderer completely. | |
The magical part that handles the libtui_buffer and screen.