uiterm: remove LayoutFunc, remove InputFunc type

This commit is contained in:
Tim Cooper
2014-12-06 22:07:51 -04:00
parent 64cdb10ffc
commit e026b662ce
2 changed files with 1 additions and 5 deletions

View File

@@ -7,14 +7,12 @@ import (
"github.com/nsf/termbox-go"
)
type InputFunc func(ui *Ui, textbox *Textbox, text string)
type Textbox struct {
Text string
Fg Attribute
Bg Attribute
Input InputFunc
Input func(ui *Ui, textbox *Textbox, text string)
ui *Ui
active bool

View File

@@ -6,8 +6,6 @@ import (
"github.com/nsf/termbox-go"
)
type LayoutFunc func(ui *Ui, width, height int)
type KeyListener func(ui *Ui, key Key)
type UiManager interface {