Writecmap - Planar DX/PCI User Manual

Display controller
Hide thumbs Also See for DX/PCI:
Table of Contents

Advertisement

WriteCmap

Purpose Use
Syntax
DError (*WriteCmap) (dev, i, r, g, b)
Return value
D_OK
Description

WriteCmap()

color (
colormap. You can write multiple entries by calling
WriteCmap()
effective unless you call the
For an 8-bit-per-pixel framebuffer, the colormap entry
index ranges from 0 (zero) to 255. The color values for red,
green, and blue range from 0 (zero) to 255.
Errors
DMD_ERROR_BAD_DEVICE -
the colormap.
DMD_ERROR_BAD_VALUE -
too large.
to write an entry in a colormap.
WriteCmap
Parameter Type
DMdDev
DLong
DLong
DLong
DLong
if successful; otherwise, an error code.
writes the colormap entry
,
,
). Entry zero (0) is the first entry of the
r
g
b
multiple times. The new values are not
Name
Description
Device handle of the DOME
dev
device
Index to colormap entry
i
Color value for red
r
Color value for green
g
Color value for blue
b
UpdateCmap()
Device failed to access
Colormap index entry is
WriteCmap | 93
with the
i
function.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dome m2/pciRx/pciDome dx/pciDome rx/pci

Table of Contents