diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-10-23 19:52:34 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-10-23 19:52:34 +0200 |
commit | 5f5f837ec5519e38722be2ab588344350e25b46b (patch) | |
tree | fd66fdf88a0b01a5fb5bb9be7f7870faab9c70d6 /DevTools | |
parent | b916e34fed9148cce5cab1f0c1691e0d2c967675 (diff) | |
download | serenity-5f5f837ec5519e38722be2ab588344350e25b46b.zip |
HackStudio: Put the console terminal wrapper in a GTabWidget
This will make it straightforward to add more things at this level.
Diffstat (limited to 'DevTools')
-rw-r--r-- | DevTools/HackStudio/main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/DevTools/HackStudio/main.cpp b/DevTools/HackStudio/main.cpp index 93c3f8d439..1b9fa097e0 100644 --- a/DevTools/HackStudio/main.cpp +++ b/DevTools/HackStudio/main.cpp @@ -12,6 +12,7 @@ #include <LibGUI/GMessageBox.h> #include <LibGUI/GSplitter.h> #include <LibGUI/GStatusBar.h> +#include <LibGUI/GTabWidget.h> #include <LibGUI/GTextEditor.h> #include <LibGUI/GToolBar.h> #include <LibGUI/GWidget.h> @@ -71,7 +72,10 @@ int main(int argc, char** argv) project_list_view->update(); }; - auto terminal_wrapper = TerminalWrapper::construct(inner_splitter); + auto tab_widget = GTabWidget::construct(inner_splitter); + + auto terminal_wrapper = TerminalWrapper::construct(nullptr); + tab_widget->add_widget("Console", terminal_wrapper); auto statusbar = GStatusBar::construct(widget); |