Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Quickie: Call love.keyboard.setTextInput() on keyboard focusHEADmaster | piernov | 2014-03-13 | 1 | -0/+6 |
| | |||||
* | Added utf8.encode | hryx | 2013-12-31 | 1 | -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 Richter | 2013-12-11 | 1 | -0/+63 |
| | |||||
* | Fix bug in input.lua, make 0.9-ready, add utf8 editing | Matthias Richter | 2013-12-11 | 6 | -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 Richter | 2013-11-04 | 4 | -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 Richter | 2013-11-04 | 1 | -2/+17 |
| | | | | Better late than never - thanks Boolsheet! | ||||
* | Remove save_(un)pack | Matthias Richter | 2013-04-08 | 1 | -18/+2 |
| | |||||
* | Default Input style handles long text better | hryx | 2013-03-29 | 1 | -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 selected | hryx | 2013-03-25 | 1 | -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 style | hryx | 2013-03-25 | 1 | -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 Slider | hryx | 2013-03-25 | 2 | -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 Richter | 2013-03-24 | 2 | -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 Richter | 2013-03-24 | 1 | -3/+3 |
| | |||||
* | Fix #6: Arrow key input on Slider2D widget | Matthias Richter | 2013-03-24 | 1 | -4/+4 |
| | |||||
* | Input-widget only fires event when activated | Matthias Richter | 2013-02-06 | 1 | -5/+1 |
| | |||||
* | Fix example in readme | Matthias Richter | 2013-02-06 | 1 | -123/+132 |
| | |||||
* | [Input] Clear focus and key event when pressed return | Matthias Richter | 2013-01-27 | 1 | -0/+3 |
| | |||||
* | Allow setting custom widget ids | Matthias Richter | 2013-01-23 | 7 | -8/+13 |
| | |||||
* | Update readme | Matthias Richter | 2013-01-23 | 1 | -43/+49 |
| | |||||
* | Change gui.checkbox interface. | Matthias Richter | 2013-01-23 | 1 | -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 style | Matthias Richter | 2013-01-23 | 1 | -5/+2 |
| | |||||
* | Fully disable mouse module on mouse.disable | Matthias Richter | 2013-01-23 | 1 | -5/+6 |
| | |||||
* | Add gui.group{arguments-gui.group.push, func}. | Matthias Richter | 2013-01-23 | 1 | -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 Richter | 2013-01-23 | 1 | -4/+7 |
| | |||||
* | Add gui.keyboard.getFocus() and gui.mouse.getHot() | Matthias Richter | 2012-12-15 | 2 | -5/+9 |
| | |||||
* | Add gui.mouse.disable(), gui.mouse.enable() | Matthias Richter | 2012-10-10 | 1 | -0/+15 |
| | |||||
* | Rename (dis|en)ableFocus() to (dis|en)able() | Matthias Richter | 2012-10-10 | 1 | -3/+4 |
| | |||||
* | Merge pull request #5 from PierreLu/patch-1 | vrld | 2012-09-09 | 1 | -1/+0 |
|\ | | | | | Remove keyboard focus print | ||||
| * | Remove keyboard focus print | PierreLu | 2012-09-09 | 1 | -1/+0 |
|/ | |||||
* | Fix #4: keyboard.disableFocus() not working. | Matthias Richter | 2012-09-03 | 3 | -1/+3 |
| | | | | | Used undefined variable NO_WIDGET to clear keyboard focus. Same error was made in mouse.lua. | ||||
* | Fix #3 - Thanks martinfelis! | Matthias Richter | 2012-07-30 | 1 | -1/+1 |
| | |||||
* | Slick default style | Matthias Richter | 2012-05-09 | 1 | -48/+82 |
| | |||||
* | Delete now obsulete documentation | Matthias Richter | 2012-05-09 | 1 | -268/+121 |
| | |||||
* | Mega update: Auto layout, code cleanup, api change. | Matthias Richter | 2012-05-09 | 11 | -228/+605 |
| | | | | Basically half a rewrite. | ||||
* | More documentation | Matthias Richter | 2012-04-12 | 1 | -52/+148 |
| | |||||
* | remove unused parameter | Matthias Richter | 2012-04-12 | 1 | -1/+1 |
| | |||||
* | Fix issue #2: init doesn't grab BASE correctly. | Matthias Richter | 2012-04-10 | 1 | -1/+2 |
| | |||||
* | Add some documentation | Matthias Richter | 2012-03-29 | 1 | -1/+156 |
| | |||||
* | Add license header. | Matthias Richter | 2012-03-29 | 9 | -0/+232 |
| | |||||
* | Externalize widget hit test to style definition. | Matthias Richter | 2012-03-14 | 7 | -17/+18 |
| | |||||
* | Add enableKeyFocus (alias to clearKeyFocus) | Matthias Richter | 2012-03-14 | 1 | -0/+1 |
| | |||||
* | Add gui.core.(disable|clear)KeyFocus | Matthias Richter | 2012-03-14 | 2 | -24/+35 |
| | |||||
* | Rename makeTabable() to makeCyclable() | Matthias Richter | 2012-02-22 | 6 | -9/+10 |
| | |||||
* | Replace keyboard.controls() with generic binding scheme. | Matthias Richter | 2012-02-22 | 1 | -34/+17 |
| | |||||
* | Fix file permissions | Matthias Richter | 2012-02-22 | 11 | -0/+0 |
| | |||||
* | Fixed the borked select functionality. Also improved the user interface | mkosler | 2012-02-21 | 1 | -11/+25 |
| | | | | for core.keyboard.controls. | ||||
* | Made changing controls API a bit more understandable | mkosler | 2012-02-21 | 1 | -3/+3 |
| | |||||
* | Merge branch 'master' of git://github.com/vrld/Quickie.git | mkosler | 2012-02-21 | 9 | -31/+12 |
|\ | |||||
| * | Better require regexps for submodules | Matthias Richter | 2012-02-21 | 8 | -9/+10 |
| | | |||||
| * | Remove widget shadow when hot/active. | Matthias Richter | 2012-02-21 | 1 | -22/+2 |
| | |