uiterm: remove *Ui argument from View methods

This commit is contained in:
Tim Cooper
2014-12-06 21:55:33 -04:00
parent dc4b3a3662
commit 9b0214d112
6 changed files with 60 additions and 36 deletions

View File

@@ -1,9 +1,10 @@
package uiterm
type View interface {
setActive(ui *Ui, active bool)
setBounds(ui *Ui, x0, y0, x1, y1 int)
draw(ui *Ui)
keyEvent(ui *Ui, mod Modifier, key Key)
characterEvent(ui *Ui, ch rune)
uiInitialize(ui *Ui)
setActive(active bool)
setBounds(x0, y0, x1, y1 int)
draw()
keyEvent(mod Modifier, key Key)
characterEvent(ch rune)
}