[Scummvm-cvs-logs] SF.net SVN: scummvm: [27391] scummvm/trunk/gui/about.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Wed Jun 13 22:37:25 CEST 2007
Revision: 27391
http://scummvm.svn.sourceforge.net/scummvm/?rev=27391&view=rev
Author: fingolfin
Date: 2007-06-13 13:37:24 -0700 (Wed, 13 Jun 2007)
Log Message:
-----------
Updated the about dialog (2006->2007, and added a header similar to our new source code legal header; also moved the GPL header after the engines list (it seems wrong to list it at the *very end* of the about dialog scroller, after all it is our license)
Modified Paths:
--------------
scummvm/trunk/gui/about.cpp
Modified: scummvm/trunk/gui/about.cpp
===================================================================
--- scummvm/trunk/gui/about.cpp 2007-06-13 20:13:06 UTC (rev 27390)
+++ scummvm/trunk/gui/about.cpp 2007-06-13 20:37:24 UTC (rev 27391)
@@ -55,13 +55,24 @@
//
// TODO: Add different font sizes (for bigger headlines)
// TODO: Allow color change in the middle of a line...
+
+static const char *copyright_text[] = {
+"\\C""",
+"\\C""Copyright (C) 2002-2007 The ScummVM project",
+"\\C""http://www.scummvm.org",
+"\\C""",
+"\\C""ScummVM is the legal property of its developers, whose names are too numerous to list here. Please refer to the COPYRIGHT file distributed with this binary.",
+"\\C""",
+};
+
static const char *gpl_text[] = {
+"\\C""",
"\\C""This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.",
"\\C""",
"\\C""This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.",
"\\C""",
"\\C""You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.",
-"\\C"""
+"\\C""",
};
#include "gui/credits.h"
@@ -107,12 +118,9 @@
date += ')';
_lines.push_back(date);
+ for (i = 0; i < ARRAYSIZE(copyright_text); i++)
+ addLine(copyright_text[i]);
- addLine("");
- addLine("\\C""Copyright (C) 2002-2006 The ScummVM project");
- addLine("\\C""http://www.scummvm.org");
- addLine("");
-
addLine("\\C\\c1""Features compiled in:");
Common::String features("\\C");
features += gScummVMFeatures;
@@ -136,16 +144,14 @@
//addLine("");
}
+ for (i = 0; i < ARRAYSIZE(gpl_text); i++)
+ addLine(gpl_text[i]);
+
_lines.push_back("");
for (i = 0; i < ARRAYSIZE(credits); i++)
addLine(credits[i]);
- _lines.push_back("");
-
- for (i = 0; i < ARRAYSIZE(gpl_text); i++)
- addLine(gpl_text[i]);
-
// Center the dialog
_x = (screenW - _w) / 2;
_y = (screenH - _h) / 2;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list