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 sectio

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.

Re: Template Images in Table Cells

2011-12-29 Thread Kyle Sluder
On Thu, Dec 29, 2011 at 12:26 PM, Seth Willits 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 grayscal

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. [NSIma

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

Re: Template Images in Table Cells

2011-12-28 Thread Kyle Sluder
On Tue, Dec 27, 2011 at 10:43 PM, Seth Willits 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 Apple's new >