Functions | |
| template<typename Run, typename OnFinish> | |
| void | run_off_thread_with_progress (Run &&run, OnFinish &&on_finish, wxWindow *parent, const wxString &title, const wxString &message, int maximum, int style, std::shared_ptr< std::atomic< bool > > alive, bool finish_after_dialog_destroyed, std::function< void()> restore) |
| template<typename Run> | |
| std::invoke_result_t< std::decay_t< Run > & > | run_wait_with_progress (Run &&run, wxWindow *parent, const wxString &title, const wxString &message, int maximum, int style, std::shared_ptr< std::atomic< bool > > alive, std::function< void()> restore) |
| void Slic3r::GUI::detail::run_off_thread_with_progress | ( | Run && | run, |
| OnFinish && | on_finish, | ||
| wxWindow * | parent, | ||
| const wxString & | title, | ||
| const wxString & | message, | ||
| int | maximum, | ||
| int | style, | ||
| std::shared_ptr< std::atomic< bool > > | alive, | ||
| bool | finish_after_dialog_destroyed, | ||
| std::function< void()> | restore ) |
References style.
Referenced by run_wait_with_progress(), and Slic3r::GUI::PluginsDialog::run_with_dialog().
| std::invoke_result_t< std::decay_t< Run > & > Slic3r::GUI::detail::run_wait_with_progress | ( | Run && | run, |
| wxWindow * | parent, | ||
| const wxString & | title, | ||
| const wxString & | message, | ||
| int | maximum, | ||
| int | style, | ||
| std::shared_ptr< std::atomic< bool > > | alive, | ||
| std::function< void()> | restore ) |
References run_off_thread_with_progress(), style, and wxEventLoop.
Referenced by Slic3r::GUI::install_local_plugin_package(), and Slic3r::GUI::PluginsDialog::run_with_dialog_wait().