ui overhaul

This commit is contained in:
kepler155c@gmail.com
2019-02-05 23:04:22 -05:00
parent ab22ae8224
commit b07343a530
19 changed files with 35 additions and 52 deletions

View File

@@ -192,7 +192,7 @@ nodeWizard = UI.Page {
wizard = UI.Wizard {
y = 2, ey = -2,
pages = {
general = UI.Window {
general = UI.WizardPage {
index = 1,
backgroundColor = colors.cyan,
form = UI.Form {
@@ -221,7 +221,7 @@ nodeWizard = UI.Page {
help = 'Contents of inventory',
},
},
confirmation = UI.Window {
confirmation = UI.WizardPage {
title = 'Confirm changes',
index = 2,
notice = UI.TextArea {
@@ -375,7 +375,7 @@ end
--[[ General Page ]] --
function nodeWizard.wizard.pages.general:enable()
UI.Window.enable(self)
UI.WizardPage.enable(self)
self:focusFirst()
end