diff options
Diffstat (limited to 'src/gui/gui.h')
-rw-r--r-- | src/gui/gui.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/gui.h b/src/gui/gui.h index 129dedfce..0b4b4a292 100644 --- a/src/gui/gui.h +++ b/src/gui/gui.h @@ -134,6 +134,9 @@ class Gui final : public gcn::Gui void setCursorType(const int index) { mCursorType = index; } + void setDoubleClick(const bool b) + { mDoubleClick = b; } + void updateFonts(); bool handleInput(); @@ -159,6 +162,8 @@ class Gui final : public gcn::Gui void handleMouseReleased(const gcn::MouseInput &mouseInput); + void handleMousePressed(const gcn::MouseInput &mouseInput); + void handleMouseInput(); void distributeMouseEvent(gcn::Widget* source, int type, int button, @@ -186,6 +191,7 @@ class Gui final : public gcn::Gui gcn::Color mForegroundColor; gcn::Color mForegroundColor2; bool mCustomCursor; /**< Show custom cursor */ + bool mDoubleClick; }; extern Gui *gui; /**< The GUI system */ |