Initialize modular ATM10 CC control system
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
local widgets = require("ui.widgets")
|
||||
local M = {}
|
||||
function M.render(target, title, lines)
|
||||
target.setBackgroundColor(colors.black)
|
||||
target.setTextColor(colors.white)
|
||||
target.clear()
|
||||
widgets.title(target, title)
|
||||
for index, line in ipairs(lines or {}) do target.setCursorPos(1, index + 2); target.write(line) end
|
||||
end
|
||||
return M
|
||||
|
||||
Reference in New Issue
Block a user