aboutsummaryrefslogtreecommitdiffstats
path: root/env.go
diff options
context:
space:
mode:
Diffstat (limited to 'env.go')
-rw-r--r--env.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/env.go b/env.go
new file mode 100644
index 0000000..cd71b5b
--- /dev/null
+++ b/env.go
@@ -0,0 +1,11 @@
+package gui
+
+import (
+ "image"
+ "image/draw"
+)
+
+type Env struct {
+ Events <-chan Event
+ Draw chan<- func(draw.Image) image.Rectangle
+}