home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!usc!sol.ctr.columbia.edu!ira.uka.de!sun1.ruf.uni-freiburg.de!News.BelWue.DE!news.uni-tuebingen.de!aorta!steitz
- From: steitz@aorta.tat.physik.uni-tuebingen.de (Arno W. Steitz)
- Subject: Question on DirectColor visual
- Message-ID: <steitz.715936342@aorta>
- Sender: news@softserv.zdv.uni-tuebingen.de (News Operator)
- Organization: TAT (Theoretical Astrophysics Tuebingen), U. of Tuebingen, FRG
- Date: Tue, 8 Sep 1992 07:12:22 GMT
- Lines: 8
-
- I want to port an X-program which works currently on 24-Bit TrueColor
- to a 24-Bit DirectColor visual. I couln't figure out a way to avoid
- allocating about 16 million colorcells, loading RGB-values into
- corresponding XColor structures and storing all this to the colormap.
- Is there a way to set R-G-B ramps of 256 entries each independently.
- Answers of experienced color-allocators will be greatly appreciated.
-
-
-