LibGfxDemo: Set window icon to app-libgfx-demo.png

This commit is contained in:
Linus Groh 2020-08-29 19:22:18 +02:00 committed by Andreas Kling
parent d61ea0da5f
commit 3ae55770c8
Notes: sideshowbarker 2024-07-19 03:01:20 +09:00

View file

@ -203,6 +203,7 @@ int main(int argc, char** argv)
window->set_title("LibGfx Demo");
window->set_resizable(false);
window->resize(WIDTH, HEIGHT);
window->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/app-libgfx-demo.png"));
window->set_main_widget<Canvas>();
window->show();