diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-11-20 01:15:53 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-11-20 01:15:53 +0300 |
commit | 5f9de429acdb9e4df93f659b4ac8ad118f286f57 (patch) | |
tree | 441f5ddbbafa3c1b1c692098dca891a408294bc1 /source/blender/makesdna | |
parent | f0b5a9da017a00c094cb7ab8bd0aa289c921a117 (diff) |
UI: show keyconfig prefs directly under preset
The keyconfig preset and it's preferences were too far apart,
show the preferences under the preset in a collapsible box.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_userdef_types.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h index 58beb729892..6ae6eaed1c6 100644 --- a/source/blender/makesdna/DNA_userdef_types.h +++ b/source/blender/makesdna/DNA_userdef_types.h @@ -541,7 +541,9 @@ typedef struct UserDef { * which are outside the scope of typical preferences. */ short app_flag; short language; - short userpref, viewzoom; + short userpref; + char userpref_flag; + char viewzoom; int mixbufsize; int audiodevice; @@ -684,6 +686,12 @@ typedef enum eUserPref_Section { USER_SECTION_LIGHT = 7, } eUserPref_Section; +/* UserDef.userpref_flag (State of the user preferences UI). */ +typedef enum eUserPref_SectionFlag { + /* Hide/expand keymap preferences. */ + USER_SECTION_INPUT_HIDE_UI_KEYCONFIG = (1 << 0), +} eUserPref_SectionFlag; + /* UserDef.flag */ typedef enum eUserPref_Flag { USER_AUTOSAVE = (1 << 0), |