1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 22:17:44 +00:00

Browser: Add download finished graphics to download widget

Not the prettiest, but visually indicates that the download has finished
successfully.
This commit is contained in:
Marcus Nilsson 2021-05-31 18:20:50 +02:00 committed by Andreas Kling
parent 29cce65d2f
commit 4faff69974
3 changed files with 6 additions and 2 deletions

View file

@ -9,6 +9,7 @@
#include <AK/URL.h>
#include <LibCore/ElapsedTimer.h>
#include <LibCore/FileStream.h>
#include <LibGUI/ImageWidget.h>
#include <LibGUI/Progressbar.h>
#include <LibGUI/Widget.h>
#include <LibProtocol/Request.h>
@ -35,6 +36,7 @@ private:
RefPtr<GUI::Button> m_cancel_button;
RefPtr<GUI::Button> m_close_button;
RefPtr<GUI::CheckBox> m_close_on_finish_checkbox;
RefPtr<GUI::ImageWidget> m_browser_image;
OwnPtr<Core::OutputFileStream> m_output_file_stream;
Core::ElapsedTimer m_elapsed_timer;
};