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

Set mode

From FenixWiki

Revision as of 00:26, 23 April 2007 by Sandman (Talk | contribs)
Jump to: navigation, search


Definition

INT Set_Mode ( <INT width> , <INT height> , [<INT depth>] , [<INT flags>] )

Sets the video mode of the program.

Parameters

INT width - Width of the screen in pixels, ie 640.
INT height - Height of the screen in pixels, ie 480.
INT depth - Color depth of the screen, ie 8 or 16.
INT flags - Optional render flags.

Returns

INT : Returns true if successful and false if failed. (Needs confirmation.)

Personal tools