aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorMax Horn2003-07-22 16:08:57 +0000
committerMax Horn2003-07-22 16:08:57 +0000
commit22a86e823cc6b2682ecfbe7a7a00541c71efa63f (patch)
tree70cf70e573c67d201f6081872fa369b5bc4e4a6f /gui
parentbda0a18eeeb8e8c3f2bc6ba947878075a2f355bc (diff)
downloadscummvm-rg350-22a86e823cc6b2682ecfbe7a7a00541c71efa63f.tar.gz
scummvm-rg350-22a86e823cc6b2682ecfbe7a7a00541c71efa63f.tar.bz2
scummvm-rg350-22a86e823cc6b2682ecfbe7a7a00541c71efa63f.zip
use kLineHeight constant (also strictly spoken it makes no sense: kLineHeight = 11, yet we only put 10 pixels between our lines :-)
svn-id: r9123
Diffstat (limited to 'gui')
-rw-r--r--gui/about.cpp14
1 files changed, 7 insertions, 7 deletions
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);
}