MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / print_status_bar

Method print_status_bar

gui/gdre_progress.cpp:196–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196void GDREProgressDialog::Task::print_status_bar() const {
197 if (!is_headless) {
198 return;
199 }
200 constexpr int width = 30;
201 float print_progress = MIN(MAX(0.0f, (float)current_step.step / (float)steps), 100.0f);
202 GDRELogger::print_status_bar(label, print_progress, indeterminate ? (float)indeterminate_width / (float)width : -1);
203}
204
205bool GDREProgressDialog::Task::should_redraw(uint64_t curr_time_us) const {
206 if (is_headless) {

Callers 1

main_thread_updateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected