• 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
Fuzzy Focus Ring
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Fuzzy Focus Ring


  • Subject: Fuzzy Focus Ring
  • From: Charles Jenkins <email@hidden>
  • Date: Thu, 28 Jan 2010 13:51:45 -0500

Hi, everyone.

I'm embarking on the creation of my first custom control, which will be basically like an NSSlider, but have more than one knob.

To illustrate what I need it for, let's use a handy Star Trek analogy. Say Mr. Scott is in the Enterprise engine room. He has 20 units of power to distribute among four systems: Life Support, Propulsion, Weapons, and Shields. His power routing display might include a control like my own: A vertical slider with one knob each for the four systems. By dragging one of the knobs up or down, Scotty can adjust the amount of power routed to the system. The control would never let the distribution add up to more than 20 units, but any or all system could be assigned zero units.

I guess the control is like a pie chart with an extra slice (for unassigned units) that the slices have been lined up vertically and squashed into a straight line.

Anyway, when a knob is selected with the mouse or by tabbing to it, I'd like the active knob to have a nice, fuzzy focus ring, just like a normal Aqua control. And it should appear blue or graphite color according to the user's preference setting.

Considering that the knob will probably be oddly shaped, how do I get the system to draw the focus ring? Is the system focus ring something you can just add to any graphic?
_______________________________________________


Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Fuzzy Focus Ring
      • From: Charles Jenkins <email@hidden>
    • Re: Fuzzy Focus Ring
      • From: vincent habchi <email@hidden>
    • Re: Fuzzy Focus Ring
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: Re: Which CA Layer am I dragging over?
  • Next by Date: Re: Uncaught exceptions not terminating my app
  • Previous by thread: Re: NSSlider
  • Next by thread: Re: Fuzzy Focus Ring
  • Index(es):
    • Date
    • Thread