diff --git a/Timeline/Loggable.C b/Timeline/Loggable.C index 3f2ba88..9d39501 100644 --- a/Timeline/Loggable.C +++ b/Timeline/Loggable.C @@ -104,6 +104,9 @@ Loggable::replay ( FILE *fp ) off_t total = st.st_size; off_t current = 0; + if ( _progress_callback ) + _progress_callback( 0, _progress_callback_arg ); + while ( fscanf( fp, "%[^\n]\n", buf ) == 1 ) { if ( ! ( ! strcmp( buf, "{" ) || ! strcmp( buf, "}" ) ) ) diff --git a/Timeline/TLE.fl b/Timeline/TLE.fl index 9c50120..774d19a 100644 --- a/Timeline/TLE.fl +++ b/Timeline/TLE.fl @@ -554,7 +554,7 @@ delete win;} code0 {o->spacing( 10 );} } { Fl_Box {} { - label {} selected + label {} xywh {5 23 189 46} color 30 code0 {transport = o;} code1 {o->labeltype( FL_NO_LABEL );} @@ -819,13 +819,16 @@ else if ( 0 == p ) progress->hide(); } +DMESSAGE( "progress: %d%%", p ); + static char pat[10]; update_progress( progress, pat, p ); progress->redraw(); -Fl::check();} {} +Fl::check();} {selected + } } }