• 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: Seth Willits <email@hidden>
  • Date: Sun, 22 Oct 2006 16:01:22 -0700

On Oct 22, 2006, at 2:44 PM, Ricky Sharp wrote:

Is there a *good* example of drawing a rectangular focus ring on a view correctly? The only real complete example I've found (it was on cocoadev.com) has several problems with it. It either is ridiculously inefficient in drawing, keeps redrawing the focus ring ontop of itself so it gets thick and ugly, or doesn't maintain the focus ring correctly when switching windows, however I modify it. It seems like one of those simple things, but it's apparently not simple.

Check out /Developer/Examples/AppKit/ClockControl/

Hmm... Well, I see that they acheived this by using a view larger than the clock and just drawing the focus rect entirely within the view, which is kind of cheating, really. :)



-- Seth Willits



_______________________________________________
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: Seth Willits <email@hidden>
References: 
 >Focus Rings (From: Seth Willits <email@hidden>)
 >Re: Focus Rings (From: Ricky Sharp <email@hidden>)

  • Prev by Date: Re: Re: Tokenfield blues (literally)
  • Next by Date: FSCopyAsync Example + Updating UI
  • Previous by thread: Re: Focus Rings
  • Next by thread: Re: Focus Rings
  • Index(es):
    • Date
    • Thread