Re: Setting A Background Image On A Window

2008-12-10 Thread Michael Ash
On Wed, Dec 10, 2008 at 4:47 PM, Neil <[EMAIL PROTECTED]> 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

Re: Setting A Background Image On A Window

2008-12-10 Thread Brandon Walkin
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 tr

Setting A Background Image On A Window

2008-12-10 Thread Neil
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