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:
authorNicholas Bishop <nicholasbishop@gmail.com>2009-01-24 19:59:55 +0300
committerNicholas Bishop <nicholasbishop@gmail.com>2009-01-24 19:59:55 +0300
commitd62955bcac3afa5cc3632d11228a0df96166f7c3 (patch)
tree53540cb673794debd0e91a3364f673cb6baf3873 /source/blender/windowmanager/wm.h
parent2edfe5307bf7560d9d2bc5553d8367ae5306e51b (diff)
Added back old sculptmode FKEY radial control. (Moved fullscreen to F11KEY for now.)
Notes: * So far, only size mode ported and tested, still strength and rotation to do * Brought this back for sculptmode first, still to do are particle edit, vpaint, wpaint, texpaint, and I guess image paint? * Changed the wm paint cursor slightly, to take a customdata pointer. * Still need to bring back brush texture display in the cursor
Diffstat (limited to 'source/blender/windowmanager/wm.h')
-rw-r--r--source/blender/windowmanager/wm.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/windowmanager/wm.h b/source/blender/windowmanager/wm.h
index ecb40f34174..556a3fadcfb 100644
--- a/source/blender/windowmanager/wm.h
+++ b/source/blender/windowmanager/wm.h
@@ -32,9 +32,11 @@ struct wmWindow;
typedef struct wmPaintCursor {
struct wmPaintCursor *next, *prev;
+
+ void *customdata;
int (*poll)(struct bContext *C);
- void (*draw)(bContext *C, int, int);
+ void (*draw)(bContext *C, int, int, void *customdata);
} wmPaintCursor;
extern void wm_close_and_free(bContext *C, wmWindowManager *);