X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgbase%2Fdrawcontext.h;h=1411294072bbe0625d63d63ff97b1b5114827436;hb=39ec5cd588bf8b49717033d841be689df68537a3;hp=b21ac3cde57714bbdc8c05d75bf594a718ff808f;hpb=9164e74de9dc17c74ee9f3cea21c4d247a3835d9;p=libs%2Fgui.git diff --git a/source/gbase/drawcontext.h b/source/gbase/drawcontext.h index b21ac3c..1411294 100644 --- a/source/gbase/drawcontext.h +++ b/source/gbase/drawcontext.h @@ -1,18 +1,13 @@ /* $Id$ This file is part of libmspgbase -Copyright © 2007 Mikko Rasa, Mikkosoft Productions +Copyright © 2008 Mikko Rasa, Mikkosoft Productions Distributed under the LGPL */ #ifndef MSP_GBASE_DRAWCONTEXT_H_ #define MSP_GBASE_DRAWCONTEXT_H_ -#ifndef WIN32 -#include -#include -#endif - namespace Msp { namespace Graphics { @@ -22,13 +17,11 @@ class Window; class DrawContext { private: + struct Private; + Display &display; Window &window; -#ifndef WIN32 - XImage *image; - bool use_shm; - XShmSegmentInfo shminfo; -#endif + Private *priv; public: DrawContext(Window &);