Maps: Add Application Icons
Add 16px and 32px application icons for Maps
This commit is contained in:
parent
bc5b7aeffb
commit
8eb10b135d
Notes:
sideshowbarker
2024-07-18 00:54:03 +09:00
Author: https://github.com/cubiclove Commit: https://github.com/SerenityOS/serenity/commit/8eb10b135d Pull-request: https://github.com/SerenityOS/serenity/pull/20952 Reviewed-by: https://github.com/gmta ✅
4 changed files with 2 additions and 2 deletions
BIN
Base/res/icons/16x16/app-maps.png
Normal file
BIN
Base/res/icons/16x16/app-maps.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 455 B |
BIN
Base/res/icons/32x32/app-maps.png
Normal file
BIN
Base/res/icons/32x32/app-maps.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
|
@ -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)
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue