diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mglpp/graphics/Sprite.hpp | 1 | ||||
-rw-r--r-- | include/mglpp/window/Window.hpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/mglpp/graphics/Sprite.hpp b/include/mglpp/graphics/Sprite.hpp index 21b2a41..67f7cad 100644 --- a/include/mglpp/graphics/Sprite.hpp +++ b/include/mglpp/graphics/Sprite.hpp @@ -25,6 +25,7 @@ namespace mgl { void set_scale(vec2f scale); void set_scale(float scale); void set_size(vec2f size); + void set_height(float height); void set_rotation(float degrees); void set_origin(vec2f origin); diff --git a/include/mglpp/window/Window.hpp b/include/mglpp/window/Window.hpp index 7fa1117..08cd435 100644 --- a/include/mglpp/window/Window.hpp +++ b/include/mglpp/window/Window.hpp @@ -45,6 +45,7 @@ namespace mgl { bool hidden = false; bool override_redirect = false; bool support_alpha = false; /* support alpha for the window */ + bool hide_decorations = false; /* this is a hint, it may be ignored by the window manager */ Color background_color = {0, 0, 0, 0}; const char *class_name = nullptr; mgl_window_type window_type = MGL_WINDOW_TYPE_NORMAL; |