mirror of
https://github.com/jscrane/r65emu.git
synced 2024-11-19 11:31:16 +00:00
19 lines
319 B
C++
19 lines
319 B
C++
#ifndef __UTFT_DISPLAY_H__
|
|
#define __UTFT_DISPLAY_H__
|
|
|
|
#define PORTRAIT 0
|
|
#define LANDSCAPE 1
|
|
|
|
class UTFTDisplay {
|
|
public:
|
|
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
|