CVSROOT: /sources/gnash Module name: gnash Changes by: Sandro Santilli <strk> 07/07/02 18:36:43
Modified files: . : ChangeLog gui : gnash.cpp Log message: * gui/gnash.cpp (parseCommandLine): support floating point argument to -f switch. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3639&r2=1.3640 http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gnash.cpp?cvsroot=gnash&r1=1.79&r2=1.80 Patches: Index: ChangeLog =================================================================== RCS file: /sources/gnash/gnash/ChangeLog,v retrieving revision 1.3639 retrieving revision 1.3640 diff -u -b -r1.3639 -r1.3640 --- ChangeLog 2 Jul 2007 18:32:52 -0000 1.3639 +++ ChangeLog 2 Jul 2007 18:36:42 -0000 1.3640 @@ -1,5 +1,10 @@ 2007-07-02 Sandro Santilli <[EMAIL PROTECTED]> + * gui/gnash.cpp (parseCommandLine): support floating point argument + to -f switch. + +2007-07-02 Sandro Santilli <[EMAIL PROTECTED]> + * gui/gui.{cpp,h}: add setFpsTimerInterval() public method, change fpsCounterTick() interface to take no arg. Print total number of frame advances on destruction. All available ifdef Index: gui/gnash.cpp =================================================================== RCS file: /sources/gnash/gnash/gui/gnash.cpp,v retrieving revision 1.79 retrieving revision 1.80 diff -u -b -r1.79 -r1.80 --- gui/gnash.cpp 2 Jul 2007 18:32:53 -0000 1.79 +++ gui/gnash.cpp 2 Jul 2007 18:36:42 -0000 1.80 @@ -331,7 +331,7 @@ case 'f': { #ifdef GNASH_FPS_DEBUG - unsigned int frames=atoi(optarg); + float frames = strtod(optarg, NULL); player.setFpsPrintTime(frames); break; #else // ndef GNASH_FPS_DEBUG _______________________________________________ Gnash-commit mailing list Gnash-commit@gnu.org http://lists.gnu.org/mailman/listinfo/gnash-commit