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

@@ -182,7 +182,21 @@ int BIF_read_homefile(void)
/* disable autoplay in .B.blend... */
G.fileflags &= ~G_FILE_AUTOPLAY;
#ifdef _WIN32 // FULLSCREEN
/* choose window startmode */
switch (G.windowstate){
case G_WINDOWSTATE_USERDEF: /* use the usersetting */
break;
case G_WINDOWSTATE_FULLSCREEN: /* force fullscreen */
U.uiflag |= FLIPFULLSCREEN;
break;
case G_WINDOWSTATE_BORDER: /* force with borders */
U.uiflag &= ~FLIPFULLSCREEN;
}
mainwindow_toggle_fullscreen ((U.uiflag & FLIPFULLSCREEN));
#endif
if (BLI_streq(U.tempdir, "/")) {
char *tmp= getenv("TEMP");