libdragon
Loading...
Searching...
No Matches
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.
 

Functions

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

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:24
#define CONSOLE_WIDTH
The console width in characters.
Definition console.h:69

Macro to move the console up one line.