gnustep-dev
[Top][All Lists]
Advanced

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

Re: Should delta raise exception when not available?


From: Fred Kiefer
Subject: Re: Should delta raise exception when not available?
Date: Wed, 22 Dec 2010 13:04:09 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.1.16) Gecko/20101125 SUSE/3.0.11 Thunderbird/3.0.11

Sorry Banlu,

I missed this second mail. This explains my stupid question.
I had a short look at the Apple documentation and you are right, it
doesn't state what happens when this method is called on the wrong event
type. Most likely we jst extrapolated the behaviour from the other
methods on NSEvent. The better way to find out is of course to write a
short test program on Cocoa and implement the same behaviour.
I will do that and add this to our test suite.

Fred

Am 18.12.2010 21:46, schrieb Banlu Kemiyatorn:
> Hi,
> For more informations, I meant, delta in NSEvent, deltaX/Y/Z
> Thanks
> Banlu
> 
> On Sun, Dec 19, 2010 at 12:46 AM, Banlu Kemiyatorn <address@hidden> wrote:
>> Hi,
>> What's the reason behind that delta should raise exception when the
>> value was not available?
>> Why not just returning 0.?
>> Thanks,
>> Banlu




reply via email to

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