|
From: | Adam Fedor |
Subject: | Re: NSMenu changes |
Date: | Fri, 14 Sep 2001 21:24:51 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:0.9.2) Gecko/20010630 |
Fred Kiefer wrote:
After reworking our current menu code I am more and more convinced that a bigger change is needed here. As far as I understand the OpenStep (MacOSX) specification it would be better if not the window, but is representation (the NSMenuView) would own the windows that display the menu. This would support the separation between classes that own abstract information (NSMenu and NSMenuItem) from those who are able to display this information (NSMenuView and NSMenuItemCell), which should allow us to have drop in replacements for the representation with different behaviour.
Well this makes sense. I was originally confused until I realized the 'View' in NSMenuView probably relates to the Object-Control-View paradigm as much as it relates to NSView. I'd at least try to do this part and see if it makes sense to to more after that.
-- Adam Fedor, Digital Optics | Fudd's law of opposition: Push address@hidden http://www.doc.com | something hard enough, and it address@hidden http://www.gnustep.org | will fall over.
[Prev in Thread] | Current Thread | [Next in Thread] |