home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / alt / toolkits / xview / 1155 < prev    next >
Encoding:
Internet Message Format  |  1992-12-28  |  1.4 KB

  1. Xref: sparky alt.toolkits.xview:1155 comp.windows.x:20580
  2. Newsgroups: alt.toolkits.xview,comp.windows.x
  3. Path: sparky!uunet!wupost!uwm.edu!uucp.mr.med.ge.com!news.mr.med.ge.com!carl@crazyman.med.ge.com
  4. From: carl@crazyman.med.ge.com (Carl Crawford)
  5. Subject: minimizing flashing by preserving colors in colormap
  6. Message-ID: <1992Dec28.144043.14792@mr.med.ge.com>
  7. Sender: news@mr.med.ge.com
  8. Nntp-Posting-Host: crazyman
  9. Reply-To: carl@crazyman.med.ge.com (Carl Crawford)
  10. Organization: GE Medical Systems, Milwaukee,  WI
  11. Date: Mon, 28 Dec 92 14:40:43 GMT
  12. Lines: 17
  13.  
  14.  
  15. my xview application sometimes allocates more slots than are available
  16. in the system colormap (cm).  when this happens, xview (xlib ?) gives
  17. me a colormap segment (cms) that begins at location zero in the system
  18. cm and maps it in when necessary.  the colors that i use for the first
  19. few locations are used by xview and openwindows for background,
  20. foreground, and highlighting by other applications.  to minimize
  21. flashing i am trying allocate a slightly larger cm and preserve these
  22. special locations.  using some kludgey code i am able to figure out
  23. what to put in the locations.  does anyone know of a better way to
  24. prevent the flashing? if not, is there a robust method to figure out
  25. the number of locations to preserve and their contents?
  26. --
  27. Carl R. Crawford       Voice: 414-521-6572
  28. GE Medical Systems       Fax: 414-521-6549
  29. P.O. Box 414, W-875       Internet: crawfordc@med.ge.com
  30. Milwaukee, WI 53201       
  31.