diff options
author | Stijn Buys <ingar@osirion.org> | 2016-07-23 22:10:24 +0200 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2016-07-23 22:10:24 +0200 |
commit | 5de756948709c153894d6b13b5bbc62e722e4149 (patch) | |
tree | 24f92adc944b51616858f52e75d81c2522af930b /src/client/galaxymapwidget.h | |
parent | 492a5aabefb1a25d6c497bb1c8e12201c6d36f1d (diff) |
Made the map widgets catch mouse release events,
preventing events from trickling through to the HUD.
Diffstat (limited to 'src/client/galaxymapwidget.h')
-rw-r--r-- | src/client/galaxymapwidget.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/client/galaxymapwidget.h b/src/client/galaxymapwidget.h index a3cc01d..a48e070 100644 --- a/src/client/galaxymapwidget.h +++ b/src/client/galaxymapwidget.h @@ -45,6 +45,11 @@ protected: * */ virtual bool on_mousepress(const unsigned int button); + /** + * @brief mouse button release event handler + * */ + virtual bool on_mouserelease(const unsigned int button); + private: float galaxymapwidget_zoom; |