ui/layout: remove unused layout.Interface

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-05-14 16:01:59 +02:00
parent a6fc2b6d45
commit d98f579048
-5
View File
@@ -42,11 +42,6 @@ type List struct {
size image.Point
}
type Interface interface {
Len() int
At(i int) Widget
}
func (l *List) Init(ops *ui.Ops, cs Constraints, len int) (int, bool) {
l.maxSize = 0
l.children = l.children[:0]