updated type hints for remaining graphics_element generic types

This commit is contained in:
Mikayla
2024-09-26 21:23:50 +00:00
parent ec1fc13ae7
commit 17e53fdba2
38 changed files with 54 additions and 52 deletions

View File

@@ -160,7 +160,7 @@ local function self_check()
end
-- exit self check back home
---@param main_pane graphics_element
---@param main_pane MultiPane
local function exit_self_check(main_pane)
tcd.abort(handle_timeout)
self.net_listen = false
@@ -172,9 +172,9 @@ end
local check = {}
-- create the self-check view
---@param main_pane graphics_element
---@param main_pane MultiPane
---@param settings_cfg plc_config
---@param check_sys graphics_element
---@param check_sys Div
---@param style { [string]: cpair }
function check.create(main_pane, settings_cfg, check_sys, style)
local bw_fg_bg = style.bw_fg_bg

View File

@@ -61,7 +61,7 @@ local system = {}
-- create the system configuration view
---@param tool_ctl _plc_cfg_tool_ctl
---@param main_pane graphics_element
---@param main_pane MultiPane
---@param cfg_sys [ plc_config, plc_config, plc_config, table, function ]
---@param divs Div[]
---@param style { [string]: cpair }