mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
23 lines
502 B
Lua
23 lines
502 B
Lua
-- local style = require("pocket.ui.style")
|
|
|
|
local core = require("graphics.core")
|
|
|
|
local Div = require("graphics.elements.div")
|
|
local TextBox = require("graphics.elements.textbox")
|
|
|
|
-- local cpair = core.cpair
|
|
|
|
local ALIGN = core.ALIGN
|
|
|
|
-- new reactor page view
|
|
---@param root graphics_element parent
|
|
local function new_view(root)
|
|
local main = Div{parent=root,x=1,y=1}
|
|
|
|
TextBox{parent=main,text="REACTOR",x=1,y=1,height=1,alignment=ALIGN.CENTER}
|
|
|
|
return main
|
|
end
|
|
|
|
return new_view
|