aerc/ui/drawable.go

9 lines
219 B
Go
Raw Normal View History

2018-02-16 06:05:07 +01:00
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))
}