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

Max Horn fingolfin at users.sourceforge.net
Sat Apr 12 10:23:02 CEST 2003


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

Modified Files:
	dialogs.cpp 
Log Message:
center close button

Index: dialogs.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/dialogs.cpp,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- dialogs.cpp	26 Mar 2003 22:41:12 -0000	1.40
+++ dialogs.cpp	12 Apr 2003 17:22:20 -0000	1.41
@@ -612,7 +612,7 @@
 
 AboutDialog::AboutDialog(NewGui *gui, Scumm *scumm)
 	: ScummDialog(gui, scumm, 30, 20, 260, 124) {
-	addButton(110, 100, queryCustomString(23), kCloseCmd, 'C');	// Close dialog - FIXME
+	addButton((_w - kButtonWidth)/2, 100, queryCustomString(23), kCloseCmd, 'C');	// Close dialog - FIXME
 	new StaticTextWidget(this, 10, 10, 240, 16, "ScummVM " SCUMMVM_VERSION " (" SCUMMVM_CVS ")", kTextAlignCenter);
 	new StaticTextWidget(this, 10, 30, 240, 16, "http://www.scummvm.org", kTextAlignCenter);
 	new StaticTextWidget(this, 10, 50, 240, 16, "All games (c) LucasArts", kTextAlignCenter);





More information about the Scummvm-git-logs mailing list