home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / sgi / 19020 < prev    next >
Encoding:
Internet Message Format  |  1993-01-21  |  812 b 

  1. Path: sparky!uunet!portal!cup.portal.com!Iris_-_Smith
  2. From: Iris_-_Smith@cup.portal.com
  3. Newsgroups: comp.sys.sgi
  4. Subject: GL- setting colors in overlay planes
  5. Message-ID: <74088@cup.portal.com>
  6. Date: Thu, 21 Jan 93 16:04:23 PST
  7. Organization: The Portal System (TM)
  8. Distribution: world
  9. Lines: 8
  10.  
  11. Hello world. I'm having trouble drawing colored Xor lines in a GL overlay
  12. window with two planes. I'm using an X GC to draw the lines, but I can't
  13. seem to create the colors I want. I've tried getting the colormap
  14. from the GlxMDraw widget for the overlay window and then using that with
  15. XAllocNamedColor but it doesn't work. Allocating colors based on the
  16. default colormap doesn't work properly as expected. I really only need
  17. thre colors (red, black, and white) but am at a loss with the information
  18. available to me.
  19.