Let each screen get width and height in as a parameter on draw() instead of hardcodin...
[ccbs] / bigscreen / groupscreen.h
index 1bff23f..fb27787 100644 (file)
@@ -26,7 +26,7 @@ public:
        virtual ~GroupScreen();
 
        bool check_invalidated();
-       void draw(unsigned char *buf);
+       void draw(unsigned char *buf, unsigned width, unsigned height);
        int get_priority();
 };