mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
LibGfxDemo: Set window icon to app-libgfx-demo.png
This commit is contained in:
parent
d61ea0da5f
commit
3ae55770c8
Notes:
sideshowbarker
2024-07-19 03:01:20 +09:00
Author: https://github.com/linusg Commit: https://github.com/SerenityOS/serenity/commit/3ae55770c83 Pull-request: https://github.com/SerenityOS/serenity/pull/3346
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_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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue