• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Focus Rings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Focus Rings
      • From: Aleksandr Skobelev <email@hidden>
References: 
 >Focus Rings (From: Seth Willits <email@hidden>)
 >Re: Focus Rings (From: "Sean McBride" <email@hidden>)
 >Re: Focus Rings (From: Scott Anguish <email@hidden>)
 >Re: Focus Rings (From: Seth Willits <email@hidden>)
 >Re: Focus Rings (From: Scott Anguish <email@hidden>)
 >Re: Focus Rings (From: Seth Willits <email@hidden>)
 >Re: Focus Rings (From: Aleksandr Skobelev <email@hidden>)
 >Re: Focus Rings (From: Ricky Sharp <email@hidden>)
 >Re: Focus Rings (From: Aleksandr Skobelev <email@hidden>)

  • Prev by Date: Re: Focus Rings
  • Next by Date: FYI: Leopard Developer Center
  • Previous by thread: Re: Focus Rings
  • Next by thread: Re: Focus Rings
  • Index(es):
    • Date
    • Thread