diff options
author | Max Horn | 2002-08-31 14:53:26 +0000 |
---|---|---|
committer | Max Horn | 2002-08-31 14:53:26 +0000 |
commit | 828d0849a10029d633bfdd447a3c31ab27520fc8 (patch) | |
tree | 66a4faec1052082ae1e22228dd749bc208403bac | |
parent | c41b6b53d26d9e7578373d4a1a50de42c4129c4e (diff) | |
download | scummvm-rg350-828d0849a10029d633bfdd447a3c31ab27520fc8.tar.gz scummvm-rg350-828d0849a10029d633bfdd447a3c31ab27520fc8.tar.bz2 scummvm-rg350-828d0849a10029d633bfdd447a3c31ab27520fc8.zip |
fix for bug #599511 (crash when choosing 'about' option)
svn-id: r4883
-rw-r--r-- | gui/dialog.cpp | 14 | ||||
-rw-r--r-- | gui/gui.cpp | 16 |
2 files changed, 15 insertions, 15 deletions
diff --git a/gui/dialog.cpp b/gui/dialog.cpp index 3f3d192475..2caf5f541e 100644 --- a/gui/dialog.cpp +++ b/gui/dialog.cpp @@ -398,14 +398,14 @@ void OptionsDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data #pragma mark - AboutDialog::AboutDialog(NewGui *gui) - : Dialog (gui, 30, 10, 260, 134) + : Dialog (gui, 30, 20, 260, 124) { - addButton(110, 110, 40, 16, CUSTOM_STRING(23), kCloseCmd, 'C'); // Close dialog - FIXME - new StaticTextWidget(this, 10, 17, 240, 16, "Build " SCUMMVM_VERSION " (" SCUMMVM_CVS ")", kTextAlignCenter); - new StaticTextWidget(this, 10, 37, 240, 16, "ScummVM http://scummvm.sourceforge.net", kTextAlignCenter); - new StaticTextWidget(this, 10, 67, 240, 16, "All games (c) LucasArts", kTextAlignCenter); - new StaticTextWidget(this, 10, 84, 240, 16, "Except", kTextAlignCenter); - new StaticTextWidget(this, 10, 97, 240, 16, "Simon the Sorcerer (c) Adventuresoft", kTextAlignCenter); + addButton(110, 100, 40, 16, CUSTOM_STRING(23), kCloseCmd, 'C'); // Close dialog - FIXME + new StaticTextWidget(this, 10, 10, 240, 16, "Build " SCUMMVM_VERSION " (" SCUMMVM_CVS ")", kTextAlignCenter); + new StaticTextWidget(this, 10, 30, 240, 16, "ScummVM http://scummvm.sourceforge.net", kTextAlignCenter); + new StaticTextWidget(this, 10, 50, 240, 16, "All games (c) LucasArts", kTextAlignCenter); + new StaticTextWidget(this, 10, 64, 240, 16, "Except", kTextAlignCenter); + new StaticTextWidget(this, 10, 78, 240, 16, "Simon the Sorcerer (c) Adventuresoft", kTextAlignCenter); } PauseDialog::PauseDialog(NewGui *gui) diff --git a/gui/gui.cpp b/gui/gui.cpp index 78c9011394..2a7fa3db25 100644 --- a/gui/gui.cpp +++ b/gui/gui.cpp @@ -191,14 +191,14 @@ const GuiWidget keys_dialog[] = { }; const GuiWidget about_dialog[] = { - {GUI_STAT, 0xFF, GWF_DEFAULT, 30, 10, 260, 134, 0, 0}, - {GUI_CUSTOMTEXT, 0x01, 0, 30 + 68, 10 + 20, 160, 15, 0, 9}, // Build - {GUI_CUSTOMTEXT, 0x01, 0, 30 + 10, 10 + 35, 240, 15, 0, 10}, // ScummVM Url - {GUI_CUSTOMTEXT, 0x01, 0, 30 + 75, 10 + 65, 150, 15, 0, 11}, // Lucasarts - {GUI_CUSTOMTEXT, 0x01, 0, 30 + 110, 10 + 80, 40, 15, 0, 21}, // Except: - {GUI_CUSTOMTEXT, 0x01, 0, 30 + 25, 10 + 95, 210, 15, 0, 22}, // Adventuresoft - {GUI_SCROLLTEXT, 0x01, 0, 30 + 95, 10 + 10, 100, 15, 0}, - {GUI_RESTEXT, 0x01, GWF_BUTTON, 30 + 100, 10 + 112, 54, 16, 40, 9}, + {GUI_STAT, 0xFF, GWF_DEFAULT, 30, 20, 260, 124, 0, 0}, + {GUI_CUSTOMTEXT, 0x01, 0, 30 + 68, 20 + 10, 160, 15, 0, 9}, // Build + {GUI_CUSTOMTEXT, 0x01, 0, 30 + 10, 20 + 30, 240, 15, 0, 10}, // ScummVM Url + {GUI_CUSTOMTEXT, 0x01, 0, 30 + 75, 20 + 50, 150, 15, 0, 11}, // Lucasarts + {GUI_CUSTOMTEXT, 0x01, 0, 30 + 110, 20 + 64, 40, 15, 0, 21}, // Except: + {GUI_CUSTOMTEXT, 0x01, 0, 30 + 25, 20 + 78, 210, 15, 0, 22}, // Adventuresoft + {GUI_SCROLLTEXT, 0x01, 0, 30 + 95, 20 + 10, 100, 15, 0}, + {GUI_RESTEXT, 0x01, GWF_BUTTON, 30 + 100, 20 + 100, 54, 16, 40, 9}, {0, 0, 0, 0, 0, 0, 0, 0, 0} }; |