Let each screen get width and height in as a parameter on draw() instead of hardcodin...
[ccbs] / bigscreen / rotatescreen.h
index 6a5c35f..6f53e24 100644 (file)
@@ -33,7 +33,7 @@ public:
        virtual ~RotateScreen();
 
        bool check_invalidated();
-       void draw(unsigned char *buf);
+       void draw(unsigned char *buf, unsigned width, unsigned height);
 
        void add_screen(GenericScreen *screen);
 //     void remove_screen(GenericScreen *screen);