Re: NSSliderCell, lockFocus question
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