docs(system): make all parameters for set_window_hit_test optional

This commit is contained in:
takase1121 2023-05-13 18:29:20 +08:00 committed by George Sokianos
parent 3deeb762b4
commit af2abe4c98
1 changed files with 5 additions and 3 deletions

View File

@ -107,10 +107,12 @@ function system.set_window_bordered(bordered) end
---When then window is run borderless (without system decorations), this
---function allows to set the size of the different regions that allow
---for custom window management.
---To disable custom window management, call this function without any
---arguments
---
---@param title_height number
---@param controls_width number Width of window controls (maximize,minimize and close buttons, etc).
---@param resize_border number The amount of pixels reserved for resizing
---@param title_height? number Height of the window decoration
---@param controls_width? number Width of window controls (maximize,minimize and close buttons, etc).
---@param resize_border? number The amount of pixels reserved for resizing
function system.set_window_hit_test(title_height, controls_width, resize_border) end
---