Updated Documentation (markdown)

Kevin Harrison 2016-12-16 19:28:00 -05:00
parent b467f87c00
commit 4c598cacf0

@ -482,7 +482,7 @@ Return `true` if the widget was just clicked by the given mouse button ('left'/'
#### hasClick = nk.widgetHasMouseClick()
#### hasClick = nk.widgetHasMouseClick(button)
#### hasClick = nk.widgetHasMouseClick(button, down)
Returns `true` if the given mouse button is in the given state on the current widget, and `false` otherwise. `button` defaults to 'left', and `down` defaults to `true`.
`button` defaults to 'left', and `down` defaults to `true`. If `down` is `true`, return `true` if the mouse was pressed down on the current widget and is still being held down. If `down` is `false`, return `true` if the mouse was released on the current widget and has not since been pressed down.
#### nk.spacing(cols)
Empty space taking up the given number of columns.