summaryrefslogtreecommitdiff
path: root/LibGUI/GApplication.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-04-10 03:43:46 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-04-10 03:43:46 +0200
commit4ab0cd5d4c6f87fa927b0b97916cbd127a2a1999 (patch)
tree1d5b2491db4b65bb68ffd7ed81458af376418461 /LibGUI/GApplication.cpp
parente61dd994df7958fcb4cc764c245b1ec28802ad0d (diff)
downloadserenity-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.cpp4
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);
}