Update todos
This commit is contained in:
parent
239f6becf1
commit
14b93b0569
1 changed files with 4 additions and 3 deletions
|
@ -2,6 +2,7 @@ package org.bm00.DataAccessor.windows
|
||||||
|
|
||||||
import jexer.TAction
|
import jexer.TAction
|
||||||
import jexer.TApplication
|
import jexer.TApplication
|
||||||
|
import jexer.TPasswordField
|
||||||
import jexer.TWindow
|
import jexer.TWindow
|
||||||
import jexer.layout.StretchLayoutManager
|
import jexer.layout.StretchLayoutManager
|
||||||
|
|
||||||
|
@ -36,11 +37,11 @@ class LoginWindow private constructor(parent: TApplication, flags: Int) :
|
||||||
//Password
|
//Password
|
||||||
addLabel("Password", CENTERED + 9, CENTERED + 1)
|
addLabel("Password", CENTERED + 9, CENTERED + 1)
|
||||||
//TODO: Once enter is pressed, getText and save as var, then activate login process.
|
//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
|
// enterAction - function to call when enter key is pressed
|
||||||
object : TAction() {
|
object : TAction() {
|
||||||
override fun DO() {
|
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
|
// 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
|
// enterAction - function to call when enter key is pressed
|
||||||
object : TAction() {
|
object : TAction() {
|
||||||
override fun DO() {
|
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
|
// updateAction - function to call when the text is updated
|
||||||
|
|
Reference in a new issue