On Mar 2, 2009, at 6:19 PM, Graham Cox wrote:
On 03/03/2009, at 2:30 AM, Eric Gorr wrote:
[self lockFocus];
[NSGraphicsContext saveGraphicsState];
NSRect focusRingBounds = [self bounds];
NSSetFocusRingStyle( NSFocusRingOnly );
NSBezierPath *path = [NSBezierPath
bezierPathWithRect:focusRing
On 03/03/2009, at 2:30 AM, Eric Gorr wrote:
[self lockFocus];
[NSGraphicsContext saveGraphicsState];
NSRect focusRingBounds = [self bounds];
NSSetFocusRingStyle( NSFocusRingOnly );
NSBezierPath *path = [NSBezierPath
bezierPathWithRect:focusRingBounds];
[path setClip];
[path fill];
[NSGraphic
On Mar 2, 2009, at 7:42 AM, cocoa-dev-requ...@lists.apple.com wrote:
On Feb 27, 2009, at 6:29 PM, Graham Cox wrote:
On 28/02/2009, at 7:07 AM, Eric Gorr wrote:
Is this focus ring something I need to draw myself or is there
some way to get the fieldEditor to draw it?
If you are using the
On Feb 27, 2009, at 6:29 PM, Graham Cox wrote:
On 28/02/2009, at 7:07 AM, Eric Gorr wrote:
If I check the value of focusRingType for the fieldEditor which is
currently handling the text input, I get a value back of
NSFocusRingTypeDefault. But, even if I set the value to
NSFocusRingTypeE
On 28/02/2009, at 7:07 AM, Eric Gorr wrote:
If I check the value of focusRingType for the fieldEditor which is
currently handling the text input, I get a value back of
NSFocusRingTypeDefault. But, even if I set the value to
NSFocusRingTypeExterior, no focus ring is drawn.
Is this focus r
If I check the value of focusRingType for the fieldEditor which is
currently handling the text input, I get a value back of
NSFocusRingTypeDefault. But, even if I set the value to
NSFocusRingTypeExterior, no focus ring is drawn.
Is this focus ring something I need to draw myself or is there