diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-02-17 15:21:22 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-02-17 15:21:31 -0500 |
commit | 1892d73161a006182d7ef467e2bfc03c11587cb6 (patch) | |
tree | 8c785e6cfbe5f7dfeda988e5cebded269791a60e /ui/drawable.go | |
parent | 8c8c21f3ffef1a7083405c45221576858d1af5d5 (diff) |
Add grid rendering, probably
Diffstat (limited to 'ui/drawable.go')
-rw-r--r-- | ui/drawable.go | 2 |
1 files changed, 1 insertions, 1 deletions
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)) } |