First push of a more all-round geometrical file conversion utility

This commit is contained in:
Thomas Krijnen
2013-03-24 10:48:39 +00:00
parent 852cb7d8c4
commit 5d4ff0b54a
20 changed files with 1330 additions and 264 deletions
+5
View File
@@ -83,6 +83,11 @@ void Logger::Status(const std::string& message, bool new_line) {
else (*log1) << std::flush;
}
}
void Logger::ProgressBar(int progress) {
if ( log1 ) {
Status("\r[" + std::string(progress,'#') + std::string(50 - progress,' ') + "]", false);
}
}
std::string Logger::GetLog() {
return log_stream.str();
}