summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-15 22:38:06 -0400
committerPietro Gagliardi <[email protected]>2014-03-15 22:38:06 -0400
commit6ef6dd8eba5116593835f21ff4fbecf7a38a4c55 (patch)
treea75202f30b6fb6ac2cef79d512cfd16298787069
parent2c547cb5ec04096641cf68a2eafc7ca4371c06dd (diff)
Added a test of the mouse event handling.
-rw-r--r--test/main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/main.go b/test/main.go
index 6cefea9..75cba07 100644
--- a/test/main.go
+++ b/test/main.go
@@ -154,6 +154,8 @@ fmt.Println(req)
}
*/
req.Out <- img.SubImage(req.Rect).(*image.NRGBA)
+ case e := <-a.Mouse:
+ fmt.Printf("%#v\n", e)
}
}
}