Skip to content

Commit

Permalink
Base: Add icons for the Gradient screensaver
Browse files Browse the repository at this point in the history
Add 32px and 16px application icons for the Gradient screensaver
  • Loading branch information
cubiclove authored and linusg committed Apr 12, 2023
1 parent c6af248 commit c3a5618
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
Binary file added Base/res/icons/16x16/app-gradient.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Base/res/icons/32x32/app-gradient.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion Userland/Demos/Gradient/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
2 changes: 1 addition & 1 deletion Userland/Demos/Gradient/Gradient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit c3a5618

Please sign in to comment.