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 |
The customer is using 24 planes true color VS3520 to develope application. Because 14 color planes is enough for them, is it possible for them to allocate only 14 planes for them to use? What they want is to be able to allocate the colors they need in color map. Are they able to do it?
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
3379.1 | PSW::WINALSKI | Careful with that VAX, Eugene | Mon Sep 24 1990 15:03 | 5 | |
For a TrueColor visual, I don't think you have to allocate color planes. However, if you do have to allocate them, you can use XAllocColorPlanes() to do so. --PSW | |||||
3379.2 | DECWIN::FISHER | Locutus: Fact or Fraud? | Fri Sep 28 1990 14:49 | 18 | |
You can neither do AllocColorCells or AllocColorPlanes in TrueColor, since TrueColor is readonly, and both of these imply that the colormap must be writable. You can, but need not do AllocColor. What do they want to do with the "extra" 10 planes that they "don't need"? Are you saying that they would really like to have a 14-plane TrueColor system plus a 10-plane PseudoColor system? Have we almost got a deal for you...if they create additional windows and colormaps and specify PseudoColor as the visual type, they will be able to have 8-Plane PseudoColor windows as well as 24-plane TC windows. You have to be real careful when you use a non-default visual. Things like the border color and stuff are touchy. Look at CMAP.C from the DW_EXAMPLES conference for one example that can do the right thing. Burns |