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);
43 A SimpleWindow bundled with a GLContext.
45 class SimpleGLWindow: public SimpleWindow
51 SimpleGLWindow(unsigned, unsigned, bool =false);
52 GLContext &get_gl_context() { return gl_ctx; }
56 } // namespace Graphics