Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-06-30 21:59:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-30 22:08:48 +0300
commit6a13b6324b42fedb0ad886e6c64816358058d627 (patch)
treedd7e42720031978eb7083b370cce458bfedb0c43 /source/blender/makesdna/DNA_userdef_types.h
parent7d48a342d66cc7664b008ff512bd00e740eb7629 (diff)
UI: support check-boxes in quick menu
Could support other RNA types, however menus don't work well in this case.
Diffstat (limited to 'source/blender/makesdna/DNA_userdef_types.h')
-rw-r--r--source/blender/makesdna/DNA_userdef_types.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h
index 59c6aa9bd1b..d2782dee9ff 100644
--- a/source/blender/makesdna/DNA_userdef_types.h
+++ b/source/blender/makesdna/DNA_userdef_types.h
@@ -465,10 +465,19 @@ typedef struct bUserMenuItem_Menu {
char mt_idname[64];
} bUserMenuItem_Menu;
+typedef struct bUserMenuItem_Prop {
+ bUserMenuItem item;
+ char context_data_path[256];
+ char prop_id[64];
+ int prop_index;
+ char _pad0[4];
+} bUserMenuItem_Prop;
+
enum {
USER_MENU_TYPE_SEP = 1,
USER_MENU_TYPE_OPERATOR = 2,
USER_MENU_TYPE_MENU = 3,
+ USER_MENU_TYPE_PROP = 4,
};
typedef struct SolidLight {