Commit graph

16 commits

Author SHA1 Message Date
Matthias Richter
b5137a4477 LET THERE BE SUIT! 2015-12-31 18:23:52 +01:00
Matthias Richter
66a089a07f Fix bug in input.lua, make 0.9-ready, add utf8 editing
1) [input.lua] Pressing backspace while the cursor was at the beggining
   of the text removed the first character. Fixed thanks to riidom.
2) [LÖVE 0.9] Use setLine(Width|Style) instead of setLine. Split
   keyboard.pressed() into keyboard.pressed() and keyboard.textinput().
   (see readme)
3) [utf8.lua] Add support for UTF-8 text editing. May still fail
   spectacurlarly with invalid UTF-8 strings.
2013-12-11 15:25:06 +01:00
Matthias Richter
ffd187dc17 Fix #11: Right click support.
When clicked, Button() and Input() return the respective mouse button
constant ('l', 'r', 'm') instead of just true.
When activated by keyboard, Button() and Input() return 'return'.
Otherwise Button() and Input() return false.
2013-11-04 21:52:36 +01:00
Matthias Richter
43265a44ca Fix #7: Pressing return crashes Input.
Add arguments to call of keyboard.pressed() in input.lua.
Add sanity check to keyboard.pressed().
2013-03-24 19:59:27 +01:00
Matthias Richter
2c24ba3ca0 Input-widget only fires event when activated 2013-02-06 13:28:23 +01:00
Matthias Richter
3cc1581bf4 [Input] Clear focus and key event when pressed return 2013-01-27 11:23:29 +01:00
Matthias Richter
e5c9e7e29f Allow setting custom widget ids 2013-01-23 13:18:58 +01:00
Matthias Richter
adc7887587 Mega update: Auto layout, code cleanup, api change.
Basically half a rewrite.
2012-05-09 21:27:45 +02:00
Matthias Richter
dff80a6942 Add license header. 2012-03-29 13:55:56 +02:00
Matthias Richter
6de65888dc Externalize widget hit test to style definition. 2012-03-14 16:19:46 +01:00
Matthias Richter
370c10c787 Rename makeTabable() to makeCyclable() 2012-02-22 23:33:54 +01:00
Matthias Richter
154c93e0f2 Fix file permissions 2012-02-22 22:56:10 +01:00
mkosler
d51babb366 Merge branch 'master' of git://github.com/vrld/Quickie.git 2012-02-21 12:50:21 -06:00
mkosler
541145560a Added ability to change controls for tabbable with hacky LOVE quirks. 2012-02-21 12:30:42 -06:00
Matthias Richter
a094675a49 Better require regexps for submodules 2012-02-21 14:52:30 +01:00
Matthias Richter
40dbc7134b Initial commit 2012-02-07 23:10:29 +01:00