wizard and tab rework

This commit is contained in:
kepler155c@gmail.com
2020-04-26 19:39:28 -06:00
parent 8d014c0098
commit ef0886ec85
20 changed files with 398 additions and 426 deletions

View File

@@ -2,7 +2,7 @@ local Ansi = require('opus.ansi')
local UI = require('opus.ui')
local infoTab = UI.Tab {
tabTitle = 'Info',
title = 'Info',
index = 4,
textArea = UI.TextArea {
x = 2, ex = -2, y = 2, ey = -2,

View File

@@ -7,7 +7,7 @@ local colors = _G.colors
local context = Milo:getContext()
local machinesTab = UI.Tab {
tabTitle = 'Machine',
title = 'Machine',
index = 3,
grid = UI.ScrollingGrid {
x = 2, ex = -2, y = 2, ey = -2,

View File

@@ -7,7 +7,7 @@ local Util = require('opus.util')
local context = Milo:getContext()
local manageTab = UI.Tab {
tabTitle = 'Manage',
title = 'Manage',
index = 1,
form = UI.Form {
x = 1, ex = -1, ey = -1,

View File

@@ -4,7 +4,7 @@ local Milo = require('milo')
local UI = require('opus.ui')
local recipeTab = UI.Tab {
tabTitle = 'Recipe',
title = 'Recipe',
index = 2,
grid = UI.ScrollingGrid {
x = 2, ex = -2, y = 2, ey = -4,

View File

@@ -7,7 +7,7 @@ local colors = _G.colors
local context = Milo:getContext()
local resetTab = UI.Tab {
tabTitle = 'Reset',
title = 'Reset',
index = 5,
noFill = true,
textArea = UI.TextArea {