Decided not to rename MouseEvent.Pos.
This commit is contained in:
parent
1451273dad
commit
3745acf57b
1
area.go
1
area.go
|
@ -81,7 +81,6 @@ type AreaHandler interface {
|
||||||
// (TODO find out if there's a way to query available button count)
|
// (TODO find out if there's a way to query available button count)
|
||||||
type MouseEvent struct {
|
type MouseEvent struct {
|
||||||
// Pos is the position of the mouse in the Area at the time of the event.
|
// Pos is the position of the mouse in the Area at the time of the event.
|
||||||
// TODO rename to Pt or Point?
|
|
||||||
Pos image.Point
|
Pos image.Point
|
||||||
|
|
||||||
// If the event was generated by a mouse button being pressed, Down contains the ID of that button.
|
// If the event was generated by a mouse button being pressed, Down contains the ID of that button.
|
||||||
|
|
Loading…
Reference in New Issue