diff options
Diffstat (limited to 'source/blender/makesdna/DNA_space_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_space_types.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h index cd92418d17d..bbea3b168e3 100644 --- a/source/blender/makesdna/DNA_space_types.h +++ b/source/blender/makesdna/DNA_space_types.h @@ -131,12 +131,14 @@ typedef struct SpaceButs { View2D v2d DNA_DEPRECATED; /* deprecated, copied to region */ + /* For different kinds of property editors (exposed in the space type selector). */ + short space_subtype; + short mainb, mainbo, mainbuser; /* context tabs */ short re_align, align; /* align for panels */ short preview; /* preview is signal to refresh */ char flag; char collection_context; - char pad[2]; void *path; /* runtime */ int pathflag, dataicon; /* runtime */ @@ -215,6 +217,12 @@ typedef enum eSpaceButtons_Align { BUT_AUTO = 3, } eSpaceButtons_Align; +/* SpaceButs.flag */ +typedef enum eSpaceButtons_SubType { + SB_SUBTYPE_DATA = 0, + SB_SUBTYPE_TOOL = 1, +} eSpaceButtons_SubType; + /** \} */ /* -------------------------------------------------------------------- */ |