]> git.localhorst.tv Git - tacos.git/blob - src/graphics/window.hpp
basic floor idea
[tacos.git] / src / graphics / window.hpp
1 #ifndef TACOS_GRAPHICS_WINDOW_HPP_
2 #define TACOS_GRAPHICS_WINDOW_HPP_
3
4 #include <SDL.h>
5
6
7 namespace tacos {
8
9 class Window {
10
11 public:
12         Window(int width, int height);
13         ~Window() noexcept;
14
15         Window(const Window &) = delete;
16         Window &operator =(const Window &) = delete;
17
18         void Flip() noexcept;
19
20 private:
21         SDL_Window *window;
22         SDL_GLContext context;
23
24 };
25
26 }
27
28 #endif