diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-02-17 16:35:36 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-02-17 16:35:36 -0500 |
commit | 60b351b78c930110716b0c9db2227e13704f826d (patch) | |
tree | 3d5d6f69fe416cfd4032c7d672168c965999ec4d /ui/drawable.go | |
parent | 1892d73161a006182d7ef467e2bfc03c11587cb6 (diff) | |
download | aerc-60b351b78c930110716b0c9db2227e13704f826d.tar.gz |
Polish up grid and add new rendering loop
Diffstat (limited to 'ui/drawable.go')
-rw-r--r-- | ui/drawable.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/drawable.go b/ui/drawable.go index a61c0203..ef094519 100644 --- a/ui/drawable.go +++ b/ui/drawable.go @@ -5,4 +5,6 @@ type Drawable interface { Draw(ctx *Context) // Specifies a function to call when this cell needs to be redrawn OnInvalidate(callback func(d Drawable)) + // Invalidates the drawable + Invalidate() } |