On Aug 15, 2012, at 20:39 , Charlie Dickman <3tothe...@comcast.net> wrote:
> I DO NOT call drawRect directly. I DO call [self setNeedsDisplay: YES] to > keep things going. All drawing is done from inside drawRect which has been > invoked through the use of [self setNeedsDisplay: YES], That's good. Next step is to eliminate your voodoo code: > while (![self lockFocusIfCanDraw]) RELQ(.1); > … > [self unlockFocus]; > [[self window] flushWindow]; and look for the actual problem ("the images never show"). You shouldn't assume that the problem is with the 2 image 'drawInRect:…' messages. It could well be that the earlier code in 'drawRect:' has done something wrong. My guess is that an earlier part of 'drawRect:' failed to save/restore the graphics context around some drawing that changed then invalidated the current context. _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com