aboutsummaryrefslogblamecommitdiffstats
path: root/ui/drawable.go
blob: a61c0203931e57af18d1f2f68e91916a5e153d7e (plain) (tree)
1
2
3
4
5
6
7
8



                                                         
                          


                                                                          
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))
}