1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:48:10 +00:00

IRCClient: Add a toolbar with some actions.

This commit is contained in:
Andreas Kling 2019-03-15 23:24:40 +01:00
parent b54ab06595
commit 3a3aa74b2e
13 changed files with 76 additions and 17 deletions

View file

@ -22,7 +22,7 @@ int main(int argc, char** argv)
widget->set_layout(make<GBoxLayout>(Orientation::Vertical));
auto* toolbar = new GToolBar(widget);
auto* text_editor = new GTextEditor(widget);
auto* text_editor = new GTextEditor(GTextEditor::MultiLine, widget);
auto* statusbar = new GStatusBar(widget);
text_editor->on_cursor_change = [statusbar] (GTextEditor& editor) {