mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-01-07 19:57:45 +03:00
LibGUI: Register "bitmap" GML property for ImageWidget
This commit is contained in:
parent
75b6097c55
commit
4d09b5c4ba
Notes:
sideshowbarker
2024-07-17 08:24:31 +09:00
Author: https://github.com/thankyouverycool Commit: https://github.com/SerenityOS/serenity/commit/4d09b5c4ba Pull-request: https://github.com/SerenityOS/serenity/pull/14772
@ -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…
Reference in New Issue
Block a user