Welcome to mirror list, hosted at ThFree Co, Russian Federation.

SysInfoDialog.hpp « GUI « slic3r « src - github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 070db61b2d79de7eb7ef9c8782454f2d0bea3252 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef slic3r_GUI_SysInfoDialog_hpp_
#define slic3r_GUI_SysInfoDialog_hpp_

#include <wx/wx.h>
#include <wx/html/htmlwin.h>

#include "GUI_Utils.hpp"
#include "wxExtensions.hpp"

namespace Slic3r { 
namespace GUI {

class SysInfoDialog : public DPIDialog
{
    ScalableBitmap  m_logo_bmp;
    wxStaticBitmap* m_logo;
    wxHtmlWindow*   m_opengl_info_html;
    wxHtmlWindow*   m_html;

    wxButton*       m_btn_copy_to_clipboard;

public:
    SysInfoDialog();

protected:
    void on_dpi_changed(const wxRect &suggested_rect) override;
    
private:
    void onCopyToClipboard(wxEvent &);
    void onCloseDialog(wxEvent &);
};
} // namespace GUI
} // namespace Slic3r

#endif