aboutsummaryrefslogtreecommitdiffstats
path: root/include/UIClass.h
diff options
context:
space:
mode:
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