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:
authorTon Roosendaal <ton@blender.org>2008-12-15 19:54:47 +0300
committerTon Roosendaal <ton@blender.org>2008-12-15 19:54:47 +0300
commita16df53619a2ab3b41c0cbcf6f9e01a9bf370c9c (patch)
treea96b757fd2a791c242b6ace94b22e465bac9b1d2 /source/blender/windowmanager/wm_cursors.h
parentc13bb258b1149d8bbfb97b896a58cd748e7cd861 (diff)
2.5
Mouse cursors now work again - centralized screen-level cursor changes, no more operator running for it. - spacetypes have callback to check/set individual cursor types. Use notifier SCREEN_CHANGED to make sure it works on mode changes etc. - new calls WM_cursor_modal() and WM_cursor_restore() to make temporarily cursor types during modes. - used above for view2d cursors.
Diffstat (limited to 'source/blender/windowmanager/wm_cursors.h')
-rw-r--r--source/blender/windowmanager/wm_cursors.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/windowmanager/wm_cursors.h b/source/blender/windowmanager/wm_cursors.h
index 73ff6ccc19e..e3f0e846b7a 100644
--- a/source/blender/windowmanager/wm_cursors.h
+++ b/source/blender/windowmanager/wm_cursors.h
@@ -32,6 +32,8 @@
#ifndef WM_CURSORS_H
#define WM_CURSORS_H
+void wm_init_cursor_data(void);
+
#define BC_GHOST_CURSORS 1000
/* old cursors */
@@ -72,7 +74,6 @@ typedef struct BCursor {
} BCursor;
-#define LASTCURSOR -2
#define SYSCURSOR -1
enum {
BC_NW_ARROWCURSOR=0,