diff options
author | Max Horn | 2003-06-08 12:11:14 +0000 |
---|---|---|
committer | Max Horn | 2003-06-08 12:11:14 +0000 |
commit | be9e6e85db6ecbaaefcc8fe46066e0ac34bf1201 (patch) | |
tree | 482155e803af627d1d335605c1e93bece8ea541b /gui | |
parent | 083f4c48455d2bdeb84877c7f3ce2b0169bff94e (diff) | |
download | scummvm-rg350-be9e6e85db6ecbaaefcc8fe46066e0ac34bf1201.tar.gz scummvm-rg350-be9e6e85db6ecbaaefcc8fe46066e0ac34bf1201.tar.bz2 scummvm-rg350-be9e6e85db6ecbaaefcc8fe46066e0ac34bf1201.zip |
added quit event
svn-id: r8398
Diffstat (limited to 'gui')
-rw-r--r-- | gui/newgui.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/newgui.cpp b/gui/newgui.cpp index f1292d49bc..f45f599e44 100644 --- a/gui/newgui.cpp +++ b/gui/newgui.cpp @@ -190,6 +190,9 @@ void NewGui::runLoop() { case OSystem::EVENT_WHEELDOWN: activeDialog->handleMouseWheel(event.mouse.x - activeDialog->_x, event.mouse.y - activeDialog->_y, 1); break; + case OSystem::EVENT_QUIT: + _system->quit(); + break; } } |