4 make(r
, g
, b
: INTEGER) is
6 pointer
:= ext_make_color(r
, g
, b
)
7 to_integer
:= ext_convert_color(r
, g
, b
)
8 to_gfx_integer
:= r
* 256 * 256 * 256 + g
* 256 * 256 + b
* 256 + 255
13 ext_free_color(pointer
)
16 to_external
: POINTER
is
23 to_gfx_integer
: INTEGER
27 ext_make_color(r
, g
, b
: INTEGER) : POINTER
is
31 ext_free_color(p
: POINTER
) is
32 external "C" alias "free"
35 ext_convert_color(r
, g
, b
: INTEGER) : INTEGER is