summaryrefslogtreecommitdiff
path: root/src/events/mouseevent.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/events/mouseevent.h')
-rw-r--r--src/events/mouseevent.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/src/events/mouseevent.h b/src/events/mouseevent.h
index 8ef65cca4..06b51e82a 100644
--- a/src/events/mouseevent.h
+++ b/src/events/mouseevent.h
@@ -86,10 +86,6 @@ class MouseEvent: public InputGuiEvent
* Constructor.
*
* @param source The source widget of the mouse event.
- * @param shiftPressed True if shift is pressed, false otherwise.
- * @param controlPressed True if control is pressed, false otherwise.
- * @param altPressed True if alt is pressed, false otherwise.
- * @param metaPressed True if meta is pressed, false otherwise.
* @param type The type of the mouse event.
* @param button The button of the mouse event.
* @param x The x coordinate of the event relative to the source widget.
@@ -98,20 +94,12 @@ class MouseEvent: public InputGuiEvent
* It's set to zero if another button is used.
*/
MouseEvent(Widget *const source,
- const bool shiftPressed,
- const bool controlPressed,
- const bool altPressed,
- const bool metaPressed,
const unsigned int type,
const unsigned int button,
const int x,
const int y,
const int clickCount) :
- InputGuiEvent(source,
- shiftPressed,
- controlPressed,
- altPressed,
- metaPressed),
+ InputGuiEvent(source),
mType(type),
mButton(button),
mX(x),