MCPcopy Create free account
hub / github.com/aiekick/ImGuiFileDialog / m_VariadicProgressBar

Method m_VariadicProgressBar

ImGuiFileDialog.cpp:3005–3014  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3003}
3004
3005void IGFD::ThumbnailFeature::m_VariadicProgressBar(float fraction, const ImVec2& size_arg, const char* fmt, ...) {
3006 va_list args;
3007 va_start(args, fmt);
3008 char TempBuffer[512];
3009 const int w = vsnprintf(TempBuffer, 511, fmt, args);
3010 va_end(args);
3011 if (w) {
3012 ImGui::ProgressBar(fraction, size_arg, TempBuffer);
3013 }
3014}
3015
3016void IGFD::ThumbnailFeature::m_DrawThumbnailGenerationProgress() {
3017 if (m_ThumbnailGenerationThread.use_count() && m_ThumbnailGenerationThread->joinable()) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected