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:
authorJulian Eisel <eiseljulian@gmail.com>2019-09-18 15:21:32 +0300
committerJulian Eisel <eiseljulian@gmail.com>2019-09-18 15:22:50 +0300
commit95373e274908615df2e5dbf6243b055ff2c39518 (patch)
tree0721772da52667ab5cbefa8e9f7dea55ca4710ef /source/blender/makesrna/intern/rna_userdef.c
parente2cbf8b1174d512170f490f701c43213c874a717 (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.c14
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;