X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=folded-ctf.git;a=blobdiff_plain;f=progress_bar.h;h=ec9e4eb5e07cb184cf1011b1644d89fcb4dd926b;hp=50aa7c41afb6dcdbf649cfbc469126f69910b567;hb=aed34255065b18c445d096f51bd2091833810a81;hpb=d922ad61d35e9a6996730bec24b16f8bf7bc426c diff --git a/progress_bar.h b/progress_bar.h index 50aa7c4..ec9e4eb 100644 --- a/progress_bar.h +++ b/progress_bar.h @@ -12,7 +12,9 @@ // You should have received a copy of the GNU General Public License // // along with this program. If not, see . // // // -// Written by Francois Fleuret, (C) IDIAP // +// Written by Francois Fleuret // +// (C) Idiap Research Institute // +// // // Contact for comments & bug reports // /////////////////////////////////////////////////////////////////////////// @@ -33,10 +35,10 @@ using namespace std; #include "misc.h" class ProgressBar { + const static int width = 80; bool _visible; scalar_t _value_max, _last_step; time_t _initial_time; - const static int _width; public: ProgressBar(); void set_visible(bool visible);