Re: Focus Rings
Re: Focus Rings
- Subject: Re: Focus Rings
- From: Ricky Sharp <email@hidden>
- Date: Tue, 24 Oct 2006 06:39:18 -0500
On Tuesday, October 24, 2006, at 03:52AM, Aleksandr Skobelev <email@hidden> wrote:
>An interesting question is how to effectively draw a focus ring
>around non-rectangular area as Cocoa does for transparent buttons
>with images. The main problem here is creating a NSBezierPath from
>arbitrary bounds the image can have.
For my kiosk framework, focus rings always occupy space within the control (view) itself. This allows me to more easily render custom focus rings. I use either bezier paths (for rectangular, rounded-rect, etc.) rings or custom images representing irregular shaped paths.
--
Rick Sharp
Instant Interactive(tm)
_______________________________________________
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