diff options
Diffstat (limited to 'include/ui.h')
-rw-r--r-- | include/ui.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/include/ui.h b/include/ui.h new file mode 100644 index 0000000..2077837 --- /dev/null +++ b/include/ui.h @@ -0,0 +1,18 @@ +#ifndef UI_H +#define UI_H + +#include <common.h> +#include <cstdarg> + +namespace ui { + void initFonts(void); + void setFontFace(const char *ttf); + void setFontSize(unsigned int size); + + void putString(const float x,const float y,const char *s); + void putText(const float x,const float y,const char *str,...); + + void handleEvents(void); +} + +#endif // UI_H |