From c7f3d72a6ab1b343f3b522e7ff07ceca6f74f7d8 Mon Sep 17 00:00:00 2001 From: Tibor Nagy Date: Mon, 30 Mar 2020 12:26:44 +0200 Subject: HackStudio: Add an upscaled 32x32 icon to the About dialog --- Base/res/icons/32x32/app-hack-studio.png | Bin 0 -> 886 bytes DevTools/HackStudio/main.cpp | 6 ++---- 2 files changed, 2 insertions(+), 4 deletions(-) create mode 100644 Base/res/icons/32x32/app-hack-studio.png diff --git a/Base/res/icons/32x32/app-hack-studio.png b/Base/res/icons/32x32/app-hack-studio.png new file mode 100644 index 0000000000..0d439cf5df Binary files /dev/null and b/Base/res/icons/32x32/app-hack-studio.png differ diff --git a/DevTools/HackStudio/main.cpp b/DevTools/HackStudio/main.cpp index e82a29578c..c02b908f4e 100644 --- a/DevTools/HackStudio/main.cpp +++ b/DevTools/HackStudio/main.cpp @@ -523,17 +523,15 @@ int main(int argc, char** argv) view_menu->add_action(remove_current_editor_action); menubar->add_menu(move(view_menu)); - auto small_icon = Gfx::Bitmap::load_from_file("/res/icons/16x16/app-hack-studio.png"); - auto help_menu = GUI::Menu::construct("Help"); help_menu->add_action(GUI::Action::create("About", [&](auto&) { - GUI::AboutDialog::show("HackStudio", small_icon, g_window); + GUI::AboutDialog::show("HackStudio", Gfx::Bitmap::load_from_file("/res/icons/32x32/app-hack-studio.png"), g_window); })); menubar->add_menu(move(help_menu)); app.set_menubar(move(menubar)); - g_window->set_icon(small_icon); + g_window->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/app-hack-studio.png")); g_window->show(); -- cgit v1.2.3