summaryrefslogtreecommitdiff
path: root/meta/3rd/love2d/library/love.window.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-01-12 14:52:30 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-01-12 14:52:30 +0800
commit62025440534df25cdfb3766f8b59536cedc707e6 (patch)
tree45849ac97269e11a8609711e34074513e5580af4 /meta/3rd/love2d/library/love.window.lua
parent6b3a0d0bb780b4eab4dbec77f3bb4d394aa5527f (diff)
downloadlua-language-server-62025440534df25cdfb3766f8b59536cedc707e6.zip
fix #902
Diffstat (limited to 'meta/3rd/love2d/library/love.window.lua')
-rw-r--r--meta/3rd/love2d/library/love.window.lua28
1 files changed, 14 insertions, 14 deletions
diff --git a/meta/3rd/love2d/library/love.window.lua b/meta/3rd/love2d/library/love.window.lua
index 359ffdbe..0fd99213 100644
--- a/meta/3rd/love2d/library/love.window.lua
+++ b/meta/3rd/love2d/library/love.window.lua
@@ -296,58 +296,58 @@ function love.window.updateMode(width, height, settings) end
---
---Types of device display orientation.
---
----@class love.DisplayOrientation
+---@alias love.DisplayOrientation
---
---Orientation cannot be determined.
---
----@field unknown integer
+---| '"unknown"'
---
---Landscape orientation.
---
----@field landscape integer
+---| '"landscape"'
---
---Landscape orientation (flipped).
---
----@field landscapeflipped integer
+---| '"landscapeflipped"'
---
---Portrait orientation.
---
----@field portrait integer
+---| '"portrait"'
---
---Portrait orientation (flipped).
---
----@field portraitflipped integer
+---| '"portraitflipped"'
---
---Types of fullscreen modes.
---
----@class love.FullscreenType
+---@alias love.FullscreenType
---
---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 desktop integer
+---| '"desktop"'
---
---Standard exclusive-fullscreen mode. Changes the display mode (actual resolution) of the monitor.
---
----@field exclusive integer
+---| '"exclusive"'
---
---Standard exclusive-fullscreen mode. Changes the display mode (actual resolution) of the monitor.
---
----@field normal integer
+---| '"normal"'
---
---Types of message box dialogs. Different types may have slightly different looks.
---
----@class love.MessageBoxType
+---@alias love.MessageBoxType
---
---Informational dialog.
---
----@field info integer
+---| '"info"'
---
---Warning dialog.
---
----@field warning integer
+---| '"warning"'
---
---Error dialog.
---
----@field error integer
+---| '"error"'