mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 03:37:43 +00:00
GWidget: Add "set_autofill" as an alias for set_fill_with_background_color.
This commit is contained in:
parent
f465de8f76
commit
b3d431e390
1 changed files with 2 additions and 0 deletions
|
@ -143,6 +143,8 @@ public:
|
||||||
void set_backcolor(const StringView&) { }
|
void set_backcolor(const StringView&) { }
|
||||||
void set_forecolor(const StringView&) { }
|
void set_forecolor(const StringView&) { }
|
||||||
|
|
||||||
|
void set_autofill(bool b) { set_fill_with_background_color(b); }
|
||||||
|
|
||||||
GWindow* window()
|
GWindow* window()
|
||||||
{
|
{
|
||||||
if (auto* pw = parent_widget())
|
if (auto* pw = parent_widget())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue