Vidíte historickú verziu tejto stránky. Pozrite si aktuálnu verziu.

Porovnať s aktuálnou verziou Zobraziť históriu stránky

Verzia 1 Aktuálny »

%MakeRGB function


Function
The function transforms the color expressed by the items R, G and B to a value. 
Declaration
INT %MakeRGB(
   INT in R, 
   INT in G, 
   INT in B
 )

Parameters
R Amount of red color in final color.
G Amount of green color in final color.
B Amount of blue color in final color.

Numerical values of the parameters R, G and B must be within the interval 0..255.


Description
Final value is calculated as follows:

R + 256*G + 65536*B.

Final value is usable as a value to express the color in functions, which directly work with colors (%HI_SetForeColor, ...).


  • Žiadne štítky