diff options
| author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2019-06-13 15:31:08 +0300 |
|---|---|---|
| committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2019-06-15 09:49:11 +0300 |
| commit | b924fb97d6fddba818b9ad57722eaf777244e826 (patch) | |
| tree | 393bf83183a7c06ea2fefb2ac3c78026c14f258e /core/bind/core_bind.h | |
| parent | 5ec99dc62f159aea954e2ba64bce69de70662e91 (diff) | |
| download | redot-engine-b924fb97d6fddba818b9ad57722eaf777244e826.tar.gz | |
Add ability to limit maximum/minimum window size.
Diffstat (limited to 'core/bind/core_bind.h')
| -rw-r--r-- | core/bind/core_bind.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/bind/core_bind.h b/core/bind/core_bind.h index 8f74d88be5..2751ff242c 100644 --- a/core/bind/core_bind.h +++ b/core/bind/core_bind.h @@ -175,9 +175,13 @@ public: virtual int get_screen_dpi(int p_screen = -1) const; virtual Point2 get_window_position() const; virtual void set_window_position(const Point2 &p_position); + virtual Size2 get_max_window_size() const; + virtual Size2 get_min_window_size() const; virtual Size2 get_window_size() const; virtual Size2 get_real_window_size() const; virtual Rect2 get_window_safe_area() const; + virtual void set_max_window_size(const Size2 &p_size); + virtual void set_min_window_size(const Size2 &p_size); virtual void set_window_size(const Size2 &p_size); virtual void set_window_fullscreen(bool p_enabled); virtual bool is_window_fullscreen() const; |
