mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-17 03:37:54 -06:00
Added _fiction_ resizing for correct MainFrame rendering after DPI changed_object
+ Added a calculation of a empty bitmaps inside presets in respect to em_unit (to avoid assert) + Added scaling for PrintHostDialogs and MsgDialog + some code refactoring
This commit is contained in:
parent
5e45cff855
commit
aa147482b7
11 changed files with 73 additions and 42 deletions
|
@ -41,7 +41,7 @@ private:
|
|||
};
|
||||
|
||||
|
||||
class PrintHostQueueDialog : public wxDialog
|
||||
class PrintHostQueueDialog : public DPIDialog
|
||||
{
|
||||
public:
|
||||
class Event : public wxEvent
|
||||
|
@ -62,6 +62,10 @@ public:
|
|||
PrintHostQueueDialog(wxWindow *parent);
|
||||
|
||||
void append_job(const PrintHostJob &job);
|
||||
|
||||
protected:
|
||||
void on_dpi_changed(const wxRect &suggested_rect) override { Refresh(); }
|
||||
|
||||
private:
|
||||
enum Column {
|
||||
COL_ID,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue