ENH:big_bed_image_popup automatic hide

jira: STUDIO-11327
Change-Id: I44a43d67ff909768f5e652a687883742ece14737
(cherry picked from commit dbaec237c4e53b9e93901f21274c729d79cce2d5)
This commit is contained in:
zhou.xu
2025-04-03 14:36:54 +08:00
committed by Noisyfox
parent d2754f4c36
commit b9796e8765
3 changed files with 50 additions and 7 deletions

View File

@@ -19,10 +19,16 @@ public:
void set_bitmap(const wxBitmap& bit_map);
int get_image_px() { return m_image_px; }
private:
void init_timer();
void on_timer(wxTimerEvent &event);
private:
wxStaticBitmap *m_bitmap = nullptr;
wxBoxSizer *m_sizer_main{nullptr};
int m_image_px;
wxTimer * m_refresh_timer{nullptr};
float m_timer_count = 0;
};
}} // namespace Slic3r::GUI
#endif // _STEP_MESH_DIALOG_H_