From 3a401106b09d902daa8da0bc0636f339ffc34c61 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 28 Jul 2018 18:50:22 +0200 Subject: [PATCH] Display total progress also as text. --- standalone/src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/standalone/src/main.cpp b/standalone/src/main.cpp index d1a82eff..859bcfd6 100644 --- a/standalone/src/main.cpp +++ b/standalone/src/main.cpp @@ -1,3 +1,4 @@ +#include #include #include "imgui_impl_glfw_gl3.h" #include @@ -189,6 +190,7 @@ int main( int argc, char** argv ) ImGui::CloseCurrentPopup(); totalProgress = currProgress; } + ImGui::Text( "Total progress: %" PRIu64 "/%" PRIu64, currProgress, totalProgress ); ImGui::ProgressBar( float( currProgress ) / totalProgress, ImVec2( 200 * dpiScale, 0 ) ); ImGui::EndPopup(); }