added a fullscreen button in the top header (windows only)

written by Florian Eggenberger.
This commit is contained in:
2003-05-08 16:24:58 +00:00
parent 97feb53f36
commit ad0bf55843
13 changed files with 112 additions and 12 deletions

View File

@@ -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

View File

@@ -207,6 +207,10 @@ void initglobals(void)
sprintf(versionstr, "www.blender.org %d", G.version);
#ifdef _WIN32 // FULLSCREEN
G.windowstate = G_WINDOWSTATE_USERDEF;
#endif
clear_workob(); /* object.c */
}