From 0d03929b9b2cb05936a62e84fecfff18fca2fa7b Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Fri, 10 Oct 2003 17:29:01 +0000 Subject: 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 --- source/blender/src/ghostwinlay.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source/blender/src/ghostwinlay.c') 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 -- cgit v1.2.3