]> git.tdb.fi Git - libs/gui.git/blobdiff - source/gbase/glcontext.h
Consistently label the graphics part as graphics
[libs/gui.git] / source / gbase / glcontext.h
diff --git a/source/gbase/glcontext.h b/source/gbase/glcontext.h
deleted file mode 100644 (file)
index dfac328..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-#ifndef MSP_GBASE_GLCONTEXT_H_
-#define MSP_GBASE_GLCONTEXT_H_
-
-#include <stdexcept>
-
-namespace Msp {
-namespace Graphics {
-
-class Display;
-class Window;
-
-struct GLOptions
-{
-       bool alpha;
-       bool stencil;
-       bool doublebuffer;
-       unsigned multisample;
-
-       GLOptions();
-};
-
-
-class unsupported_gl_mode: public std::runtime_error
-{
-public:
-       unsupported_gl_mode(const GLOptions &);
-       virtual ~unsupported_gl_mode() throw () { }
-};
-
-
-class GLContext
-{
-private:
-       struct Private;
-
-       Display &display;
-       Window &window;
-       Private *priv;
-
-public:
-       GLContext(Window &wnd, const GLOptions &opts = GLOptions());
-       ~GLContext();
-
-       void swap_buffers();
-private:
-       void window_resized(unsigned, unsigned);
-};
-
-} // namespace Graphics
-} // namespace Msp
-
-#endif