Difference between revisions of "love.window.checkMode"
(Created page with "{{newin|0.9.0|090|type=function|text=Moved from love.graphics.checkMode}} Checks if a display mode is supported. == Function == === Synopsis === <source lang="lua"> supp...") |
(Added missing display parameter) |
||
Line 5: | Line 5: | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | supported = love.window.checkMode( width, height, fullscreen ) | + | supported = love.window.checkMode( width, height, fullscreen, display ) |
</source> | </source> | ||
=== Arguments === | === Arguments === | ||
Line 11: | Line 11: | ||
{{param|number|height|The display height.}} | {{param|number|height|The display height.}} | ||
{{param|boolean|fullscreen (false)|True to check for fullscreen, false for windowed.}} | {{param|boolean|fullscreen (false)|True to check for fullscreen, false for windowed.}} | ||
+ | {{param|number|display (1)|The index of the display to check.}} | ||
=== Returns === | === Returns === | ||
{{param|boolean|supported|True if supported, false if not.}} | {{param|boolean|supported|True if supported, false if not.}} |
Revision as of 03:43, 28 August 2013
Available since LÖVE 0.9.0 |
Moved from love.graphics.checkMode. |
Checks if a display mode is supported.
Function
Synopsis
supported = love.window.checkMode( width, height, fullscreen, display )
Arguments
number width
- The display width.
number height
- The display height.
boolean fullscreen (false)
- True to check for fullscreen, false for windowed.
number display (1)
- The index of the display to check.
Returns
boolean supported
- True if supported, false if not.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info