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:
authorCampbell Barton <ideasman42@gmail.com>2021-10-18 09:01:32 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-10-18 09:18:48 +0300
commit2a8e5128c16c17a7b2f6fc5325dc8f5abb4427d4 (patch)
treed2b114295d5fdaef89dea75f84bf1f44d8cf08f7 /source/blender/windowmanager/WM_types.h
parent6bf8c95e521d6effe9e1c426e14efe20dac81175 (diff)
WM: support setting the operators idle cursor
Support setting a cursor when an operator is waiting for input.
Diffstat (limited to 'source/blender/windowmanager/WM_types.h')
-rw-r--r--source/blender/windowmanager/WM_types.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_types.h b/source/blender/windowmanager/WM_types.h
index c4612485e5a..b5f6caf4cb7 100644
--- a/source/blender/windowmanager/WM_types.h
+++ b/source/blender/windowmanager/WM_types.h
@@ -903,6 +903,9 @@ typedef struct wmOperatorType {
/** RNA integration */
ExtensionRNA rna_ext;
+ /** Cursor to use when waiting for cursor input, see: #OPTYPE_DEPENDS_ON_CURSOR. */
+ int cursor_pending;
+
/** Flag last for padding */
short flag;