[Drawkit] New To list & DrawKit

Graham Cox graham.cox at bigpond.com
Thu Jul 3 19:49:01 PDT 2008


On 4 Jul 2008, at 12:37 pm, Dick Applebaum wrote:

> Hi.
>
> I am new to this list & DrawKit!

Welcome ;-)

> Still, I can't save files (or even change the drawing size & grid  
> params)... beach ball of death!
>
>
> Thoughts?

Ah, yes. Try building using the 10.4uSDK build setting. There is a  
problem with Beta 3 and the 10.5 SDK. If you prefer, you can fix the  
problem code, which is in DKGradient.m. the function cmpColorStops  
should be changed to:

static int cmpColorStops (DKColorStop* lh, DKColorStop* rh, void  
*context)
{
	#pragma unused(context)
	
	float lp = [lh position];
	float rp = [rh position];
	
	//NSLog(@"positions: %f, %f", lp, rp );
	
	if (lp < rp)
		return NSOrderedAscending;
	else if (lp > rp)
		return NSOrderedDescending;
	else
		return NSOrderedSame;
}

(the difference is the object types of the function parameters).

This might seem completely unrelated to the issue you're having, but  
trust me ;-) If you are interested in the history of this, the list  
archives will reveal all.


cheers, Graham



More information about the Drawkit mailing list