mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 17:28:30 +00:00
LibGUI: Add MessageBox question icon
This commit is contained in:
committed by
Andreas Kling
parent
7fba21aefc
commit
25227ee284
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user