mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-20 19:45:12 +00:00
GWidget: Add "set_autofill" as an alias for set_fill_with_background_color.
This commit is contained in:
parent
f465de8f76
commit
b3d431e390
Notes:
sideshowbarker
2024-07-19 13:20:44 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/b3d431e3906
1 changed files with 2 additions and 0 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Reference in a new issue