Re: CGFloat in 10.4

2008-03-18 Thread bensyverson
Awesome... thank you SO much! - bun David Duncan wrote .. > If your targeting the 10.4 SDK: > > const float * c = [myColor components]; > > If your targeting the 10.5 SDK: > > const CGFLoat * c = [myColor components]; > > Deployment target doesn't matter here. Just which SDK your targeting.

Re: CGFloat in 10.4

2008-03-18 Thread David Duncan
On Mar 18, 2008, at 5:58 PM, bensyverson wrote: Okay -- but how do I get CIColor components in 10.4? Both float* and double* throw a warning ("assignment from incompatible pointer type," and "assignment discards qualifiers from pointer target type," respectively) If your targeting the 10.

Re: CGFloat in 10.4

2008-03-18 Thread bensyverson
Okay -- but how do I get CIColor components in 10.4? Both float* and double* throw a warning ("assignment from incompatible pointer type," and "assignment discards qualifiers from pointer target type," respectively) Thanks! - ben David Duncan wrote .. > > The Mac OS X 10.4 SDK doesn't have

Re: CGFloat in 10.4

2008-03-18 Thread David Duncan
On Mar 18, 2008, at 5:11 PM, bensyverson wrote: I have a few CIColor's that I need to query for their color components, but I'm running into errors. Here's what I'm trying to do: CGFloat *color; color = [ciColor components]; Xcode complains, saying CGFloat is undeclared. I think I'm includin

CGFloat in 10.4

2008-03-18 Thread bensyverson
Hey all, I have a few CIColor's that I need to query for their color components, but I'm running into errors. Here's what I'm trying to do: CGFloat *color; color = [ciColor components]; Xcode complains, saying CGFloat is undeclared. I think I'm including all the appropriate headers... What giv