1
0
mirror of https://github.com/jscrane/r65emu.git synced 2024-06-23 01:29:45 +00:00

utftdisplay is not a device on its own

This commit is contained in:
Stephen Crane 2014-11-17 15:08:43 +00:00
parent 8ff7ef8798
commit 43c7aece2f

View File

@ -1,21 +1,14 @@
#ifndef __UTFT_DISPLAY_H__ #ifndef __UTFT_DISPLAY_H__
#define __UTFT_DISPLAY_H__ #define __UTFT_DISPLAY_H__
class Stream; class UTFTDisplay {
class UTFTDisplay: public Memory::Device {
public: public:
void begin(unsigned bg, unsigned fg); void begin(unsigned bg, unsigned fg);
void clear(); void clear();
void error(char *); void error(char *);
void status(const char *); void status(const char *);
virtual void checkpoint(Stream &s) = 0;
virtual void restore(Stream &s) = 0;
protected: protected:
UTFTDisplay(unsigned size): Memory::Device(size) {}
unsigned _bg, _fg, _cx, _cy, _dx, _dy, _oxs; unsigned _bg, _fg, _cx, _cy, _dx, _dy, _oxs;
}; };