Inquire value of entry in ColorMap.
Source position: agraphics.pas line 2328
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. |