Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'intern/ghost/GHOST_Types.h')
-rw-r--r--intern/ghost/GHOST_Types.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/intern/ghost/GHOST_Types.h b/intern/ghost/GHOST_Types.h
index f38154cbf94..68516c3ecf8 100644
--- a/intern/ghost/GHOST_Types.h
+++ b/intern/ghost/GHOST_Types.h
@@ -374,6 +374,13 @@ typedef enum {
GHOST_kGrabHide,
} GHOST_TGrabCursorMode;
+typedef enum {
+ /** Axis that cursor grab will wrap. */
+ GHOST_kGrabAxisNone = 0,
+ GHOST_kAxisX = (1 << 0),
+ GHOST_kGrabAxisY = (1 << 1),
+} GHOST_TAxisFlag;
+
typedef void *GHOST_TEventDataPtr;
typedef struct {