diff options
Diffstat (limited to 'intern/ghost/intern/GHOST_EventButton.h')
-rw-r--r-- | intern/ghost/intern/GHOST_EventButton.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/intern/ghost/intern/GHOST_EventButton.h b/intern/ghost/intern/GHOST_EventButton.h index 7072e0c5409..02804efdcba 100644 --- a/intern/ghost/intern/GHOST_EventButton.h +++ b/intern/ghost/intern/GHOST_EventButton.h @@ -34,21 +34,19 @@ class GHOST_EventButton : public GHOST_Event { public: /** * Constructor. - * \param time The time this event was generated. - * \param type The type of this event. - * \param window The window of this event. - * \param button The state of the buttons were at the time of the event. - * \param tablet The tablet data associated with this event. + * \param time: The time this event was generated. + * \param type: The type of this event. + * \param window: The window of this event. + * \param button: The state of the buttons were at the time of the event. + * \param tablet: The tablet data associated with this event. */ GHOST_EventButton(GHOST_TUns64 time, GHOST_TEventType type, GHOST_IWindow *window, GHOST_TButtonMask button, const GHOST_TabletData &tablet) - : GHOST_Event(time, type, window) + : GHOST_Event(time, type, window), m_buttonEventData({button, tablet}) { - m_buttonEventData.button = button; - m_buttonEventData.tablet = tablet; m_data = &m_buttonEventData; } |