| Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 | 
| Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit | 
| Moderator: | STAR::VATNE | 
| Created: | Mon Oct 30 1989 | 
| Last Modified: | Mon Dec 31 1990 | 
| Last Successful Update: | Fri Jun 06 1997 | 
| Number of topics: | 3726 | 
| Total number of notes: | 19516 | 
    Is there any such way to share a created color map between a window
    and a pixmap?  I know it may be possible to share a colormap between
    two windows, but I need the pixmap for "backing store", and would
    like to refresh with the same colors on exposures.
    
    Any help would be appreciated.
    
    Thanks.
    
    						- Rob Loureiro
    						DECview3D Graphics
    
| T.R | Title | User | Personal Name | Date | Lines | 
|---|---|---|---|---|---|
| 1250.1 | Pixmaps don't need colormaps | HANNAH::MESSENGER | Bob Messenger | Wed Aug 09 1989 16:21 | 10 | 
| Re: .0 Colormaps are only associated with windows, not pixmaps. Essentially, a pixmap is just a series of pixel values; those pixel values aren't associated with any particular color until you draw them in a window. You'll be okay if you draw the same pixel values in your window and pixmap, and copy from the pixmap to the window in response to expose events. -- Bob | |||||
| 1250.2 | CADSE::LOUREIRO | Dr. Spot | Thu Aug 10 1989 13:35 | 7 | |
|     Bob,
    
    	Thanks for the response.  It's what I was looking for, believe it
    	or not.
    
    							- Rob
 | |||||