1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 05:57:35 +00:00

LibGUI: Remove unused Widget backcolor/forecolor properties

These were some leftovers from the VisualBuilder times.
This commit is contained in:
Andreas Kling 2020-12-30 02:16:53 +01:00
parent 96cd04f2ba
commit e07a66d011
3 changed files with 0 additions and 20 deletions

View file

@ -838,22 +838,6 @@ void Widget::focus_next_widget(FocusSource source)
}
}
void Widget::set_backcolor(const StringView& color_string)
{
auto color = Color::from_string(color_string);
if (!color.has_value())
return;
set_background_color(color.value());
}
void Widget::set_forecolor(const StringView& color_string)
{
auto color = Color::from_string(color_string);
if (!color.has_value())
return;
set_foreground_color(color.value());
}
Vector<Widget*> Widget::child_widgets() const
{
Vector<Widget*> widgets;