mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:27:35 +00:00
SystemDialog+Base: Add icon for SystemDialog
This commit is contained in:
parent
ba6a290f4f
commit
9784ab99d2
2 changed files with 1 additions and 0 deletions
|
@ -118,6 +118,7 @@ int main(int argc, char** argv)
|
|||
dialog->set_rect(rect);
|
||||
dialog->set_resizable(false);
|
||||
dialog->set_title("SerenityOS");
|
||||
dialog->set_icon(Gfx::Bitmap::load_from_file("/res/icons/16x16/app-systemdialog.png"));
|
||||
|
||||
auto main = GUI::Widget::construct();
|
||||
dialog->set_main_widget(main);
|
||||
|
|
BIN
Base/res/icons/16x16/app-systemdialog.png
Normal file
BIN
Base/res/icons/16x16/app-systemdialog.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 180 B |
Loading…
Add table
Add a link
Reference in a new issue