aboutsummaryrefslogtreecommitdiffstats
path: root/env.go
diff options
context:
space:
mode:
authorfaiface <faiface2202@gmail.com>2019-05-02 01:01:02 +0200
committerfaiface <faiface2202@gmail.com>2019-05-02 01:01:02 +0200
commit7bbe7dc9618949f2fe023efcb896a70150966e44 (patch)
tree26c04eafd111309558272bc453106c63307b61ee /env.go
parentd07cc4a0af7f602fe3d519faca01b3abfce2e9b2 (diff)
downloadgui-7bbe7dc9618949f2fe023efcb896a70150966e44.zip
revamp the whole thing for a fresh new start
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
+}