diff options
| author | Pietro Gagliardi <[email protected]> | 2014-03-15 22:29:47 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-03-15 22:29:47 -0400 |
| commit | 829cf7b1c6fff41440fbed5d02a31c2f6bb73796 (patch) | |
| tree | 21393636e786a7b998bcaf10f8a672716aa25e25 /area.go | |
| parent | a5a3287696a3c99faa9115c5864787157f266ed0 (diff) | |
Added (untested) GTK+ implementation of Area's mouse events.
Diffstat (limited to 'area.go')
| -rw-r--r-- | area.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -53,6 +53,7 @@ type PaintRequest struct { // (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) 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? Pos image.Point // If the event was generated by a mouse button being pressed, Down contains the ID of that button. |
