home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / windows / x / 14566 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.3 KB  |  30 lines

  1. Newsgroups: comp.windows.x
  2. Path: sparky!uunet!haven.umd.edu!darwin.sura.net!wupost!think.com!paperboy.osf.org!paperboy!drand
  3. From: drand@spinner.osf.org (Douglas Rand)
  4. Subject: Re: Bitmap in DrawnButton problem on color screen
  5. In-Reply-To: d8ahlcr@dtek.chalmers.se's message of 29 Jul 92 09:55:07 GMT
  6. Message-ID: <DRAND.92Jul29115624@spinner.osf.org>
  7. Sender: news@osf.org (USENET News System)
  8. Organization: Open Software Foundation
  9. References: <13014@chalmers.se>
  10. Date: 29 Jul 92 11:56:24
  11. Lines: 17
  12.  
  13. In article <13014@chalmers.se> d8ahlcr@dtek.chalmers.se (Christopher Ahlberg) writes:
  14.  
  15.    I'm writing a problem that has several DrawnButtons which are placed in
  16.    a drawing area. Into these buttons are bitmaps loaded. This works alright on a
  17.    black & white screen, but when running in color the program crashes. Anyone
  18.    knows why?
  19.  
  20. Sigh.  I do know.  Go read up on X's color model.  Pay particular
  21. attention to the section on screen depth.  Also read up on PushButtons
  22. vs. DrawnButtons that might help.  I *am* assuming that you're using
  23. Motif given the DrawnButton reference.
  24.  
  25. --
  26. Douglas S. Rand <drand@osf.org>        OSF/Motif Dev.
  27. Snail:         11 Cambridge Center,  Cambridge,  MA  02142
  28. Disclaimer:    I don't know if OSF agrees with me... let's vote on it.
  29. Amateur Radio: KC1KJ
  30.