From b3d431e3906014644e936232029f9a8a11332e68 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Wed, 10 Jul 2019 21:12:09 +0200 Subject: [PATCH] GWidget: Add "set_autofill" as an alias for set_fill_with_background_color. --- Libraries/LibGUI/GWidget.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Libraries/LibGUI/GWidget.h b/Libraries/LibGUI/GWidget.h index e28f356184..447390c647 100644 --- a/Libraries/LibGUI/GWidget.h +++ b/Libraries/LibGUI/GWidget.h @@ -143,6 +143,8 @@ public: void set_backcolor(const StringView&) { } void set_forecolor(const StringView&) { } + void set_autofill(bool b) { set_fill_with_background_color(b); } + GWindow* window() { if (auto* pw = parent_widget())