• 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: NSSliderCell, lockFocus question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSliderCell, lockFocus question


  • Subject: Re: NSSliderCell, lockFocus question
  • From: Kyle Sluder <email@hidden>
  • Date: Mon, 13 Apr 2009 18:22:08 -0400

On Mon, Apr 13, 2009 at 4:30 PM, Frederik Slijkerman <email@hidden> wrote:
> Currently I'm porting a custom slider control that needs to draw parts
> of the its interface, like the slider bar and the knob, in the OS style.
> The code that I currently have draws this to a temporary bitmap to avoid
> flicker on Windows and I'd like to keep it like this as much as possible
> to avoid forking the code too much.

Don't expect your drawing code to be at all similar on the two OSes.
For starters, OS X already double-buffers for you.

In fact, why not just use a regular NSSliderCell, and forego custom
drawing altogether?  Custom UI that deviates significantly from
established convention is usually not well received on the Macintosh
platform.

--Kyle Sluder
_______________________________________________

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

References: 
 >NSSliderCell, lockFocus question (From: Frederik Slijkerman <email@hidden>)

  • Prev by Date: Best way to get a non-repeating random number?
  • Next by Date: Re: NSSliderCell, lockFocus question
  • Previous by thread: NSSliderCell, lockFocus question
  • Next by thread: Re: NSSliderCell, lockFocus question
  • Index(es):
    • Date
    • Thread