- This wiki is out of date, use the continuation of this wiki instead
Set mode
From FenixWiki
(Difference between revisions)
Revision as of 00:26, 23 April 2007 (edit) Sandman (Talk | contribs) ← Previous diff |
Revision as of 13:43, 26 April 2007 (edit) (undo) Sandman (Talk | contribs) Next diff → |
||
Line 3: | Line 3: | ||
== Definition == | == Definition == | ||
- | '''INT''' | + | '''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. | ||
Line 9: | Line 9: | ||
== Parameters == | == Parameters == | ||
{| | {| | ||
- | | '''INT''' width || - Width of the screen in pixels | + | | '''INT''' width || - Width of the screen in pixels. |
|- | |- | ||
- | | '''INT''' height || - Height of the screen in pixels | + | | '''INT''' height || - Height of the screen in pixels. |
|- | |- | ||
- | | '''INT''' depth || - Color depth of the screen | + | | '''INT''' depth || - Color depth of the screen. |
|- | |- | ||
| '''INT''' flags || - Optional [[render flags]]. | | '''INT''' flags || - Optional [[render flags]]. | ||
Line 19: | Line 19: | ||
== Returns == | == Returns == | ||
- | '''INT''' : | + | '''INT''' : [[true]] |
+ | |||
+ | == Throws == | ||
+ | {| | ||
+ | | Unsupported graphical mode || - Specified graphical mode is not supported. | ||
+ | |} |
Revision as of 13:43, 26 April 2007
Contents |
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. |
INT height | - Height of the screen in pixels. |
INT depth | - Color depth of the screen. |
INT flags | - Optional render flags. |
Returns
INT : true
Throws
Unsupported graphical mode | - Specified graphical mode is not supported. |