Commit graph

145 commits

Author SHA1 Message Date
qtux
db37e31933
Merge c11db7d444 into 8ec0e638ce 2018-06-05 21:12:38 +00:00
Matthias Gazzari
c11db7d444 Remove alpha value check from ImageButton
With LOVE 11.0 it is no longer possible to retrieve an ImageData from
an Image and thus there is no posibility to retrieve the alpha value
of a single pixel.
Another solution would be to additionally supply an ImageData
to the ImageButton in order to be able to retrieve the alpha values.
2018-04-22 20:00:54 +02:00
Matthias Richter
8ec0e638ce Fix rockspec 2018-04-08 14:15:21 +02:00
Matthias Richter
bd3811ec03 Fix #62: Add rockspec 2018-04-08 13:58:49 +02:00
Matthias Richter
7985b38a95
Merge pull request #64 from rodel77/master
Update theme colors to love 11.0
2018-04-08 13:42:43 +02:00
rodel77
2f3db27769 Updated to love 11.0 2018-04-05 18:07:37 -05:00
Matthias Richter
5d48cf97b8
Merge pull request #61 from endlesstravel/master
try fix 'Input widget will raise error when candidate_text field is not defined. ' bug
2017-10-31 12:55:11 +01:00
endlesstravel
12610bfe8f fix 'Input widget will raise error when candidate_text field is not defined' 2017-10-31 19:38:14 +08:00
Matthias Richter
6b302f777c
Merge pull request #49 from endlesstravel/master
add little IME support
2017-10-28 11:58:08 +02:00
Yx
02c4c05a0d Merge branch 'master' into master 2017-09-23 09:46:18 +08:00
Matthias Richter
ecce6820d7 Add missing images to documentation 2017-04-13 21:39:22 +02:00
Matthias Richter
c0943eae16 Add widget state setter, fi-lo drawing order. 2017-04-13 21:30:45 +02:00
Matthias Richter
6cb5596437 Add section about widget ids in getting started guide 2017-04-13 21:23:52 +02:00
Matthias Richter
61a4172edd Merge pull request #50 from Fuzzlix/patch-1
fixed typo in widgets.rst
2017-03-16 20:29:56 +01:00
Matthias Richter
d12ffe9295 Remove unneeded local 2017-03-16 20:29:04 +01:00
Matthias Richter
727c925f1b Merge pull request #47 from codecat/force-focus-input
Add a force focus input option to text inputs
2017-03-16 20:22:35 +01:00
Matthias Richter
3899e6435f Merge pull request #46 from Alloyed/fix-up-left-cells
Fix up/left() cells
2017-03-16 20:21:53 +01:00
Ulrich Schmidt
372d704184 Update widgets.rst 2016-11-07 07:59:30 +01: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
Kyle McLamb
ef317657ca Document layout:up/down/left/right()
Consolation prize.
2016-10-04 17:41:35 -07:00
Kyle McLamb
0084ccba2e Remove nextUp() and nextLeft()
We need the expected size of the new cell to do it correctly, and that
would introduce an inconsistency between up/left and the existing row/col
functions.
2016-10-04 17:41:35 -07:00
Kyle McLamb
a4ebbc2679 Fix bug with layout left()/up()
When moving down/right, we use the old cell size because we are moving
the start point outside of the existing cell. When we go up/right, we
are doing actually doing the inverse operation, moving backwards using
the new cell size. We still check to see if there's an old cell because
up()/down()/left()/right() should behave the same for the first cell.
2016-10-04 17:41:35 -07:00
Matthias Richter
549693dd38 Document new GUI state getters 2016-08-28 19:20:49 +02:00
Matthias Richter
c66bbe9065 Fix #34: Add [is,any][Hit,Active,Hovered]() 2016-08-28 19:16:29 +02:00
Matthias Richter
1d6626e6f4 Fix #43 by enforcing minimum size on box drawing 2016-08-28 18:33:40 +02:00
vrld
046233fc5f Merge pull request #45 from Alloyed/fix-layout-pop
Fix layout:pop() to actually pop off of the stack
2016-08-28 18:13:52 +02:00
vrld
fe09c10d16 Merge pull request #42 from Alloyed/add-up-left-cells
Add Layout:up/down/left/right()
2016-08-28 18:12:24 +02:00
Kyle McLamb
ec361de482 Fix layout:pop() to actually pop off of the stack 2016-08-27 10:19:07 -04:00
Kyle McLamb
b19f0a3bff Add Layout:up/down/left/right()
up() places the next cell above the previous one, and left() places the
next cell to the left of the previous one. down() and right() are
aliases to row()/col(), for symmetry.

Also added are nextX() variants for function.
2016-08-08 13:22:07 -04:00
vrld
e64a822de8 Merge pull request #39 from texm/master
Ensure char is valid
2016-07-06 14:56:11 +02:00
vrld
9d184831e2 Merge pull request #38 from endlesstravel/master
fix bug when input more than one character.
2016-07-06 14:55:43 +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
3fd6a6aecd Fix #33: tinted image buttons
Not a bug, but a feature---now documented!
2016-04-17 21:09:24 +02:00
Matthias Richter
10767cca33 Fix wrong padding in nested layouts
Previoysly, padding was added before adding a cell, which lead to
incorrect and unaligned cell placement in nested layouts.
Now padding is only added when at least one cell has been placed before.
2016-04-17 21:00:45 +02:00
vrld
5bba68071d Fix #35: Error in layout documentation example, cont.
Gotta catch them all
2016-04-12 10:52:46 +02:00
vrld
83e9131e25 Fix #35: Error in layout documentation example 2016-04-12 10:51:40 +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
c65c67cc63 Coding style changes 2016-03-13 13:24:39 +01:00
Matthias Richter
f9ee40d53d Patch #27: Cursor disappears when filling the input box 2016-03-13 13:22:51 +01:00
vrld
633c2a58cc Merge pull request #31 from rm-code/patch-1
Remove unused variable
2016-03-13 13:14:28 +01:00
vrld
0947b08ff7 Merge pull request #30 from tesselode/override-radius
Add more options to override theme properties
2016-03-13 13:13:57 +01:00
vrld
5a6da54467 Merge pull request #29 from tesselode/input-colors-fix
Fix an error when overriding the colors of an input widget
2016-03-13 13:12:46 +01:00
Robert Machmer
f4c8e9b393 Remove unused variable 2016-03-13 10:22:12 +01:00
Andrew Minnich
a4779092c1 Fix an error when overriding the colors of an input widget 2016-03-05 16:44:16 -05:00