Re: Fuzzy Focus Ring

2010-01-29 Thread Charles Jenkins
Thanks! You guys are the best! I expect this to work great: I'll try it out this weekend. I have come to the conclusion that the best way to enable keyboard control is to make each control knob a separate NSView so the user will tab from knob to knob. Does that sound right, and does anyone hav

Re: Fuzzy Focus Ring

2010-01-28 Thread Corbin Dunn
> Oh, it looks like you can eliminated most of the code below if you're > targetting Mac OS 10.5+. > > #import > > @interface NSView (FocusRing) Ah -- a quick side note on this code sample. Adding a category to NSView with generic names (like drawFocusRing) is quite dangerous. The issue is th

Re: Fuzzy Focus Ring

2010-01-28 Thread vincent habchi
Le 28 janv. 2010 à 19:51, Charles Jenkins a écrit : > 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? No, but maybe you can back the drawing of your control by a smal

Re: Fuzzy Focus Ring

2010-01-28 Thread Jerry Krinock
On 2010 Jan 28, at 10:51, Charles Jenkins wrote: > 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. So, just to be clear, you don't

Fuzzy Focus Ring

2010-01-28 Thread Charles Jenkins
aight 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 k