From 1892d73161a006182d7ef467e2bfc03c11587cb6 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sat, 17 Feb 2018 15:21:22 -0500 Subject: Add grid rendering, probably --- ui/drawable.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/drawable.go') diff --git a/ui/drawable.go b/ui/drawable.go index eb60463..a61c020 100644 --- a/ui/drawable.go +++ b/ui/drawable.go @@ -2,7 +2,7 @@ package ui type Drawable interface { // Called when this renderable should draw itself - Draw(ctx Context) + Draw(ctx *Context) // Specifies a function to call when this cell needs to be redrawn OnInvalidate(callback func(d Drawable)) } -- cgit v1.2.3