Re: Non-square (triangular) views
Re: Non-square (triangular) views
- Subject: Re: Non-square (triangular) views
- From: Erik Buck <email@hidden>
- Date: Thu, 16 Nov 2006 15:02:58 -0800 (PST)
All NSViews are rectangular. However, the portion of a view that is sensitive to the mouse can be any shape you want. See -hitTest:
Be careful because sibling views can not be reliably overlapped. If your views never draw in the overlapping portions, you may be OK, but you are outside normal framework usage patterns.
_______________________________________________
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