Re: Focus Rings
Re: Focus Rings
- Subject: Re: Focus Rings
- From: Aleksandr Skobelev <email@hidden>
- Date: Tue, 24 Oct 2006 15:44:25 +0400
On Oct 24, 2006, at 15:39 , Ricky Sharp wrote:
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.
Couldn't you please elaborate on how to make an irregular shaped path
basing on arbitrary image with transparency? I believe it could save
my poor soul. :)
Thanks in advance,
Aleksandr Skobelev
_______________________________________________
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