| 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 |
I am having trouble creating a window of depth 4 (or any depth != 8) on my 8-plane DS3100. I haven't checked if the problem exists on a VAX. shouldn't an XCreateWindow() with depth=4 work OK for a PseudoColor device? do I need to monkey with the visual structure entries? If anyone has a simple sample program that uses fewer planes than its parent window, could you post it as a reply? thanks!
| T.R | Title | User | Personal Name | Date | Lines |
|---|---|---|---|---|---|
| 702.1 | Depth is not arbitrary... | DECWIN::FISHER | Burns Fisher 381-1466, ZKO3-4/W23 | Tue May 02 1989 09:16 | 18 |
You can't just arbitrarily specify any depth. The depth must be
explicitly supported for the particular visual type that you are asking
for. On a VAXstation/GPX, for example, you can always get depth 1 (for
a pixmap only), and you can get either depth 8 or 4 depending on the
hardware configuration. In the latter case, the visual type you can
get is PseudoColor (or GrayScale if your system is set up as
monochrome).
If I remember right, the DS has lots of visual types to choose from.
I don't know if they support more than depth 1 and (depth of screen).
Probably not. There is usually not a good reason to.
Maybe someone from Ultrix land knows this for sure, but you can check
easily enough by using XVisualInfo.
Burns
| |||||