[Scummvm-cvs-logs] CVS: scummvm/scumm dialogs.cpp,1.10,1.11 scummvm.cpp,1.56,1.57

Max Horn fingolfin at users.sourceforge.net
Wed Oct 16 10:38:05 CEST 2002


Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv30527/scumm

Modified Files:
	dialogs.cpp scummvm.cpp 
Log Message:
dialogs now can be run 'modal'

Index: dialogs.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/dialogs.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- dialogs.cpp	13 Oct 2002 15:48:56 -0000	1.10
+++ dialogs.cpp	16 Oct 2002 17:37:29 -0000	1.11
@@ -468,7 +468,7 @@
 		// TODO
 		break;
 	case kAboutCmd:
-		_aboutDialog->open();
+		_aboutDialog->runModal();
 		break;
 	case kMasterVolumeChanged:
 		_soundVolumeMaster = masterVolumeSlider->getValue();

Index: scummvm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scummvm.cpp,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- scummvm.cpp	16 Oct 2002 05:42:31 -0000	1.56
+++ scummvm.cpp	16 Oct 2002 17:37:30 -0000	1.57
@@ -952,8 +952,7 @@
 	_sound->pauseSounds(true);
 
 	// Open & run the dialog
-	dialog->open();
-	_newgui->runLoop();
+	dialog->runModal();
 
 	// Restore old cursor
 	updateCursor();





More information about the Scummvm-git-logs mailing list