aboutsummaryrefslogtreecommitdiff
path: root/gui/newgui.cpp
diff options
context:
space:
mode:
authorMax Horn2003-06-08 12:11:14 +0000
committerMax Horn2003-06-08 12:11:14 +0000
commitbe9e6e85db6ecbaaefcc8fe46066e0ac34bf1201 (patch)
tree482155e803af627d1d335605c1e93bece8ea541b /gui/newgui.cpp
parent083f4c48455d2bdeb84877c7f3ce2b0169bff94e (diff)
downloadscummvm-rg350-be9e6e85db6ecbaaefcc8fe46066e0ac34bf1201.tar.gz
scummvm-rg350-be9e6e85db6ecbaaefcc8fe46066e0ac34bf1201.tar.bz2
scummvm-rg350-be9e6e85db6ecbaaefcc8fe46066e0ac34bf1201.zip
added quit event
svn-id: r8398
Diffstat (limited to 'gui/newgui.cpp')
-rw-r--r--gui/newgui.cpp3
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;
}
}