diff --git a/Applications/IRCClient/IRCAppWindow.cpp b/Applications/IRCClient/IRCAppWindow.cpp index 0595e7de45..01ee8d101d 100644 --- a/Applications/IRCClient/IRCAppWindow.cpp +++ b/Applications/IRCClient/IRCAppWindow.cpp @@ -59,9 +59,26 @@ void IRCAppWindow::setup_widgets() printf("FIXME: Implement part action\n"); }); + auto whois_action = GAction::create("Whois user", GraphicsBitmap::load_from_file(GraphicsBitmap::Format::RGBA32, "/res/icons/16x16/irc-whois.rgb", { 16, 16 }), [] (auto&) { + printf("FIXME: Implement whois action\n"); + }); + + auto open_query_action = GAction::create("Open query", GraphicsBitmap::load_from_file(GraphicsBitmap::Format::RGBA32, "/res/icons/16x16/irc-open-query.rgb", { 16, 16 }), [] (auto&) { + printf("FIXME: Implement open-query action\n"); + }); + + auto close_query_action = GAction::create("Close query", GraphicsBitmap::load_from_file(GraphicsBitmap::Format::RGBA32, "/res/icons/16x16/irc-close-query.rgb", { 16, 16 }), [] (auto&) { + printf("FIXME: Implement close-query action\n"); + }); + auto* toolbar = new GToolBar(widget); toolbar->add_action(join_action.copy_ref()); toolbar->add_action(part_action.copy_ref()); + toolbar->add_separator(); + toolbar->add_action(whois_action.copy_ref()); + toolbar->add_action(open_query_action.copy_ref()); + toolbar->add_action(close_query_action.copy_ref()); + auto* horizontal_container = new GWidget(widget); printf("horizontal_widget: %s{%p}\n", horizontal_container->class_name(), horizontal_container); diff --git a/Base/res/icons/16x16/irc-close-query.png b/Base/res/icons/16x16/irc-close-query.png new file mode 100644 index 0000000000..6fdce401d7 Binary files /dev/null and b/Base/res/icons/16x16/irc-close-query.png differ diff --git a/Base/res/icons/16x16/irc-close-query.rgb b/Base/res/icons/16x16/irc-close-query.rgb new file mode 100644 index 0000000000..52cc84fb33 Binary files /dev/null and b/Base/res/icons/16x16/irc-close-query.rgb differ diff --git a/Base/res/icons/16x16/irc-open-query.png b/Base/res/icons/16x16/irc-open-query.png new file mode 100644 index 0000000000..d0d7a6af54 Binary files /dev/null and b/Base/res/icons/16x16/irc-open-query.png differ diff --git a/Base/res/icons/16x16/irc-open-query.rgb b/Base/res/icons/16x16/irc-open-query.rgb new file mode 100644 index 0000000000..fcef05192c Binary files /dev/null and b/Base/res/icons/16x16/irc-open-query.rgb differ diff --git a/Base/res/icons/16x16/irc-whois.png b/Base/res/icons/16x16/irc-whois.png new file mode 100644 index 0000000000..53019fd4bd Binary files /dev/null and b/Base/res/icons/16x16/irc-whois.png differ diff --git a/Base/res/icons/16x16/irc-whois.rgb b/Base/res/icons/16x16/irc-whois.rgb new file mode 100644 index 0000000000..9ebbd5dfe5 Binary files /dev/null and b/Base/res/icons/16x16/irc-whois.rgb differ