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 /Applications/FileManager | |
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 'Applications/FileManager')
-rw-r--r-- | Applications/FileManager/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Applications/FileManager/main.cpp b/Applications/FileManager/main.cpp index c893375dff..2aef0cdf01 100644 --- a/Applications/FileManager/main.cpp +++ b/Applications/FileManager/main.cpp @@ -65,8 +65,8 @@ int main(int argc, char** argv) progressbar->set_caption("Generating thumbnails: "); progressbar->set_format(GProgressBar::Format::ValueSlashMax); progressbar->set_visible(false); - progressbar->set_frame_shape(GFrame::Shape::Panel); - progressbar->set_frame_shadow(GFrame::Shadow::Sunken); + progressbar->set_frame_shape(FrameShape::Panel); + progressbar->set_frame_shadow(FrameShadow::Sunken); progressbar->set_frame_thickness(1); location_textbox->on_return_pressed = [directory_view, location_textbox] { |