Difference between revisions of "FullscreenType"

(Updated for 0.10.0)
(Use the feature templates)
 
Line 3: Line 3:
 
== 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.
 
;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'''}}
+
{{New feature|0.10.0|
;exclusive: Standard exclusive-fullscreen mode. Changes the display mode (actual resolution) of the monitor.
+
This constant has been renamed from '''normal'''
{{oldin|[[0.10.0]]|100|type=constant|text=This constant has been renamed to '''exclusive'''}}
+
;exclusive: 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.
+
{{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 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.

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