Commit Graph

29 Commits

Author SHA1 Message Date
Komari Spaghetti
ebdb341750 Use compiler builtins for NK_OFFSETOF when possible 2021-09-08 18:09:09 +02:00
David
6322f53cb5
Add support for 9-slice/9-patch (#304) 2021-08-17 22:34:52 +02:00
Komari Spaghetti
f42712c9de Replace usage of memset in nk_font_atlas_bake with NK_MEMSET 2021-08-16 22:53:02 +02:00
Rob Loach
0b49ee5db0
Fix warnings about sign conversion (#323) 2021-08-15 21:30:49 +02:00
Komari Spaghetti
7ef8fd65cc Fix crash when baking merged fonts
fixes #316
2021-08-08 15:10:33 +02:00
Bernhard Feichtinger
cd217d6c6a Fix wrong scrolling in nk_edit_* when multiline is enabled 2021-08-08 15:05:25 +02:00
Mikhail Sokolovskiy
67c72d0484 Fix warning about unused parameter 2021-08-07 20:09:10 +02:00
Michael Aganier
6e80e2a646 Fix nk_property hover bug 2021-03-19 18:08:20 +01:00
Michael Aganier
93cbaca6da Regen nuklear.h and bump version in package.json 2021-03-16 11:51:34 -04:00
Robert Kerr
fc5dc44d8e Bumping version for PR to resolve issue 231 2020-12-20 00:02:02 -05:00
Wu Han
74a4df4eb9 update changelog and package.json for errors in nuklear_font.c 2020-11-10 17:19:56 +00:00
Michael Aganier
f7b0e1f19f Bump version 2020-10-07 04:58:57 -04:00
Patrick McMorris
d9ddd1810f
fix bugs in computing pooled allocation sizes (#151) 2020-07-01 14:58:33 +02:00
Zachary Crownover
5a1bacb6e6 Made combo header symbols truly optional. 2020-06-09 16:01:39 -05: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
20c757dabc Fixed package.json version 2020-05-14 18:53:13 +02:00
Richard Gill
562220749c
Include stdarg (#128)
fix: missing stdarg.h inclusion
2020-05-14 18:43:29 +02: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
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
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
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
8513b632a2 really fixed memory issue, bumped version, remove tabs 2020-03-06 13:05:56 +02:00
luknw
2c2b59cee0 Update repo in package.json 2019-12-10 14:53:19 +01:00
luknw
1cdd4f10aa [#18] Fix off-by-one error in NK_INTERSECT 2019-12-10 12:46:23 +01:00
Ingo Rohloff
f3353a29a6 Update CHANGELOG, package.json 2019-12-03 19:03:22 +01:00
eax0r
5e6cdbc432
Update package.json 2019-09-20 03:45:06 +02:00
Joseph Werle
cc57b77565 make clib friendly 2016-06-18 14:12:58 -04:00