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:
Diffstat (limited to 'source/blender/blenkernel/BKE_global.h')
-rw-r--r--source/blender/blenkernel/BKE_global.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_global.h b/source/blender/blenkernel/BKE_global.h
index 43db9f08914..ebdd008847c 100644
--- a/source/blender/blenkernel/BKE_global.h
+++ b/source/blender/blenkernel/BKE_global.h
@@ -121,6 +121,9 @@ typedef struct Global {
/* this variable is written to / read from FileGlobal->fileflags */
int fileflags;
+ /* save the allowed windowstate of blender when using -W or -w */
+ int windowstate;
+
/* Janco's playing ground */
struct bSoundListener* listener;
@@ -189,6 +192,11 @@ typedef struct Global {
#define G_FILE_SIGN (1 << G_FILE_SIGN_BIT)
#define G_FILE_PUBLISH (1 << G_FILE_PUBLISH_BIT)
+/* G.windowstate */
+#define G_WINDOWSTATE_USERDEF 0
+#define G_WINDOWSTATE_BORDER 1
+#define G_WINDOWSTATE_FULLSCREEN 2
+
/* G.simulf */
#define G_LOADFILE 2
#define G_RESTART 4