[Bf-committers] Re:creator.c changes

Ton Roosendaal bf-committers@blender.org
Fri, 10 Oct 2003 15:20:26 +0200


Ahh! There's code in Ghost, which gives the available screen size, this  
doesnt take into account the top header.
It should be fixed in Ghost, I tried but gave up after an hour...

It's #ifdef coded in Blender now, assuming the height of the bar is 22  
pixels (default). People with different themes in OSX might run into  
troubles here.
I challenge someone to fix this in ghost!

Anyhoo, a too large defined window (blender -p 0 0 2000 2000) will now  
nicely clip, and put the Blender window header behind the topbar, very  

To not frustrate the powerbook resultion people, I'll keep the standard  
height smaller, so it won't overlap with the bottom toolbar, nor the  
top headerbar. For the future, we can look at a way to initialize  
default OSX window better...

Thanks for the feedback,


On Friday, Oct 10, 2003, at 07:49 Europe/Amsterdam, Michael Velikanje  

> After playing with the opening size in creator.c I ended up back at  
> 'setprefsize(100, 100, 800, 600);' for OS X, my 15" PowerBook has a  
> screen resolution of 1152x768 so the opening size of 'setprefsize(170,  
> 100, 900, 768);' always puts the blender header/menu under the OS X  
> header, it seems that it's a default for OS X to do so as even setting  
> the 'setprefsize(170, 100, 900, 768);' to 'setprefsize(170, 170, 900,  
> 768); to try and force the header down didn't work.
> It's a nice idea, it just doesn't work on the powerbook.
> Michael Velikanje
> --------------------------
> Message: 5
> Date: Thu, 09 Oct 2003 13:43:04 -0800
> From: Michael Velikanje <mikev@gci.net>
> To: bf-committers@blender.org
> Subject: [Bf-committers] creator.c changes
> Reply-To: bf-committers@blender.org
> The change to the default opening size of blender on OS X causes
> blender to open with the header bar (blenders) under the top menu bar
> (OS Xs) making access to the blender header/menu impossible.
> compiled on a PowerBook titanium 550, OS X 2.6
> It's a nice size though :)
> Michael Velikanje
> _______________________________________________
> Bf-committers mailing list
> Bf-committers@blender.org
> http://www.blender.org/mailman/listinfo/bf-committers
Ton Roosendaal  Blender Foundation ton@blender.org