aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mglpp/window/Window.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/mglpp/window/Window.hpp b/include/mglpp/window/Window.hpp
index b4975b4..2ba61ff 100644
--- a/include/mglpp/window/Window.hpp
+++ b/include/mglpp/window/Window.hpp
@@ -70,6 +70,10 @@ namespace mgl {
void set_title(const char *title);
// 0 = no fps limit, or limit fps to vsync if vsync is enabled
void set_framerate_limit(unsigned int fps);
+ void set_vsync_enabled(bool enabled);
+ bool is_vsync_enabled() const;
+ void set_fullscreen(bool fullscreen);
+ bool is_fullscreen() const;
void set_key_repeat_enabled(bool enabled);
void set_cursor_visible(bool visible);
vec2i get_size() const;