Hi Wim,

Willem Rein Oudshoorn wrote:
Since the NSMenuViewWindowTitleBar-thingie is created in NSMenuView's
initWithFrame, and the NSMenu creating the NSMenuView doesn't know its owned by
a popup until right after its init, we are slightly screwed. I suppose we could
catch this on the first sizeToFit in NSMenuView -- like we catch the left
offset?

Yes, that would be an option. Although I would prefer to split the NSMenuView class into two: GSPopupMenuView and GSMenuView.
But your suggestion is easier and Fred Kiefer might object
to the split.

looks as if there was some misunderstanding. I am strongly in favour of such a change. If there is sufficent difference between these cases split them up!
What I don't like is, that you came up with a new protocoll for NSMenuView, which is not there in MacOSX nor Openstep and which is also not required for this change, as both classes will have the superclass NSMenuView.


Fred




_______________________________________________ Bug-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gnustep

Reply via email to