mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
22 lines
580 B
Lua
22 lines
580 B
Lua
--
|
|
-- Main SCADA Coordinator GUI
|
|
--
|
|
|
|
local core = require("graphics.core")
|
|
local layout = require("graphics.layout")
|
|
|
|
local style = require("coordinator.ui.style")
|
|
|
|
local displaybox = require("graphics.elements.displaybox")
|
|
local textbox = require("graphics.elements.textbox")
|
|
|
|
local function init(monitor)
|
|
local main = layout.create(monitor, displaybox{window=monitor,fg_bg=style.root})
|
|
|
|
textbox{parent=main,text="Nuclear Generation Facility SCADA Coordinator",alignment=core.graphics.TEXT_ALIGN.CENTER,height=1,fg_bg=style.header}
|
|
|
|
return main
|
|
end
|
|
|
|
return init
|