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-23 17:31:28 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-06-23 21:52:47 +0300
commit85c1e61375532e91d5fc37b1d754cf76c17f7721 (patch)
tree459ed56b972e108036dc1c7e097003f2b234fdd7 /source/blender/makesdna/DNA_userdef_types.h
parent2fa231a86b4179ed513da2469df877497b346162 (diff)
UI: Add user defined context menu
- Add/Remove from RMB context menu. - Stored in user preferences. - Access from Q key. See T55027.
Diffstat (limited to 'source/blender/makesdna/DNA_userdef_types.h')
-rw-r--r--source/blender/makesdna/DNA_userdef_types.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h
index 71e7600d2ff..1230efbc247 100644
--- a/source/blender/makesdna/DNA_userdef_types.h
+++ b/source/blender/makesdna/DNA_userdef_types.h
@@ -430,6 +430,17 @@ typedef struct bPathCompare {
char flag, pad[7];
} bPathCompare;
+typedef struct bUserMenuItem {
+ struct bUserMenuItem *next, *prev;
+ char space_type;
+ char opcontext;
+ char _pad0[6];
+ char ui_name[64];
+ char opname[64];
+ char context[64];
+ struct IDProperty *prop;
+} bUserMenuItem;
+
typedef struct SolidLight {
int flag, pad;
float col[4], spec[4], vec[4];
@@ -511,6 +522,8 @@ typedef struct UserDef {
struct ListBase user_keymaps;
struct ListBase addons;
struct ListBase autoexec_paths;
+ struct ListBase user_menu_items; /* bUserMenuItem */
+
char keyconfigstr[64];
short undosteps;