]> git.lizzy.rs Git - dragonblocks_alpha.git/blob - src/client/window.h
83b784f70ab2f3b6e354deafd248544ebc5900d9
[dragonblocks_alpha.git] / src / client / window.h
1 #ifndef _WINDOW_H_
2 #define _WINDOW_H_
3
4 #include <GLFW/glfw3.h>
5
6 extern struct Window
7 {
8         GLFWwindow *handle;
9         bool fullscreen;
10         struct
11         {
12                 int x, y;
13                 int width, height;
14         } small_bounds;
15 } window;
16
17 bool window_init(int width, int height);
18 void window_enter_fullscreen();
19 void window_exit_fullscreen();
20
21 #endif