home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / fj / maillis / xwindow / 18940 < prev    next >
Encoding:
Internet Message Format  |  1992-12-28  |  1.5 KB

  1. Path: sparky!uunet!stanford.edu!sun-barr!sh.wide!wnoc-tyo-news!scslwide!wsgw!wsservra!onoe
  2. From: carl@crazyman.med.ge.com (Carl Crawford)
  3. Newsgroups: fj.mail-lists.x-window
  4. Subject: minimizing flashing by preserving colors in colormap
  5. Message-ID: <1992Dec28.191238.1492@sm.sony.co.jp>
  6. Date: 28 Dec 92 19:12:38 GMT
  7. Sender: onoe@sm.sony.co.jp (Atsushi Onoe)
  8. Distribution: fj
  9. Organization: GE Medical Systems, Milwaukee,  WI
  10. Lines: 22
  11. Approved: michael@sm.sony.co.jp
  12.  
  13. Date: Mon, 28 Dec 92 14:40:43 GMT
  14. Message-Id: <1992Dec28.144043.14792@mr.med.ge.com>
  15. Newsgroups: alt.toolkits.xview,comp.windows.x
  16. Sender: xpert-request@expo.lcs.mit.edu
  17.  
  18.  
  19. my xview application sometimes allocates more slots than are available
  20. in the system colormap (cm).  when this happens, xview (xlib ?) gives
  21. me a colormap segment (cms) that begins at location zero in the system
  22. cm and maps it in when necessary.  the colors that i use for the first
  23. few locations are used by xview and openwindows for background,
  24. foreground, and highlighting by other applications.  to minimize
  25. flashing i am trying allocate a slightly larger cm and preserve these
  26. special locations.  using some kludgey code i am able to figure out
  27. what to put in the locations.  does anyone know of a better way to
  28. prevent the flashing? if not, is there a robust method to figure out
  29. the number of locations to preserve and their contents?
  30. --
  31. Carl R. Crawford       Voice: 414-521-6572
  32. GE Medical Systems       Fax: 414-521-6549
  33. P.O. Box 414, W-875       Internet: crawfordc@med.ge.com
  34. Milwaukee, WI 53201       
  35.