mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 18:27:35 +00:00
LibGUI: Register "bitmap" GML property for ImageWidget
This commit is contained in:
parent
75b6097c55
commit
4d09b5c4ba
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ ImageWidget::ImageWidget(StringView)
|
|||
|
||||
REGISTER_BOOL_PROPERTY("auto_resize", auto_resize, set_auto_resize);
|
||||
REGISTER_BOOL_PROPERTY("should_stretch", should_stretch, set_should_stretch);
|
||||
REGISTER_STRING_PROPERTY("bitmap", bitmap, load_from_file);
|
||||
}
|
||||
|
||||
void ImageWidget::set_bitmap(Gfx::Bitmap const* bitmap)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue