Article View: comp.sys.mac
Article #24185Re: Setting cursor position and mouse speed.
From: Oliver Steele
Date: Wed, 27 Jan 1988 01:44
Date: Wed, 27 Jan 1988 01:44
18 lines
1544 bytes
1544 bytes
[dgold@apple.UUCP (David Goldsmith) writes that setting the mouse position
directly, and using undocumented low memory globals in general, are poor
ideas and are likely to cause a program to break in the future.]
I agree with your general point about keeping as many globals as possible
verboten, especially now that multitasking approaches, but how does Apple
recommend for people writing paint programs, for instance, to show that a
grid or other constraining factor is in effect? I notice that there's
already some inconsistency -- constraining to a grid, in many programs,
makes the mouse street-wise*; but constraining tool motion to an axis
doesn't constrain the cursor to that axis. I also notice that HyperCard
plays with exactly these low-memory globals; is this OK because HyperCard
is system software (1/2:-)?
----------------------------------------------------------------------------
Oliver Steele ...!{decvax,ihnp4}!mcnc!unc!steele
steele@cs.unc.edu
*Taxi-cab geometry, of course.
Technical Details
Message-ID:
<888@thorin.cs.unc.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!homxb!whuts!mtune!rutgers!princeton!udel!gatech!mcnc!thorin!unc!steeleReferences:
<2532@auscso.UUCP> <7272@apple.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!cbosgd!ihnp4!homxb!whuts!mtune!rutgers!princeton!udel!gatech!mcnc!thorin!unc!steele From: steele@unc.cs.unc.edu (Oliver Steele) Newsgroups: comp.sys.mac Subject: Re: Setting cursor position and mouse speed. Message-ID: <888@thorin.cs.unc.edu> Date: 27 Jan 88 01:44:40 GMT References: <2532@auscso.UUCP> <7272@apple.UUCP> Sender: news@thorin.cs.unc.edu Reply-To: steele@unc.UUCP (Oliver Steele) Organization: University Of North Carolina, Chapel Hill Lines: 18