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-05 14:51:52 +0400
committerRob Haarsma <phaseIV@zonnet.nl>2003-05-05 14:51:52 +0400
commit9e79a6222f7b3df073ad1f4244f400a22a9f92c8 (patch)
tree7c23c32a3ffeded21dbc34b4fa313e669a420729 /source/blender/src/ghostwinlay.c
parente234b144cb062b588b3f6626d20fe56a25944cd6 (diff)
added fullscreen command line switch on Win32 -W
written by Florian Eggenberger.
Diffstat (limited to 'source/blender/src/ghostwinlay.c')
-rw-r--r--source/blender/src/ghostwinlay.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/src/ghostwinlay.c b/source/blender/src/ghostwinlay.c
index cc67916c224..73cb6cb9f40 100644
--- a/source/blender/src/ghostwinlay.c
+++ b/source/blender/src/ghostwinlay.c
@@ -234,8 +234,10 @@ Window *window_open(char *title, int posx, int posy, int sizex, int sizey, int s
inital_state= start_maximized?
GHOST_kWindowStateFullScreen:GHOST_kWindowStateNormal;
#else
- inital_state= start_maximized?
- GHOST_kWindowStateMaximized:GHOST_kWindowStateNormal;
+ if (start_maximized == 2)
+ inital_state= GHOST_kWindowStateFullScreen;
+ else
+ inital_state= start_maximized?GHOST_kWindowStateMaximized:GHOST_kWindowStateNormal;
#endif
ghostwin= GHOST_CreateWindow(g_system,