diff options
author | Lukas Stockner <lukas.stockner@freenet.de> | 2020-10-31 03:55:44 +0300 |
---|---|---|
committer | Lukas Stockner <lukas.stockner@freenet.de> | 2020-10-31 03:57:39 +0300 |
commit | 523414dda2bf81b69b1c04e1145ac21758fa4268 (patch) | |
tree | e93958c16fa10bd3886db505346784a2d86dbdd8 /intern/ghost | |
parent | 316a5914bcc668d5c497881a1a0e5da81ebe7aaf (diff) |
Cleanup: clang-format
Diffstat (limited to 'intern/ghost')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemWin32.cpp | 9 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_SystemWin32.h | 6 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_WindowWin32.h | 2 |
3 files changed, 9 insertions, 8 deletions
diff --git a/intern/ghost/intern/GHOST_SystemWin32.cpp b/intern/ghost/intern/GHOST_SystemWin32.cpp index c506f98d6fe..70933bd668e 100644 --- a/intern/ghost/intern/GHOST_SystemWin32.cpp +++ b/intern/ghost/intern/GHOST_SystemWin32.cpp @@ -961,9 +961,9 @@ GHOST_EventButton *GHOST_SystemWin32::processButtonEvent(GHOST_TEventType type, } GHOST_TSuccess GHOST_SystemWin32::processWintabEvent(GHOST_TEventType type, - GHOST_WindowWin32 *window, - GHOST_TButtonMask mask, - bool mousePressed) + GHOST_WindowWin32 *window, + GHOST_TButtonMask mask, + bool mousePressed) { GHOST_SystemWin32 *system = (GHOST_SystemWin32 *)getSystem(); @@ -1169,7 +1169,8 @@ GHOST_EventCursor *GHOST_SystemWin32::processCursorEvent(GHOST_WindowWin32 *wind return NULL; } - /* If using Wintab but no button event is currently active, fall through to default handling. */ + /* If using Wintab but no button event is currently active, + * fall through to default handling. */ } system->getCursorPosition(x_screen, y_screen); diff --git a/intern/ghost/intern/GHOST_SystemWin32.h b/intern/ghost/intern/GHOST_SystemWin32.h index 51a9dbae238..3b9da4d17d9 100644 --- a/intern/ghost/intern/GHOST_SystemWin32.h +++ b/intern/ghost/intern/GHOST_SystemWin32.h @@ -329,9 +329,9 @@ class GHOST_SystemWin32 : public GHOST_System { * \return True if the method handled the event. */ static GHOST_TSuccess processWintabEvent(GHOST_TEventType type, - GHOST_WindowWin32 *window, - GHOST_TButtonMask mask, - bool mousePressed); + GHOST_WindowWin32 *window, + GHOST_TButtonMask mask, + bool mousePressed); /** * Creates tablet events from pointer events. diff --git a/intern/ghost/intern/GHOST_WindowWin32.h b/intern/ghost/intern/GHOST_WindowWin32.h index aacc0070e5a..bce0d2dca5b 100644 --- a/intern/ghost/intern/GHOST_WindowWin32.h +++ b/intern/ghost/intern/GHOST_WindowWin32.h @@ -34,8 +34,8 @@ # include "GHOST_ImeWin32.h" #endif -#include <vector> #include <queue> +#include <vector> #include <wintab.h> // PACKETDATA and PACKETMODE modify structs in pktdef.h, so make sure they come first |