mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-24 19:32:18 +00:00
FIX: optimize the GUI dialog
jira: [STUDIO-9580] Change-Id: I01bb5b116f472d2b5de51cdff4f074aca2f3447c (cherry picked from commit 98f076c04949c0df588b66ae1dfc2ad1fabc99f3)
This commit is contained in:
@@ -245,7 +245,7 @@ public:
|
||||
bool not_show_again_check = false
|
||||
);
|
||||
void update_text(wxString text);
|
||||
void update_text(std::vector<ConfirmBeforeSendInfo> texts);
|
||||
void update_text(std::vector<ConfirmBeforeSendInfo> texts, bool enable_warning_clr = true);
|
||||
void on_show();
|
||||
void on_hide();
|
||||
void update_btn_label(wxString ok_btn_text, wxString cancel_btn_text);
|
||||
@@ -253,13 +253,14 @@ public:
|
||||
void on_dpi_changed(const wxRect& suggested_rect);
|
||||
void show_update_nozzle_button(bool show = false);
|
||||
void hide_button_ok();
|
||||
void edit_cancel_button_txt(wxString txt);
|
||||
void edit_cancel_button_txt(const wxString& txt, bool switch_green = false);
|
||||
void disable_button_ok();
|
||||
void enable_button_ok();
|
||||
wxString format_text(wxString str, int warp);
|
||||
|
||||
~ConfirmBeforeSendDialog();
|
||||
|
||||
protected:
|
||||
wxBoxSizer* m_sizer_main;
|
||||
wxScrolledWindow* m_vebview_release_note{ nullptr };
|
||||
Label* m_staticText_release_note{ nullptr };
|
||||
|
||||
Reference in New Issue
Block a user