diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /intern/ghost/intern/GHOST_EventNDOF.h | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff) |
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
Diffstat (limited to 'intern/ghost/intern/GHOST_EventNDOF.h')
-rw-r--r-- | intern/ghost/intern/GHOST_EventNDOF.h | 43 |
1 files changed, 20 insertions, 23 deletions
diff --git a/intern/ghost/intern/GHOST_EventNDOF.h b/intern/ghost/intern/GHOST_EventNDOF.h index af4b4cb5f06..196d3868ccd 100644 --- a/intern/ghost/intern/GHOST_EventNDOF.h +++ b/intern/ghost/intern/GHOST_EventNDOF.h @@ -27,31 +27,28 @@ #include "GHOST_Event.h" -class GHOST_EventNDOFMotion : public GHOST_Event -{ -protected: - GHOST_TEventNDOFMotionData m_axisData; - -public: - GHOST_EventNDOFMotion(GHOST_TUns64 time, GHOST_IWindow *window) - : GHOST_Event(time, GHOST_kEventNDOFMotion, window) - { - m_data = &m_axisData; - } +class GHOST_EventNDOFMotion : public GHOST_Event { + protected: + GHOST_TEventNDOFMotionData m_axisData; + + public: + GHOST_EventNDOFMotion(GHOST_TUns64 time, GHOST_IWindow *window) + : GHOST_Event(time, GHOST_kEventNDOFMotion, window) + { + m_data = &m_axisData; + } }; +class GHOST_EventNDOFButton : public GHOST_Event { + protected: + GHOST_TEventNDOFButtonData m_buttonData; -class GHOST_EventNDOFButton : public GHOST_Event -{ -protected: - GHOST_TEventNDOFButtonData m_buttonData; - -public: - GHOST_EventNDOFButton(GHOST_TUns64 time, GHOST_IWindow *window) - : GHOST_Event(time, GHOST_kEventNDOFButton, window) - { - m_data = &m_buttonData; - } + public: + GHOST_EventNDOFButton(GHOST_TUns64 time, GHOST_IWindow *window) + : GHOST_Event(time, GHOST_kEventNDOFButton, window) + { + m_data = &m_buttonData; + } }; -#endif // __GHOST_EVENTNDOF_H__ +#endif // __GHOST_EVENTNDOF_H__ |