1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:57:35 +00:00

PixelPaint: Implement IconBag to organize icons

Implement IconBag method of organizing menubar icons from Browser.
This commit is contained in:
electrikmilk 2022-02-09 13:48:56 -05:00 committed by Andreas Kling
parent 29078d4d53
commit dece108f9a
6 changed files with 97 additions and 20 deletions

View file

@ -40,6 +40,8 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto app_icon = GUI::Icon::default_icon("app-pixel-paint");
PixelPaint::g_icon_bag = TRY(PixelPaint::IconBag::try_create());
auto window = GUI::Window::construct();
window->set_title("Pixel Paint");
window->resize(800, 510);