diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-10-08 09:07:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-10-08 09:07:56 +0300 |
commit | ebe216f532845069bc5bb7b45e2eda03756b81cc (patch) | |
tree | e7b4431caf75e1d5432a7e76c8c52ae1974029d4 /source/blender/makesdna/DNA_space_types.h | |
parent | de07bf2b13e8239b5175e9c4b79fc09f096b1b86 (diff) |
Sequencer: add option to toggle gizmos
Use shortcut matching the 3D view & popover in the header
Diffstat (limited to 'source/blender/makesdna/DNA_space_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_space_types.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index f6ce71dad54..ac55fa0df01 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -641,10 +641,11 @@ typedef struct SpaceSeq { /** Deprecated, handled by View2D now. */ float zoom DNA_DEPRECATED; /** See SEQ_VIEW_* below. */ - int view; - int overlay_type; + char view; + char overlay_type; /** Overlay an image of the editing on below the strips. */ - int draw_flag; + char draw_flag; + char gizmo_flag; char _pad[4]; /** 2D cursor for transform. */ @@ -729,6 +730,15 @@ typedef struct MaskSpaceInfo { char _pad3[5]; } MaskSpaceInfo; +/** #SpaceSeq.gizmo_flag */ +enum { + /** All gizmos. */ + SEQ_GIZMO_HIDE = (1 << 0), + SEQ_GIZMO_HIDE_NAVIGATE = (1 << 1), + SEQ_GIZMO_HIDE_CONTEXT = (1 << 2), + SEQ_GIZMO_HIDE_TOOL = (1 << 3), +}; + /* SpaceSeq.mainb */ typedef enum eSpaceSeq_OverlayType { SEQ_DRAW_OVERLAY_RECT = 0, |