Maps: Add Application Icons

Add 16px and 32px application icons for Maps
This commit is contained in:
Cubic Love 2023-09-04 23:56:50 +01:00 committed by Jelle Raaijmakers
parent bc5b7aeffb
commit 8eb10b135d
4 changed files with 2 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 455 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View file

@ -9,5 +9,5 @@ set(SOURCES
MapWidget.cpp
)
serenity_app(Maps ICON app-hello-world) # FIXME: Create Maps icon
serenity_app(Maps ICON app-maps)
target_link_libraries(Maps PRIVATE LibConfig LibCore LibDesktop LibGfx LibGUI LibMain LibProtocol)

View file

@ -15,7 +15,7 @@
ErrorOr<int> serenity_main(Main::Arguments arguments)
{
auto app = TRY(GUI::Application::create(arguments));
auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-hello-world"sv)); // FIXME: Create Maps icon
auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-maps"sv));
auto window = TRY(GUI::Window::try_create());
window->set_title("Maps");
window->set_icon(app_icon.bitmap_for_size(16));