mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:57:44 +00:00
Maps: Add Application Icons
Add 16px and 32px application icons for Maps
This commit is contained in:
parent
bc5b7aeffb
commit
8eb10b135d
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
|
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)
|
target_link_libraries(Maps PRIVATE LibConfig LibCore LibDesktop LibGfx LibGUI LibMain LibProtocol)
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
ErrorOr<int> serenity_main(Main::Arguments arguments)
|
ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||||
{
|
{
|
||||||
auto app = TRY(GUI::Application::create(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());
|
auto window = TRY(GUI::Window::try_create());
|
||||||
window->set_title("Maps");
|
window->set_title("Maps");
|
||||||
window->set_icon(app_icon.bitmap_for_size(16));
|
window->set_icon(app_icon.bitmap_for_size(16));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue