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:
parent
29078d4d53
commit
dece108f9a
6 changed files with 97 additions and 20 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue