Add about button, shift things around

This commit is contained in:
nelle 2024-02-16 17:16:02 -07:00
parent ac258c51af
commit aa14ec1579

View file

@ -18,6 +18,13 @@ class WelcomeWindow private constructor(parent: TApplication, flags: Int) :
)
addLabel("Welcome to", CENTERED + 13, CENTERED - 4)
addLabel("The ORG-NAME-WIP Secure Data Accessor", CENTERED, CENTERED - 3)
addButton("Options", CENTERED + 13, CENTERED,
object : TAction() {
override fun DO() {
TODO("Create an options screen to open")
}
}
)
addButton("Exit...", CENTERED + 28, CENTERED,
object : TAction() {
@ -27,15 +34,16 @@ class WelcomeWindow private constructor(parent: TApplication, flags: Int) :
}
)
addButton("Options", CENTERED + 13, CENTERED,
addButton("About", CENTERED + 14, CENTERED + 2,
object : TAction() {
override fun DO() {
TODO("Create an options screen to open")
TODO("About page")
}
}
)
//Keep in mind, whatever button/element is created last is always the one pre-selected on launch.
// But every other element must be in order from top->bottom because weird.
addButton("Login", CENTERED, CENTERED,
object : TAction() {
override fun DO() {