home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dove!epg.nist.gov!fein
- From: fein@epg.nist.gov (Aaron Fein)
- Newsgroups: comp.windows.x
- Subject: Howto install grayscale colormap
- Message-ID: <7916@dove.nist.gov>
- Date: 10 Jan 93 19:01:17 GMT
- Sender: news@dove.nist.gov
- Reply-To: fein@epg.nist.gov
- Organization: NIST
- Lines: 20
-
- I'm somewhat of a novice at x-window programming and am looking for some help
- in installing a grayscale colormap. I was able to do this successfully on
- one configuration, but am having trouble on a second configuration.
-
- I create a colormap with a visual of depth = 8. However, I am unable to
- XStoreColor all 256 color cells. On one configuration I can, on the other
- I cannot. If the depth =8 on both, what is the difference? It looks like
- I am not able to set 32 of the colors.
-
- I originally tried to use a standard grayscale colormap, but the
- XGetStandardColormap call fails.
-
- Any help would be appreciated.
-
-
- --
- Aaron Fein Phone: (301) 975-3719
- United States Department of Commerce
- National Institute of Standards and Technology
- Gaithersburg, MD 20899
-