home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / windows / x / 16569 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  949 b 

  1. Path: sparky!uunet!elroy.jpl.nasa.gov!ames!sun-barr!west.West.Sun.COM!cronkite.Central.Sun.COM!sixgun.East.Sun.COM!seven-up.East.Sun.COM!betelgeuse!marc
  2. From: marc@betelgeuse.East.Sun.COM (Marc St-Hilaire Canadian Dev. Ctr - Montreal)
  3. Newsgroups: comp.windows.x
  4. Subject: Wanted: Example using XFreeColors
  5. Date: 11 Sep 1992 21:26:23 GMT
  6. Organization: Sun Microsystems, Inc.
  7. Lines: 8
  8. Distribution: world
  9. Message-ID: <18r2u0INN3lb@seven-up.East.Sun.COM>
  10. References: <1992Sep11.124831.10108@crd.ge.com>
  11. Reply-To: marc@betelgeuse.East.Sun.COM
  12. NNTP-Posting-Host: betelgeuse.east.sun.com
  13.  
  14. I allocate a color using XAllocNamedColor. Latter on, I want to make sure that
  15. this color is removed from a colormap I created and installed. I use XFreeColors
  16. to do so but somehow the color is not removed from the colormap. Anyone would
  17. have an example of doing this, especially of how to use the 'planes' argument?
  18.  
  19. Marc St-Hilaire (marc.st-hilaire@east.sun.com)
  20.  
  21.  
  22.