Grayscale Palette Options | 39
Palette options with multiple displays
The SelectPalette and RealizePalette functions in the Microsoft
Developer’s Network, or MSDN, work across all flat-panel displays
if the primary panel is palettized. The palettes of all palette-type
devices are synchronized. If, however, the primary panel is not
palettized, the SelectPalette and RealizePalette functions select
the palette into the background, and palettized devices are not
synchronized.
Desktop icons
The palette specifications of the primary display determine how
desktop icons are drawn. For example, the desktop icons appear gray
on a color screen if the primary display is set to a gray palette.
Dynamic gray palette
The dynamic gray palette reserves the first and last 10 entries in
the palette for the Windows operating system, but you can
manipulate the middle 236 entries. Your application can create
a 256-entry gray ramp in any 8-bit driver by calling the Windows API
function SetSystemPaletteUse(), 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.
Содержание Dome EX
Страница 1: ...Dome EX Display User s Guide ...