libkipr  1.0.0
display.h
Go to the documentation of this file.
1 // Full screen management functions for the display window as implemented on the KIPR LINK controller
2 // display_printf(int column, int row, <printf arguments>)
3 // display_clear()
4 // NOTE: the difference between display_clear and console_clear is that display_clear also clears the display map
5 // Display window size is 10 rows by 42 columns, indexed from 0
6 
7 #ifndef _KIPR_CONSOLE_DISPLAY_H_
8 #define _KIPR_CONSOLE_DISPLAY_H_
9 
10 #include "kipr/export/export.h"
11 
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 //void display_printf(int col, int row, char *t, ...);
17 //void display_clear();
18 
19 EXPORT_SYM void display_clear(); // clears console and sets display map to all spaces
20 
21 EXPORT_SYM void display_printf(int col, int row, const char *t, ...); // runs printf formatting to specified screen location
22 
23 #ifdef __cplusplus
24 }
25 #endif
26 
27 #endif
EXPORT_SYM void display_printf(int col, int row, const char *t,...)
EXPORT_SYM void display_clear()
#define EXPORT_SYM
Definition: export.h:7