summaryrefslogtreecommitdiff
path: root/meta/3rd/love2d/library/love.window.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-20 17:28:53 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-20 17:28:53 +0800
commitbd51baa6d764293a83d4e955b533e55b57e8e147 (patch)
tree77192e93b1cc164f4956a17acb042dfa0629a3c5 /meta/3rd/love2d/library/love.window.lua
parent15e011e334099a9c0c6bc34399fb90769600210f (diff)
downloadlua-language-server-bd51baa6d764293a83d4e955b533e55b57e8e147.zip
update
Diffstat (limited to 'meta/3rd/love2d/library/love.window.lua')
-rw-r--r--meta/3rd/love2d/library/love.window.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/3rd/love2d/library/love.window.lua b/meta/3rd/love2d/library/love.window.lua
index aea7ae26..8d3e9dbf 100644
--- a/meta/3rd/love2d/library/love.window.lua
+++ b/meta/3rd/love2d/library/love.window.lua
@@ -277,3 +277,20 @@ function love.window.toPixels(value) end
---@param settings table # The settings table with the following optional fields. Any field not filled in will use the current value that would be returned by love.window.getMode.
---@return boolean success # True if successful, false otherwise.
function love.window.updateMode(width, height, settings) end
+
+---@class love.DisplayOrientation
+---@field unknown integer # Orientation cannot be determined.
+---@field landscape integer # Landscape orientation.
+---@field landscapeflipped integer # Landscape orientation (flipped).
+---@field portrait integer # Portrait orientation.
+---@field portraitflipped integer # Portrait orientation (flipped).
+
+---@class love.FullscreenType
+---@field desktop integer # 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.
+---@field exclusive integer # Standard exclusive-fullscreen mode. Changes the display mode (actual resolution) of the monitor.
+---@field normal integer # Standard exclusive-fullscreen mode. Changes the display mode (actual resolution) of the monitor.
+
+---@class love.MessageBoxType
+---@field info integer # Informational dialog.
+---@field warning integer # Warning dialog.
+---@field error integer # Error dialog.