ENH: modify image and introduction text

Change-Id: Ib867b6bc7200405b470b6149213c46986abf4bcb
This commit is contained in:
liz.li 2023-07-07 10:10:57 +08:00 committed by Lane.Wei
parent d9b44245ad
commit cbaa6bf16c
6 changed files with 68 additions and 41 deletions

View file

@ -23,12 +23,17 @@ protected:
wxBoxSizer* m_images_sizer;
wxStaticText* m_when_title;
wxStaticText* m_when_content;
wxStaticBitmap* m_before_bmp;
wxStaticBitmap* m_after_bmp;
wxStaticText* m_about_title;
wxStaticText* m_about_content;
wxStaticBitmap* m_before_bmp{ nullptr };
wxStaticBitmap* m_after_bmp{ nullptr };
wxStaticBitmap* m_bmp_intro{ nullptr };
void create_when(wxWindow* parent, wxString title, wxString content);
void create_about(wxWindow* parent, wxString title, wxString content);
void create_bitmap(wxWindow* parent, const wxBitmap& before_img, const wxBitmap& after_img);
void create_bitmap(wxWindow* parent, std::string before_img, std::string after_img);
void create_bitmap(wxWindow* parent, std::string img);
};
class CalibrationPAStartPage : public CalibrationStartPage