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

Method progress_add_task

gui/gdre_standalone.cpp:77–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77void GodotREEditorStandalone::progress_add_task(const String &p_task, const String &p_label, int p_steps, bool p_can_cancel) {
78 if (!singleton) {
79 return;
80 // } else if (singleton->cmdline_export_mode) {
81 // print_line(p_task + ": begin: " + p_label + " steps: " + itos(p_steps));
82 } else if (singleton->progress_dialog) {
83 singleton->progress_dialog->add_task(p_task, p_label, p_steps, p_can_cancel);
84 }
85}
86
87bool GodotREEditorStandalone::progress_task_step(const String &p_task, const String &p_state, int p_step, bool p_force_refresh) {
88 if (!singleton) {

Callers

nothing calls this directly

Calls 1

add_taskMethod · 0.45

Tested by

no test coverage detected