blob: 62d3e7e5a4b6613abcc88dc6f622af22ce57ed1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef UICLASS_H
#define UICLASS_H
#include <common.h>
#include <cstdarg>
#include <cstdio>
class UIClass {
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();
float mousex, mousey;
};
#endif // UICLASS_H
|