initial commit

This commit is contained in:
Tim Cooper
2014-12-04 17:08:26 -04:00
commit 562dec1e35
14 changed files with 1171 additions and 0 deletions

9
uiterm/view.go Normal file
View File

@@ -0,0 +1,9 @@
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)
}