10 lines
199 B
Go
10 lines
199 B
Go
package uiterm
|
|
|
|
type View interface {
|
|
SetBounds(ui *Ui, x0, y0, x1, y1 int)
|
|
Draw(ui *Ui)
|
|
SetActive(ui *Ui, active bool)
|
|
KeyEvent(ui *Ui, mod Modifier, key Key)
|
|
CharacterEvent(ui *Ui, ch rune)
|
|
}
|