- // milliseconds XXX: config option
- static const unsigned int DOUBLECLICKDELAY;
-
- //! The last 2 button release processed for CLICKs
- MouseButtonAction _release;
- //! The mouse button currently being watched from a press for a CLICK
- unsigned int _button;
+ //! The last button release processed for CLICKs
+ ButtonReleaseAction _release;
+ //! The last button press processed for CLICKs
+ ButtonPressAction _press;
+ //! This is set to true once a drag has started and false when done to make
+ //! sure the threshold isnt checked anymore once a drag is underway
+ bool _dragging;