Try making an NSColor from your image using +colorWithPatternImage:,
and set that color object on the window using -setBackgroundColor:.
On 10-Dec-08, at 4:47 PM, Neil wrote:
I've googled around and poked at the documentation in Xcode, but I
can't seem to find any references to this. I'm trying to do
something like setBackgroundColor, but instead of picking a color, I
want to pick an image.
The end goal is to program an emulator for a small medical device
like an insulin pump; so the background of the window would be an
image of the device, and then I'd put some buttons and fields and
such on top.
_______________________________________________
Cocoa-dev mailing list ([email protected])
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/bwalkin%40gmail.com
This email sent to [EMAIL PROTECTED]
_______________________________________________
Cocoa-dev mailing list ([email protected])
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 [EMAIL PROTECTED]