summaryrefslogtreecommitdiff
path: root/area.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-04-29 12:54:15 -0400
committerPietro Gagliardi <[email protected]>2014-04-29 16:03:37 -0400
commita98072a23b7fea98e5b1565af9ef548f1e20d02a (patch)
treefc883b79162484d24c2b702ecd3026e381ad1571 /area.go
parentf19db96c4e9fdd956d503fbfd1a0c24051e4332f (diff)
Decided not to cap mouse buttons at 3; reflected this in the public interface and in the TODO file. Platform implementations come next.
Diffstat (limited to 'area.go')
-rw-r--r--area.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/area.go b/area.go
index 0fc33d2..4fca39a 100644
--- a/area.go
+++ b/area.go
@@ -72,7 +72,8 @@ type AreaHandler interface {
// MouseEvent contains all the information for a mous event sent by Area.Mouse.
// Mouse button IDs start at 1, with 1 being the left mouse button, 2 being the middle mouse button, and 3 being the right mouse button.
-// (TODO "If additional buttons are supported, they will be returned with 4 being the first additional button (XBUTTON1 on Windows), 5 being the second (XBUTTON2 on Windows), and so on."?) (TODO get the user-facing name for XBUTTON1/2; find out if there's a way to query available button count)
+// If additional buttons are supported, they will be returned with 4 being the first additional button. The association between button numbers and physical buttons are system-defined.
+// (TODO find out if there's a way to query available button count)
type MouseEvent struct {
// Pos is the position of the mouse in the Area at the time of the event.
// TODO rename to Pt or Point?