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

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuSanka <yusanka@gmail.com>2019-04-18 16:05:17 +0300
committerYuSanka <yusanka@gmail.com>2019-04-18 16:05:17 +0300
commit9cd3c594be10a92aa943f361c1b63c9a782ac5be (patch)
tree4d70b29d05f5377b9c6f953ea4ef71f6940f500f /src/slic3r/GUI/SysInfoDialog.hpp
parente97e8c6af61c6c18634da46ad92b5aec1b932158 (diff)
Overrided on_dpi_changed() for some Dialogs:
AboutDialog, ConfigSnapshotDialog, FirmwareDialog, SysInfoDialog + set correct fonts for KBShortcutsDialog
Diffstat (limited to 'src/slic3r/GUI/SysInfoDialog.hpp')
-rw-r--r--src/slic3r/GUI/SysInfoDialog.hpp13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/slic3r/GUI/SysInfoDialog.hpp b/src/slic3r/GUI/SysInfoDialog.hpp
index ee1b85ce6..6215d90ca 100644
--- a/src/slic3r/GUI/SysInfoDialog.hpp
+++ b/src/slic3r/GUI/SysInfoDialog.hpp
@@ -4,14 +4,25 @@
#include <wx/wx.h>
#include <wx/html/htmlwin.h>
+#include "GUI_Utils.hpp"
+#include "wxExtensions.hpp"
+
namespace Slic3r {
namespace GUI {
-class SysInfoDialog : public wxDialog
+class SysInfoDialog : public DPIDialog
{
wxString text_info {wxEmptyString};
+ PrusaBitmap m_logo_bmp;
+ wxStaticBitmap* m_logo;
+ wxHtmlWindow* m_opengl_info_html;
+ wxHtmlWindow* m_html;
+
public:
SysInfoDialog();
+
+protected:
+ void on_dpi_changed(const wxRect &suggested_rect) override;
private:
void onCopyToClipboard(wxEvent &);