aboutsummaryrefslogtreecommitdiffstats
path: root/include/UIClass.h
blob: ed075514b39a375a91ee377773b282fed4441afa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef UICLASS_H
#define UICLASS_H

#include <common.h>
#include <cstdarg>
#include <cstdio>

namespace ui {
	extern int mousex,mousey;
	extern bool debug;
	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();
};

#endif // UICLASS_H