Re: Question on NSToolbar

2009-01-03 Thread Wolfgang Lux
Fred Kiefer wrote: I would expect that we always have the menu as the topmost view in the window, then the toolbar and last the actual contents view. Currently the toolbar increases the size of the window, when switched on. It could as well decrease the size of the contents view. Which

Re: Question on NSToolbar

2009-01-03 Thread Richard Frith-Macdonald
On 3 Jan 2009, at 09:51, Wolfgang Lux wrote: Fred Kiefer wrote: I would expect that we always have the menu as the topmost view in the window, then the toolbar and last the actual contents view. Currently the toolbar increases the size of the window, when switched on. It could as well

Re: Question on NSToolbar

2009-01-03 Thread David Chisnall
On 3 Jan 2009, at 10:02, Richard Frith-Macdonald wrote: On 3 Jan 2009, at 09:51, Wolfgang Lux wrote: Fred Kiefer wrote: I would expect that we always have the menu as the topmost view in the window, then the toolbar and last the actual contents view. Currently the toolbar increases the

Re: Question on NSToolbar

2009-01-03 Thread Doug Simons
On Jan 2, 2009, at 2:55 PM, Fred Kiefer wrote: And I changed the code to resize the content view instead of resizing the whole window. I think this is what Apple is doing and it will lead to less flickery displays. Actually, when a toolbar is shown or hidden Apple resizes the window to

Re: Question on NSToolbar

2009-01-02 Thread Quentin Mathé
Le 1 janv. 09 à 20:48, Fred Kiefer a écrit : Quentin Mathé wrote: Le 30 déc. 08 à 20:07, Fred Kiefer a écrit : For this I need to understand a bit more of the current toolbar code and what better way is there to do this than to rewrite that code? In NSWindow+Toolbar.m, only

Re: Question on NSToolbar

2009-01-02 Thread Richard Frith-Macdonald
On 30 Dec 2008, at 19:07, Fred Kiefer wrote: I am currently in the process of changing the GNUstep toolbar handling to work on the window decoration view instead of using a separate view to integrate the toolbar. If you are working on that, please could you also look at drawing menus

Re: Question on NSToolbar

2009-01-02 Thread Fred Kiefer
Richard Frith-Macdonald wrote: On 30 Dec 2008, at 19:07, Fred Kiefer wrote: I am currently in the process of changing the GNUstep toolbar handling to work on the window decoration view instead of using a separate view to integrate the toolbar. If you are working on that, please could

Re: Question on NSToolbar

2009-01-02 Thread Fred Kiefer
Quentin Mathé wrote: Btw, basic support for toolbar customization is available in the Toolbar branch. I'm just mentionning it in case you want to reuse it later on. See http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/Toolbar/ This branch includes various changes to existing toolbar

Re: Question on NSToolbar

2009-01-02 Thread Quentin Mathé
Le 2 janv. 09 à 20:26, Fred Kiefer a écrit : Quentin Mathé wrote: Btw, basic support for toolbar customization is available in the Toolbar branch. I'm just mentionning it in case you want to reuse it later on. See http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/Toolbar/ This branch

Re: Question on NSToolbar

2009-01-02 Thread Fred Kiefer
Fred Kiefer wrote: Richard Frith-Macdonald wrote: On 30 Dec 2008, at 19:07, Fred Kiefer wrote: I am currently in the process of changing the GNUstep toolbar handling to work on the window decoration view instead of using a separate view to integrate the toolbar. If you are working on that,

Re: Question on NSToolbar

2009-01-02 Thread Gregory John Casamento
Consultant - OLC, Inc # GNUstep Chief Maintainer From: Fred Kiefer fredkie...@gmx.de To: GNUstep Developer gnustep-dev@gnu.org Sent: Friday, January 2, 2009 4:55:24 PM Subject: Re: Question on NSToolbar Fred Kiefer wrote: Richard Frith-Macdonald wrote: On 30 Dec

Re: Question on NSToolbar

2009-01-02 Thread Richard Frith-Macdonald
On 2 Jan 2009, at 19:22, Fred Kiefer wrote: I would expect that we always have the menu as the topmost view in the window, then the toolbar and last the actual contents view. Yes ... with all this lying inside the window border decorations (when we are drawing decorations) of course.

Re: Question on NSToolbar

2009-01-01 Thread Quentin Mathé
Hi Fred, Le 30 déc. 08 à 20:07, Fred Kiefer a écrit : I am currently in the process of changing the GNUstep toolbar handling to work on the window decoration view instead of using a separate view to integrate the toolbar. For this I need to understand a bit more of the current toolbar code

Re: Question on NSToolbar

2009-01-01 Thread Fred Kiefer
Quentin Mathé wrote: Le 30 déc. 08 à 20:07, Fred Kiefer a écrit : For this I need to understand a bit more of the current toolbar code and what better way is there to do this than to rewrite that code? In NSWindow+Toolbar.m, only -runToolbarCustomizationPalette:, -toggleToolbarShown:,

Re: Question on NSToolbar

2008-12-31 Thread Gregory John Casamento
; Quentin Mathé qma...@gmail.com Sent: Tuesday, December 30, 2008 2:07:10 PM Subject: Question on NSToolbar I am currently in the process of changing the GNUstep toolbar handling to work on the window decoration view instead of using a separate view to integrate the toolbar. For this I need