• 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: Aleksandr Skobelev <email@hidden>
  • Date: Tue, 24 Oct 2006 12:52:10 +0400

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.

All the best,
Aleksandr Skobelev

On Oct 24, 2006, at 10:53 , Seth Willits wrote:

On Oct 23, 2006, at 11:11 PM, Scott Anguish wrote:

yep.  you can't use that.. you have to do the focus ring needs
display in rect method instead.

that fixes it.


AHhhhhhh..... You're right. Okay cool. I have working code, then. :)

It's ugly, and I feel there's a better way, but it works. :)



--
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:
40envionsoftware.com


This email sent to email@hidden

_______________________________________________ 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: Ricky Sharp <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>)

  • Prev by Date: Re: Focus Rings
  • Next by Date: Re: Text character under the mouse cursor in an NSTextView
  • Previous by thread: Re: Focus Rings
  • Next by thread: Re: Focus Rings
  • Index(es):
    • Date
    • Thread