get_inline


Description:

public static Color get_inline (uint8 r, uint8 g, uint8 b)

Gets a color in the color table based on the RGB value.

This is the same as @get, but inlined in C code.

Parameters:

r

the red component value

g

the green component value

b

the blue component value

Returns:

the composite color value or NONE if there are no more free colors.