From 1d914cbd843cfb3eac863586e8673087621aab53 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Sun, 13 Jan 2019 06:25:30 +0100 Subject: Minor GUI API things + make Button corners properly transparent. --- Widgets/Widget.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Widgets/Widget.h') diff --git a/Widgets/Widget.h b/Widgets/Widget.h index 02176c35d0..f209f169ad 100644 --- a/Widgets/Widget.h +++ b/Widgets/Widget.h @@ -90,10 +90,10 @@ private: Window* m_window { nullptr }; Rect m_relativeRect; - Color m_backgroundColor; - Color m_foregroundColor; + Color m_backgroundColor { 0xffffff }; + Color m_foregroundColor { 0x000000 }; RetainPtr m_font; bool m_hasPendingPaintEvent { false }; - bool m_fillWithBackgroundColor { false }; + bool m_fillWithBackgroundColor { true }; }; -- cgit v1.2.3