mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-10 13:00:29 +03:00
SystemDialog+Base: Add icon for SystemDialog
This commit is contained in:
parent
ba6a290f4f
commit
9784ab99d2
Notes:
sideshowbarker
2024-07-19 17:39:03 +09:00
Author: https://github.com/thatlittlegit Commit: https://github.com/SerenityOS/serenity/commit/9784ab99d2d Pull-request: https://github.com/SerenityOS/serenity/pull/1281
@ -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…
Reference in New Issue
Block a user