From e026b662ce217ceb69cbaf9c053d8e4353efdbf2 Mon Sep 17 00:00:00 2001
From: Tim Cooper <tim.cooper@layeh.com>
Date: Sat, 6 Dec 2014 22:07:51 -0400
Subject: [PATCH] uiterm: remove LayoutFunc, remove InputFunc type

---
 uiterm/textbox.go | 4 +---
 uiterm/ui.go      | 2 --
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/uiterm/textbox.go b/uiterm/textbox.go
index c40ffe7..483456f 100644
--- a/uiterm/textbox.go
+++ b/uiterm/textbox.go
@@ -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
diff --git a/uiterm/ui.go b/uiterm/ui.go
index 14423ae..57908c8 100644
--- a/uiterm/ui.go
+++ b/uiterm/ui.go
@@ -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 {