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:
authorTon Roosendaal <ton@blender.org>2003-10-10 21:29:01 +0400
committerTon Roosendaal <ton@blender.org>2003-10-10 21:29:01 +0400
commit0d03929b9b2cb05936a62e84fecfff18fca2fa7b (patch)
tree921c8ec7c8e451538b10a00037cf550bfcd5f6d4 /source/blender/src/ghostwinlay.c
parent952cd8260eb20f42c3c23306c89b2eb68f5a112f (diff)
Another huge commit!!!
First, check on the new files, which are listed below. The new butspace.h is a local include, only to be used for the buttons drawn in the buttonswindow. - editbuts, animbuts, gamebuts, displaybuts, paintbuts, work now - i quite completely reorganized it, it's now nicely telling you what context it is in - sorting error in panel align fixed (tabs were flipping) - align works correctly automatic when you click around in Blender - editsca.c renamed to buttons_logic.h - button names are truncated from the right for allmost all buttons (except text buttons and number buttons) - while dragging panels, you cannot move them outside window anymore And of course fixed loads of little bugs I encountered while testing it all. This is a version I really need good test & feedback for. Next step: restoring material/lamp/texture/world
Diffstat (limited to 'source/blender/src/ghostwinlay.c')
-rw-r--r--source/blender/src/ghostwinlay.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/src/ghostwinlay.c b/source/blender/src/ghostwinlay.c
index cf29efd71b8..e4fa0429d28 100644
--- a/source/blender/src/ghostwinlay.c
+++ b/source/blender/src/ghostwinlay.c
@@ -229,6 +229,10 @@ Window *window_open(char *title, int posx, int posy, int sizex, int sizey, int s
int scr_w, scr_h;
winlay_get_screensize(&scr_w, &scr_h);
+ if(G.f & G_DEBUG) {
+ printf("screen size %d %d\n", scr_w, scr_h);
+ printf("win start %d %d size %d %d\n", posx, posy, sizex, sizey);
+ }
posy= (scr_h-posy-sizey);
/* create a fullscreen window on unix by default*/
@@ -241,7 +245,7 @@ Window *window_open(char *title, int posx, int posy, int sizex, int sizey, int s
inital_state= GHOST_kWindowStateFullScreen;
else
inital_state= start_maximized?GHOST_kWindowStateMaximized:GHOST_kWindowStateNormal;
-#else
+#else // APPLE
inital_state= start_maximized?GHOST_kWindowStateMaximized:GHOST_kWindowStateNormal;
#endif
#endif