[Previous] [Contents] [Next]

my_fillbuffer()

fill the entire draw buffer with a given color

Synopsis:

int my_fillbuffer( unsigned long color );

Description:

This function fills the entire draw buffer with the given color. In palette mode, color is an index into the palette. In true-color mode, color defines an RGB structure:

(struct rgb_entry *)&color

Returns:

1
Success.
0
The operation couldn't be done.

Classification:

Photon

Safety:
Interrupt handler Not applicable
Signal handler Not applicable
Thread Not applicable

[Previous] [Contents] [Next]