Menu Proposal

2006-11-29 Thread Christopher Armstrong
Hi all I wish to make a proposal regarding NSMenu. There has been alot of debate about GNUstep's stacked menus in the past. It is clear that alot of people like GNUstep's stacked menus, but alot of people also have different ideas about how menus should be displayed. I want to propose one pragmati

Re: Menu Proposal

2006-11-29 Thread Adrian Robert
On Nov 29, 2006, at 7:19 AM, Christopher Armstrong wrote: I am proposing that we separate the visual representation of a menu (which includes the window it is drawn in (NSMenuPanel), the view (NSMenuView) and the item cells (NSMenuItemCell)) from the abstract representation of a menu (NSMenu).

Re: Menu Proposal

2006-11-29 Thread Matt Rice
On 2006-11-29 04:19:25 -0800 Christopher Armstrong <[EMAIL PROTECTED]> wrote: Hi all I wish to make a proposal regarding NSMenu. There has been alot of debate about GNUstep's stacked menus in the past. It is clear that alot of people like GNUstep's stacked menus, but alot of people also have

Re: Menu Proposal

2006-11-29 Thread Fred Kiefer
Matt Rice schrieb: > On 2006-11-29 04:19:25 -0800 Christopher Armstrong > <[EMAIL PROTECTED]> wrote: > >> Hi all >> >> I wish to make a proposal regarding NSMenu. There has been alot of >> debate about GNUstep's stacked menus in the past. It is clear that alot >> of people like GNUstep's stacked m

Re: Menu Proposal

2006-11-29 Thread Christopher Armstrong
Fred Kiefer wrote: I like the original idea, although I currently don't see to much benefit from it. Perhaps we should have the interface for the new implementation first, before we get any new code. I do wish to devise some sort of protocol before I carry out any work. This was meant as a so

Re: Menu Proposal

2006-11-29 Thread Richard Frith-Macdonald
On 29 Nov 2006, at 12:19, Christopher Armstrong wrote: I have been looking at the code in NSMenu, and at the moment NSMenu is reponsible for creating an NSMenuView and the NSPanel object that it is housed in. As a result, this code makes the assumption that a menu is always in a separate win

Re: Menu Proposal

2006-11-29 Thread Christopher Armstrong
Richard Frith-Macdonald wrote: On 29 Nov 2006, at 12:19, Christopher Armstrong wrote: I have been looking at the code in NSMenu, and at the moment NSMenu is reponsible for creating an NSMenuView and the NSPanel object that it is housed in. As a result, this code makes the assumption that a men

Re: Menu Proposal

2006-11-29 Thread Richard Frith-Macdonald
On 30 Nov 2006, at 05:17, Christopher Armstrong wrote: Richard Frith-Macdonald wrote: I have been assuming that we could support per-window menus by dynamically moving the menu view from window to window as the menu in each window needs to be drawn (since this is what is already done fo

Re: Menu Proposal

2006-11-30 Thread Matt Rice
On 2006-11-29 16:32:48 -0800 Fred Kiefer <[EMAIL PROTECTED]> wrote: Matt Rice schrieb: On 2006-11-29 04:19:25 -0800 Christopher Armstrong <[EMAIL PROTECTED]> wrote: Hi all I wish to make a proposal regarding NSMenu. There has been alot of debate about GNUstep's stacked menus in the past. It