summaryrefslogtreecommitdiff
path: root/Widgets/Widget.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-13 06:25:30 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-13 06:26:20 +0100
commit1d914cbd843cfb3eac863586e8673087621aab53 (patch)
treea7348320e6a730c0fad8679d1c52bea0b518f940 /Widgets/Widget.h
parentf7261d7b263e4b1ebeb3827a14970b379d1dad7f (diff)
downloadserenity-1d914cbd843cfb3eac863586e8673087621aab53.zip
Minor GUI API things + make Button corners properly transparent.
Diffstat (limited to 'Widgets/Widget.h')
-rw-r--r--Widgets/Widget.h6
1 files changed, 3 insertions, 3 deletions
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<Font> m_font;
bool m_hasPendingPaintEvent { false };
- bool m_fillWithBackgroundColor { false };
+ bool m_fillWithBackgroundColor { true };
};