mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 08:56:40 +00:00
Maps: Add Application Icons
Add 16px and 32px application icons for Maps
This commit is contained in:
parent
bc5b7aeffb
commit
8eb10b135d
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…
Reference in a new issue