diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-10-01 13:26:43 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-10-01 13:26:43 (GMT) |
| commit | 0e394ed62e4a369bb57fe62137878d255c558cb0 (patch) | |
| tree | d1a25ceb7c31338f187a758de8454fe0b02467ad /src/interface/Engine.h | |
| parent | 58763f090043be8709addc9a7ac33aeaab591d7c (diff) | |
| download | powder-0e394ed62e4a369bb57fe62137878d255c558cb0.zip powder-0e394ed62e4a369bb57fe62137878d255c558cb0.tar.gz | |
Don't highlight menus when the mouse button is down.
Diffstat (limited to 'src/interface/Engine.h')
| -rw-r--r-- | src/interface/Engine.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interface/Engine.h b/src/interface/Engine.h index c40f3a4..b825eb8 100644 --- a/src/interface/Engine.h +++ b/src/interface/Engine.h @@ -53,6 +53,7 @@ namespace ui void SetFps(float fps); inline float GetFps() { return fps; }; + inline int GetMouseButton() { return mouseb_; } inline int GetMouseX() { return mousex_; } inline int GetMouseY() { return mousey_; } inline int GetWidth() { return width_; } @@ -89,6 +90,7 @@ namespace ui bool break_; int lastTick; + int mouseb_; int mousex_; int mousey_; int mousexp_; |
