aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2015-09-14 16:50:45 -0400
committerClyne Sullivan <tullivan99@gmail.com>2015-09-14 16:50:45 -0400
commit78bd3d738a4b1cec8bd4504a36120f5795029e8b (patch)
tree458b761360164f74a826570fa80cb07860c20ae9 /include
parent329c8cb80d29aff078284db227af6c2cb114fc2f (diff)
fixes
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