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