diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-23 09:44:37 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-23 09:44:37 +0200 |
commit | 3a8e711e3383260110c8f6073eb5e240da963c2d (patch) | |
tree | 00ef7b4be14379c4bafe0e519c0bcde676d46c8e /editor/editor_node.h | |
parent | 300ea8602ccfe7f69a994b8f2d81e0dff77ebc58 (diff) | |
parent | 0dab11afa4dca6bba7aba554ec4097de30200f73 (diff) |
Merge pull request #66254 from bruvzg/macos_title
[macOS extend-to-title] Add scene/project name to the editor title, and fix window button placement.
Diffstat (limited to 'editor/editor_node.h')
-rw-r--r-- | editor/editor_node.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/editor/editor_node.h b/editor/editor_node.h index 14dab11358..fab280bc14 100644 --- a/editor/editor_node.h +++ b/editor/editor_node.h @@ -322,6 +322,9 @@ private: HBoxContainer *bottom_hb = nullptr; Control *vp_base = nullptr; + Label *project_title = nullptr; + Control *left_menu_spacer = nullptr; + Control *right_menu_spacer = nullptr; EditorTitleBar *menu_hb = nullptr; VBoxContainer *main_screen_vbox = nullptr; MenuBar *main_menu = nullptr; @@ -397,7 +400,7 @@ private: String current_path; MenuButton *update_spinner = nullptr; - HBoxContainer *main_editor_button_vb = nullptr; + HBoxContainer *main_editor_button_hb = nullptr; Vector<Button *> main_editor_buttons; Vector<EditorPlugin *> editor_table; @@ -560,6 +563,7 @@ private: void _close_messages(); void _show_messages(); void _vp_resized(); + void _titlebar_resized(); void _version_button_pressed(); int _save_external_resources(); |