MTek-GDL 0.100.4-muffintrap
Loading...
Searching...
No Matches
mgdl-console.h
Go to the documentation of this file.
1#pragma once
2
8enum ConsoleTextColor
9{
10 ConsoleText_Black = 30,
11 ConsoleText_Red,
12 ConsoleText_Green,
13 ConsoleText_Brown,
14 ConsoleText_Blue,
15 ConsoleText_Magenta,
16 ConsoleText_Cyan,
17 ConsoleText_White,
18 ConsoleText_Default = 39
19};
20typedef enum ConsoleTextColor ConsoleTextColor;
21
22// https://www.man7.org/linux/man-pages/man4/console_codes.4.html
23
24#ifdef __cplusplus
25extern "C" {
26#endif
27
28void Console_Print(ConsoleTextColor color, const char* text);
29
30void Console_Printf(ConsoleTextColor color, const char* format, ...);
31
32#ifdef __cplusplus
33}
34#endif