mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 22:57:44 +00:00
LibGUI: Rename GUI::Image => GUI::ImageWidget
"Image" was a bit too vague, "ImageWidget" is obviously a widget of some sort.
This commit is contained in:
parent
a92f7aea7a
commit
299824de73
15 changed files with 41 additions and 41 deletions
|
@ -30,7 +30,7 @@
|
|||
#include <LibGUI/Button.h>
|
||||
#include <LibGUI/Desktop.h>
|
||||
#include <LibGUI/Label.h>
|
||||
#include <LibGUI/Image.h>
|
||||
#include <LibGUI/ImageWidget.h>
|
||||
#include <LibGUI/Widget.h>
|
||||
#include <LibGfx/Bitmap.h>
|
||||
#include <LibGfx/Font.h>
|
||||
|
@ -91,7 +91,7 @@ NotificationWindow::NotificationWindow(const String& text, const String& title,
|
|||
widget.layout()->set_spacing(6);
|
||||
|
||||
if (icon.is_valid()) {
|
||||
auto& image = widget.add<GUI::Image>();
|
||||
auto& image = widget.add<GUI::ImageWidget>();
|
||||
image.set_bitmap(icon.bitmap());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue