diff options
author | Nicholas Rishel <rishel.nick@gmail.com> | 2021-06-23 03:30:10 +0300 |
---|---|---|
committer | Nicholas Rishel <rishel.nick@gmail.com> | 2022-04-18 01:21:59 +0300 |
commit | bf80dc2bd4ac9fab125982a08d616e248f329701 (patch) | |
tree | 1045ef4027b23beba2498f066c4a3942044e79e4 /intern/ghost/GHOST_Types.h | |
parent | 213cd39b6db387bd88f12589fd50ff0e6563cf56 (diff) |
Add debugging info for Wintab activated by argument `--debug-wintab`.
Bonus: Added docs for `--debug-ghost`.
Differential Revision: https://developer.blender.org/D14610
Diffstat (limited to 'intern/ghost/GHOST_Types.h')
-rw-r--r-- | intern/ghost/GHOST_Types.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/intern/ghost/GHOST_Types.h b/intern/ghost/GHOST_Types.h index c654367072f..85913fbd10c 100644 --- a/intern/ghost/GHOST_Types.h +++ b/intern/ghost/GHOST_Types.h @@ -573,6 +573,16 @@ typedef struct { uint32_t frequency; } GHOST_DisplaySetting; +typedef enum { + /** Axis that cursor grab will wrap. */ + GHOST_kDebugDefault = (1 << 1), + GHOST_kDebugWintab = (1 << 2), +} GHOST_TDebugFlags; + +typedef struct { + int flags; +} GHOST_Debug; + #ifdef _WIN32 typedef void *GHOST_TEmbedderWindowID; #endif // _WIN32 |