aboutsummaryrefslogtreecommitdiff
path: root/lib/ui/drawable.go
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ui/drawable.go')
-rw-r--r--lib/ui/drawable.go10
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/ui/drawable.go b/lib/ui/drawable.go
deleted file mode 100644
index ef09451..0000000
--- a/lib/ui/drawable.go
+++ /dev/null
@@ -1,10 +0,0 @@
-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))
- // Invalidates the drawable
- Invalidate()
-}