mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-23 10:52:15 +00:00
Compact Printer Selection UI (#11196)
This commit is contained in:
@@ -12,12 +12,14 @@ public:
|
||||
ImageDPIFrame();
|
||||
~ImageDPIFrame() override;
|
||||
void on_dpi_changed(const wxRect &suggested_rect) override;
|
||||
void sys_color_changed();
|
||||
void on_show();
|
||||
void on_hide();
|
||||
bool Show(bool show = true) override;
|
||||
|
||||
void set_bitmap(const wxBitmap& bit_map);
|
||||
int get_image_px() { return m_image_px; }
|
||||
void set_title(const wxString& title);
|
||||
|
||||
private:
|
||||
void init_timer();
|
||||
@@ -27,6 +29,8 @@ private:
|
||||
wxStaticBitmap *m_bitmap = nullptr;
|
||||
wxBoxSizer *m_sizer_main{nullptr};
|
||||
int m_image_px;
|
||||
wxString m_title_str;
|
||||
wxStaticText* m_title;
|
||||
wxTimer * m_refresh_timer{nullptr};
|
||||
float m_timer_count = 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user