mirror of
https://github.com/keharriso/love-nuklear.git
synced 2025-09-11 00:27:48 -04:00
Updated Documentation (markdown)
parent
b467f87c00
commit
4c598cacf0
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue