Re: Focus Rings
Re: Focus Rings
- Subject: Re: Focus Rings
- From: Ricky Sharp <email@hidden>
- Date: Tue, 24 Oct 2006 06:59:39 -0500
On Tuesday, October 24, 2006, at 06:44AM, Aleksandr Skobelev <email@hidden> wrote:
>
>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. :)
Use a tool such as Adobe Illustrator.
--
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