diff options
author | Paul Gilbert | 2018-10-27 15:08:25 -0700 |
---|---|---|
committer | Paul Gilbert | 2018-12-08 19:05:59 -0800 |
commit | 7bbedcd099dfe552547b97482c1d974318d3ce16 (patch) | |
tree | 7af914443cb8a19b945583490c89b38c40faff12 /engines/gargoyle/window_text_buffer.cpp | |
parent | 76bf2726f804a059d48ead24ecca6e1654fb1fb7 (diff) | |
download | scummvm-rg350-7bbedcd099dfe552547b97482c1d974318d3ce16.tar.gz scummvm-rg350-7bbedcd099dfe552547b97482c1d974318d3ce16.tar.bz2 scummvm-rg350-7bbedcd099dfe552547b97482c1d974318d3ce16.zip |
GLK: Beginnings of event handling
Diffstat (limited to 'engines/gargoyle/window_text_buffer.cpp')
-rw-r--r-- | engines/gargoyle/window_text_buffer.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/gargoyle/window_text_buffer.cpp b/engines/gargoyle/window_text_buffer.cpp index 26244e3e9c..fa8a7cced5 100644 --- a/engines/gargoyle/window_text_buffer.cpp +++ b/engines/gargoyle/window_text_buffer.cpp @@ -574,7 +574,7 @@ void TextBufferWindow::click(const Common::Point &newPos) { if (_hyperRequest) { glui32 linkval = g_vm->_windowMask->getHyperlink(newPos); if (linkval) { - g_vm->_events->eventStore(evtype_Hyperlink, this, linkval, 0); + g_vm->_events->store(evtype_Hyperlink, this, linkval, 0); _hyperRequest = false; if (g_conf->_safeClicks) g_vm->_events->_forceClick = 1; @@ -1246,7 +1246,7 @@ void TextBufferWindow::acceptReadChar(glui32 arg) { _charRequest = false; _charRequestUni = false; - g_vm->_events->eventStore(evtype_CharInput, this, key, 0); + g_vm->_events->store(evtype_CharInput, this, key, 0); } void TextBufferWindow::acceptReadLine(glui32 arg) { @@ -1479,11 +1479,11 @@ void TextBufferWindow::acceptLine(glui32 keycode) { glui32 val2 = keycode; if (val2 == keycode_Return) val2 = 0; - g_vm->_events->eventStore(evtype_LineInput, this, len, val2); + g_vm->_events->store(evtype_LineInput, this, len, val2); free(_lineTerminators); _lineTerminators = nullptr; } else { - g_vm->_events->eventStore(evtype_LineInput, this, len, 0); + g_vm->_events->store(evtype_LineInput, this, len, 0); } _lineRequest = false; |