aboutsummaryrefslogtreecommitdiffstats
path: root/include/UIClass.h
diff options
context:
space:
mode:
authorAndy Belle-Isle <abelleisle@roadrunner.com>2015-09-16 11:55:17 -0400
committerAndy Belle-Isle <abelleisle@roadrunner.com>2015-09-16 11:55:17 -0400
commit76ae330e93cfdc09826beee41970772cbd0486ea (patch)
tree575136faa33e36f897f95c824df7a63993e802e9 /include/UIClass.h
parent82d5e77a3fa4f3f9cc3145969d99ba8326af9892 (diff)
parentd034b1e36b49336b9a927aee395930e446110de2 (diff)
hi
Diffstat (limited to 'include/UIClass.h')
-rw-r--r--include/UIClass.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/include/UIClass.h b/include/UIClass.h
index 9bf301c..867044e 100644
--- a/include/UIClass.h
+++ b/include/UIClass.h
@@ -5,18 +5,14 @@
#include <cstdarg>
#include <cstdio>
-class UIClass {
-private:
- unsigned int fontSize;
-public:
+namespace ui {
+ extern int mousex,mousey;
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 msgBox(const char *str,...);
void handleEvents();
- int mousex, mousey;
- bool debug = false;
};
#endif // UICLASS_H