2018-10-25 10:48:19 +00:00
|
|
|
#ifndef slic3r_GUI_SysInfoDialog_hpp_
|
|
|
|
#define slic3r_GUI_SysInfoDialog_hpp_
|
|
|
|
|
|
|
|
#include <wx/wx.h>
|
|
|
|
#include <wx/html/htmlwin.h>
|
|
|
|
|
2019-04-18 13:05:17 +00:00
|
|
|
#include "GUI_Utils.hpp"
|
|
|
|
#include "wxExtensions.hpp"
|
|
|
|
|
2018-10-25 10:48:19 +00:00
|
|
|
namespace Slic3r {
|
|
|
|
namespace GUI {
|
|
|
|
|
2019-04-18 13:05:17 +00:00
|
|
|
class SysInfoDialog : public DPIDialog
|
2018-10-25 10:48:19 +00:00
|
|
|
{
|
2019-04-24 23:45:00 +00:00
|
|
|
ScalableBitmap m_logo_bmp;
|
2019-04-18 13:05:17 +00:00
|
|
|
wxStaticBitmap* m_logo;
|
2019-04-24 23:45:00 +00:00
|
|
|
wxHtmlWindow* m_opengl_info_html;
|
|
|
|
wxHtmlWindow* m_html;
|
2019-04-18 13:05:17 +00:00
|
|
|
|
2019-04-25 13:06:44 +00:00
|
|
|
wxButton* m_btn_copy_to_clipboard;
|
|
|
|
|
2018-10-25 10:48:19 +00:00
|
|
|
public:
|
|
|
|
SysInfoDialog();
|
2019-04-18 13:05:17 +00:00
|
|
|
|
|
|
|
protected:
|
|
|
|
void on_dpi_changed(const wxRect &suggested_rect) override;
|
2018-10-25 10:48:19 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
void onCopyToClipboard(wxEvent &);
|
|
|
|
void onCloseDialog(wxEvent &);
|
|
|
|
};
|
|
|
|
|
|
|
|
} // namespace GUI
|
|
|
|
} // namespace Slic3r
|
|
|
|
|
|
|
|
#endif
|