mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 08:57:34 +00:00
LibGfxDemo: Set window icon to app-libgfx-demo.png
This commit is contained in:
parent
d61ea0da5f
commit
3ae55770c8
1 changed files with 1 additions and 0 deletions
|
@ -203,6 +203,7 @@ int main(int argc, char** argv)
|
||||||
window->set_title("LibGfx Demo");
|
window->set_title("LibGfx Demo");
|
||||||
window->set_resizable(false);
|
window->set_resizable(false);
|
||||||
window->resize(WIDTH, HEIGHT);
|
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->set_main_widget<Canvas>();
|
||||||
window->show();
|
window->show();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue