Commit graph

36 commits

Author SHA1 Message Date
len0rd
4aada674ad core: require that the user manually call suit:enterFrame during update/draw so that manually specifying mouse coordinates works 2025-08-05 09:55:28 -04:00
tyler miller
28abbc8bd1 core: add optional parameters to enterFrame for mouse coordinates. allows user to use a separate coordinate system than the screen for ui elements 2025-08-04 16:56:27 -04:00
Matthias Richter
2f479ba30a Fix #70: overlapping buttons both react to hover 2018-06-17 18:52:30 +02:00
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
Matthias Richter
c0943eae16 Add widget state setter, fi-lo drawing order. 2017-04-13 21:30:45 +02:00
endlesstravel
4638fb1ea5 add ime support 2016-11-06 15:06:58 +08:00
Matthias Richter
c66bbe9065 Fix #34: Add [is,any][Hit,Active,Hovered]() 2016-08-28 19:16:29 +02:00
Matthias Richter
cb93f4e48e Do not leak graphics state from .draw() 2016-03-13 13:30:27 +01:00
Matthias Richter
d0a1addc0b Move full state reset to enterFrame 2016-03-13 13:26:07 +01:00
Matthias Richter
946099e93d Fix mouse in rectangle test 2016-01-03 19:15:57 +01:00
Matthias Richter
aca8a297bb Fix #17: Support multiple instances 2016-01-03 18:33:39 +01:00
WetDesertRock
315c250ffb Better mobile integration (allows text input) 2016-01-02 22:41:04 -08:00
Matthias Richter
652291c175 Correct license header 2016-01-01 21:38:20 +01:00
Matthias Richter
eb65a0541e Remove unused function 2016-01-01 21:37:10 +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
63124bd1fa Remove save_(un)pack 2013-04-08 15:52:20 +02:00
Matthias Richter
e5c9e7e29f Allow setting custom widget ids 2013-01-23 13:18:58 +01:00
Matthias Richter
6f46983115 Proper tail recursion in core.save_unpack() 2013-01-23 12:23:10 +01:00
PierreLu
9fc7b933eb Remove keyboard focus print 2012-09-09 19:53:49 +03:00
Matthias Richter
d3b1a1c00d Fix #4: keyboard.disableFocus() not working.
Used undefined variable NO_WIDGET to clear keyboard focus.
Same error was made in mouse.lua.
2012-09-03 15:30:17 +02: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
2e5927e963 Add enableKeyFocus (alias to clearKeyFocus) 2012-03-14 16:17:09 +01:00
Matthias Richter
465aaf1885 Add gui.core.(disable|clear)KeyFocus 2012-03-14 14:14:16 +01:00
Matthias Richter
370c10c787 Rename makeTabable() to makeCyclable() 2012-02-22 23:33:54 +01:00
Matthias Richter
d6ed0f9301 Replace keyboard.controls() with generic binding scheme. 2012-02-22 23:29:00 +01:00
Matthias Richter
154c93e0f2 Fix file permissions 2012-02-22 22:56:10 +01:00
mkosler
7cfe7a0c5d Fixed the borked select functionality. Also improved the user interface
for core.keyboard.controls.
2012-02-21 16:05:03 -06:00
mkosler
3a414b52e2 Made changing controls API a bit more understandable 2012-02-21 12:53:18 -06: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