Add about and options window

This commit is contained in:
nelle 2024-02-17 17:29:32 -07:00
parent 68f94064ad
commit 1d2ecb9999

View file

@ -16,7 +16,7 @@ class WelcomeWindow private constructor(parent: TApplication, flags: Int) :
addButton("Options", CENTERED + 13, CENTERED - 2, addButton("Options", CENTERED + 13, CENTERED - 2,
object : TAction() { object : TAction() {
override fun DO() { override fun DO() {
TODO("Create an options screen to open") OptionsWindow(parent)
} }
} }
) )
@ -51,7 +51,7 @@ class WelcomeWindow private constructor(parent: TApplication, flags: Int) :
addButton("About", CENTERED + 14, CENTERED, addButton("About", CENTERED + 14, CENTERED,
object : TAction() { object : TAction() {
override fun DO() { override fun DO() {
TODO("About page") AboutWindow(parent)
} }
} }
) )