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