aerc/ui/drawable.go
2018-02-17 15:21:31 -05:00

8 lines
220 B
Go

package ui
type Drawable interface {
// Called when this renderable should draw itself
Draw(ctx *Context)
// Specifies a function to call when this cell needs to be redrawn
OnInvalidate(callback func(d Drawable))
}