• 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: Obtaining the NSGraphicsContext for custom NSView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Obtaining the NSGraphicsContext for custom NSView


  • Subject: Re: Obtaining the NSGraphicsContext for custom NSView
  • From: "John C. Randolph" <email@hidden>
  • Date: Mon, 14 Mar 2005 11:10:10 -0800

It looks like you're trying to implement an NSSlider subclass, in which case you're doing more work than you need to. Did you know that you can override -drawKnob: in NSSliderCell?

-jcr

John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html



_______________________________________________
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: Obtaining the NSGraphicsContext for custom NSView
      • From: Damien Sorresso <email@hidden>
References: 
 >Obtaining the NSGraphicsContext for custom NSView (From: Damien Sorresso <email@hidden>)
 >Re: Obtaining the NSGraphicsContext for custom NSView (From: Chris Eplett <email@hidden>)
 >Re: Obtaining the NSGraphicsContext for custom NSView (From: Damien Sorresso <email@hidden>)

  • Prev by Date: Re: Does CFNotification center == NSNotification Center?
  • Next by Date: Re: Does CFNotification center == NSNotification Center?
  • Previous by thread: Re: Obtaining the NSGraphicsContext for custom NSView
  • Next by thread: Re: Obtaining the NSGraphicsContext for custom NSView
  • Index(es):
    • Date
    • Thread