aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/UIClass.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/include/UIClass.h b/include/UIClass.h
index e61bf14..9aafbd3 100644
--- a/include/UIClass.h
+++ b/include/UIClass.h
@@ -2,13 +2,18 @@
#define UICLASS_H
#include <common.h>
+#include <cstdarg>
+#include <cstdio>
class UIClass {
- public:
- void init(const char *ttf);
- void setFontSize(unsigned int fs);
- void putText(float x,float y,const char *s);
- void handleEvents();
+private:
+ unsigned int fontSize;
+public:
+ void init(const char *ttf);
+ void setFontSize(unsigned int fs);
+ void putText(const float x,const float y,const char *s,...);
+ void putString(const float x,const float y,const char *s);
+ void handleEvents();
};
#endif // UICLASS_H