From 0cfce93e511dcf725b8fb5bc79bc1f8d92f7b2a8 Mon Sep 17 00:00:00 2001 From: Cubic Love <7754483+cubiclove@users.noreply.github.com> Date: Tue, 31 Jan 2023 22:26:38 +0000 Subject: [PATCH] Base+Presenter: Add icons for Presenter Add application and filetype icons for Presenter in 32px and 16px --- Base/etc/FileIconProvider.ini | 1 + Base/res/icons/16x16/app-presenter.png | Bin 0 -> 244 bytes Base/res/icons/16x16/filetype-presenter.png | Bin 0 -> 237 bytes Base/res/icons/32x32/app-presenter.png | Bin 0 -> 405 bytes Base/res/icons/32x32/filetype-presenter.png | Bin 0 -> 318 bytes Userland/Applications/Presenter/CMakeLists.txt | 2 +- .../Applications/Presenter/PresenterWidget.cpp | 2 +- Userland/Applications/Presenter/main.cpp | 2 +- 8 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 Base/res/icons/16x16/app-presenter.png create mode 100644 Base/res/icons/16x16/filetype-presenter.png create mode 100644 Base/res/icons/32x32/app-presenter.png create mode 100644 Base/res/icons/32x32/filetype-presenter.png diff --git a/Base/etc/FileIconProvider.ini b/Base/etc/FileIconProvider.ini index 5cb35f17f77..c9e0eb94a14 100644 --- a/Base/etc/FileIconProvider.ini +++ b/Base/etc/FileIconProvider.ini @@ -24,6 +24,7 @@ object=*.o,*.obj gml=*.gml palette=*.palette pdf=*.pdf +presenter=*.presenter python=*.py ruby=*.rb shell=*.sh,*.bash,*.zsh diff --git a/Base/res/icons/16x16/app-presenter.png b/Base/res/icons/16x16/app-presenter.png new file mode 100644 index 0000000000000000000000000000000000000000..dc72962f6b5c7bf98e2aecbca55d32ba06c60681 GIT binary patch literal 244 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbL!cYsfbE0B(gikfWuY0;uZOO`BI zv0}yAwQDzS+_-h?)?K@H?c2BS(4j-ej~_pM`tlP}A9P}v qz;J;11+xT010w^FaA5oYf%*C!!Jz%?bsht)VDNPHb6Mw<&;$Vd8*1AC literal 0 HcmV?d00001 diff --git a/Base/res/icons/16x16/filetype-presenter.png b/Base/res/icons/16x16/filetype-presenter.png new file mode 100644 index 0000000000000000000000000000000000000000..a8253fb2034f6e1961a2d44e8770913518e36965 GIT binary patch literal 237 zcmeAS@N?(olHy`uVBq!ia0vp^0wB!63?wyl`GbL!M}SX=E06|)sHmuxwwB4ZpO!9N zx@y&`b?eq`-n@Cojvf2wo*J z86u6$rE5Z}jFcjCT5fDwHGA9Z_QF}yOE+gK9zEB8_=K`U=%t%elF{r5}E*vb7|%P literal 0 HcmV?d00001 diff --git a/Base/res/icons/32x32/app-presenter.png b/Base/res/icons/32x32/app-presenter.png new file mode 100644 index 0000000000000000000000000000000000000000..5ba77e88e2a9fd3a02b780542c35e7cf5c94f1f5 GIT binary patch literal 405 zcmV;G0c!qz&pP)yD?f;OF|H;Y!|NpMEehB~o00DGTPE!Ct=GbNc z005FnL_t(I%e~V{5`!QRKv6}>qy{qs%Kfh?S|&x)gBvTK?W+b+i(;oL5CuX~Rc--7 zKwz+dAYhRJEV4r`@nFeh;BY*hFHPHB``i8Te7!$82nrT37{(+Lcz(!Hm60i}( z<(-o!IB|=(STJucPWU|ocZMVqY~AFV(#*^HA5cnbc>?=I859I1(O$px1Qz}#<>bB! QWB>pF07*qoM6N<$f|Ie3&;S4c literal 0 HcmV?d00001 diff --git a/Userland/Applications/Presenter/CMakeLists.txt b/Userland/Applications/Presenter/CMakeLists.txt index 7fd33b82b1c..8add0c3d248 100644 --- a/Userland/Applications/Presenter/CMakeLists.txt +++ b/Userland/Applications/Presenter/CMakeLists.txt @@ -13,5 +13,5 @@ set(SOURCES Slide.cpp SlideObject.cpp ) -serenity_app(Presenter ICON app-display-settings) +serenity_app(Presenter ICON app-presenter) target_link_libraries(Presenter PRIVATE LibWebView LibGUI LibGfx LibFileSystemAccessClient LibCore LibMain) diff --git a/Userland/Applications/Presenter/PresenterWidget.cpp b/Userland/Applications/Presenter/PresenterWidget.cpp index c9cf6e5fc6a..f81d89c9987 100644 --- a/Userland/Applications/Presenter/PresenterWidget.cpp +++ b/Userland/Applications/Presenter/PresenterWidget.cpp @@ -102,7 +102,7 @@ ErrorOr PresenterWidget::initialize_menubar() update_slides_actions(); auto help_menu = TRY(window->try_add_menu("&Help")); - TRY(help_menu->try_add_action(GUI::CommonActions::make_about_action("Presenter", GUI::Icon::default_icon("app-display-settings"sv)))); + TRY(help_menu->try_add_action(GUI::CommonActions::make_about_action("Presenter", GUI::Icon::default_icon("app-presenter"sv)))); return {}; } diff --git a/Userland/Applications/Presenter/main.cpp b/Userland/Applications/Presenter/main.cpp index d97f733c145..226fe51fc00 100644 --- a/Userland/Applications/Presenter/main.cpp +++ b/Userland/Applications/Presenter/main.cpp @@ -26,7 +26,7 @@ ErrorOr serenity_main(Main::Arguments arguments) auto app = TRY(GUI::Application::try_create(arguments)); auto window = TRY(GUI::Window::try_create()); window->set_title("Presenter"); - window->set_icon(GUI::Icon::default_icon("app-display-settings"sv).bitmap_for_size(16)); + window->set_icon(GUI::Icon::default_icon("app-presenter"sv).bitmap_for_size(16)); auto main_widget = TRY(window->set_main_widget()); TRY(main_widget->initialize_menubar()); window->show();