diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-01-20 13:51:34 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-01-20 13:51:34 -0500 |
commit | 87fa305848a893b1c85472ea394f24486bd478b6 (patch) | |
tree | 1f0f95a185b4615d342fde1e0841dcf0fa47bdb7 /lib/ui/drawable.go | |
parent | 0b37441f177a46d40aad55f4553fa844bd4dbf6d (diff) |
Merge lib/ui/interfaces.go and add another
Diffstat (limited to 'lib/ui/drawable.go')
-rw-r--r-- | lib/ui/drawable.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/lib/ui/drawable.go b/lib/ui/drawable.go deleted file mode 100644 index ef09451..0000000 --- a/lib/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() -} |