1
0
mirror of https://github.com/jscrane/r65emu.git synced 2024-11-19 11:31:16 +00:00
r65emu/utftdisplay.h

19 lines
319 B
C
Raw Normal View History

2014-11-10 14:16:45 +00:00
#ifndef __UTFT_DISPLAY_H__
#define __UTFT_DISPLAY_H__
2014-11-30 21:17:08 +00:00
#define PORTRAIT 0
#define LANDSCAPE 1
2014-11-17 15:08:43 +00:00
class UTFTDisplay {
public:
2014-11-30 21:17:08 +00:00
void begin(unsigned bg, unsigned fg, int orient = LANDSCAPE);
void clear();
void error(char *);
void status(const char *);
protected:
unsigned _bg, _fg, _cx, _cy, _dx, _dy, _oxs;
};
#endif