home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!sun-barr!sh.wide!wnoc-tyo-news!scslwide!wsgw!wsservra!onoe
- From: carl@crazyman.med.ge.com (Carl Crawford)
- Newsgroups: fj.mail-lists.x-window
- Subject: minimizing flashing by preserving colors in colormap
- Message-ID: <1992Dec28.191238.1492@sm.sony.co.jp>
- Date: 28 Dec 92 19:12:38 GMT
- Sender: onoe@sm.sony.co.jp (Atsushi Onoe)
- Distribution: fj
- Organization: GE Medical Systems, Milwaukee, WI
- Lines: 22
- Approved: michael@sm.sony.co.jp
-
- Date: Mon, 28 Dec 92 14:40:43 GMT
- Message-Id: <1992Dec28.144043.14792@mr.med.ge.com>
- Newsgroups: alt.toolkits.xview,comp.windows.x
- Sender: xpert-request@expo.lcs.mit.edu
-
-
- 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
-