summaryrefslogtreecommitdiff
path: root/src/events
diff options
context:
space:
mode:
Diffstat (limited to 'src/events')
-rw-r--r--src/events/keyevent.h24
-rw-r--r--src/events/mouseevent.h18
2 files changed, 21 insertions, 21 deletions
diff --git a/src/events/keyevent.h b/src/events/keyevent.h
index c0c950639..6ca3d87d8 100644
--- a/src/events/keyevent.h
+++ b/src/events/keyevent.h
@@ -103,19 +103,19 @@ class KeyEvent: public InputGuiEvent
* @param key The key of the event.
*/
KeyEvent(gcn::Widget *const source,
- const bool shiftPressed,
- const bool controlPressed,
- const bool altPressed,
- const bool metaPressed,
- const unsigned int type,
- const bool numericPad,
- const int actionId,
- const Key &key) :
+ const bool shiftPressed,
+ const bool controlPressed,
+ const bool altPressed,
+ const bool metaPressed,
+ const unsigned int type,
+ const bool numericPad,
+ const int actionId,
+ const Key &key) :
InputGuiEvent(source,
- shiftPressed,
- controlPressed,
- altPressed,
- metaPressed),
+ shiftPressed,
+ controlPressed,
+ altPressed,
+ metaPressed),
mKey(key),
#ifdef USE_SDL2
mText(),
diff --git a/src/events/mouseevent.h b/src/events/mouseevent.h
index 9378faac6..fc8088341 100644
--- a/src/events/mouseevent.h
+++ b/src/events/mouseevent.h
@@ -97,15 +97,15 @@ class MouseEvent: public InputGuiEvent
* It's set to zero if another button is used.
*/
MouseEvent(gcn::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) :
+ 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,