Logo Search packages:      
Sourcecode: libcaca version File versions  Download package

void caca_set_delay ( unsigned int  usec  ) 

Set the refresh delay.

This function sets the refresh delay in microseconds. The refresh delay is used by caca_refresh() to achieve constant framerate. See the caca_refresh() documentation for more details.

If the argument is zero, constant framerate is disabled. This is the default behaviour.

Parameters:
usec The refresh delay in microseconds.

Definition at line 1088 of file graphics.c.

{
    _caca_delay = usec;
}


Generated by  Doxygen 1.6.0   Back to index