Base: Add icons for the Gradient screensaver

Add 32px and 16px application icons for the Gradient screensaver
This commit is contained in:
Cubic Love 2023-04-12 00:05:55 +01:00 committed by Linus Groh
parent c6af248909
commit c3a5618dab
Notes: sideshowbarker 2024-07-17 23:02:37 +09:00
4 changed files with 2 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 295 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 667 B

View File

@ -7,5 +7,5 @@ set(SOURCES
Gradient.cpp
)
serenity_app(Gradient ICON app-screensaver)
serenity_app(Gradient ICON app-gradient)
target_link_libraries(Gradient PRIVATE LibDesktop LibGUI LibCore LibGfx LibMain)

View File

@ -95,7 +95,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::unveil("/res", "r"));
TRY(Core::System::unveil(nullptr, nullptr));
auto window = TRY(Desktop::Screensaver::create_window("Gradient"sv, "app-screensaver"sv));
auto window = TRY(Desktop::Screensaver::create_window("Gradient"sv, "app-gradient"sv));
auto gradient_widget = TRY(window->set_main_widget<Gradient>(64, 48, 10000));
gradient_widget->set_fill_with_background_color(false);