Jimmi Holst Christensen
48e4af9653
Fixes newline issue on windows with the paq script
2020-06-05 10:42:36 +01:00
Ingo Rohloff
9236b92f86
fix nk_do_edit: Keep scroll position when re-activating edit widget.
...
How to test:
Construct two edit widgets.
Enter a long text into the first edit widget, so that the widget autoscrolls.
Click into second (still empty) edit widget.
Click into first edit widget again.
=> Text jums back, so that first character of text in first edit widget is visible again.
This patch keeps the scroll position of the edit widget constant.
2020-05-27 15:24:18 +02:00
Jimmi Holst Christensen
7677494978
Merge branch 'master' of git://github.com/exchg/Nuklear into exchg-master
2020-05-14 18:52:10 +02:00
Richard Gill
562220749c
Include stdarg ( #128 )
...
fix: missing stdarg.h inclusion
2020-05-14 18:43:29 +02:00
te:ma
e2180c3454
Fix 'nk_menubar' height calculation bug
2020-05-11 20:04:07 +03:00
exchg
5ecd6e359e
fix: 'nk_edit' frame border drawing ( #120 )
...
* fix: 'nk_edit' frame border drawing
Draw frame border after background to prevent overlapping.
2020-05-08 10:43:15 +02:00
dumblob
9f0bca461b
Merge pull request #88 from mgerhardy/master
...
Fixed compiler warnings - bring your own sin/cos/strtod/... implementations and unused functions
2020-04-17 10:20:02 +02:00
Martin Gerhardy
455b404d86
Fixed issue #87 - Compiler warnings about unused functions
...
Fixed compiler warning by removing unused function nk_sqrt
Fixed compiler warning if you bring your own sin/cos/strtod....
Bump version for breaking nk_sqrt changes
Updated changelog
2020-04-17 09:58:30 +02:00
Martin Gerhardy
d5d7e8cfcc
Fixed linux note for paq.sh
2020-04-09 09:42:33 +02:00
Martin Gerhardy
1cf633099b
Fixed warnings about unused variables
2020-04-09 09:42:33 +02:00
Igor Zhukov
04c16e5f32
Do not use pool before checking for NULL
2020-04-06 23:46:28 +07:00
Jimmi Holst Christensen
94ed1d4099
Fix bug where layout was restored incorrectly on tree pop.
...
Fixes #85
2020-03-22 15:50:21 +01:00
te:ma
afd830de8f
nk_widget_fitting() cleanup of unused variables
2020-03-18 21:06:55 +02:00
Jimmi Holst Christensen
75c71790f3
Fix bug where padding was subtracted from widget
...
This caused combo boxes to draw its items before the
panel padding, causing the text to be clipped off.
The code deleted here seems to have been an effort to
solve what 14dd68e
solved so it makes sense that these
would conflict. I'm pretty sure 14dd68e
is the correct
solution though and this was some old hack.
2020-03-11 18:45:36 +01:00
Jimmi Holst Christensen
14dd68ea0f
Fix bug where width padding was applied twice
2020-03-06 17:30:25 +01:00
Ron Aaron
ae6deb7965
really fixed memory issue
2020-03-06 12:51:36 +02:00
Ron Aaron
3d84f6c42c
really fixed memory issue
2020-03-06 12:06:58 +02:00
Ron Aaron
1cc9fa9619
ifdef around my stb macro
2020-02-10 08:13:27 +02:00
Ron Aaron
1126fd77da
fixed memory crash in baker
2020-02-07 13:42:24 +02:00
Ron Aaron
cd7c7c555c
modded build.py etc to convert comments in external files
2020-02-07 09:32:45 +02:00
Ron Aaron
1f48b5c860
change comments in stb libs to c89
2020-02-06 19:06:36 +02:00
Ron Aaron
d4a0f6eef5
c89; crlf
2020-02-06 17:28:31 +02:00
Ron Aaron
f89b5d721c
fixed c99 compile
2020-02-06 16:07:37 +02:00
Ron Aaron
5a5048d259
updated version, added memory allocator
2020-02-06 13:40:29 +02:00
Ron Aaron
26cace760c
separated stb files
2020-02-06 12:08:41 +02:00
Ron Aaron
cc5ef11568
first attempt at updating stb_truetype and stb_rect_pack
2020-01-21 13:04:33 +02:00
luknw
1cdd4f10aa
[ #18 ] Fix off-by-one error in NK_INTERSECT
2019-12-10 12:46:23 +01:00
dumblob
a3f40348d5
Merge pull request #12 from Nielsbishere/fix_windows
...
Add src/paq.bat for Windows
2019-12-04 17:19:12 +01:00
Nielsbishere
fb5c1ed998
Added out of the box windows support for packing the file
2019-12-04 16:41:37 +01:00
Ingo Rohloff
4fb0b790ed
Converting C++ style comment into C style comment in nuklear_math.c
...
(fixes commit 12b20bb0f4
"Fixing the nk_cos function...")
2019-12-03 19:04:46 +01:00
Ingo Rohloff
f3353a29a6
Update CHANGELOG, package.json
2019-12-03 19:03:22 +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
cda62724c6
Update CHANGELOG
2019-09-20 18:44:07 +02:00
eax0r
acff9850d8
Update CHANGELOG
2019-09-20 03:44:40 +02:00
eax0r
ea375a1d3a
Fix a bug where combobox cannot be closed by clicking the header when NK_BUTTON_TRIGGER_ON_RELEASE is defined
2019-09-20 03:25:19 +02: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
Micha Mettke
181cfd86c4
Merge pull request #757 from mischief/nkwindowtypo
...
fix nk_window_find prototype in documentation
2018-11-01 19:28:39 +01: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
Micha Mettke
19c14bb777
Merge pull request #726 from grynca/master
...
fix unaligned access in murmur hash
2018-10-21 00:20:34 +02:00
mischief
850752b01e
fix nk_window_find prototype in documentation
2018-10-17 18:18:42 -07:00
grynca
9ee9dca307
unwinding memcpy to 4x byte assignments
2018-09-05 19:35:16 +02:00