mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 07:38:10 +00:00
HackStudio: Put the console terminal wrapper in a GTabWidget
This will make it straightforward to add more things at this level.
This commit is contained in:
parent
b916e34fed
commit
5f5f837ec5
1 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue