diff options
Diffstat (limited to 'source/blender/windowmanager/WM_api.h')
-rw-r--r-- | source/blender/windowmanager/WM_api.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/windowmanager/WM_api.h b/source/blender/windowmanager/WM_api.h index 37ff54d4397..7671fbeb926 100644 --- a/source/blender/windowmanager/WM_api.h +++ b/source/blender/windowmanager/WM_api.h @@ -66,6 +66,7 @@ struct ImageFormatData; struct ARegion; struct ScrArea; struct Main; +struct bToolDef; #ifdef WITH_INPUT_NDOF struct wmNDOFMotionData; @@ -563,6 +564,13 @@ bool WM_event_is_tablet(const struct wmEvent *event); bool WM_event_is_ime_switch(const struct wmEvent *event); #endif +/* wm_toolsystem.c */ +void WM_toolsystem_unlink(struct bContext *C, struct WorkSpace *workspace); +void WM_toolsystem_link(struct bContext *C, struct WorkSpace *workspace); + +void WM_toolsystem_set(struct bContext *C, const struct bToolDef *tool); +void WM_toolsystem_init(struct bContext *C); + #ifdef __cplusplus } #endif |