Update for v2.5

Kevin Harrison 2019-01-03 13:21:15 -05:00
parent 37bcd0f8e1
commit 597cccfd7b

@ -17,12 +17,12 @@ Pass the given key release event to the UI, returning `true` if the event is con
See [love.keyreleased](https://love2d.org/wiki/love.keyreleased).
#### consumed = ui:mousepressed(x, y, button, istouch)
#### consumed = ui:mousepressed(x, y, button, istouch, presses)
Pass the given mouse press event to the UI, returning `true` if the event is consumed and `false` otherwise.
See [love.mousepressed](https://love2d.org/wiki/love.mousepressed).
#### consumed = ui:mousereleased(x, y, button, istouch)
#### consumed = ui:mousereleased(x, y, button, istouch, presses)
Pass the given mouse release event to the UI, returning `true` if the event is consumed and `false` otherwise.
See [love.mousereleased](https://love2d.org/wiki/love.mousereleased).
@ -879,6 +879,14 @@ ui:stylePush {
#### ui:stylePop()
Pop the most recently pushed style.
#### ui:style(style, body)
Equivalent to:
```lua
ui:stylePush(style)
body(ui)
ui:stylePop()
```
### Style Items
```lua
local style = {