summaryrefslogtreecommitdiffstats
path: root/scene/main/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/main/window.h')
-rw-r--r--scene/main/window.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/scene/main/window.h b/scene/main/window.h
index 0682abc3c7..4ae535848a 100644
--- a/scene/main/window.h
+++ b/scene/main/window.h
@@ -117,6 +117,7 @@ private:
mutable Size2i size = Size2i(DEFAULT_WINDOW_SIZE, DEFAULT_WINDOW_SIZE);
mutable Size2i min_size;
mutable Size2i max_size;
+ mutable Size2i old_size = size;
mutable Vector<Vector2> mpath;
mutable Mode mode = MODE_WINDOWED;
mutable bool flags[FLAG_MAX] = {};
@@ -126,6 +127,7 @@ private:
bool use_font_oversampling = false;
bool transient = false;
+ bool transient_to_focused = false;
bool exclusive = false;
bool wrap_controls = false;
bool updating_child_controls = false;
@@ -300,7 +302,9 @@ public:
bool is_maximize_allowed() const;
void request_attention();
+#ifndef DISABLE_DEPRECATED
void move_to_foreground();
+#endif // DISABLE_DEPRECATED
virtual void set_visible(bool p_visible);
bool is_visible() const;
@@ -313,6 +317,9 @@ public:
void set_transient(bool p_transient);
bool is_transient() const;
+ void set_transient_to_focused(bool p_transient_to_focused);
+ bool is_transient_to_focused() const;
+
void set_exclusive(bool p_exclusive);
bool is_exclusive() const;