#ifndef slic3r_DownloadProgressDialog_hpp_ #define slic3r_DownloadProgressDialog_hpp_ #include #include #include "GUI_Utils.hpp" #include #include #include #include #include #include #include #include "Widgets/Button.hpp" #include "BBLStatusBar.hpp" #include "BBLStatusBarSend.hpp" #include "Jobs/UpgradeNetworkJob.hpp" class wxBoxSizer; class wxCheckBox; class wxStaticBitmap; #define MSG_DIALOG_BUTTON_SIZE wxSize(FromDIP(58), FromDIP(24)) #define MSG_DIALOG_MIDDLE_BUTTON_SIZE wxSize(FromDIP(76), FromDIP(24)) #define MSG_DIALOG_LONG_BUTTON_SIZE wxSize(FromDIP(90), FromDIP(24)) namespace Slic3r { namespace GUI { class DownloadProgressDialog : public DPIDialog { protected: bool Show(bool show) override; public: DownloadProgressDialog(wxString title); ~DownloadProgressDialog(); void on_dpi_changed(const wxRect &suggested_rect) override; void update_release_note(std::string release_note, std::string version); std::shared_ptr m_status_bar; std::shared_ptr m_upgrade_job; wxPanel * m_panel_download; }; } } #endif