diff options
author | Max Horn | 2007-06-13 20:37:24 +0000 |
---|---|---|
committer | Max Horn | 2007-06-13 20:37:24 +0000 |
commit | d6b073961e8be6d06d2fb632adc1d5d4eef441ca (patch) | |
tree | 49648bb55acb849ce4103060c98ef6f48e4f0512 | |
parent | 5b395c739778b17c33e82ca9687b4ef8a97bd76a (diff) | |
download | scummvm-rg350-d6b073961e8be6d06d2fb632adc1d5d4eef441ca.tar.gz scummvm-rg350-d6b073961e8be6d06d2fb632adc1d5d4eef441ca.tar.bz2 scummvm-rg350-d6b073961e8be6d06d2fb632adc1d5d4eef441ca.zip |
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)
svn-id: r27391
-rw-r--r-- | gui/about.cpp | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/gui/about.cpp b/gui/about.cpp index 2098d91aae..31381cadd5 100644 --- a/gui/about.cpp +++ b/gui/about.cpp @@ -55,13 +55,24 @@ enum { // // 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,11 +118,8 @@ AboutDialog::AboutDialog() date += ')'; _lines.push_back(date); - - addLine(""); - addLine("\\C""Copyright (C) 2002-2006 The ScummVM project"); - addLine("\\C""http://www.scummvm.org"); - addLine(""); + for (i = 0; i < ARRAYSIZE(copyright_text); i++) + addLine(copyright_text[i]); addLine("\\C\\c1""Features compiled in:"); Common::String features("\\C"); @@ -136,16 +144,14 @@ AboutDialog::AboutDialog() //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; |