1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:47:35 +00:00

GWidget: Add placeholder setters for the backcolor/forecolor properties.

This commit is contained in:
Andreas Kling 2019-07-10 21:00:34 +02:00
parent 8d67aa1e59
commit f465de8f76

View file

@ -139,6 +139,10 @@ public:
void set_background_color(Color color) { m_background_color = color; }
void set_foreground_color(Color color) { m_foreground_color = color; }
// FIXME: Implement these.
void set_backcolor(const StringView&) { }
void set_forecolor(const StringView&) { }
GWindow* window()
{
if (auto* pw = parent_widget())