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 5cb35f17f7..c9e0eb94a1 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!ia0y~yU=RRd4rT@h1`S>QU7l&F+@U=^XY84a1l6;0gds|JqQeEp7K(Ejy0j~N&k7(8A5T-G@yGywqo C8*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!ia0y~yU=RRd4rT@h1`S>QUb5f&A`CGSQ6wH%;50sMj8VHL$IfdV~E7%)_zaE1_c2YcA4*Y zmwo+je>Fp-k-2nDNR^RNWKPSCO{->ad);0*YkKMCOvR(;`VXH_b_l(+GrS>S)o0d* o)jztIC>-kj(e+$RP2vCQIV#&Z0&Q-}J_0%0)78&qol`;+0E}~K<^TWy 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 zcmeAS@N?(olHy`uVBq!ia0y~yU{C;I4rT@h2A3sW#~2tG8UuVnTp1V`)YR0B7-mLA zMNPK-G>@TT(V|6*7cXAAbm@u}D^{&qwPwwl_3PJf+_-V`=FQu-ZQHS9$F5zw_U_%g zfB*hNhYlS%a^&dIqbE+BIDPu`nKNh3pFe-`;>9ahu3Woz?Z%B8Hye3x-@bkK?%n(M z?>~I_@bTlv&z?Q|bdmQr*TKJU-~OL4;s42#*{eLJGcYhPmIV0)GdMiEk;cHlaLCie zF~s8Z(@EF)4lD4uYEF5#*Zd{Z_W%DIw>ol`Fs%A@<8y;cO-U}3PfEg~n_1<%_Wnz- zkn&%)`DfD3sQhia|1PwccW$~i*G?9-yzdqf?u?6Any&pacg%KmyZb4ULA~G{^I{Klq3>d5Md%Pk>(IgAn!!aSQkyY)?sQ$n`oflwaA@D*T7X>*m@Z!-a>= zJ6M0#E8sqx{z64yzmDgBM>UoS90$y=&lP!Oq4-%Penlsn_a||tX`LS~Gk=@mdvsdG S$vg%I1_n=8KbLh*2~7Zkh{gB- literal 0 HcmV?d00001 diff --git a/Base/res/icons/32x32/filetype-presenter.png b/Base/res/icons/32x32/filetype-presenter.png new file mode 100644 index 0000000000000000000000000000000000000000..f97b4fc2a4c661f5d7d26686a131bbc86d9c227a GIT binary patch literal 318 zcmeAS@N?(olHy`uVBq!ia0y~yU{C;I4rT@h2A3sW#~2tGq5^zETp7S1Dk`d_t!1+9 zr$vhvEnT{F#flYc)~wmEVZ)X!TXyW&v3Kv@g9i^DJ$m%m@na`Xo;-8r%*BfruU@@+ z^XARFcke!Y`0(k|r$5$-{pLFO_wC#N6DIsWdGi1N|LeBYaWXJ4FqQ=Q1v5B2yOGAg zz%a?v#WBR<^xn&!Ld^;S4uP&Gm#`T#pZdFAGfK_%a7@ zIyoe4Xi!L)$f&c)S?^=Q$&?2LHgolTZ^!<={r6+dUVBRpE-?d%V=6)wulHX(;1+mY zXoKL9r*kK(TNHNhh%m_4^ZQ}TT;8T4lympVtV?H3|B?^z%C2Pk?J6n4qIxlI|5p~V We`-&k?BhxSg@dQ7pUXO@geCx!v5?RJ literal 0 HcmV?d00001 diff --git a/Userland/Applications/Presenter/CMakeLists.txt b/Userland/Applications/Presenter/CMakeLists.txt index 7fd33b82b1..8add0c3d24 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 c9cf6e5fc6..f81d89c998 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 d97f733c14..226fe51fc0 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();