home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!edwarda
- From: edwarda@cs.monash.edu.au (Edward Fok Iao Au)
- Subject: setvaluator() problem under IRIX 4.0.4
- Message-ID: <edwarda.716011488@bruce.cs.monash.edu.au>
- Sender: news@bruce.cs.monash.edu.au (USENET News System)
- Organization: Computer Science, Monash University, Australia
- Date: Wed, 9 Sep 1992 04:04:48 GMT
- Lines: 18
-
- I had a problem with setvaluator() in the Graphics Library under IRIX 4.0.4.
- When the following piece of code is run, the mouse pointer is warped to the
- upper half of the screen and contrainted to horizontal motion hereafter:
-
- setvaluator(MOUSEX,xorg+xsize/2,0,getgdesc(GD_XPMAX)-1);
- setvaluator(MOUSEY,yorg+ysize/2,0,getgdesc(GD_YPMAX)-1);
-
- The same problem occurs when showcase is run, when the mouse pointer is
- supposed to warped to the centre of the showcase's window.
-
- Edward
- ______________________________________________________________________________
-
- e-mail: edwarda@bruce.cs.monash.edu.au _--_|\
- Department of Computer Science / \
- Monash University (Clayton Campus) \_.--. /
- Australia V
- ______________________________________________________________________________
-