
Configuring Display Settings on Windows NT | 27
Dynamic gray palette
The dynamic gray palette reserves the first and last 10 entries in
the palette for the Windows NT operating system, so an applica-
tion cannot manipulate them. You can, however, manipulate the
middle 236 entries.
Your application can create a 256-entry gray ramp in any 8-bit
driver with the
SetSystemPaletteUse()
Windows API (appli-
cation program interface) call, but doing so causes all icons to be
redrawn in black and white.
The dynamic gray palette accommodates gray-mapped Windows
colors for the first and last 10 palette entries.
Nonlinear static gray palette
The nonlinear static gray palette sets the first and last 10 palette
entries to gray-mapped Windows colors. The middle 236 entries
are ramped in ascending order, excluding the first and last 10
palette entries. Windows applications that use the first and last 10
palette entries as Windows colors display correctly on the screen.
Although the nonlinear static gray palette provides correct
colors for applications using the Windows palette, colors display
incorrectly if the application assumes that a static palette is
always ramped.
Application colors display incorrectly in both static palette
modes if the application assumes all 8-bit framebuffers have
palettes that can be set.
Static gray palette
The static gray palette provides 256 shades of gray in a linear
static palette. This frees the entire grayscale ramp for applications
by not reserving the first and last 10 palette entries for icons and
other standard Windows graphics.
Applications cannot set palette types. Applications must read the
palette from the operating system and use it when drawing
directly to the framebuffer.
Summary of Contents for DOME Md4/PCV
Page 1: ...Md4 PCV Display Controller Installation Guide DOME imaging systems inc...
Page 10: ......
Page 80: ......
Page 88: ......