LibGUI: Register "bitmap" GML property for ImageWidget

This commit is contained in:
thankyouverycool 2022-08-04 10:15:37 -04:00 committed by Andreas Kling
parent 75b6097c55
commit 4d09b5c4ba
Notes: sideshowbarker 2024-07-17 08:24:31 +09:00

View File

@ -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)