NSView Stacked Mouse Moves
NSView Stacked Mouse Moves
- Subject: NSView Stacked Mouse Moves
- From: Jack <email@hidden>
- Date: Mon, 7 Feb 2005 00:42:55 +0000
Developers,
I have three NSView all stacked over one another.
The first NSView draws a background.
The second NSView takes a long time to draw and does various drawings
on the (partial) parentView.
The third view is meant to track mouse moves.
I recieve events and my wish is to render just the last NSView - ie the
third view - for performance reasons.
In my third NSView - I use a NSBezierPath and also use the
NSGraphics.drawAttributedString method.
I have used the isOpaque and that seems to render just the third view.
But I cant clear the third NSView - If i use a color and fill the rect
then the contents behind will not show.
If i use a clearColor then the rect is not fresh.
Somehow I am looking for a way to render just the third NSView fresh
each time.
I have tried various different ways such as removing the NSView and
then atttaching it right back.
That did not help.
Please can someone give me some advice.
Many Thanks
With Kind Regards,
----------------------------
Jack
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden