🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #14090

Re: Double Click

#14090
From: Philip Hingston
Date: Wed, 07 Mar 1990 22:43
19 lines
1236 bytes
In article <79yO02zd8fMp01@amdahl.uts.amdahl.com>, dwl10@uts.amdahl.com (Dave Lowrey) writes:
> I can find no "standard" coding technique to handle "double clicking"
> of a gadget.
> 
> [stuff deleted]
> 

The IntuiMessage contains two fields, Seconds and Micros. Save these on the
first click. The Intuition function DoubleClick(s1, m1, s2, m2) returns
whether two such times are close enough to be a double-click. This uses the
current double-click time --- the one that can be altered through preferences.

	phi

-- 
Philip Hingston, Computer Science,ACSnet: phi@goanna.cs.rmit.oz
R.M.I.T.                          ARPA:   phi%goanna.cs.rmit.oz.au@uunet.uu.net
GPO BOX 2476 V,                   CSNET:  phi%goanna.cs.rmit.oz.au@australia
Melbourne, 3001, AUSTRALIA        UUCP:   ...!uunet!goanna.cs.rmit.oz.au!phi
Technical Details
Message-ID: <2961@goanna.oz.au>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!brutus.cs.uiuc.edu!apple!uokmax!munnari.oz.au!goanna!phi
References: <79yO02zd8fMp01@amdahl.uts.amdahl.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!brutus.cs.uiuc.edu!apple!uokmax!munnari.oz.au!goanna!phi
From: phi@goanna.oz.au (Philip Hingston)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Double Click
Message-ID: <2961@goanna.oz.au>
Date: 7 Mar 90 22:43:46 GMT
References: <79yO02zd8fMp01@amdahl.uts.amdahl.com>
Organization: Comp Sci, RMIT, Melbourne, Australia
Lines: 19