Added a test of the mouse event handling.

This commit is contained in:
Pietro Gagliardi 2014-03-15 22:38:06 -04:00
parent 2c547cb5ec
commit 6ef6dd8eba
1 changed files with 2 additions and 0 deletions

View File

@ -154,6 +154,8 @@ fmt.Println(req)
}
*/
req.Out <- img.SubImage(req.Rect).(*image.NRGBA)
case e := <-a.Mouse:
fmt.Printf("%#v\n", e)
}
}
}