This repository has been archived on 2022-11-30. You can view files and clone it, but cannot push or open issues or pull requests.
spectator/exhibit/widget.go

21 lines
261 B
Go

package exhibit
import (
"image"
)
type Border struct {
Top bool
Bottom bool
Left bool
Right bool
}
type Widget interface {
Render(image.Point) Block
Size() image.Point
SetSize(image.Point)
Attributes() Attributes
SetAttributes(Attributes)
}