diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-30 13:08:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-30 13:08:08 +0300 |
commit | 41176cd3d820649488ec5a5475d5dc7e97a01a59 (patch) | |
tree | 31d8df071e656f1b629eefc4281c74d28ec2d639 /source/blender/makesdna | |
parent | 62ff53ff19e36da0203915d04fc0ce295002f173 (diff) |
UI: support adding menu's to favourites
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_userdef_types.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index 18ec9f37f86..71082572e24 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -460,9 +460,15 @@ typedef struct bUserMenuItem_Op { char _pad0[7]; } bUserMenuItem_Op; +typedef struct bUserMenuItem_Menu { + bUserMenuItem item; + char mt_idname[64]; +} bUserMenuItem_Menu; + enum { USER_MENU_TYPE_SEP = 1, USER_MENU_TYPE_OPERATOR = 2, + USER_MENU_TYPE_MENU = 3, }; typedef struct SolidLight { |