summaryrefslogtreecommitdiff
path: root/meta/3rd/love2d/library/love.window.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-20 19:40:14 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-20 19:40:14 +0800
commit2646668ef25f8a90d07f2cc929a037e62c729381 (patch)
tree042f6c08a0b092c7148f349bdfad0f2b7b1dfb5c /meta/3rd/love2d/library/love.window.lua
parent7801b00a804bcd68aacda265afdf4d774486b4e9 (diff)
downloadlua-language-server-2646668ef25f8a90d07f2cc929a037e62c729381.zip
update
Diffstat (limited to 'meta/3rd/love2d/library/love.window.lua')
-rw-r--r--meta/3rd/love2d/library/love.window.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/3rd/love2d/library/love.window.lua b/meta/3rd/love2d/library/love.window.lua
index dc45f1d7..21322049 100644
--- a/meta/3rd/love2d/library/love.window.lua
+++ b/meta/3rd/love2d/library/love.window.lua
@@ -90,7 +90,7 @@ function love.window.getIcon() end
---
---@return number width # Window width.
---@return number height # Window height.
----@return table flags # Table with the window properties:
+---@return {fullscreen: boolean, fullscreentype: FullscreenType, vsync: boolean, msaa: number, resizable: boolean, borderless: boolean, centered: boolean, display: number, minwidth: number, minheight: number, highdpi: boolean, refreshrate: number, x: number, y: number, srgb: boolean} flags # Table with the window properties:
function love.window.getMode() end
---
@@ -223,7 +223,7 @@ function love.window.setIcon(imagedata) end
---
---@param width number # Display width.
---@param height number # Display height.
----@param flags table # The flags table with the options:
+---@param flags {fullscreen: boolean, fullscreentype: FullscreenType, vsync: boolean, msaa: number, stencil: boolean, depth: number, resizable: boolean, borderless: boolean, centered: boolean, display: number, minwidth: number, minheight: number, highdpi: boolean, x: number, y: number, usedpiscale: boolean, srgb: boolean} # The flags table with the options:
---@return boolean success # True if successful, false otherwise.
function love.window.setMode(width, height, flags) end
@@ -281,7 +281,7 @@ function love.window.toPixels(value) end
---
---@param width number # Window width.
---@param height number # Window height.
----@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.
+---@param settings {fullscreen: boolean, fullscreentype: FullscreenType, vsync: boolean, msaa: number, resizable: boolean, borderless: boolean, centered: boolean, display: number, minwidth: number, minheight: number, highdpi: boolean, x: number, y: number} # 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