From 22a86e823cc6b2682ecfbe7a7a00541c71efa63f Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 22 Jul 2003 16:08:57 +0000 Subject: use kLineHeight constant (also strictly spoken it makes no sense: kLineHeight = 11, yet we only put 10 pixels between our lines :-) svn-id: r9123 --- gui/about.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'gui') diff --git a/gui/about.cpp b/gui/about.cpp index dc402f73dc..1bfd6c77bf 100644 --- a/gui/about.cpp +++ b/gui/about.cpp @@ -30,19 +30,19 @@ AboutDialog::AboutDialog(NewGui *gui) ScummVM::String version("ScummVM "); version += gScummVMVersion; - new StaticTextWidget(this, 10, 10, _w - 20, 16, version, kTextAlignCenter); + new StaticTextWidget(this, 10, 10, _w - 20, kLineHeight, version, kTextAlignCenter); ScummVM::String date("(built on "); date += gScummVMBuildDate; date += ')'; - new StaticTextWidget(this, 10, 20, _w - 20, 16, date, kTextAlignCenter); + new StaticTextWidget(this, 10, 20, _w - 20, kLineHeight, date, kTextAlignCenter); // TODO: Probably should display something regarding GPL - new StaticTextWidget(this, 10, 35, _w - 20, 16, "Copyright (C) 2002-2003 The ScummVM project", kTextAlignCenter); - new StaticTextWidget(this, 10, 45, _w - 20, 16, "http://www.scummvm.org", kTextAlignCenter); + new StaticTextWidget(this, 10, 35, _w - 20, kLineHeight, "Copyright (C) 2002-2003 The ScummVM project", kTextAlignCenter); + new StaticTextWidget(this, 10, 45, _w - 20, kLineHeight, "http://www.scummvm.org", kTextAlignCenter); - new StaticTextWidget(this, 10, 65, _w - 20, 16, "SCUMM Games (C) LucasArts", kTextAlignCenter); - new StaticTextWidget(this, 10, 75, _w - 20, 16, "Simon the Sorcerer (C) Adventuresoft", kTextAlignCenter); - new StaticTextWidget(this, 10, 85, _w - 20, 16, "Beneath a Steel Sky (C) Revolution", kTextAlignCenter); + new StaticTextWidget(this, 10, 65, _w - 20, kLineHeight, "SCUMM Games (C) LucasArts", kTextAlignCenter); + new StaticTextWidget(this, 10, 75, _w - 20, kLineHeight, "Simon the Sorcerer (C) Adventuresoft", kTextAlignCenter); + new StaticTextWidget(this, 10, 85, _w - 20, kLineHeight, "Beneath a Steel Sky (C) Revolution", kTextAlignCenter); } -- cgit v1.2.3