diff options
author | Matthias Richter <vrld@vrld.org> | 2012-03-14 14:14:16 +0100 |
---|---|---|
committer | Matthias Richter <vrld@vrld.org> | 2012-03-14 14:14:16 +0100 |
commit | 465aaf18853e0e96f4a26642fea884919f9a2f88 (patch) | |
tree | 2a0ff552d2bd14886fc94d6a23f387a939788d3f /README.md | |
parent | 370c10c78770bc3c1a70a086b238e7a8e5197fb9 (diff) | |
download | Quickie-465aaf18853e0e96f4a26642fea884919f9a2f88.tar.gz Quickie-465aaf18853e0e96f4a26642fea884919f9a2f88.tar.bz2 Quickie-465aaf18853e0e96f4a26642fea884919f9a2f88.tar.xz Quickie-465aaf18853e0e96f4a26642fea884919f9a2f88.zip |
Add gui.core.(disable|clear)KeyFocus
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -17,6 +17,11 @@ Quickie is an [immediate mode gui][IMGUI] library for [LÖVE][LOVE] -- checkboxes have only a `checked' status local checkbox = {checked = false} + function love.load() + -- disable tabbing through the widgets + gui.core.disableKeyFocus() + end + function love.update(dt) -- widgets are defined by simply calling them. usually a widget returns true if -- if its value changed or if it was activated (click on button, ...) @@ -37,8 +42,8 @@ Quickie is an [immediate mode gui][IMGUI] library for [LÖVE][LOVE] end function love.keypressed(key,code) - -- forward keyboard events to the gui. If you don't want widget tabbing and - -- input widgets, skip this line + -- forward keyboard events to the gui. If you don't want keyboard support + -- skip this line gui.core.keyboard.pressed(key, code) end |