2 #define _SPLITSCREEN_H 1
6 /* A 4x4 split class */
7 class SplitScreen : public GenericScreen {
9 unsigned char *subbufs[4];
10 GenericScreen *subscreens[4];
13 void copy_subscreen(unsigned char *dst, unsigned char *src, unsigned width, unsigned height);
16 SplitScreen(GenericScreen *s1, GenericScreen *s2, GenericScreen *s3, GenericScreen *s4);
17 virtual ~SplitScreen();
19 bool check_invalidated();
20 void draw(unsigned char *buf, unsigned width, unsigned height);
23 #endif /* !defined(_SPLITSCREEN_H) */