endlesstravel
12610bfe8f
fix 'Input widget will raise error when candidate_text field is not defined'
2017-10-31 19:38:14 +08:00
Yx
02c4c05a0d
Merge branch 'master' into master
2017-09-23 09:46:18 +08:00
endlesstravel
6960a80eaa
Revert "update to master"
...
This reverts commit 10e79ca5c8
.
2016-11-06 15:26:19 +08:00
endlesstravel
10e79ca5c8
update to master
2016-11-06 15:18:02 +08:00
endlesstravel
4638fb1ea5
add ime support
2016-11-06 15:06:58 +08:00
Angelo Geels
2830edc52e
Rename to forcefocus
2016-10-23 13:36:50 +02:00
Angelo Geels
1b67db0487
Add force bool to input to force focus on first draw
2016-10-23 13:34:31 +02:00
vrld
e64a822de8
Merge pull request #39 from texm/master
...
Ensure char is valid
2016-07-06 14:56:11 +02:00
tex
1b374b41cf
Ensure char is valid
...
Fixes an error which could occur if an input's state was set to active without user interaction
2016-07-03 20:29:09 +08:00
endlesstravel
3171286c1f
fix bug when input more than one character.
2016-06-01 19:06:45 +08:00
Matthias Richter
f9ee40d53d
Patch #27 : Cursor disappears when filling the input box
2016-03-13 13:22:51 +01:00
Robert Machmer
f4c8e9b393
Remove unused variable
2016-03-13 10:22:12 +01:00
Matthias Richter
b37c35dc0a
Add (not perfect) mouse interaction to input widget
2016-01-16 02:53:11 +01:00
Matthias Richter
4f3d285218
Allow to overwrite draw function per widget
2016-01-16 02:33:41 +01:00
Matthias Richter
62b31ac719
Move computation of text offset from theme to input widget
2016-01-16 02:16:52 +01:00
Matthias Richter
aca8a297bb
Fix #17 : Support multiple instances
2016-01-03 18:33:39 +01:00
Matthias Richter
1f0c54afc7
Fix bug when trying to delete a char of an empty string
2016-01-02 15:35:31 +01:00
Matthias Richter
652291c175
Correct license header
2016-01-01 21:38:20 +01:00
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