[Scummvm-cvs-logs] CVS: scummvm/gui launcher.cpp,1.86,1.87 console.cpp,1.40,1.41 about.cpp,1.11,1.12

Max Horn fingolfin at users.sourceforge.net
Sun Feb 8 17:31:12 CET 2004


Update of /cvsroot/scummvm/scummvm/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1820/gui

Modified Files:
	launcher.cpp console.cpp about.cpp 
Log Message:
Modified version of patch #892795 (Let scumvm -v show supported libs)

Index: launcher.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/launcher.cpp,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -d -r1.86 -r1.87
--- launcher.cpp	7 Feb 2004 17:12:00 -0000	1.86
+++ launcher.cpp	9 Feb 2004 01:27:25 -0000	1.87
@@ -25,6 +25,7 @@
 #include "base/engine.h"
 #include "base/gameDetector.h"
 #include "base/plugins.h"
+#include "base/version.h"
 
 #include "common/config-manager.h"
 #include "common/util.h"

Index: console.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/console.cpp,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- console.cpp	6 Jan 2004 12:45:28 -0000	1.40
+++ console.cpp	9 Feb 2004 01:27:26 -0000	1.41
@@ -23,6 +23,7 @@
 #include "gui/ScrollBarWidget.h"
 
 #include "base/engine.h"
+#include "base/version.h"
 
 #ifdef NEW_FONT_CODE
 #include "gui/font.h"

Index: about.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/about.cpp,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- about.cpp	6 Jan 2004 12:45:28 -0000	1.11
+++ about.cpp	9 Feb 2004 01:27:26 -0000	1.12
@@ -20,6 +20,7 @@
 
 #include "stdafx.h"
 #include "base/engine.h"
+#include "base/version.h"
 #include "gui/about.h"
 #include "gui/newgui.h"
 #include "gui/widget.h"
@@ -27,27 +28,33 @@
 namespace GUI {
 
 AboutDialog::AboutDialog()
-	: Dialog(10, 20, 300, 144) {
-	addButton((_w - kButtonWidth) / 2, 120, "OK", kCloseCmd, '\r');	// Close dialog - FIXME
+	: Dialog(10, 20, 300, 154) {
+	
+	addButton((_w - kButtonWidth) / 2, 130, "OK", kCloseCmd, '\r');	// Close dialog - FIXME
 
 	Common::String version("ScummVM ");
 	version += gScummVMVersion;
-	new StaticTextWidget(this, 10, 10, _w - 20, kLineHeight, version, kTextAlignCenter);
+	new StaticTextWidget(this, 0, 10, _w, kLineHeight, version, kTextAlignCenter);
 
 	Common::String date("(built on ");
 	date += gScummVMBuildDate;
 	date += ')';
-	new StaticTextWidget(this, 10, 20, _w - 20, kLineHeight, date, kTextAlignCenter);
+	new StaticTextWidget(this, 0, 20, _w, kLineHeight, date, kTextAlignCenter);
 
+	Common::String features("Supports: ");
+	features += gScummVMFeatures;
+	new StaticTextWidget(this, 0, 30, _w, kLineHeight, features, kTextAlignCenter );
+	
+	
 	// TODO: Probably should display something regarding GPL
-	new StaticTextWidget(this, 10, 35, _w - 20, kLineHeight, "Copyright (C) 2002-2004 The ScummVM project", kTextAlignCenter);
-	new StaticTextWidget(this, 10, 45, _w - 20, kLineHeight, "http://www.scummvm.org", kTextAlignCenter);
+	new StaticTextWidget(this, 0, 45, _w, kLineHeight, "Copyright (C) 2002-2004 The ScummVM project", kTextAlignCenter);
+	new StaticTextWidget(this, 0, 55, _w, kLineHeight, "http://www.scummvm.org", kTextAlignCenter);
 
-	new StaticTextWidget(this, 10, 65, _w - 20, kLineHeight, "LucasArts SCUMM Games (C) LucasArts", kTextAlignCenter);
-	new StaticTextWidget(this, 10, 75, _w - 20, kLineHeight, "Humongous SCUMM Games (C) Humongous", kTextAlignCenter);
-	new StaticTextWidget(this, 10, 85, _w - 20, kLineHeight, "Simon the Sorcerer (C) Adventure Soft", kTextAlignCenter);
-	new StaticTextWidget(this, 10, 95, _w - 20, kLineHeight, "Beneath a Steel Sky (C) Revolution", kTextAlignCenter);
-	new StaticTextWidget(this, 10, 105, _w - 20, kLineHeight, "Broken Sword Games (C) Revolution", kTextAlignCenter);
+	new StaticTextWidget(this, 0, 75, _w, kLineHeight, "LucasArts SCUMM Games (C) LucasArts", kTextAlignCenter);
+	new StaticTextWidget(this, 0, 85, _w, kLineHeight, "Humongous SCUMM Games (C) Humongous", kTextAlignCenter);
+	new StaticTextWidget(this, 0, 95, _w, kLineHeight, "Simon the Sorcerer (C) Adventure Soft", kTextAlignCenter);
+	new StaticTextWidget(this, 0, 105, _w, kLineHeight, "Beneath a Steel Sky (C) Revolution", kTextAlignCenter);
+	new StaticTextWidget(this, 0, 115, _w, kLineHeight, "Broken Sword Games (C) Revolution", kTextAlignCenter);
 }
 
 } // End of namespace GUI





More information about the Scummvm-git-logs mailing list