libdragon
Macros | Functions
console.c File Reference

Console Support. More...

Macros

#define CONSOLE_SIZE   ((sizeof(char) * CONSOLE_WIDTH * CONSOLE_HEIGHT) + sizeof(char))
 Size of the console buffer in bytes.
 
#define move_buffer()
 Macro to move the console up one line. More...
 

Functions

void console_set_render_mode (int mode)
 Set the console rendering mode. More...
 
void console_init ()
 Initialize the console. More...
 
void console_close ()
 Close the console. More...
 
void console_clear ()
 Clear the console. More...
 
void console_render ()
 Render the console. More...
 
void console_set_debug (bool debug)
 Send console output to debug channel. More...
 

Detailed Description

Console Support.

Macro Definition Documentation

◆ move_buffer

#define move_buffer ( )
Value:
memmove(render_buffer, render_buffer + (sizeof(char) * CONSOLE_WIDTH), CONSOLE_SIZE - (CONSOLE_WIDTH * sizeof(char))); \
pos -= CONSOLE_WIDTH;
#define CONSOLE_SIZE
Size of the console buffer in bytes.
Definition: console.c:21
#define CONSOLE_WIDTH
The console width in characters.
Definition: console.h:69

Macro to move the console up one line.