![]() |
libdragon
|
Console Support. More...
Go to the source code of this file.
Macros | |
| #define | TAB_WIDTH 4 |
| Tab width. | |
| #define | HORIZONTAL_PADDING 64 |
| Padding from the left and right ends of the screen in pixels. | |
| #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. | |
| #define | RENDER_AUTOMATIC 1 |
| Automatic Rendering. | |
Console Dimensions | |
| #define | CONSOLE_WIDTH 64 |
| The console width in characters. | |
| #define | CONSOLE_HEIGHT 28 |
| The console height in characters. | |
Functions | |
| void | console_init () |
| Initialize the console. | |
| void | console_close () |
| Close the console. | |
| void | console_set_debug (bool debug) |
| Send console output to debug channel. | |
| void | console_set_render_mode (int mode) |
| Set the console rendering mode. | |
| void | console_clear () |
| Clear the console. | |
| void | console_render () |
| Render the console. | |
Console Support.