};
+class InitIMG {
+
+public:
+ InitIMG();
+ ~InitIMG();
+
+ InitIMG(const InitIMG &) = delete;
+ InitIMG &operator =(const InitIMG &) = delete;
+
+};
+
+
class InitGL {
public:
InitGL();
- ~InitGL();
InitGL(const InitGL &) = delete;
InitGL &operator =(const InitGL &) = delete;
Window(const Window &) = delete;
Window &operator =(const Window &) = delete;
+ void GrabInput();
+ void ReleaseInput();
+
+ void GrabMouse();
+ void ReleaseMouse();
+
GLContext CreateContext();
void Flip();
GLContext &operator =(const GLContext &) = delete;
static void EnableVSync();
+ static void EnableDepthTest();
+ static void EnableBackfaceCulling();
+
+ static void Clear();
private:
SDL_GLContext handle;
public:
InitGLEW();
- ~InitGLEW();
InitGLEW(const InitGLEW &) = delete;
InitGLEW &operator =(const InitGLEW &) = delete;