home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / x / motif / 5678 < prev    next >
Encoding:
Internet Message Format  |  1992-08-18  |  919 b 

  1. Path: sparky!uunet!pmafire!news.dell.com!swrinde!cs.utexas.edu!usc!venice!gumby.dsd.trw.com!deneva!kamemoto
  2. From: kamemoto@spf.trw.com (Kenneth Kamemoto)
  3. Newsgroups: comp.windows.x.motif
  4. Subject: TrueColor images in XmDrawingArea
  5. Message-ID: <2A916FE8.487C@deneva.sdd.trw.com>
  6. Date: 18 Aug 92 21:47:19 GMT
  7. Sender: news@deneva.sdd.trw.com
  8. Distribution: usa
  9. Organization: TRW Data Systems Center, Redondo Beach, CA
  10. Lines: 11
  11.  
  12. I am trying to display a 24-bit RGB (red, green, blue) image in an
  13. XmDrawingArea widget using the standard XA_RGB_BEST_MAP colormap
  14. (which has 16 million colors).  I keep getting BadMatch errors.
  15. I tried creating the XmDrawingArea with XmNdepth set to 24.  I
  16. tried using XMatchVisualInfo to get a TrueColor visual, depth 24.
  17. Is there something else I must do so that the (I think)
  18. XtWindow(drawing_area_widget) will have the proper depth and
  19. visual?
  20. -- 
  21. Kenneth I. Kamemoto
  22. kamemoto@spf.trw.com
  23.