Inquire value of entry in ColorMap.
Source position: agraphics.pas line 2139
function GetRGB4( |
ColorMap: PColorMap; |
Entry: LongInt |
):LongWord; |
ColorMap |
|
A pointer to ColorMap structure |
Entry |
|
Index into colormap |
Returns -1 if no valid entry return Word RGB value 4 bits per run right justified
Read and format a value from the ColorMap.
Intuition's DisplayBeep() changes color 0. Reading Color 0 during a DisplayBeep() will lead to incorrect results.
|
Set one color register for this viewport. |
|
|
Load RGB color values from table. |
|
|
Allocate and initialize Colormap |
|
|
Free the ColorMap structure and return memory to free memory pool. |