Let each screen get width and height in as a parameter on draw() instead of hardcodin...
[ccbs] / bigscreen / screen.h
1 #ifndef _SCREEN_H
2 #define _SCREEN_H 1
3
4 #include "resolution.h"
5
6 // arf, Screen conflicts with X11
7 class GenericScreen {
8 protected:
9         GenericScreen();
10
11 public:
12         virtual ~GenericScreen();
13         virtual bool check_invalidated() = 0;
14         virtual void draw(unsigned char *buf, unsigned width, unsigned height) = 0;
15         virtual int get_priority();
16 };
17
18 #endif /* !defined(_SCREEN_H) */