The function returns the RGB
value of given color.
Declaration
INT %HI_GetPalRGB(
INT in page,
INT in row,
INT in column
)
INT %HI_GetPalRGB(
INT in page,
INT in row,
TEXT in column
)
Parameters
page
Page of the color palette.
row
Row on the page of the color palette.
column
Column on the page of the color palette.
Description
The function
returns the value of required color, that is defined by the parameters
page (1 up to 10 in the
color palette), row (1 up to
8 on given page in the
color palette) and column (1 up to 16,
"A" up to "P" or "a" up to "p" on given page in the
color palette).
Note
The column can be defined either by number 1 up
to 16 or single letter text "A" up to "P", or "a" up to "p". These forms of
record are equivalent, i.e. 1 is the same as "A" (or "a").
The function %MakeRGB allows to form the
color from individual color components.
0 komentárov