home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / sgi / 13404 < prev    next >
Encoding:
Text File  |  1992-09-08  |  1.3 KB  |  29 lines

  1. Newsgroups: comp.sys.sgi
  2. Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!edwarda
  3. From: edwarda@cs.monash.edu.au (Edward Fok Iao Au)
  4. Subject: setvaluator() problem under IRIX 4.0.4
  5. Message-ID: <edwarda.716011488@bruce.cs.monash.edu.au>
  6. Sender: news@bruce.cs.monash.edu.au (USENET News System)
  7. Organization: Computer Science, Monash University, Australia
  8. Date: Wed, 9 Sep 1992 04:04:48 GMT
  9. Lines: 18
  10.  
  11. I had a problem with setvaluator() in the Graphics Library under IRIX 4.0.4.
  12. When the following piece of code is run, the mouse pointer is warped to the
  13. upper half of the screen and contrainted to horizontal motion hereafter:
  14.  
  15.     setvaluator(MOUSEX,xorg+xsize/2,0,getgdesc(GD_XPMAX)-1);
  16.     setvaluator(MOUSEY,yorg+ysize/2,0,getgdesc(GD_YPMAX)-1);
  17.  
  18. The same problem occurs when showcase is run, when the mouse pointer is
  19. supposed to warped to the centre of the showcase's window.
  20.  
  21. Edward
  22. ______________________________________________________________________________
  23.  
  24. e-mail: edwarda@bruce.cs.monash.edu.au                           _--_|\
  25. Department of Computer Science                                  /      \
  26. Monash University (Clayton Campus)                              \_.--. /
  27. Australia                                                             V
  28. ______________________________________________________________________________
  29.