summaryrefslogtreecommitdiff
path: root/area.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-03-15 22:30:49 -0400
committerPietro Gagliardi <[email protected]>2014-03-15 22:30:49 -0400
commit2c547cb5ec04096641cf68a2eafc7ca4371c06dd (patch)
tree27fe6251ec5b46982efc36167af140b100bece3b /area.go
parent829cf7b1c6fff41440fbed5d02a31c2f6bb73796 (diff)
Added note in MouseEvent documentation about both Down and Up being 0 representing mouse movement.
Diffstat (limited to 'area.go')
-rw-r--r--area.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/area.go b/area.go
index 5df46cd..5d1ef08 100644
--- a/area.go
+++ b/area.go
@@ -62,6 +62,7 @@ type MouseEvent struct {
// If the event was generated by a mouse button being released, Up contains the ID of that button.
// Otherwise, Up contains 0.
+ // If both Down and Up are 0, the event represents mouse movement (with optional held buttons; see below).
Up uint
// If Down is nonzero, Count indicates the number of clicks: 1 for single-click, 2 for double-click.