Let each screen get width and height in as a parameter on draw() instead of hardcodin...
[ccbs] / bigscreen / screen.h
index e519279..bf3deba 100644 (file)
@@ -11,7 +11,7 @@ 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();
 };