Base+Presenter: Add icons for Presenter

Add application and filetype icons for Presenter in 32px and 16px
This commit is contained in:
Cubic Love 2023-01-31 22:26:38 +00:00 committed by Andreas Kling
parent 38b0b32bb4
commit 0cfce93e51
8 changed files with 4 additions and 3 deletions

View file

@ -24,6 +24,7 @@ object=*.o,*.obj
gml=*.gml
palette=*.palette
pdf=*.pdf
presenter=*.presenter
python=*.py
ruby=*.rb
shell=*.sh,*.bash,*.zsh

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 405 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

View file

@ -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)

View file

@ -102,7 +102,7 @@ ErrorOr<void> 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 {};
}

View file

@ -26,7 +26,7 @@ ErrorOr<int> 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<PresenterWidget>());
TRY(main_widget->initialize_menubar());
window->show();