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>2019-02-19 07:18:56 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-02-19 08:17:21 +0300
commitf88ea20285891d516c91c976239f95994f73abf3 (patch)
treeef07c2513dcfc688d9c6cdd2fa8aa2fdf8b98d32 /source/blender/windowmanager/gizmo/wm_gizmo_wmapi.h
parenteae2942474fa06b369b3fc6ebdeddad90ca38d43 (diff)
WM: move operator handler to it's own type
Diffstat (limited to 'source/blender/windowmanager/gizmo/wm_gizmo_wmapi.h')
-rw-r--r--source/blender/windowmanager/gizmo/wm_gizmo_wmapi.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/windowmanager/gizmo/wm_gizmo_wmapi.h b/source/blender/windowmanager/gizmo/wm_gizmo_wmapi.h
index 4a0e8f21bcb..c7a6b816dd6 100644
--- a/source/blender/windowmanager/gizmo/wm_gizmo_wmapi.h
+++ b/source/blender/windowmanager/gizmo/wm_gizmo_wmapi.h
@@ -33,6 +33,8 @@
#define __WM_GIZMO_WMAPI_H__
struct wmEventHandler;
+struct wmEventHandler_Gizmo;
+struct wmEventHandler_Op;
struct wmGizmoMap;
struct wmOperator;
struct wmOperatorType;
@@ -65,8 +67,9 @@ void wm_gizmomap_remove(struct wmGizmoMap *gzmap);
void wm_gizmos_keymap(struct wmKeyConfig *keyconf);
void wm_gizmomaps_handled_modal_update(
- bContext *C, struct wmEvent *event, struct wmEventHandler *handler);
-void wm_gizmomap_handler_context(bContext *C, struct wmEventHandler *handler);
+ bContext *C, struct wmEvent *event, struct wmEventHandler_Op *handler);
+void wm_gizmomap_handler_context_op(bContext *C, struct wmEventHandler_Op *handler);
+void wm_gizmomap_handler_context_gizmo(bContext *C, struct wmEventHandler_Gizmo *handler);
struct wmGizmo *wm_gizmomap_highlight_find(
struct wmGizmoMap *gzmap, bContext *C, const struct wmEvent *event,