Re: NSImageView

2002-06-23 Thread Jeff Teunissen
Fred Kiefer wrote: [snip] > I am not sure, if you are right. The way this should be handled is > different. When a cell does not fill the total background it returns YES > from the isOpaque method. Otherwise, and this is the default, NO is > returned, which should result in all the views below t

Re: NSImageView

2002-06-23 Thread Fred Kiefer
Jeff Teunissen wrote: > Nicola Pero wrote: > > >>We can't change the API, so we probably can't just use a composite >>operation in NSImageView, but must do things properly and optimize >>properly the image drawing to the clipped area in the backend. >> > > NSImageCells with alpha need to clear

NSTextField.m patch

2002-06-23 Thread Serg Stoyan
Hi everybody! Here is a patch that makes selectText working (i.e. highlight text after Return key pressed). [_text_object selectAll:self] doesn't work... But i'm not sure that it's quite correct... Check it please. -- Serg Stoyan --- NSTextField.m.orig Sat Apr 13 14:07:17 2002 +++ NSTextFiel

Re: NSImageView

2002-06-23 Thread Jeff Teunissen
Nicola Pero wrote: > We can't change the API, so we probably can't just use a composite > operation in NSImageView, but must do things properly and optimize > properly the image drawing to the clipped area in the backend. NSImageCells with alpha need to clear their background (or something) befo

GSSimpleLayoutManager.m and NSTextView.m patches

2002-06-23 Thread Serg Stoyan
Hi, everybody! Here is a patch for boundingRectForGlyphRange:inTextContainer: and lineFragmentRectForGlyphAtIndex:effectiveRange: to return system font bounding rect height instead of hardcoded "12" when no text in glyph range or line fragment(empty NSTextField or NSTextView). Also removes usel