aboutsummaryrefslogtreecommitdiffstats
path: root/include/window.hpp
diff options
context:
space:
mode:
authorladevieq <ladevie.quentin@gmail.com>2021-01-10 19:51:03 +0100
committerladevieq <ladevie.quentin@gmail.com>2021-01-10 19:51:03 +0100
commit94c1b2d414055f9a4ea203fb210666aa769d0096 (patch)
tree5bc7e359ba63c1137f5aa276fee1219924e7a0f9 /include/window.hpp
parent78302e1982c1b7b727c95603611b19913f5c13d0 (diff)
Create xcb surface and swapchain
Diffstat (limited to 'include/window.hpp')
-rw-r--r--include/window.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/window.hpp b/include/window.hpp
index 593c6f8..8ddb58d 100644
--- a/include/window.hpp
+++ b/include/window.hpp
@@ -5,11 +5,13 @@
class window {
public:
- window();
+ window(uint32_t width, uint32_t height);
- private:
xcb_connection_t* connection;
xcb_window_t win;
+
+ uint32_t width;
+ uint32_t height;
};
#endif // !__WINDOW_HPP_