aboutsummaryrefslogtreecommitdiffstats
path: root/ui/drawable.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-02-17 15:21:22 -0500
committerDrew DeVault <sir@cmpwn.com>2018-02-17 15:21:31 -0500
commit1892d73161a006182d7ef467e2bfc03c11587cb6 (patch)
tree8c785e6cfbe5f7dfeda988e5cebded269791a60e /ui/drawable.go
parent8c8c21f3ffef1a7083405c45221576858d1af5d5 (diff)
downloadaerc-1892d73161a006182d7ef467e2bfc03c11587cb6.tar.gz
Add grid rendering, probably
Diffstat (limited to 'ui/drawable.go')
-rw-r--r--ui/drawable.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/drawable.go b/ui/drawable.go
index eb60463b..a61c0203 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))
}