mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:57:43 +00:00
LibGUI/Widget: Add helpers to set the background color
This commit is contained in:
parent
e4019ba9dc
commit
999a44969d
2 changed files with 25 additions and 9 deletions
|
@ -254,6 +254,9 @@ public:
|
|||
Gfx::ColorRole foreground_role() const { return m_foreground_role; }
|
||||
void set_foreground_role(Gfx::ColorRole);
|
||||
|
||||
bool set_background_color(String);
|
||||
void set_background_color(Gfx::Color);
|
||||
|
||||
void set_autofill(bool b) { set_fill_with_background_color(b); }
|
||||
|
||||
Window* window()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue