bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSdrawInRect... (AppKit) not implemented [suggestion]


From: Fred Kiefer
Subject: Re: NSdrawInRect... (AppKit) not implemented [suggestion]
Date: Sat, 12 Mar 2005 20:46:28 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040906

Hi Colin,

Colin Howarth wrote:
I'm trying out the "latest" version of GNUStep (from startup 0.9.2) (on a Debian unstable system - but that's not really the problem, I think :-) I couldn't figure out why NSdrawInRect... wasn't working, but NSdissolveToPoint:fromRect: etc were. Eventually I looked at the source code :-) and the answer is obvious: the function is not implemented.

this is somewhat hard to understand. There aren't any NSdrawInRect or NSdissolveToPoint:fromRect: functions in GNUstep or Cocoa. You are probably refering to the methods on NSImage, dissolveToPoint:fraction: and drawInRect:fromRect:operation:fraction:. If so, then the later has been implemented in the meantime. (Startup only provides the latest release code, development goes on in CVS) I would expect a new release of GUI to be due within the next month, but don't hold your breath on it.

suggestion: could you at least put in an NSLog or something to let people know that it's not implemented yet?

Yes, I remember a discussion from years back, if the missing methods should fail (raise an exception) or just log that they are not implemented. We decided on the later, but did not implement it. Sorry for that. I remember writing a METHOD_NOT_YET_IMPLEMENTED macro to ease this, but never commited it.

I'd like to help - but I'm an absolute beginner at ObjC and GNUstep so it'll be a while ...

Great, there surely will still be work to do, when you are up to speed.

Fred




reply via email to

[Prev in Thread] Current Thread [Next in Thread]