code cleanup and work on #78 linking for annunciator

This commit is contained in:
Mikayla Fischler
2022-09-06 22:38:27 -04:00
parent 117784500a
commit b53d2d6694
10 changed files with 162 additions and 110 deletions

View File

@@ -15,11 +15,12 @@ local TEXT_ALIGN = core.graphics.TEXT_ALIGN
local cpair = core.graphics.cpair
local border = core.graphics.border
---@param root graphics_element
---@param x integer
---@param y integer
---@param data reactor_db
---@param ps psil
-- create new reactor view
---@param root graphics_element parent
---@param x integer top left x
---@param y integer top left y
---@param data reactor_db reactor data
---@param ps psil ps interface
local function new_view(root, x, y, data, ps)
local reactor = Rectangle{parent=root,border=border(1, colors.gray, true),width=30,height=7,x=x,y=y}