#10 #133 alarm system logic and display, change to comms to support alarm actions, get_x get_y to graphics elements, bugfixes to coord establish and rtu establish, flashing trilight and alarm light indicators

This commit is contained in:
Mikayla Fischler
2022-11-26 16:18:31 -05:00
parent f68c38ccee
commit d4ae18eee7
16 changed files with 824 additions and 160 deletions

View File

@@ -26,6 +26,7 @@ local element = {}
---|push_button_args
---|spinbox_args
---|switch_button_args
---|alarm_indicator_light
---|core_map_args
---|data_indicator_args
---|hbar_args
@@ -302,6 +303,18 @@ function element.new(args)
---@return cpair fg_bg
function public.get_fg_bg() return protected.fg_bg end
-- get element x
---@return integer x
function public.get_x()
return protected.frame.x
end
-- get element y
---@return integer y
function public.get_y()
return protected.frame.y
end
-- get element width
---@return integer width
function public.width()