diff options
author | Ray Koopa <raykoopa@users.noreply.github.com> | 2017-03-02 22:43:56 +0100 |
---|---|---|
committer | Ray Koopa <raykoopa@users.noreply.github.com> | 2017-03-03 18:45:53 +0100 |
commit | 7623fd10bf10086f0b2b90bc6ceaa7e32279e645 (patch) | |
tree | 04c17c3b996e8b5f8a564aaa0a9eb5129a3aad84 /scene/gui/popup.h | |
parent | 74eace2b14b337e23d0dc552f3bc3e60f1710f65 (diff) |
Make Editor, Export and Project settings dialogs resizable and store their bounds
Diffstat (limited to 'scene/gui/popup.h')
-rw-r--r-- | scene/gui/popup.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/popup.h b/scene/gui/popup.h index 17ae4a938a..4e4c8b0292 100644 --- a/scene/gui/popup.h +++ b/scene/gui/popup.h @@ -47,7 +47,7 @@ protected: void _gui_input(InputEvent p_event); void _notification(int p_what); - void _fix_size(); + virtual void _fix_size(); static void _bind_methods(); public: @@ -63,7 +63,7 @@ public: void popup_centered(const Size2& p_size=Size2()); void popup_centered_minsize(const Size2& p_minsize=Size2()); void set_as_minsize(); - virtual void popup(); + virtual void popup(const Rect2& p_bounds=Rect2()); virtual String get_configuration_warning() const; |