Difference between revisions of "FullscreenType"

m
(Use the feature templates)
 
(3 intermediate revisions by one other user not shown)
Line 2: Line 2:
 
Types of fullscreen modes.
 
Types of fullscreen modes.
 
== Constants ==
 
== Constants ==
;normal: Standard fullscreen mode. Changes the display mode (actual resolution) of the monitor.
+
;desktop: Sometimes known as [http://pcgamingwiki.com/wiki/Borderless_fullscreen_windowed borderless fullscreen windowed] mode. A borderless screen-sized window is created which sits on top of all desktop UI elements. The window is automatically resized to match the dimensions of the desktop, and its size cannot be changed.
;desktop: Sometimes known as [http://pcgamingwiki.com/wiki/Borderless_fullscreen_windowed borderless fullscreen windowed] mode. A borderless screen-sized window is created which sits on top of all desktop GUI elements (such as the Windows taskbar and the Mac OS X dock.) The window is automatically resized to match the dimensions of the desktop, and its size cannot be changed.
+
{{New feature|0.10.0|
 +
This constant has been renamed from '''normal'''
 +
;exclusive: Standard exclusive-fullscreen mode. Changes the display mode (actual resolution) of the monitor.}}
 +
{{Removed feature|0.10.0|
 +
This constant has been renamed to '''exclusive'''
 +
;normal: Standard exclusive-fullscreen mode. Changes the display mode (actual resolution) of the monitor.}}
 
== Notes ==
 
== Notes ==
In normal fullscreen mode, if a window size is used which does not match one of the monitor's supported display modes, the window will be resized to the next largest display mode.
+
In exclusive fullscreen mode, if a window size is used which does not match one of the monitor's supported display modes, the window will be resized to the next largest display mode.
  
Normal fullscreen mode is sometimes avoided by users because it can cause issues in some window managers and with multi-monitor setups. In OS X it prevents switching to a different program until fullscreen mode is exited. The "desktop" fullscreen mode generally avoids these issues.
+
Exclusive fullscreen mode is sometimes avoided by users because it can cause issues in some window managers and with multi-monitor setups. In OS X it prevents switching to a different program until fullscreen mode is exited. The "desktop" fullscreen mode generally avoids these issues.
 
== See Also ==
 
== See Also ==
 
* [[parent::love.window]]
 
* [[parent::love.window]]
Line 13: Line 18:
 
* [[love.window.setFullscreen]]
 
* [[love.window.setFullscreen]]
 
* [[love.resize]]
 
* [[love.resize]]
 +
* [[Config Files]]
  
 
[[Category:Enums]]
 
[[Category:Enums]]

Latest revision as of 14:53, 16 May 2016

Available since LÖVE 0.9.0
This enum is not supported in earlier versions.

Types of fullscreen modes.

Constants

desktop
Sometimes known as borderless fullscreen windowed mode. A borderless screen-sized window is created which sits on top of all desktop UI elements. The window is automatically resized to match the dimensions of the desktop, and its size cannot be changed.
Available since LÖVE 0.10.0

This constant has been renamed from normal

exclusive
Standard exclusive-fullscreen mode. Changes the display mode (actual resolution) of the monitor.


Removed in LÖVE 0.10.0

This constant has been renamed to exclusive

normal
Standard exclusive-fullscreen mode. Changes the display mode (actual resolution) of the monitor.

Notes

In exclusive fullscreen mode, if a window size is used which does not match one of the monitor's supported display modes, the window will be resized to the next largest display mode.

Exclusive fullscreen mode is sometimes avoided by users because it can cause issues in some window managers and with multi-monitor setups. In OS X it prevents switching to a different program until fullscreen mode is exited. The "desktop" fullscreen mode generally avoids these issues.

See Also

Other Languages