aboutsummaryrefslogtreecommitdiff
path: root/scumm/dialogs.cpp
diff options
context:
space:
mode:
authorMax Horn2003-04-12 17:22:20 +0000
committerMax Horn2003-04-12 17:22:20 +0000
commitfb1409937e33ae9f64538d3a1be90ffe5909524a (patch)
tree37f04944178c6cb2daac5f1df388096f9eca1b2a /scumm/dialogs.cpp
parent68f67c98e641c45936fa4c8b435b34511ed0a41f (diff)
downloadscummvm-rg350-fb1409937e33ae9f64538d3a1be90ffe5909524a.tar.gz
scummvm-rg350-fb1409937e33ae9f64538d3a1be90ffe5909524a.tar.bz2
scummvm-rg350-fb1409937e33ae9f64538d3a1be90ffe5909524a.zip
center close button
svn-id: r6989
Diffstat (limited to 'scumm/dialogs.cpp')
-rw-r--r--scumm/dialogs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/dialogs.cpp b/scumm/dialogs.cpp
index 9d48d338f7..5d1d53e2a7 100644
--- a/scumm/dialogs.cpp
+++ b/scumm/dialogs.cpp
@@ -612,7 +612,7 @@ void OptionsDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data
AboutDialog::AboutDialog(NewGui *gui, Scumm *scumm)
: ScummDialog(gui, scumm, 30, 20, 260, 124) {
- addButton(110, 100, queryCustomString(23), kCloseCmd, 'C'); // Close dialog - FIXME
+ addButton((_w - kButtonWidth)/2, 100, queryCustomString(23), kCloseCmd, 'C'); // Close dialog - FIXME
new StaticTextWidget(this, 10, 10, 240, 16, "ScummVM " SCUMMVM_VERSION " (" SCUMMVM_CVS ")", kTextAlignCenter);
new StaticTextWidget(this, 10, 30, 240, 16, "http://www.scummvm.org", kTextAlignCenter);
new StaticTextWidget(this, 10, 50, 240, 16, "All games (c) LucasArts", kTextAlignCenter);