From bd51baa6d764293a83d4e955b533e55b57e8e147 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 20 Jul 2021 17:28:53 +0800 Subject: update --- meta/3rd/love2d/library/love.window.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'meta/3rd/love2d/library/love.window.lua') 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. -- cgit v1.2.3