• 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: Change NSTableView Drop Highlight (ugly black box)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change NSTableView Drop Highlight (ugly black box)


  • Subject: Re: Change NSTableView Drop Highlight (ugly black box)
  • From: Jon Trainer <email@hidden>
  • Date: Sun, 15 Oct 2006 11:00:06 -0400

Hi Brian,

If you replace the calls to the missing methods with the following, this should fix your problem:

// [NSBezierPath fillRoundRectInRect:drawRect radius:4.0];
[[NSBezierPath bezierPathWithRoundRectInRect:drawRect radius:4.0] fill];



// [NSBezierPath strokeRoundRectInRect:drawRect radius:4.0];
[[NSBezierPath bezierPathWithRoundRectInRect:drawRect radius:4.0] stroke];



Regards, Jon Trainer http://outerlevel.com



On Oct 14, 2006, at 12:35 AM, email@hidden wrote:

------------------------------

Message: 16
Date: Sat, 14 Oct 2006 00:32:27 -0400
From: Brian Amerige <email@hidden>
Subject: Re: Change NSTableView Drop Highlight (ugly black box)
To: email@hidden
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

I ordinarily reply on the list, so, terribly sorry for that last
time. It was an accident, obviously.

As for the fillRoundRectInRect bit, I did check the
NSBezierPathCategory page referenced, and as far as I can see, it
doesn't (or no longer) contains +fillRoundRectInRect. This may be my
own oversighting, but if you can find it there, I'd love to know
where you found it!

Thanks,
Brian Amerige
http://extendmac.com

_______________________________________________ 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
  • Prev by Date: Re: Drawing outside of drawRect for NSView..
  • Next by Date: NSImage Memory Management: To Page Or Not To Page.
  • Previous by thread: Re: Change NSTableView Drop Highlight (ugly black box)
  • Next by thread: Cocoa & the handling of aliases
  • Index(es):
    • Date
    • Thread