summaryrefslogtreecommitdiff
path: root/src/preview/PreviewView.h
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2012-08-04 15:39:24 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2012-08-04 15:39:24 (GMT)
commitf2f4278932e0752c22d15185ce70198077d0b5fd (patch)
treed53cc28ba9a9020fc851fb3d89803a52a7d06436 /src/preview/PreviewView.h
parent055832270979cdb027c0c30a74cf82c23df13689 (diff)
downloadpowder-f2f4278932e0752c22d15185ce70198077d0b5fd.zip
powder-f2f4278932e0752c22d15185ce70198077d0b5fd.tar.gz
Better exiting from windows (Escape and Enter) and 'q' for exit, fixes #35 and #60
Diffstat (limited to 'src/preview/PreviewView.h')
-rw-r--r--src/preview/PreviewView.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/preview/PreviewView.h b/src/preview/PreviewView.h
index 312d438..5e777fb 100644
--- a/src/preview/PreviewView.h
+++ b/src/preview/PreviewView.h
@@ -68,7 +68,7 @@ public:
virtual void OnDraw();
virtual void DoDraw();
virtual void OnTick(float dt);
- virtual void OnMouseDown(int x, int y, unsigned button);
+ virtual void OnTryExit(ExitMethod method);
virtual void OnMouseWheel(int x, int y, int d);
virtual ~PreviewView();
};