diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-05-27 05:24:29 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-05-27 05:24:29 +0300 |
commit | 7ed7901c00867a951bd2bb0e179d7b087cd68d9d (patch) | |
tree | e56516b474129832741940db72cea13bcc933522 /source/blender/windowmanager/gizmo | |
parent | 43af0f4d16edce82faa2ea8e01dd4eca68594346 (diff) |
Gizmo: add flag to disable tooltip
For some gizmos that follow the mouse cursor, this gets in the way.
Diffstat (limited to 'source/blender/windowmanager/gizmo')
-rw-r--r-- | source/blender/windowmanager/gizmo/WM_gizmo_types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/windowmanager/gizmo/WM_gizmo_types.h b/source/blender/windowmanager/gizmo/WM_gizmo_types.h index 955fb959e92..e79031193c2 100644 --- a/source/blender/windowmanager/gizmo/WM_gizmo_types.h +++ b/source/blender/windowmanager/gizmo/WM_gizmo_types.h @@ -89,6 +89,9 @@ typedef enum eWM_GizmoFlag { /** Don't pass through events to other handlers * (allows click/drag not to have it's events stolen by press events in other keymaps). */ WM_GIZMO_EVENT_HANDLE_ALL = (1 << 10), + + /** Don't use tool-tips for this gizmo (can be distracting). */ + WM_GIZMO_NO_TOOLTIP = (1 << 11), } eWM_GizmoFlag; /** |