diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-04-10 03:43:46 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-04-10 03:43:46 +0200 |
commit | 4ab0cd5d4c6f87fa927b0b97916cbd127a2a1999 (patch) | |
tree | 1d5b2491db4b65bb68ffd7ed81458af376418461 /LibGUI/GApplication.cpp | |
parent | e61dd994df7958fcb4cc764c245b1ec28802ad0d (diff) | |
download | serenity-4ab0cd5d4c6f87fa927b0b97916cbd127a2a1999.zip |
LibGUI: Move frame painting from GFrame to StylePainter.
This way it can be used by others who might not have a GFrame object.
Diffstat (limited to 'LibGUI/GApplication.cpp')
-rw-r--r-- | LibGUI/GApplication.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LibGUI/GApplication.cpp b/LibGUI/GApplication.cpp index aace66ffad..6c9f759998 100644 --- a/LibGUI/GApplication.cpp +++ b/LibGUI/GApplication.cpp @@ -80,8 +80,8 @@ public: m_label->set_background_color(Color::from_rgb(0xdac7b5)); m_label->set_fill_with_background_color(true); m_label->set_frame_thickness(1); - m_label->set_frame_shape(GFrame::Shape::Container); - m_label->set_frame_shadow(GFrame::Shadow::Plain); + m_label->set_frame_shape(FrameShape::Container); + m_label->set_frame_shadow(FrameShadow::Plain); set_main_widget(m_label); } |