summaryrefslogtreecommitdiff
path: root/src/events
diff options
context:
space:
mode:
Diffstat (limited to 'src/events')
-rw-r--r--src/events/actionevent.h2
-rw-r--r--src/events/inputguievent.h10
-rw-r--r--src/events/keyevent.h2
-rw-r--r--src/events/mouseevent.h8
4 files changed, 11 insertions, 11 deletions
diff --git a/src/events/actionevent.h b/src/events/actionevent.h
index df49d6325..3639e6294 100644
--- a/src/events/actionevent.h
+++ b/src/events/actionevent.h
@@ -84,7 +84,7 @@ class Widget;
* Any object can listen for actions from widgets by implementing
* the ActionListener interface.
*
- * If you have implement a widget of your own it's a good idea to
+ * If you have implement a widget of your own it's a good idea to
* let the widget fire action events whenever you feel an action
* has occured so action listeners of the widget can be informed
* of the state of the widget.
diff --git a/src/events/inputguievent.h b/src/events/inputguievent.h
index 282cfbc54..ea5b735b1 100644
--- a/src/events/inputguievent.h
+++ b/src/events/inputguievent.h
@@ -89,9 +89,9 @@ class InputGuiEvent: public Event
/**
* Marks the event as consumed. Input event listeners may discard
* consumed input or act on consumed input. An example of a widget
- * that discards consumed input is the ScrollArea widget that
- * discards consumed mouse wheel events so the ScrollArea will not
- * scroll if for instance a Slider's value inside the ScrollArea was
+ * that discards consumed input is the ScrollArea widget that
+ * discards consumed mouse wheel events so the ScrollArea will not
+ * scroll if for instance a Slider's value inside the ScrollArea was
* changed with the mouse wheel.
*
* @see isConsumed
@@ -102,7 +102,7 @@ class InputGuiEvent: public Event
/**
* Checks if the input event is consumed.
*
- * @return True if the input event is consumed,
+ * @return True if the input event is consumed,
* false otherwise.
* @see consume
*/
@@ -111,7 +111,7 @@ class InputGuiEvent: public Event
protected:
/**
- * True if the input event is consumed,
+ * True if the input event is consumed,
* false otherwise.
*/
bool mIsConsumed;
diff --git a/src/events/keyevent.h b/src/events/keyevent.h
index 1c165d10f..a131a753e 100644
--- a/src/events/keyevent.h
+++ b/src/events/keyevent.h
@@ -139,7 +139,7 @@ class KeyEvent: public InputGuiEvent
#endif
protected:
- /**
+ /**
* Holds the key of the key event.
*/
Key mKey;
diff --git a/src/events/mouseevent.h b/src/events/mouseevent.h
index 9068440ff..c2f1d93cd 100644
--- a/src/events/mouseevent.h
+++ b/src/events/mouseevent.h
@@ -115,7 +115,7 @@ class MouseEvent: public InputGuiEvent
{ return mButton; }
/**
- * Gets the x coordinate of the mouse event.
+ * Gets the x coordinate of the mouse event.
* The coordinate relative to widget the mouse listener
* receiving the events have registered to.
*
@@ -126,7 +126,7 @@ class MouseEvent: public InputGuiEvent
{ return mX; }
/**
- * Gets the y coordinate of the mouse event.
+ * Gets the y coordinate of the mouse event.
* The coordinate relative to widget the mouse listener
* receiving the events have registered to.
*
@@ -191,8 +191,8 @@ class MouseEvent: public InputGuiEvent
* the protected member variables of this class and at the same time
* keep the MouseEvent class as const as possible. Gui needs to
* update the x och y coordinates for the coordinates to be relative
- * to widget the mouse listener receiving the events have registered
- * to.
+ * to widget the mouse listener receiving the events have registered
+ * to.
*/
friend class Gui;
};