From 03598062fd259aa7198e65a56a157822b0720bc7 Mon Sep 17 00:00:00 2001 From: Raul Santos Date: Sun, 25 Jun 2023 02:30:07 +0200 Subject: C#: Move build button to EditorRunBar - Move C# build button to `EditorRunBar`. - Add C# build icon. - Add shortcut macros to `GodotTools`. - Move C# build shortcuts to C#. --- editor/gui/editor_run_bar.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'editor/gui/editor_run_bar.cpp') diff --git a/editor/gui/editor_run_bar.cpp b/editor/gui/editor_run_bar.cpp index c226c1a2d6..e144d1d10d 100644 --- a/editor/gui/editor_run_bar.cpp +++ b/editor/gui/editor_run_bar.cpp @@ -348,6 +348,10 @@ bool EditorRunBar::is_movie_maker_enabled() const { return write_movie_button->is_pressed(); } +HBoxContainer *EditorRunBar::get_buttons_container() { + return main_hbox; +} + void EditorRunBar::_bind_methods() { ADD_SIGNAL(MethodInfo("play_pressed")); ADD_SIGNAL(MethodInfo("stop_pressed")); @@ -359,7 +363,7 @@ EditorRunBar::EditorRunBar() { main_panel = memnew(PanelContainer); add_child(main_panel); - HBoxContainer *main_hbox = memnew(HBoxContainer); + main_hbox = memnew(HBoxContainer); main_panel->add_child(main_hbox); play_button = memnew(Button); -- cgit v1.2.3