3 This file is part of libmspgbase
4 Copyright © 2008 Mikko Rasa, Mikkosoft Productions
5 Distributed under the LGPL
8 #ifndef MSP_GBASE_SIMPLEWINDOW_H_
9 #define MSP_GBASE_SIMPLEWINDOW_H_
12 #include "glcontext.h"
19 Helper class for SimpleWindow.
21 class SimpleWindowBase
26 SimpleWindowBase() { }
31 A simplified Window that encapsulates a Display.
33 class SimpleWindow: public SimpleWindowBase, public Window
36 SimpleWindow(unsigned, unsigned, bool =false);
41 A SimpleWindow bundled with a GLContext.
43 class SimpleGLWindow: public SimpleWindow
49 SimpleGLWindow(unsigned, unsigned, bool =false);
50 GLContext &get_gl_context() { return gl_ctx; }
54 } // namespace Graphics