updated type hints for remaining graphics_element generic types
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 }
|
||||
|
||||
@@ -125,7 +125,7 @@ local function load_settings(target, raw)
|
||||
end
|
||||
|
||||
-- create the config view
|
||||
---@param display graphics_element
|
||||
---@param display DisplayBox
|
||||
local function config_view(display)
|
||||
local bw_fg_bg = style.bw_fg_bg
|
||||
local g_lg_fg_bg = style.g_lg_fg_bg
|
||||
|
||||
@@ -34,7 +34,7 @@ local ind_grn = style.ind_grn
|
||||
local ind_red = style.ind_red
|
||||
|
||||
-- create new front panel view
|
||||
---@param panel graphics_element main displaybox
|
||||
---@param panel DisplayBox main displaybox
|
||||
local function init(panel)
|
||||
local s_hi_box = style.theme.highlight_box
|
||||
|
||||
|
||||
Reference in New Issue
Block a user