From 43c7aece2f71687a62b34137e2d9a719701cd1ec Mon Sep 17 00:00:00 2001 From: Stephen Crane Date: Mon, 17 Nov 2014 15:08:43 +0000 Subject: [PATCH] utftdisplay is not a device on its own --- utftdisplay.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/utftdisplay.h b/utftdisplay.h index 9a8e541..fd6bbbb 100644 --- a/utftdisplay.h +++ b/utftdisplay.h @@ -1,21 +1,14 @@ #ifndef __UTFT_DISPLAY_H__ #define __UTFT_DISPLAY_H__ -class Stream; - -class UTFTDisplay: public Memory::Device { +class UTFTDisplay { public: void begin(unsigned bg, unsigned fg); void clear(); void error(char *); void status(const char *); - virtual void checkpoint(Stream &s) = 0; - virtual void restore(Stream &s) = 0; - protected: - UTFTDisplay(unsigned size): Memory::Device(size) {} - unsigned _bg, _fg, _cx, _cy, _dx, _dy, _oxs; };