Difference between revisions of "FullscreenType"

m
(Updated for 0.10.0)
Line 2: Line 2:
 
Types of fullscreen modes.
 
Types of fullscreen modes.
 
== Constants ==
 
== Constants ==
 +
;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.
 +
{{newin|[[0.10.0]]|100|type=constant|text=This constant has been renamed from '''normal'''}}
 +
;exclusive: Standard exclusive-fullscreen mode. Changes the display mode (actual resolution) of the monitor.
 +
{{oldin|[[0.10.0]]|100|type=constant|text=This constant has been renamed to '''exclusive'''}}
 
;normal: Standard exclusive-fullscreen mode. Changes the display mode (actual resolution) of the monitor.
 
;normal: Standard exclusive-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 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.
 
 
== Notes ==
 
== Notes ==
In normal/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.
+
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/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.
+
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]]

Revision as of 04:53, 18 December 2015

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