forked from joejulian/gio
ui/layout: remove unused layout.Interface
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -42,11 +42,6 @@ type List struct {
|
|||||||
size image.Point
|
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) {
|
func (l *List) Init(ops *ui.Ops, cs Constraints, len int) (int, bool) {
|
||||||
l.maxSize = 0
|
l.maxSize = 0
|
||||||
l.children = l.children[:0]
|
l.children = l.children[:0]
|
||||||
|
|||||||
Reference in New Issue
Block a user