Added a test of the mouse event handling.
This commit is contained in:
parent
2c547cb5ec
commit
6ef6dd8eba
|
@ -154,6 +154,8 @@ fmt.Println(req)
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
req.Out <- img.SubImage(req.Rect).(*image.NRGBA)
|
req.Out <- img.SubImage(req.Rect).(*image.NRGBA)
|
||||||
|
case e := <-a.Mouse:
|
||||||
|
fmt.Printf("%#v\n", e)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue