[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

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

3599.0. "private color cells" by XLIB::MODI () Wed Nov 07 1990 11:41

    Do all or any DIGITAL 4-plane machines have fixed, unmodifiable color
    maps? The problem is the inability to allocate any color cells using
    AllocColor or AllocColorCells, except the read-only cells pre-defined
    in the standard color map.
    
    Navin
    
T.RTitleUserPersonal
Name
DateLines
3599.1CLTMAX::dickSchoeller - Failed XperimentWed Nov 07 1990 12:419
No, 4-plane machines have Pseudo-Color colormaps.

It sounds like you  have run out of color cells because other applications are
already using all of the cells.  Remember, that you only have 16 colors for the
whole screen.  If you really need to allocate colors, you must either cut back
on the color usage elsewhere or have your application create its own colormap
if it can't get colors.

Dick
3599.2motifDSTEG1::HOSSFELDI'm so confused!Wed Nov 07 1990 13:362
If you are using motif then you will start with the map full and as of 
yet I have found no way around this.
3599.3CLTMAX::dickSchoeller - Failed XperimentWed Nov 07 1990 13:458
If you want to reduce colormap usage in mwm, then you should turn off
makeColors and you should use topShadowPixmap and bottomShadowPixmap instead
of topShadowColor and bottomShadowColor.  These will greatly reduce the number
of colors used by mwm.  You can then do similar customizations all around for
applications.  If you work hard at it, you should be able to get color usage
down to 2 colors.

Dick
3599.4Don't think so!DSTEG2::HOSSFELDI'm so confused!Fri Nov 09 1990 07:314
I used the Black & White defination (and no extra applications run) which is 
as you stated and the color map was still full.

Paul H.