3 This file is part of libmspgbase
4 Copyright © 2007 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef MSP_GBASE_DRAWCONTEXT_H_
9 #define MSP_GBASE_DRAWCONTEXT_H_
13 #include <X11/extensions/XShm.h>
30 XShmSegmentInfo shminfo;
34 DrawContext(Window &);
37 Window &get_window() const { return window; }
38 unsigned get_depth() const;
39 unsigned char *get_data();
43 } // namespace Graphics