[Plib-cvs] plib/src/pui pu.cxx,1.54,1.55 puFont.cxx,1.17,1.18 puLargeInput.cxx,1.34,1.35 puMenuBar.c
Brought to you by:
sjbaker
From: Sebastian U. <ud...@us...> - 2002-08-21 18:36:20
|
Update of /cvsroot/plib/plib/src/pui In directory usw-pr-cvs1:/tmp/cvs-serv2780 Modified Files: pu.cxx puFont.cxx puLargeInput.cxx puMenuBar.cxx Log Message: John F. Fay: Updates Index: pu.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/pui/pu.cxx,v retrieving revision 1.54 retrieving revision 1.55 diff -u -d -r1.54 -r1.55 --- pu.cxx 3 Aug 2002 22:44:48 -0000 1.54 +++ pu.cxx 21 Aug 2002 18:36:15 -0000 1.55 @@ -239,7 +239,6 @@ while ( local_objects_to_delete != NULL ) { puObject *next_ob = local_objects_to_delete -> getNextObject() ; - //if ( !local_objects_to_delete->IsItSubWidget() ) delete local_objects_to_delete ; local_objects_to_delete = next_ob ; } Index: puFont.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/pui/puFont.cxx,v retrieving revision 1.17 retrieving revision 1.18 diff -u -d -r1.17 -r1.18 --- puFont.cxx 31 Jul 2002 16:07:38 -0000 1.17 +++ puFont.cxx 21 Aug 2002 18:36:15 -0000 1.18 @@ -81,7 +81,7 @@ if ( res > max_res ) max_res = res; - return (float) max_res ; + return float(max_res) ; } #endif // #ifdef _PU_USE_GLUT_FONTS Index: puLargeInput.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/pui/puLargeInput.cxx,v retrieving revision 1.34 retrieving revision 1.35 diff -u -d -r1.34 -r1.35 --- puLargeInput.cxx 3 Aug 2002 22:44:48 -0000 1.34 +++ puLargeInput.cxx 21 Aug 2002 18:36:15 -0000 1.35 @@ -785,7 +785,6 @@ if ( ( x - length ) < ( prev_length - x ) ) i-- ; // Mouse is closer to previous character than next character - i++ ; } // Now process the mouse click itself. Index: puMenuBar.cxx =================================================================== RCS file: /cvsroot/plib/plib/src/pui/puMenuBar.cxx,v retrieving revision 1.15 retrieving revision 1.16 diff -u -d -r1.15 -r1.16 --- puMenuBar.cxx 12 Jul 2002 03:23:33 -0000 1.15 +++ puMenuBar.cxx 21 Aug 2002 18:36:15 -0000 1.16 @@ -64,11 +64,7 @@ if ( x_siz < (x_max - x_min) ) x_siz = x_max - x_min ; // Adjust the present size if ( y_siz < (y_max - y_min) ) y_siz = y_max - y_min ; - //int x_pos = glutGet ( (GLenum)GLUT_WINDOW_X ) ; - //int y_pos = glutGet ( (GLenum)GLUT_WINDOW_Y ) ; - glutReshapeWindow ( x_siz, y_siz ) ; - //glutPositionWindow ( x_pos + x_min, y_pos ) ; // Unneccessary - JCJ 6 Jun 2002 x_min = par_box->min[0] - x_min ; y_min = y_siz - ( par_box->max[1] - par_box->min[1] ) ; |