aboutsummaryrefslogtreecommitdiff
path: root/ui/drawable.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-02-26 22:54:39 -0500
committerDrew DeVault <sir@cmpwn.com>2018-02-26 22:54:39 -0500
commit1418e1b9dc41d8f69bccb8de0fe0f1fb6835ce11 (patch)
tree4ae8b3373fdadb6dd3e7b8c8789cf938522b8f8a /ui/drawable.go
parent661e3ec2a4dd97d4a8a8eab4f281b088770a6af2 (diff)
Split UI library and widgets
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()
-}