diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-08-23 17:13:52 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-09-11 13:43:28 +0300 |
commit | e1178266e713ae7184fc60c3ecb93d42d8b28a53 (patch) | |
tree | 5cea7a841344925a7423a3b50205c0acfbd08074 /source/blender/makesdna/DNA_workspace_types.h | |
parent | 6acf8642e5c464a0879cf37e3f39cd3e526a2019 (diff) |
Workspace: support reordering of workspaces from RMB menu.
Drag and drop will follow later, it's a bit complicated to make this work
reliable in the current UI code.
Diffstat (limited to 'source/blender/makesdna/DNA_workspace_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_workspace_types.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_workspace_types.h b/source/blender/makesdna/DNA_workspace_types.h index fd56c246c96..ad047a85c18 100644 --- a/source/blender/makesdna/DNA_workspace_types.h +++ b/source/blender/makesdna/DNA_workspace_types.h @@ -144,12 +144,15 @@ typedef struct WorkSpace { char tools_space_type; /** Type is different for each space-type. */ char tools_mode; - char _pad[6]; + char _pad[2]; int object_mode; int flags DNA_PRIVATE_WORKSPACE; /* enum eWorkSpaceFlags */ + /* Number for workspace tab reordering in the UI. */ + int order; + /* Info text from modal operators (runtime). */ char *status_text; } WorkSpace; |