This wiki is out of date, use the continuation of this wiki instead

Clear screen

From FenixWiki

Revision as of 09:02, 16 April 2008 by 87.127.178.49 (Talk)
Jump to: navigation, search


Contents

Definition

INT clear_screen ( )

Clears the background of the screen.

Returns

INT : true

Notes

clear_screen() is recommended over using map_clear() to clear the screen background as it is a little bit faster.

It is important to use this function instead of other possibilities (like using MAP_CLEAR) as Fenix will then know that there is no background left and will use a faster version of the routine that begins to write frames.

Errors

Unsupported color depth - The specified graph has a not supported color depth.


Screen Functions
Clear_screen() • Get_screen() • Put() • Put_screen() • Xput() •
Personal tools