Re: [SOLVED] PlotIconRefInContext doesn't work

2008-05-17 Thread Michael Vannorsdel
Well you didn't present the secret handshake that would open immediate access to such information. Actually, it was probably not brought up earlier as it's kind of an unsaid list etiquette rule exercised by some not to critique someone's choice of APIs unless specifically asked for. Most w

Re: [SOLVED] PlotIconRefInContext doesn't work

2008-05-17 Thread Mike
Adam R. Maxwell wrote: On May 17, 2008, at 2:15 PM, Mike wrote: I solved the problem using the IconFamily library: http://iconfamily.sourceforge.net/ IMO, that's killing a mosquito with a shotgun :). It just astounds me there is no support for icons in Cocoa. You can use -[NSImage initW

Re: [SOLVED] PlotIconRefInContext doesn't work

2008-05-17 Thread Adam R. Maxwell
On May 17, 2008, at 2:15 PM, Mike wrote: I solved the problem using the IconFamily library: http://iconfamily.sourceforge.net/ IMO, that's killing a mosquito with a shotgun :). It just astounds me there is no support for icons in Cocoa. You can use -[NSImage initWithIconRef:] if you only

Re: [SOLVED] PlotIconRefInContext doesn't work

2008-05-17 Thread Mike
Mike wrote: Michael Babin wrote: On May 17, 2008, at 10:06 AM, Michael Vannorsdel wrote: I'm thinking the window might be redrawing itself right after your own drawing and erasing it. You could try disabling the window's auto displaying and flush the window buffer after your draw to determ