diff options
| author | faiface <faiface2202@gmail.com> | 2019-05-07 01:19:06 +0200 |
|---|---|---|
| committer | faiface <faiface2202@gmail.com> | 2019-05-07 01:19:06 +0200 |
| commit | f2f7b00ab803499424c55f56a18bdf477b3b9b76 (patch) | |
| tree | d12b260b3c7966edb4cdd85296101cf07d7629fc /win | |
| parent | 875b12b4a0c49f7bc0ae3ba6c4a0b842f2a8653f (diff) | |
| download | gui-f2f7b00ab803499424c55f56a18bdf477b3b9b76.zip | |
minor
Diffstat (limited to 'win')
| -rw-r--r-- | win/win.go | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -131,18 +131,18 @@ func makeGLFWWin(o *options) (*glfw.Window, error) { // Here are all kinds of events that a window can produce, along with descriptions. // Things enclosed in <> are values that are filled in. // -// resize/<w>/<h> Window resized to w x h. -// wi/close Window close button pressed. -// mo/move/<x>/<y> Mouse moved to (x, y). -// mo/down/<x>/<y>/<button> A mouse button pressed on (x, y). -// mo/up/<x>/<y>/<button> A mouse button released on (x, y). -// mo/scroll/<x>/<y> Mouse scrolled by (x, y). -// kb/type/<code> A unicode character typed on the keyboard. -// kb/down/<key> A key on the keyboard pressed. -// kb/up/<key> A key on the keyboard released. -// kb/repeat/<key> A key on the keyboard repeated (happens when held). +// resize/<x0>/<y0>/<x1>/<y1> Window resized to (x0, y0, x1, y1). +// wi/close Window close button pressed. +// mo/move/<x>/<y> Mouse moved to (x, y). +// mo/down/<x>/<y>/<button> A mouse button pressed on (x, y). +// mo/up/<x>/<y>/<button> A mouse button released on (x, y). +// mo/scroll/<x>/<y> Mouse scrolled by (x, y). +// kb/type/<code> A unicode character typed on the keyboard. +// kb/down/<key> A key on the keyboard pressed. +// kb/up/<key> A key on the keyboard released. +// kb/repeat/<key> A key on the keyboard repeated (happens when held). // -// <w>, <h>, <x>, <y>, and <code> are numbers (%d). +// <x0>, <y0>, <x1>, <y1>, <w>, <h>, <x>, <y>, and <code> are numbers (%d). // <button> is one of: // left right middle // <key> is one of: |