From 14b93b0569ce7e7535548a04f3c16a5b3b3462ae Mon Sep 17 00:00:00 2001 From: limepotato Date: Fri, 16 Feb 2024 04:35:18 -0700 Subject: [PATCH] Update todos --- .../kotlin/org/bm00/DataAccessor/windows/LoginWindow.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/org/bm00/DataAccessor/windows/LoginWindow.kt b/src/main/kotlin/org/bm00/DataAccessor/windows/LoginWindow.kt index eed4536..421c086 100644 --- a/src/main/kotlin/org/bm00/DataAccessor/windows/LoginWindow.kt +++ b/src/main/kotlin/org/bm00/DataAccessor/windows/LoginWindow.kt @@ -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