If I assign an image to an NSButton it is displayed with nice pressed and 
disabled effects.

In my custom NSButton, that should display image1+title+image2, I override 
drawRect:, but how do I obtain the EXACT SAME system effects for the two images?

I plan to use NSImage drawInRect:fromRect:operation:fraction:, it would be nice 
if it had an pressed/disabled/effect argument…
/Lars

_______________________________________________

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

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

Reply via email to