About Winow
This commit is contained in:
parent
85c9becef4
commit
a27487fbe7
1 changed files with 21 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue