summaryrefslogtreecommitdiff
path: root/src/events
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-20 22:36:48 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-20 22:36:48 +0300
commitd83c6dd523827087681f019ebfca8798380dc968 (patch)
tree65515ef8405399007fef057bc37dc39ab1911000 /src/events
parent26f9aad24bc50d4e9fd161d185df049c9e7a62cf (diff)
downloadplus-d83c6dd523827087681f019ebfca8798380dc968.tar.gz
plus-d83c6dd523827087681f019ebfca8798380dc968.tar.bz2
plus-d83c6dd523827087681f019ebfca8798380dc968.tar.xz
plus-d83c6dd523827087681f019ebfca8798380dc968.zip
fix code style.
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,