Update todos

This commit is contained in:
nelle 2024-02-16 04:35:18 -07:00
parent 239f6becf1
commit 14b93b0569

View file

@ -2,6 +2,7 @@ package org.bm00.DataAccessor.windows
import jexer.TAction
import jexer.TApplication
import jexer.TPasswordField
import jexer.TWindow
import jexer.layout.StretchLayoutManager
@ -36,11 +37,11 @@ class LoginWindow private constructor(parent: TApplication, flags: Int) :
//Password
addLabel("Password", CENTERED + 9, CENTERED + 1)
//TODO: Once enter is pressed, getText and save as var, then activate login process.
addPasswordField(CENTERED + 5, CENTERED + 3, 16, false, "",
var passField = addPasswordField(CENTERED + 5, CENTERED + 3, 16, false, "",
// enterAction - function to call when enter key is pressed
object : TAction() {
override fun DO() {
TODO("Not yet implemented")
TODO("get all the text entered and save as variables")
}
},
// updateAction - function to call when the text is updated
@ -58,7 +59,7 @@ class LoginWindow private constructor(parent: TApplication, flags: Int) :
// enterAction - function to call when enter key is pressed
object : TAction() {
override fun DO() {
TODO("Not yet implemented")
TODO("get all the text entered and save as variables")
}
},
// updateAction - function to call when the text is updated