mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 07:54:58 +00:00
LibGUI: Add MessageBox question icon
This commit is contained in:
parent
7fba21aefc
commit
25227ee284
2 changed files with 3 additions and 0 deletions
|
@ -71,6 +71,8 @@ RefPtr<Gfx::Bitmap> MessageBox::icon() const
|
|||
return Gfx::Bitmap::load_from_file("/res/icons/32x32/msgbox-warning.png");
|
||||
case Type::Error:
|
||||
return Gfx::Bitmap::load_from_file("/res/icons/32x32/msgbox-error.png");
|
||||
case Type::Question:
|
||||
return Gfx::Bitmap::load_from_file("/res/icons/32x32/msgbox-question.png");
|
||||
default:
|
||||
return nullptr;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue