diff options
author | Julian Eisel <eiseljulian@gmail.com> | 2019-09-18 15:21:32 +0300 |
---|---|---|
committer | Julian Eisel <eiseljulian@gmail.com> | 2019-09-18 15:22:50 +0300 |
commit | 95373e274908615df2e5dbf6243b055ff2c39518 (patch) | |
tree | 0721772da52667ab5cbefa8e9f7dea55ca4710ef /source/blender/makesrna/intern/rna_userdef.c | |
parent | e2cbf8b1174d512170f490f701c43213c874a717 (diff) |
Refactor temp-space opening for optional fullscreen mode
Will be put to use in followup commits.
Diffstat (limited to 'source/blender/makesrna/intern/rna_userdef.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_userdef.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c index 548111500ad..94f800c82a9 100644 --- a/source/blender/makesrna/intern/rna_userdef.c +++ b/source/blender/makesrna/intern/rna_userdef.c @@ -4044,6 +4044,20 @@ static void rna_def_userdef_view(BlenderRNA *brna) {0, NULL, 0, NULL, NULL}, }; + static const EnumPropertyItem temp_space_display_types[] = { + {USER_TEMP_SPACE_DISPLAY_FULLSCREEN, + "SCREEN", /* Could be FULLSCREEN, but keeping it consistent with render_display_types */ + 0, + "Full Screen", + "Open the temporary editor in a maximized screen"}, + {USER_TEMP_SPACE_DISPLAY_WINDOW, + "WINDOW", + 0, + "New Window", + "Open the temporary editor in a new window"}, + {0, NULL, 0, NULL, NULL}, + }; + PropertyRNA *prop; StructRNA *srna; |