1 #ifndef _CONSOLE_H 2 #define _CONSOLE_H 3 4 // CHDK console OSD interface 5 6 // Note: used in modules and platform independent code. 7 // Do not add platform dependent stuff in here (#ifdef/#endif compile options or camera dependent values) 8 9 extern void console_close(); 10 extern void console_clear(); 11 extern void console_add_line(const char *str); 12 extern void console_draw(int force_redraw); 13 extern void console_set_layout(int x1, int y1, int x2, int y2); 14 extern void console_redraw(); 15 extern void console_set_autoredraw(int val); 16 17 extern int console_displayed; 18 19 #endif // _CONSOLE_H 20