Re: Mouse cursors and overlapping sibling NSViews
Re: Mouse cursors and overlapping sibling NSViews
- Subject: Re: Mouse cursors and overlapping sibling NSViews
- From: edward taffel <email@hidden>
- Date: Thu, 24 Apr 2014 12:47:23 -0400
you hit test in mouseMoved for the rollovers in the OpenGL view, yes? so, the issue, as i see it, is inhibiting mouseMoved in the region of the controls: is it the case that when the OpenGLView is wide that you may render to the right of the controls? or, is there always that margin at the top?
On Apr 24, 2014, at 12:33 PM, Sean McBride <email@hidden> wrote:
> On Thu, 24 Apr 2014 12:12:12 -0400, edward taffel said:
>
>> i’m probably missing something, but—
>> the controls appear sufficiently displaced from the rendering: can’t you
>> decease the height of your tracking rect in order to inhibit mouseMoved
>> in this region?
>
> I'd need two rects, one for the bulk, and one for the top right (the popup does not become wider, but the OpenGL view does). Also, the screenshot was illustrative, there are other sibling views that get added/removed/resized at runtime. Also, like I said before, I also have circular areas that need different cursors, and tracking areas only support rects. :(
>
> Cheers,
>
> --
> ____________________________________________________________
> Sean McBride, B. Eng email@hidden
> Rogue Research www.rogue-research.com
> Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden