diff options
| author | Simon 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) |
| commit | f2f4278932e0752c22d15185ce70198077d0b5fd (patch) | |
| tree | d53cc28ba9a9020fc851fb3d89803a52a7d06436 /src/preview/PreviewView.h | |
| parent | 055832270979cdb027c0c30a74cf82c23df13689 (diff) | |
| download | powder-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.h | 2 |
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(); }; |
