]> git.sesse.net Git - ccbs/blobdiff - bigscreen/rotatescreen.h
Shape text using Pango and HarfBuzz; gives us nice ligatures and exotic scripts.
[ccbs] / bigscreen / rotatescreen.h
index 6a5c35f70b7031e82270463defae10da707cbc41..64999123a2b044c9a8f2a97b08a7f111a5d3c009 100644 (file)
@@ -11,7 +11,7 @@
  * one at a time). :-)
  */
 struct Subscreen {
-       unsigned char *buf;
+       unsigned char *redbuf, *buf;
        GenericScreen *screen;
 };
 
@@ -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);