libdragon
|
00001 00007 #ifndef __LIBDRAGON_CONSOLE_H 00008 #define __LIBDRAGON_CONSOLE_H 00009 00010 #include "display.h" 00011 00029 #define RENDER_MANUAL 0 00030 00035 #define RENDER_AUTOMATIC 1 00036 00044 #define CONSOLE_WIDTH 35 00045 00046 #define CONSOLE_HEIGHT 25 00047 00054 #define TAB_WIDTH 5 00055 00056 #ifdef __cplusplus 00057 extern "C" { 00058 #endif 00059 00060 void console_init(); 00061 void console_close(); 00062 void console_set_render_mode(int mode); 00063 void console_clear(); 00064 void console_render(); 00065 00066 #ifdef __cplusplus 00067 } 00068 #endif 00069 /* console */ 00071 00072 #endif