libctru
v2.4.1
|
Console structure used to store the state of a console render context. More...
#include <console.h>
Data Fields | |
ConsoleFont | font |
Font of the console. | |
u16 * | frameBuffer |
Framebuffer address. | |
int | cursorX |
Current X location of the cursor (as a tile offset by default) | |
int | cursorY |
Current Y location of the cursor (as a tile offset by default) | |
int | prevCursorX |
Internal state. | |
int | prevCursorY |
Internal state. | |
int | consoleWidth |
Width of the console hardware layer in characters. | |
int | consoleHeight |
Height of the console hardware layer in characters. | |
int | windowX |
Window X location in characters (not implemented) | |
int | windowY |
Window Y location in characters (not implemented) | |
int | windowWidth |
Window width in characters (not implemented) | |
int | windowHeight |
Window height in characters (not implemented) | |
int | tabSize |
Size of a tab. | |
u16 | fg |
Foreground color. | |
u16 | bg |
Background color. | |
int | flags |
Reverse/bright flags. | |
ConsolePrint | PrintChar |
Callback for printing a character. Should return true if it has handled rendering the graphics (else the print engine will attempt to render via tiles). | |
bool | consoleInitialised |
True if the console is initialized. | |
Console structure used to store the state of a console render context.
Default values from consoleGetDefault();