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:
authorRob Haarsma <phaseIV@zonnet.nl>2003-05-08 20:24:58 +0400
committerRob Haarsma <phaseIV@zonnet.nl>2003-05-08 20:24:58 +0400
commitad0bf55843f8c025132b2f86569e87b31673d1ac (patch)
tree68d9b6616837bb030ffcf89d4259398d5646c064 /source/blender/blenkernel/BKE_global.h
parent97feb53f3659ce4e074af29901a561fcac460d39 (diff)
added a fullscreen button in the top header (windows only)
written by Florian Eggenberger.
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