diff options
| author | Max Horn | 2007-05-30 16:40:11 +0000 | 
|---|---|---|
| committer | Max Horn | 2007-05-30 16:40:11 +0000 | 
| commit | c9bee38839c83282b8b55890901e1f4076535c57 (patch) | |
| tree | 6c28f19764df6a08e4b488c20cf7b34d0eeed0ab /engines/scumm/dialogs.cpp | |
| parent | 5aeb9d8b3e902eeedaa6a85f1f38afff06f85ac9 (diff) | |
| download | scummvm-rg350-c9bee38839c83282b8b55890901e1f4076535c57.tar.gz scummvm-rg350-c9bee38839c83282b8b55890901e1f4076535c57.tar.bz2 scummvm-rg350-c9bee38839c83282b8b55890901e1f4076535c57.zip  | |
Modified version of patch #1727045 INDY3: IQ Points Dialog
svn-id: r27012
Diffstat (limited to 'engines/scumm/dialogs.cpp')
| -rw-r--r-- | engines/scumm/dialogs.cpp | 9 | 
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/scumm/dialogs.cpp b/engines/scumm/dialogs.cpp index a95aeacdad..13babc181f 100644 --- a/engines/scumm/dialogs.cpp +++ b/engines/scumm/dialogs.cpp @@ -910,7 +910,16 @@ void ValueDisplayDialog::open() {  	_timer = getMillis() + kDisplayDelay;  } +Indy3IQPointsDialog::Indy3IQPointsDialog(ScummEngine *scumm, char* text) +	: InfoDialog(scumm, text) { +} +void Indy3IQPointsDialog::handleKeyDown(uint16 ascii, int keycode, int modifiers) { +	if (ascii == 'i')  +		close(); +	else +		ScummDialog::handleKeyDown(ascii, keycode, modifiers); +}  } // End of namespace Scumm  | 
