libdragon
Macros | Functions
console.h File Reference

Console Support. More...

Go to the source code of this file.

Macros

#define TAB_WIDTH   4
 Tab width. More...
 
#define HORIZONTAL_PADDING   64
 Padding from the left and right ends of the screen in pixels. More...
 
#define VERTICAL_PADDING   8
 Padding from the top and bottom ends of the screen in pixels.
 
Console Render Modes

Modes for rendering the console to the screen

#define RENDER_MANUAL   0
 Manual Rendering. More...
 
#define RENDER_AUTOMATIC   1
 Automatic Rendering. More...
 
Console Dimensions
#define CONSOLE_WIDTH   64
 The console width in characters. More...
 
#define CONSOLE_HEIGHT   28
 The console height in characters. More...
 

Functions

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

Detailed Description

Console Support.