accelerators for any event + more inspect examples

This commit is contained in:
kepler155c@gmail.com
2019-11-13 21:50:00 -07:00
parent db48031c7c
commit 3241326a2f
10 changed files with 140 additions and 14 deletions

View File

@@ -75,3 +75,11 @@ function UI.Slider:eventHandler(event)
self:draw()
end
end
function UI.Slider.example()
return UI.Slider {
y = 2, x = 2, ex = -2,
min = 0, max = 1,
help = 'Volume setting',
}
end