home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / sgi / 13642 < prev    next >
Encoding:
Internet Message Format  |  1992-09-14  |  1.4 KB

  1. Xref: sparky comp.sys.sgi:13642 comp.windows.x.motif:6183
  2. Path: sparky!uunet!spool.mu.edu!olivea!sgigate!odin!fido!fangio.asd.sgi.com!rck
  3. From: rck@fangio.asd.sgi.com (Robert Keller)
  4. Newsgroups: comp.sys.sgi,comp.windows.x.motif
  5. Subject: Re: Colormap on Indigo XS24
  6. Keywords: Pseudo Color Colormap Indigo X11 X Windows
  7. Message-ID: <ps01q8c@fido.asd.sgi.com>
  8. Date: 15 Sep 92 01:18:43 GMT
  9. References: <1992Sep14.183026.4852@iitmax.iit.edu>
  10. Sender: news@fido.asd.sgi.com (Usenet News Admin)
  11. Organization: Silicon Graphics, Inc., Mountain View, CA
  12. Lines: 21
  13.  
  14. chien@iitmax.iit.edu (Greg Chien) writes:
  15. >The following program runs on an SGI IRIS 320/VGX and a few Personal
  16. >IRISes but just doesn't like the Indigos.  Can anyone point out what
  17. >I have missed? or anything related to Indigo's Virtual 24 scheme?
  18. >I am running it only in PseudoColor mode.
  19.  
  20. Nothing related to the Indigo's Virtual 24 scheme.
  21.  
  22. This is related to the multiple 8bit hardware colourmaps.  You are
  23. creating a private colourmap (and filling it in) for your regular 
  24. window.  
  25.  
  26. The "drawing area" window is really a motif widget the is using the
  27. X server's default colourmap.  To prove this to yourself run 
  28. "xwininfo -tree" of your app.  You'll see one child window, that's 
  29. your drawing widget.  Run "xwininfo -id ####" on the child's window
  30. id and you'll see that it is using the default colourmap.
  31.  
  32. I'm no motif expert, so I'll stop here.  
  33.  
  34. ...robert
  35.