1 #ifndef BLOBS_APP_INIT_HPP_
2 #define BLOBS_APP_INIT_HPP_
4 #include "../graphics/Viewport.hpp"
20 InitSDL(const InitSDL &) = delete;
21 InitSDL &operator =(const InitSDL &) = delete;
32 InitVideo(const InitVideo &) = delete;
33 InitVideo &operator =(const InitVideo &) = delete;
44 InitIMG(const InitIMG &) = delete;
45 InitIMG &operator =(const InitIMG &) = delete;
56 InitNet(const InitNet &) = delete;
57 InitNet &operator =(const InitNet &) = delete;
68 InitTTF(const InitTTF &) = delete;
69 InitTTF &operator =(const InitTTF &) = delete;
80 InitAL(const InitAL &) = delete;
81 InitAL &operator =(const InitAL &) = delete;
89 explicit InitGL(bool double_buffer = true, int sample_size = 1);
91 InitGL(const InitGL &) = delete;
92 InitGL &operator =(const InitGL &) = delete;
100 Window(int w, int h);
103 Window(const Window &) = delete;
104 Window &operator =(const Window &) = delete;
112 SDL_Window *Handle() { return handle; }
125 explicit GLContext(SDL_Window *);
128 GLContext(const GLContext &) = delete;
129 GLContext &operator =(const GLContext &) = delete;
142 InitGLEW(const InitGLEW &) = delete;
143 InitGLEW &operator =(const InitGLEW &) = delete;
150 Init(bool double_buffer = true, int sample_size = 1);
152 InitVideo init_video;
160 graphics::Viewport viewport;