Set one color register for this ColorMap.
Source position: agraphics.pas line 2147
procedure SetRGB4CM( |
Cm: PColorMap; |
n: SmallInt; |
r: Byte; |
g: Byte; |
b: Byte |
); |
Cm |
|
Colormap |
n |
|
The number of the color register to set. |
r |
|
Red level (0-15) |
g |
|
Green level (0-15) |
b |
|
Blue level (0-15) |
Store the (r,g,b) triplet at index n in the ColorMap structure. The changes will not be immediately displayed. Use this function before linking the ColorMap to a ViewPort.
|
Allocate and initialize Colormap |
|
|
Inquire value of entry in ColorMap. |
|
|
Set one color register for this viewport. |