diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-01-13 06:25:30 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-01-13 06:26:20 +0100 |
commit | 1d914cbd843cfb3eac863586e8673087621aab53 (patch) | |
tree | a7348320e6a730c0fad8679d1c52bea0b518f940 /Widgets/Widget.h | |
parent | f7261d7b263e4b1ebeb3827a14970b379d1dad7f (diff) | |
download | serenity-1d914cbd843cfb3eac863586e8673087621aab53.zip |
Minor GUI API things + make Button corners properly transparent.
Diffstat (limited to 'Widgets/Widget.h')
-rw-r--r-- | Widgets/Widget.h | 6 |
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 }; }; |