Skip to content
Snippets Groups Projects
Commit b6acf1c1 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

"Processing progress"

parent c2eafe77
Branches
Tags
No related merge requests found
...@@ -55,7 +55,7 @@ StandardFilterWatcher ...@@ -55,7 +55,7 @@ StandardFilterWatcher
int progressPercent = static_cast<int>(m_Process->GetProgress()*100); int progressPercent = static_cast<int>(m_Process->GetProgress()*100);
std::string stars(static_cast<int>(m_Process->GetProgress()*m_StarsCount),'*'); std::string stars(static_cast<int>(m_Process->GetProgress()*m_StarsCount),'*');
std::string blanks(static_cast<int>(m_StarsCount - m_Process->GetProgress()*m_StarsCount),' '); std::string blanks(static_cast<int>(m_StarsCount - m_Process->GetProgress()*m_StarsCount),' ');
std::cout << "\rProgress task :" << progressPercent << "% [" << stars << blanks << "]" << std::flush; std::cout << "\rProcessing progress:" << progressPercent << "% [" << stars << blanks << "]" << std::flush;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment