clear_screen


Description:

public void clear_screen (Color bg)

Clears the screen using the specified background color.

Thanks to the special Color definition, you can do more than simple clear with this functions, by example with:

grx_clear_screen (grx_color_to_xor_mode (grx_color_get_white ()));
the screen is negativized, do it again and the screen is restored.

Parameters:

bg

the background color


Namespace: Grx
Package: grx-3.0