#include "rendercontrol.hh"
#include <stdio.h>
+#include <X11/Xlib.h>
int main(int argc, char **argv)
{
otk::RenderControl *rc = otk::RenderControl::getRenderControl(0);
rc->render(&foo);
-
+ XSetWindowBackgroundPixmap(**otk::display, foo.window(), foo.pixmap());
+ XClearWindow(**otk::display, foo.window());
+
app.run();
delete rc;
virtual const Point& size() const { return _size; }
virtual int width() const { return _size.x(); }
virtual int height() const { return _size.y(); }
+ virtual Pixmap pixmap() const { return _pm; } // TEMP
friend class TrueRenderControl;
};