mirror of
https://github.com/jscrane/r65emu.git
synced 2025-01-20 06:30:31 +00:00
utftdisplay is not a device on its own
This commit is contained in:
parent
8ff7ef8798
commit
43c7aece2f
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user