diff options
author | Torbjörn Andersson | 2007-03-17 16:08:29 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2007-03-17 16:08:29 +0000 |
commit | 8a2529b2d6fa83efc0da64e4f7fc003d84b18a59 (patch) | |
tree | 91a8d7ac21da95d4f2750b0ea504f155afe7786c /engines/agi/savegame.cpp | |
parent | cfe7ecd6d914026080698e5c6330a0ee1db6b8a9 (diff) | |
download | scummvm-rg350-8a2529b2d6fa83efc0da64e4f7fc003d84b18a59.tar.gz scummvm-rg350-8a2529b2d6fa83efc0da64e4f7fc003d84b18a59.tar.bz2 scummvm-rg350-8a2529b2d6fa83efc0da64e4f7fc003d84b18a59.zip |
Allow synthetic events in dialog windows, e.g. so you can use keyboard repeat
when scrolling the list of savegames.
svn-id: r26175
Diffstat (limited to 'engines/agi/savegame.cpp')
-rw-r--r-- | engines/agi/savegame.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/agi/savegame.cpp b/engines/agi/savegame.cpp index a689c6a3ab..8a58d67f58 100644 --- a/engines/agi/savegame.cpp +++ b/engines/agi/savegame.cpp @@ -509,6 +509,8 @@ int AgiEngine::selectSlot() { for (i = 0; i < 2; i++) _gfx->drawButton(buttonX[i], buttonY, buttonText[i], 0, 0, MSG_BOX_TEXT, MSG_BOX_COLOUR); + AllowSyntheticEvents on(this); + for (;;) { char dstr[64]; for (i = 0; i < NUM_VISIBLE_SLOTS; i++) { |