diff --git a/src/main/kotlin/xyz/limepot/kotRemote/jexerWindow/AboutWindow.kt b/src/main/kotlin/xyz/limepot/kotRemote/jexerWindow/AboutWindow.kt new file mode 100644 index 0000000..1f2cc01 --- /dev/null +++ b/src/main/kotlin/xyz/limepot/kotRemote/jexerWindow/AboutWindow.kt @@ -0,0 +1,21 @@ +package xyz.limepot.kotRemote.jexerWindow + +import jexer.TApplication +import jexer.TWindow +import jexer.layout.StretchLayoutManager + +class AboutWindow private constructor(parent: TApplication, flags: Int) : + TWindow(parent, "About", 0, 0, 52, 19, flags) { + constructor(parent: TApplication) : this(parent, CENTERED) + + init { + layoutManager = StretchLayoutManager( + width - 2, + height - 2 + ) + + addLabel("kotRemote", 20, 0) + addLabel("Wrapper for sshfs built in Kotlin, with Jexer.", 3, 2) + addLabel("Created by LimePotato", 13, 6) + } +} \ No newline at end of file