Re: Template Images in Table Cells

2011-12-29 Thread Seth Willits
On Dec 28, 2011, at 3:19 AM, Lee Ann Rucker wrote: I'm currently drawing the image in my custom cell using [image drawInRect:], the image is a proper template image (the property is YES etc), but it's still just a grayscale image. You have to let the cell draw the image. [NSImage

Re: Template Images in Table Cells

2011-12-29 Thread Kyle Sluder
On Thu, Dec 29, 2011 at 12:26 PM, Seth Willits sli...@araelium.com wrote: On Dec 28, 2011, at 3:19 AM, Lee Ann Rucker wrote: I'm currently drawing the image in my custom cell using [image drawInRect:], the image is a proper template image (the property is YES etc), but it's still just a

Re: Template Images in Table Cells

2011-12-29 Thread Lee Ann Rucker
On Dec 28, 2011, at 3:19 AM, Lee Ann Rucker wrote: I'm currently drawing the image in my custom cell using [image drawInRect:], the image is a proper template image (the property is YES etc), but it's still just a grayscale image. You have to let the cell draw the image. [NSImage

Re: Template Images in Table Cells

2011-12-29 Thread Seth Willits
On Dec 29, 2011, at 1:42 PM, Kyle Sluder wrote: So it seems there's more to it than simply having the template image be in the button cell. Did you remember to set backgroundStyle=NSBackgroundStyleRaised on the NSButtonCell? This is described in the Text and Image Effects section of the

Re: Template Images in Table Cells

2011-12-28 Thread Kyle Sluder
On Tue, Dec 27, 2011 at 10:43 PM, Seth Willits sli...@araelium.com wrote: I want to use template images as the icon next to the text for some rows in a table/outline view, as part of the source list look. Normally I'd just use full color images, but now that we're being led into monotony by

Re: Template Images in Table Cells

2011-12-28 Thread Lee Ann Rucker
I'm currently drawing the image in my custom cell using [image drawInRect:], the image is a proper template image (the property is YES etc), but it's still just a grayscale image. You have to let the cell draw the image. [NSImage drawInRect:...] doesn't change the image and whatever

Template Images in Table Cells

2011-12-27 Thread Seth Willits
I want to use template images as the icon next to the text for some rows in a table/outline view, as part of the source list look. Normally I'd just use full color images, but now that we're being led into monotony by Apple's new look in Lion, I expect to be able to use a template image