From 1418e1b9dc41d8f69bccb8de0fe0f1fb6835ce11 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 26 Feb 2018 22:54:39 -0500 Subject: Split UI library and widgets --- ui/drawable.go | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 ui/drawable.go (limited to 'ui/drawable.go') 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() -} -- cgit 1.4.1-2-gfad0