libdragon
Loading...
Searching...
No Matches
include
console.h
Go to the documentation of this file.
1
7
#ifndef __LIBDRAGON_CONSOLE_H
8
#define __LIBDRAGON_CONSOLE_H
9
10
#include <stdbool.h>
11
#include "
display.h
"
12
50
#define RENDER_MANUAL 0
56
#define RENDER_AUTOMATIC 1
69
#define CONSOLE_WIDTH 64
75
#define CONSOLE_HEIGHT 28
83
#define TAB_WIDTH 4
84
90
#define HORIZONTAL_PADDING 64
91
95
#define VERTICAL_PADDING 8
96
97
#ifdef __cplusplus
98
extern
"C"
{
99
#endif
100
107
void
console_init
();
108
115
void
console_close
();
116
128
void
console_set_debug
(
bool
debug);
129
143
void
console_set_render_mode
(
int
mode);
144
150
void
console_clear
();
151
163
void
console_render
();
164
165
#ifdef __cplusplus
166
}
167
#endif
168
/* console */
170
171
#endif
display.h
Display Subsystem.
console_render
void console_render()
Render the console.
Definition
console.c:238
console_close
void console_close()
Close the console.
Definition
console.c:156
console_init
void console_init()
Initialize the console.
Definition
console.c:136
console_set_render_mode
void console_set_render_mode(int mode)
Set the console rendering mode.
Definition
console.c:36
console_clear
void console_clear()
Clear the console.
Definition
console.c:170
console_set_debug
void console_set_debug(bool debug)
Send console output to debug channel.
Definition
console.c:247
Generated on Fri Dec 13 2024 14:13:12 for libdragon by
1.9.8