Let each screen get width and height in as a parameter on draw() instead of hardcodin...
[ccbs] / bigscreen / screen.h
index 37edb56..bf3deba 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef _SCREEN_H
 #define _SCREEN_H 1
 
+#include "resolution.h"
+
 // arf, Screen conflicts with X11
 class GenericScreen {
 protected:
@@ -9,7 +11,8 @@ protected:
 public:
        virtual ~GenericScreen();
        virtual bool check_invalidated() = 0;
-       virtual void draw(unsigned char *buf) = 0;
+       virtual void draw(unsigned char *buf, unsigned width, unsigned height) = 0;
+       virtual int get_priority();
 };
 
 #endif /* !defined(_SCREEN_H) */