On Mon, Apr 13, 2009 at 4:30 PM, Frederik Slijkerman <f...@xs4all.nl> 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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to