aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Quickie: Call love.keyboard.setTextInput() on keyboard focusHEADmasterpiernov2014-03-131-0/+6
|
* Added utf8.encodehryx2013-12-311-0/+35
| | | | | | | 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.
* [utf8.la] Add license, documentation.Matthias Richter2013-12-111-0/+63
|
* Fix bug in input.lua, make 0.9-ready, add utf8 editingMatthias Richter2013-12-116-21/+116
| | | | | | | | | | 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.
* Fix #11: Right click support.Matthias Richter2013-11-044-5/+14
| | | | | | | 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.
* Fix #9: Default input style and the scissor state.Matthias Richter2013-11-041-2/+17
| | | | Better late than never - thanks Boolsheet!
* Remove save_(un)packMatthias Richter2013-04-081-18/+2
|
* Default Input style handles long text betterhryx2013-03-291-2/+5
| | | | | | 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.
* Only show Input cursor when selectedhryx2013-03-251-2/+4
| | | | | Previously all Inputs would show the text cursor, which looks odd and makes it harder for the user to see which one is selected.
* Tweak Slider stylehryx2013-03-251-11/+8
| | | | | 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.
* Fix vertical Sliderhryx2013-03-252-8/+12
| | | | | | 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().
* Fix #7: Pressing return crashes Input.Matthias Richter2013-03-242-2/+6
| | | | | Add arguments to call of keyboard.pressed() in input.lua. Add sanity check to keyboard.pressed().
* Fix #8: Misnamed function in mouse.disable()Matthias Richter2013-03-241-3/+3
|
* Fix #6: Arrow key input on Slider2D widgetMatthias Richter2013-03-241-4/+4
|
* Input-widget only fires event when activatedMatthias Richter2013-02-061-5/+1
|
* Fix example in readmeMatthias Richter2013-02-061-123/+132
|
* [Input] Clear focus and key event when pressed returnMatthias Richter2013-01-271-0/+3
|
* Allow setting custom widget idsMatthias Richter2013-01-237-8/+13
|
* Update readmeMatthias Richter2013-01-231-43/+49
|
* Change gui.checkbox interface.Matthias Richter2013-01-231-8/+8
| | | | | | | | | | | | | | | | | | | Remove `info' table. The user is responsible for updating the checking condition. Old style: checkbox = {checked = true, label = "foo", align = "left"} (...) gui.Checkbox{info = checkbox} New style: checked = false (...) if gui.Checkbox{checked = checked, text = "foo", align = "left"} then checked = not checked end Also note that `label' is renamed to `text'.
* Cleanup default styleMatthias Richter2013-01-231-5/+2
|
* Fully disable mouse module on mouse.disableMatthias Richter2013-01-231-5/+6
|
* Add gui.group{arguments-gui.group.push, func}.Matthias Richter2013-01-231-3/+11
| | | | | | | | | | | | | | Convenience function that wraps func() in a push/pop pair, i.e. gui.group{grow=grow, spacing=spacing, size=size, pos=pos, function() do_stuff() end} is equivalent to gui.group.push{grow=grow, spacing=spacing, size=size, pos=pos} do_stuff() gui.group.pop()
* Proper tail recursion in core.save_unpack()Matthias Richter2013-01-231-4/+7
|
* Add gui.keyboard.getFocus() and gui.mouse.getHot()Matthias Richter2012-12-152-5/+9
|
* Add gui.mouse.disable(), gui.mouse.enable()Matthias Richter2012-10-101-0/+15
|
* Rename (dis|en)ableFocus() to (dis|en)able()Matthias Richter2012-10-101-3/+4
|
* Merge pull request #5 from PierreLu/patch-1vrld2012-09-091-1/+0
|\ | | | | Remove keyboard focus print
| * Remove keyboard focus printPierreLu2012-09-091-1/+0
|/
* Fix #4: keyboard.disableFocus() not working.Matthias Richter2012-09-033-1/+3
| | | | | Used undefined variable NO_WIDGET to clear keyboard focus. Same error was made in mouse.lua.
* Fix #3 - Thanks martinfelis!Matthias Richter2012-07-301-1/+1
|
* Slick default styleMatthias Richter2012-05-091-48/+82
|
* Delete now obsulete documentationMatthias Richter2012-05-091-268/+121
|
* Mega update: Auto layout, code cleanup, api change.Matthias Richter2012-05-0911-228/+605
| | | | Basically half a rewrite.
* More documentationMatthias Richter2012-04-121-52/+148
|
* remove unused parameterMatthias Richter2012-04-121-1/+1
|
* Fix issue #2: init doesn't grab BASE correctly.Matthias Richter2012-04-101-1/+2
|
* Add some documentationMatthias Richter2012-03-291-1/+156
|
* Add license header.Matthias Richter2012-03-299-0/+232
|
* Externalize widget hit test to style definition.Matthias Richter2012-03-147-17/+18
|
* Add enableKeyFocus (alias to clearKeyFocus)Matthias Richter2012-03-141-0/+1
|
* Add gui.core.(disable|clear)KeyFocusMatthias Richter2012-03-142-24/+35
|
* Rename makeTabable() to makeCyclable()Matthias Richter2012-02-226-9/+10
|
* Replace keyboard.controls() with generic binding scheme.Matthias Richter2012-02-221-34/+17
|
* Fix file permissionsMatthias Richter2012-02-2211-0/+0
|
* Fixed the borked select functionality. Also improved the user interfacemkosler2012-02-211-11/+25
| | | | for core.keyboard.controls.
* Made changing controls API a bit more understandablemkosler2012-02-211-3/+3
|
* Merge branch 'master' of git://github.com/vrld/Quickie.gitmkosler2012-02-219-31/+12
|\
| * Better require regexps for submodulesMatthias Richter2012-02-218-9/+10
| |
| * Remove widget shadow when hot/active.Matthias Richter2012-02-211-22/+2
| |