mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
36 lines
710 B
Lua
36 lines
710 B
Lua
|
|
local core = require("graphics.core")
|
|
|
|
local style = {}
|
|
|
|
local cpair = core.graphics.cpair
|
|
|
|
-- MAIN LAYOUT --
|
|
|
|
style.root = cpair(colors.black, colors.lightGray)
|
|
style.header = cpair(colors.white, colors.gray)
|
|
|
|
style.reactor = {
|
|
-- reactor states
|
|
states = {
|
|
{
|
|
color = cpair(colors.black, colors.yellow),
|
|
text = "DISCONNECTED"
|
|
},
|
|
{
|
|
color = cpair(colors.white, colors.gray),
|
|
text = "DISABLED"
|
|
},
|
|
{
|
|
color = cpair(colors.black, colors.green),
|
|
text = "ACTIVE"
|
|
},
|
|
{
|
|
color = cpair(colors.black, colors.red),
|
|
text = "SCRAM!"
|
|
}
|
|
}
|
|
}
|
|
|
|
return style
|