home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / windows / x / 16308 < prev    next >
Encoding:
Text File  |  1992-09-08  |  893 b   |  19 lines

  1. Newsgroups: comp.windows.x
  2. 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
  3. From: steitz@aorta.tat.physik.uni-tuebingen.de (Arno W. Steitz)
  4. Subject: Question on DirectColor visual
  5. Message-ID: <steitz.715936342@aorta>
  6. Sender: news@softserv.zdv.uni-tuebingen.de (News Operator)
  7. Organization: TAT (Theoretical Astrophysics Tuebingen), U. of Tuebingen, FRG
  8. Date: Tue, 8 Sep 1992 07:12:22 GMT
  9. Lines: 8
  10.  
  11. I want to port an X-program which works currently on 24-Bit TrueColor 
  12. to a 24-Bit DirectColor visual. I couln't figure out a way to avoid
  13. allocating about 16 million colorcells, loading RGB-values into
  14. corresponding XColor structures and storing all this to the colormap.
  15. Is there a way to set R-G-B ramps of 256 entries each independently.
  16. Answers of experienced color-allocators will be greatly appreciated.
  17.  
  18.  
  19.