mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:38:11 +00:00
Demos: Setup window icon for Mouse demo
The icon was set in the launcher, and the About dialog, but was missing form the actual window.
This commit is contained in:
parent
a49c794725
commit
76e34968fa
1 changed files with 1 additions and 0 deletions
|
@ -174,6 +174,7 @@ int main(int argc, char** argv)
|
|||
auto app = GUI::Application::construct(argc, argv);
|
||||
auto window = GUI::Window::construct();
|
||||
window->set_title("Mouse button demo");
|
||||
window->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/app-mouse.png"));
|
||||
window->resize(160, 155);
|
||||
|
||||
auto& main_widget = window->set_main_widget<MainFrame>();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue