ref: ca677a50fd03b97e8421d5ddcc9c793338c81058
dir: /events/mouse/mouse.go/
package mouse import "image" type Type int const ( Enter Type = 1 << iota Leave Click ) // Mouse Point in local coordinates though // // E.g. for click event on Button relative to button // - thus for mouse leave it can be negative type Event struct { Type image.Point Buttons int // timestamp in ms Msec uint32 }