X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=otk%2Fsurface.hh;h=112bb39233f74ba30b50403b69239357e910c8f8;hb=6e2f3f9f8a2b4b83648c9c8b9993d321b3f60a79;hp=d325b3937a59da6c3f93217a9e1e1da53d6cd0c0;hpb=d8d9b42777ace234f3471918e1210062578f8188;p=chaz%2Fopenbox diff --git a/otk/surface.hh b/otk/surface.hh index d325b393..112bb392 100644 --- a/otk/surface.hh +++ b/otk/surface.hh @@ -4,6 +4,7 @@ #include "point.hh" #include "truerendercontrol.hh" +#include "pseudorendercontrol.hh" extern "C" { #include @@ -14,6 +15,7 @@ extern "C" { namespace otk { class ScreenInfo; +class RenderColor; class Surface { int _screen; @@ -26,7 +28,7 @@ protected: void destroyObjects(); void setPixmap(XImage *image); - void setPixmap(const Color &color); + void setPixmap(const RenderColor &color); public: Surface(int screen, const Point &size); @@ -44,6 +46,7 @@ public: // to it. Noone else needs them tho, so they are private. friend class RenderControl; friend class TrueRenderControl; + friend class PseudoRenderControl; }; }