luknw
1cdd4f10aa
[ #18 ] Fix off-by-one error in NK_INTERSECT
2019-12-10 12:46:23 +01:00
Ingo Rohloff
c8c57aa355
Update nuklear.h
2019-12-03 19:05:10 +01:00
Ingo Rohloff
b4bace80b7
fix nk_do_edit autoscroll.
...
How to test:
Create an edit widget.
Enter a long text into the edit widget.
Press "home" so that widget autoscrolls to start of text.
Press "end" so that widget now should jump to end of text.
Previously you had to press "end" several times to jump to the end of text.
This patch fixes that (pressing "end" once will jump to the end of text).
2019-12-03 19:03:02 +01:00
eax0r
c196d5396c
Update nuklear.h
2019-09-20 18:47:27 +02:00
eax0r
5c4618fc57
Update nuklear.h
2019-09-20 04:22:45 +02:00
crazyBaboon
ab742d9126
Use C style comment
...
C++ style comments are not allowed in ISO C89
2019-09-13 12:04:41 +01:00
Tom Gaudasinski
12b20bb0f4
Fixing the nk_cos function with a new implementation generated from lolremez. Old one deviated significantly from a cos() implementation.
2019-09-10 18:54:35 +10:00
Tom Gaudasinski
c38d4dff41
Upping the version. Adding changelog message. Adding comment as to why glyph_count needs to be zeroed.
2019-09-08 18:10:42 +10:00
Tom Gaudasinski
01460cafa2
Issue #896 : If we're not merging, then it's possible we're re-baking. Clear the glyph counter so that we start from zero again.
2019-09-08 13:41:58 +10:00
Kevin Harrison
d056ca6e72
Fix slashes in documentation
2019-06-23 14:12:21 -04:00
Kevin Harrison
a293ca4591
Bump version to 4.01.0
2019-06-23 20:20:37 +03:00
Kevin Harrison
26a3480a31
Allow for NULL arguments to nk_***_get_scroll
2019-06-23 20:20:37 +03:00
Kevin Harrison
213e3af261
Add nk_popup_get_scroll and nk_popup_set_scroll
2019-06-23 20:20:37 +03:00
Kevin Harrison
42f4a03273
Add nk_window_get_scroll and nk_window_set_scroll
2019-06-23 20:20:37 +03:00
Kevin Harrison
b9f84362fb
Add nk_group_get_scroll and nk_group_set_scroll
2019-06-23 20:20:37 +03:00
0x0203
8a262f7e90
Fix panel drawing bug where background wasn't drawn for last column
2019-06-12 14:10:28 -04:00
Robert Winkler
b6d5293dfb
Add NK_KEYSTATE_BASED_INPUT changes to src files
...
Updated nuklear_input.h CHANGELOG and HEADER and regenerated nulear.h
2018-10-31 12:42:30 -07:00
Robert Winkler
1a6c30693f
Add NK_KEYSTATE_BASED_INPUT documentation comment
2018-10-30 16:51:45 -07:00
Robert Winkler
36a8d2a5ad
Fix issue 548
...
The issue was introduced in the fix for 416 (commit 8559aeb
).
The original problem was (backspace and arrows moving too fast) is not a
nuklear problem but a GLFW problem. Because of the way nuklear handles
input (it must be between input_begin and end), the key callback method
GLFW offers is not an option.
So we have to use glfwGetKey() which returns the current state of a key
not whether it was just pressed or released, so nuklear acts like it
was pressed every single frame, hence the "too fast" problem.
The fix checks for state change and discards the event if there was
no change. This kills key repeat behavior (for named keys) on
*all* platforms which makes deleting or arrowing inconvenient.
Since there's no way to fix the shortcomings of a callback vs event
based input API, my "fix" just makes the original fix conditional
on a macro NK_KEYSTATE_BASED_INPUT
2018-10-30 00:43:01 -07:00
Micha Mettke
19c14bb777
Merge pull request #726 from grynca/master
...
fix unaligned access in murmur hash
2018-10-21 00:20:34 +02:00
grynca
9ee9dca307
unwinding memcpy to 4x byte assignments
2018-09-05 19:35:16 +02:00
Micha Mettke
0275cc5789
Merge pull request #711 from Lusted4ever/master
...
Boundings width adjusting, removal of gaps. (rounding errors)
2018-08-30 20:34:06 +02:00
Maxim Kasperski
9c87b9f5e5
Update nuklear.h
2018-08-30 12:33:03 +03:00
Micha Mettke
744cd2cc93
Merge pull request #729 from diggit/fixes
...
Fixes of scrollbar drag and dynamic panel footer filling
2018-08-29 21:18:45 +02:00
Micha Mettke
997e6cc981
Merge pull request #730 from FredrikHson/master
...
make the size of nk_draw_index an option.
2018-08-29 21:17:15 +02:00
Micha Mettke
4ff9fe6dc6
Merge pull request #725 from quink-black/fix-nk_begin_titled
...
nuklear_window: fix misleading variable names
2018-08-29 21:15:30 +02:00
Micha Mettke
961b411123
Merge pull request #716 from quink-black/dev
...
Fix NK_INT8 type
2018-08-29 21:14:52 +02:00
Fredrik Hansson
26c6e246b7
changed the boolean logic for the assert for the size of nk_draw_index
2018-08-27 21:33:02 +02:00
Fredrik Hansson
2b03f44898
make the size of nk_draw_index an option, also make the documentation a bit more clear.
2018-08-27 10:01:53 +02:00
Fredrik Hansson
5cea113a9c
fix #718 by moving all the changes to src/nuklear.h
2018-08-27 09:38:05 +02:00
diggit
e86fcabce7
fix scrollbar dragging behavior, similar to #688
2018-08-26 11:26:57 +02:00
diggit
b17df7b463
fix wrong dynamic panel footer filling
2018-08-26 11:23:27 +02:00
diggit
6473a45543
Regenerate nukelar.h, unfortunately reverts #718
...
this elimites changes from #718 because they were done in generated file and not in sources. See PR thread for more info.
2018-08-26 02:10:40 +02:00
grynca
0101b3a0a7
fix unaligned access in murmur hash
2018-08-19 12:38:12 +02:00
Zhao Zhili
6fce4d209f
nuklear_window: fix misleading variable names
2018-08-15 23:15:23 +08:00
Peter
d3f57da54c
Various small documentation changes and typo fixes.
2018-07-25 08:36:09 +02:00
Zhao Zhili
f8bcf22960
Fix NK_INT8 type
2018-07-21 15:55:09 +08:00
Lusted4ever
cac6ca59d7
Removed gaps, caused by dynamic layouting
2018-07-07 12:46:13 +03:00
vurtun
f42a76e176
Fixed #684
2018-06-10 17:40:55 +02:00
vurtun
b5eb3cd885
Fixed gcc integer conversion warning
2018-06-10 17:25:29 +02:00
diggit
da07a235ab
fix window dragging behavior (ignore on click)
2018-05-22 14:13:31 +02:00
vurtun
b1209dbb2e
Corrected separation
2018-05-14 15:41:16 +02:00
vurtun
ae845fcb0b
Fixed single-header packing mistake
2018-05-14 15:32:19 +02:00
Tom Mason
b7725b4a89
fix scrollbar crash
...
Copy paste mistake was checking the background type for the cursor style,
leading to a crash if background was image type and cursor was color, as
it would try to use the cursor color as a texture.
2018-05-07 10:36:20 +02:00
vurtun
823f79f856
Second attempt to fix #675
2018-04-23 16:17:24 +02:00
vurtun
f79b080d84
Fixed #674 popup and contextual combination problems
2018-04-23 11:06:18 +02:00
vurtun
da3f7fed6c
Fixed #675 List view
2018-04-23 11:01:06 +02:00
vurtun
0981c1a321
Fixed #677 contextual right-click behavior
...
Closing a contextual menu by right click caused invalid behavior and
bocking. In addition having consecutive contextual menus and closing an
earlier menu will wrongfully open a following menu. Both are now fixed.
2018-04-23 10:55:35 +02:00
Micha Mettke
b91a815c82
Merge pull request #668 from nsawa/Fix_VC_warning_cannot_convert_parameter
...
Fix: VC++ warning cannot convert parameter.
2018-04-15 10:38:37 +02:00
vurtun
d5f32ee6f9
Fixed nk_tree_element_push_id
macro
2018-04-15 10:34:53 +02:00