code cleanup and work on #78 linking for annunciator
This commit is contained in:
@@ -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}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user