FullscreenType

FullscreenType

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.

This constant has been renamed from normal

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


This constant has been renamed to exclusive

normal Removed in 0.10.0
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

© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/FullscreenType

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部