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 08:21:33 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-10-18 09:09:26 +0300
commit6bf8c95e521d6effe9e1c426e14efe20dac81175 (patch)
tree30844bc632bba9bb083480ff8cb708d3e9878978 /source/blender/makesrna/intern/rna_wm_api.c
parent59c95a8ca27f13ba972dfd3ee29d3a633b4012ec (diff)
UI: expose additional cursors to the Python API
Diffstat (limited to 'source/blender/makesrna/intern/rna_wm_api.c')
-rw-r--r--source/blender/makesrna/intern/rna_wm_api.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_wm_api.c b/source/blender/makesrna/intern/rna_wm_api.c
index 7c3b119abb9..09ed525fd87 100644
--- a/source/blender/makesrna/intern/rna_wm_api.c
+++ b/source/blender/makesrna/intern/rna_wm_api.c
@@ -64,6 +64,13 @@ const EnumPropertyItem rna_enum_window_cursor_items[] = {
{WM_CURSOR_NS_SCROLL, "SCROLL_Y", 0, "Scroll-Y", ""},
{WM_CURSOR_NSEW_SCROLL, "SCROLL_XY", 0, "Scroll-XY", ""},
{WM_CURSOR_EYEDROPPER, "EYEDROPPER", 0, "Eyedropper", ""},
+ {WM_CURSOR_PICK_AREA, "PICK_AREA", 0, "Pick Area", ""},
+ {WM_CURSOR_STOP, "STOP", 0, "Stop", ""},
+ {WM_CURSOR_COPY, "COPY", 0, "Copy", ""},
+ {WM_CURSOR_CROSS, "CROSS", 0, "Cross", ""},
+ {WM_CURSOR_MUTE, "MUTE", 0, "Mute", ""},
+ {WM_CURSOR_ZOOM_IN, "ZOOM_IN", 0, "Zoom In", ""},
+ {WM_CURSOR_ZOOM_OUT, "ZOOM_OUT", 0, "Zoom Out", ""},
{0, NULL, 0, NULL, NULL},
};