[Scummvm-cvs-logs] CVS: scummvm/scumm dialogs.cpp,1.39,1.40

Max Horn fingolfin at users.sourceforge.net
Wed Mar 26 14:42:14 CET 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv29022/scumm

Modified Files:
	dialogs.cpp 
Log Message:
grow default buttons size & browser dialog to accomodate for spanish games

Index: dialogs.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/dialogs.cpp,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -d -r1.39 -r1.40
--- dialogs.cpp	25 Mar 2003 15:32:35 -0000	1.39
+++ dialogs.cpp	26 Mar 2003 22:41:12 -0000	1.40
@@ -304,7 +304,7 @@
 
 SaveLoadDialog::SaveLoadDialog(NewGui *gui, Scumm *scumm)
 	: ScummDialog(gui, scumm, 30, 18, 260, 162) {
-	const int x = 196;
+	const int x = _w - kButtonWidth - 8;
 
 	// The headline
 	addResText(0, 7, 260, 16, 1);
@@ -317,7 +317,7 @@
 	addButton(x, 100, queryResString(8), kQuitCmd, 'Q');	// Quit
 
 	// The save game list
-	_savegameList = new ListWidget(this, 8, 20, 182, 134);
+	_savegameList = new ListWidget(this, 8, 20, x - 14, 134);
 }
 
 void SaveLoadDialog::open() {





More information about the Scummvm-git-logs mailing list