X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fsurface.hh;h=b027f7961f24346ce0d7933f3e1564af73d8466c;hb=e3eeac5b6eee29009f3417f309a261d43fd39d27;hp=7289b14aaebac8bd7a1c13bc987b51f8dd298eed;hpb=2005c344bdb4b59611972bc37e194d2e14cdf911;p=chaz%2Fopenbox diff --git a/otk/surface.hh b/otk/surface.hh index 7289b14a..b027f796 100644 --- a/otk/surface.hh +++ b/otk/surface.hh @@ -3,6 +3,7 @@ #define __surface_hh #include "point.hh" +#include "truerendercontrol.hh" extern "C" { #include @@ -26,6 +27,9 @@ public: 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; }; }