[Plib-cvs] plib/src/puAux puAuxLargeInput.cxx,1.7,1.8
Brought to you by:
sjbaker
From: John F. F. <fa...@us...> - 2006-01-05 21:00:34
|
Update of /cvsroot/plib/plib/src/puAux In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31572 Modified Files: puAuxLargeInput.cxx Log Message: Fixing non-normalized range in large input widget (e-mail from John Fay, 11/19/05 at 2:21 PM) Index: puAuxLargeInput.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/puAux/puAuxLargeInput.cxx,v retrieving revision 1.7 retrieving revision 1.8 diff -u -d -r1.7 -r1.8 --- puAuxLargeInput.cxx 14 Jul 2005 16:12:05 -0000 1.7 +++ puAuxLargeInput.cxx 5 Jan 2006 21:00:26 -0000 1.8 @@ -172,7 +172,7 @@ if ( top_line_in_window < 0 ) top_line_in_window = 0 ; - right_slider->setValue ( 1.0f - float(top_line_in_window) / float(num_lines - lines_in_window) ) ; + right_slider->setValue ( num_lines - lines_in_window - top_line_in_window ) ; } } |