#182 WIP work on PLC PSIL

This commit is contained in:
Mikayla Fischler
2023-04-08 00:38:46 -04:00
parent 6ea530635f
commit 9bc4f0f7a6
5 changed files with 128 additions and 37 deletions

View File

@@ -12,7 +12,8 @@ local ui = {
}
-- start the UI
function renderer.start_ui()
---@param fp_ps psil front panel PSIL
function renderer.start_ui(fp_ps)
if ui.view == nil then
term.setTextColor(colors.white)
term.setBackgroundColor(colors.black)
@@ -25,7 +26,7 @@ function renderer.start_ui()
end
-- init front panel view
ui.view = panel_view(term.current())
ui.view = panel_view(term.current(), fp_ps)
end
end