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