]> git.localhorst.tv Git - blank.git/blobdiff - src/init.hpp
outline pointed-at block
[blank.git] / src / init.hpp
index 0256d40fcf5ec8df6846551e73d98924eb855b43..d596cbc346f880247a98b8b3ceae9e278acdaa9a 100644 (file)
@@ -21,6 +21,18 @@ public:
 };
 
 
+class InitIMG {
+
+public:
+       InitIMG();
+       ~InitIMG();
+
+       InitIMG(const InitIMG &) = delete;
+       InitIMG &operator =(const InitIMG &) = delete;
+
+};
+
+
 class InitGL {
 
 public:
@@ -42,6 +54,12 @@ public:
        Window(const Window &) = delete;
        Window &operator =(const Window &) = delete;
 
+       void GrabInput();
+       void ReleaseInput();
+
+       void GrabMouse();
+       void ReleaseMouse();
+
        GLContext CreateContext();
 
        void Flip();
@@ -65,6 +83,10 @@ public:
        GLContext &operator =(const GLContext &) = delete;
 
        static void EnableVSync();
+       static void EnableDepthTest();
+       static void EnableBackfaceCulling();
+
+       static void Clear();
 
 private:
        SDL_GLContext handle;