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

Set mode

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 15:19, 22 April 2007 (edit)
Woody (Talk | contribs)

← Previous diff
Revision as of 00:26, 23 April 2007 (edit) (undo)
Sandman (Talk | contribs)

Next diff →
Line 1: Line 1:
[[Category:functions]] [[Category:functions]]
[[Category:initialization]] [[Category:initialization]]
- 
-'''INT''' set_mode ( <'''INT''' width> , <'''INT''' height> , <'''INT''' depth> ) 
== Definition == == Definition ==
 +'''INT''' Set_Mode ( <'''INT''' width> , <'''INT''' height> , [<'''INT''' depth>] , [<'''INT''' flags>] )
Sets the video mode of the program. Sets the video mode of the program.
- 
== Parameters == == Parameters ==
- 
{| {|
| '''INT''' width || - Width of the screen in pixels, ie 640. | '''INT''' width || - Width of the screen in pixels, ie 640.
Line 17: Line 14:
|- |-
| '''INT''' depth || - Color depth of the screen, ie 8 or 16. | '''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.'')

Revision as of 00:26, 23 April 2007


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