From 87fa305848a893b1c85472ea394f24486bd478b6 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 20 Jan 2019 13:51:34 -0500 Subject: Merge lib/ui/interfaces.go and add another --- lib/ui/drawable.go | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 lib/ui/drawable.go (limited to 'lib/ui/drawable.go') 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() -} -- cgit v1.2.3