🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #5903

Re: GEM HELP

#5903
From: Neil Gilmore
Date: Sun, 19 Nov 1989 16:43
31 lines
1919 bytes
In article <916@loria.crin.fr>, domen@wiener.crin.fr (Eric Domenjoud) writes...

>I have some questions about GEM:

(even though I don't carry my docs to work)

>1/ How do I put the mouse at a specified location on the screen ?
initmous does it, but I wouldn't reccommend it. Every program I've had 
with it drove me crazy because invariably my mouse would run out of 
room, and having to pick it up and put it back down closer to me is 
bothersome.

>2/ How do I bound the mouse to a box xmin-xmax,ymin-ymax ?

I imagine it could be done by checking mouse position, and calling 
initmous if you exceeded the limits, but ther is probably a better way.

>3/ What does the GEM function CELLARAY and how do I use it ?
I've never seen it used. Apparently, it divides the screen up into 
rectangles, each of which has an associated color. When a graphic 
operaion would draw, the color drawn would be the color of the rectangle 
in which the pixel lies. I wonder if this function takes over the 
screen, making it difficult to use other colors? To get around that, if 
needed another virtual workstation could be used, I suppose.

>	Eric
+-----------------------------------------------------------------------+
| Kitakaze Tatsu Raito	Neil Gilmore     internet:gilmore@macc.wisc.edu | 
| Jararvellir,          MACC, UW-Madison bitnet: gilmore@wiscmac3       |  
| Middle Kingdom        Madison, Wi                                     |
+-----------------------------------------------------------------------+   
Technical Details
Message-ID: <2707@dogie.macc.wisc.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!uakari.primate.wisc.edu!dogie.macc.wisc.edu!vms.macc.wisc.edu

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!uakari.primate.wisc.edu!dogie.macc.wisc.edu!vms.macc.wisc.edu
From: gilmore@vms.macc.wisc.edu (Neil Gilmore)
Newsgroups: comp.sys.atari.st
Subject: Re: GEM HELP
Message-ID: <2707@dogie.macc.wisc.edu>
Date: 19 Nov 89 16:43:28 GMT
Sender: news@dogie.macc.wisc.edu
Organization: University of Wisconsin Academic Computing Center
Lines: 31