Matthias Richter
86cae4c03b
Document changes
2016-01-12 21:49:21 +01:00
Matthias Richter
36c446cdcc
Code cleanup, fix edge cases
2016-01-12 21:49:12 +01:00
Matthias Richter
fb7bed76f6
Add helper for nested layouts
2016-01-12 21:12:40 +01:00
Matthias Richter
946099e93d
Fix mouse in rectangle test
2016-01-03 19:15:57 +01:00
Matthias Richter
cd88aa2008
Update readme
2016-01-03 18:52:41 +01:00
Matthias Richter
b0b2e6561d
Fix #25 - Throw error when trying to construct an empty cell.
2016-01-03 18:47:52 +01:00
Matthias Richter
aca8a297bb
Fix #17 : Support multiple instances
2016-01-03 18:33:39 +01:00
vrld
f77ab8e5e8
Merge pull request #24 from WetDesertRock/patch-1
...
Better mobile integration (allows text input)
2016-01-03 14:52:36 +01:00
vrld
0992d70b62
Merge pull request #23 from Yonaba/patch-1
...
Fixed typo
2016-01-03 14:23:48 +01:00
WetDesertRock
315c250ffb
Better mobile integration (allows text input)
2016-01-02 22:41:04 -08:00
Roland
4f03acff2f
Fixed typo
2016-01-02 19:10:05 +00:00
Matthias Richter
2b63a81c87
Add images to documentation
2016-01-02 15:37:04 +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
2ae96a5950
Fix line styles in input box
2016-01-02 14:45:16 +01:00
Matthias Richter
0fc2437a65
API consistency
2016-01-02 14:40:17 +01:00
Matthias Richter
c1f2d96c02
nicer demo app
2016-01-02 14:39:54 +01:00
Matthias Richter
5b3c05a415
Fix headings
2016-01-02 14:39:33 +01:00
Matthias Richter
036e2bfe0e
code cleanup
2016-01-02 14:38:15 +01:00
Matthias Richter
dc967192b7
Nicer theme
2016-01-02 14:36:00 +01:00
Matthias Richter
59f3ca741f
Rework intro and tutorial.
2016-01-02 02:55:17 +01:00
vrld
84eb1ef804
Comment hello world example
2016-01-02 01:13:28 +01:00
Matthias Richter
1b94aa8171
Fix utf-8 input
2016-01-01 22:05:11 +01:00
Matthias Richter
b37f1ebd0a
Make readme point to the docs
2016-01-01 21:43:08 +01:00
Matthias Richter
1dc24f9108
Add documentation
2016-01-01 21:42:03 +01: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
0dfc45d0f8
Remove unused parameters
2016-01-01 21:36:58 +01:00
Matthias Richter
0af9460410
Expose padding function
2016-01-01 21:36:43 +01:00
Matthias Richter
b5137a4477
LET THERE BE SUIT!
2015-12-31 18:23:52 +01:00
Stevie
44be6169e3
Fix missing 'and' in demo (per #19 )
2015-10-03 11:59:09 -07:00
vrld
4eadfee6f4
Merge pull request #13 from ficoos/mouse_override
...
Allow overriding of the mouse position getter.
2014-06-03 14:12:12 +02:00
Saggi Mizrahi
944a250ec5
Allow overriding of the mouse position getter.
...
Useful if the ui is positioned behind the camera as opposed as in front
of it.
Signed-off-by: Saggi Mizrahi <ficoos@gmail.com>
2014-05-10 19:11:23 +03:00
hryx
52d06037d1
Added utf8.encode
...
Here's a function that takes a Unicode code point and returns the corresponding UTF-8 encoded character bytes. Example:
utf8.encode(0x265c) -- returns '♜'
Please feel free to edit or revert if it's not your style. It might not be relevant to Quickie, though it's a handy UTF-8 utility.
2013-12-31 04:37:04 -08:00
Matthias Richter
b63895a2c7
[utf8.la] Add license, documentation.
2013-12-11 15:55:28 +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
935c91f042
Fix #9 : Default input style and the scissor state.
...
Better late than never - thanks Boolsheet!
2013-11-04 21:51:23 +01:00
Matthias Richter
63124bd1fa
Remove save_(un)pack
2013-04-08 15:52:20 +02:00
hryx
54f9222990
Default Input style handles long text better
...
Changes to default-style.lua:
Prevent text from being drawn past bounding box via love.graphics.setScissor().
The cursor and surrounding text are kept in visible range by calculating a draw offset.
2013-03-29 19:01:59 -07:00
hryx
5827cd2527
Only show Input cursor when selected
...
Previously all Inputs would show the text cursor, which looks odd and makes
it harder for the user to see which one is selected.
2013-03-25 23:49:17 -07:00
hryx
c911165c41
Tweak Slider style
...
Made a marginally simpler & more readable Slider draw routine using rectangles instead of lines.
Also the ends of the slider "track" are capped now. I split this commit in case a rollback is desired.
2013-03-25 23:37:09 -07:00
hryx
ddd4791e8c
Fix vertical Slider
...
Slider, when vertical, was drawing the grab box with inverted position. Center "track" had incorrect orientation.
Also, slider.lua was passing a bunk table to group.getRect().
2013-03-25 23:15:50 -07: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
ebe0ce2ac0
Fix #8 : Misnamed function in mouse.disable()
2013-03-24 19:53:20 +01:00
Matthias Richter
e6d397ef87
Fix #6 : Arrow key input on Slider2D widget
2013-03-24 19:53:20 +01:00
Matthias Richter
2c24ba3ca0
Input-widget only fires event when activated
2013-02-06 13:28:23 +01:00
Matthias Richter
7f0689d012
Fix example in readme
2013-02-06 13:27:55 +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
f799f48164
Update readme
2013-01-23 13:18:32 +01:00