Ticket #7981: aboutdialog.diff
File aboutdialog.diff, 1.7 KB (added by , 22 years ago) |
---|
-
scummvm/gui/dialog.cpp
diff -urN /home/khalek/cvs/scummvm/gui/dialog.cpp scummvm/gui/dialog.cpp
old new 369 369 370 370 #pragma mark - 371 371 372 AboutDialog::AboutDialog(NewGui *gui) 373 : Dialog (gui, 30, 10, 260, 134) 374 { 375 addButton(110, 110, 40, 15, CUSTOM_STRING(23), kCloseCmd, 'C'); // Close dialog - FIXME 376 new StaticTextWidget(this, 60, 17, 240, 16, "Build " SCUMMVM_VERSION " (" SCUMMVM_CVS ")"); 377 new StaticTextWidget(this, 10, 37, 240, 16, "ScummVM http://scummvm.sourceforge.net"); 378 new StaticTextWidget(this, 60, 67, 240, 16, "All games (c) LucasArts"); 379 new StaticTextWidget(this, 100, 84, 240, 16, "Except"); 380 new StaticTextWidget(this, 30, 97, 240, 16, "Simon the Sorcerer (c) Adventuresoft"); 381 } 372 382 373 383 PauseDialog::PauseDialog(NewGui *gui) 374 384 : Dialog (gui, 50, 80, 220, 16) -
scummvm/gui/dialog.h
diff -urN /home/khalek/cvs/scummvm/gui/dialog.h scummvm/gui/dialog.h
old new 92 92 class KeysDialog; 93 93 class MiscDialog; 94 94 95 class AboutDialog : public Dialog { 96 public: 97 AboutDialog(NewGui *gui); 98 }; 99 95 100 class OptionsDialog : public Dialog { 96 101 protected: 97 102 SoundDialog *_soundDialog; -
scummvm/newgui.cpp
diff -urN /home/khalek/cvs/scummvm/newgui.cpp scummvm/newgui.cpp
old new 60 60 61 61 void NewGui::aboutDialog() 62 62 { 63 //if (!_aboutDialog)64 //_aboutDialog = new AboutDialog(this);65 //openDialog(_aboutDialog);63 if (!_aboutDialog) 64 _aboutDialog = new AboutDialog(this); 65 openDialog(_aboutDialog); 66 66 } 67 67 68 68 void NewGui::optionsDialog()