Commit Graph
574 Commits
Author SHA1 Message Date
Rob Loach 64e0a507a4 Revert "Fix bug where width padding was applied twice"
This reverts commit 14dd68ea0f.
2025-04-05 00:56:04 -04:00
Olaf Flebbe f5287f8c94 fix: unintialized data in glyph 2025-03-29 11:49:56 +01:00
Robert Winkler 91a6e773a1 Fix knob scrolling and remove some dead code 2025-03-05 13:55:15 -07:00
Michael Aganier f384e5829a Fix array subscript [0, 0] is outside array bounds of ‘char[1]’ 2025-01-03 09:13:44 -05:00
Rob Loach d0ecf21884 Update version for fix border color for property widgets 2024-12-11 13:15:04 -05:00
Grisshink 9e0ae9f752 Fix property border color 2024-12-07 21:05:22 +03:00
Rob Loach 175ff8118a Fix nk_roundf() int type casting (#742) 2024-11-22 13:48:18 -05:00
Rob Loach 22b712b322 Fix nk_strtoi() const type usage (#740)
This fixes `nk_strtoi()` expecting a `char**`, but getting a `const char**`.
2024-11-20 12:22:29 -05:00
Xeverous a315d25b4c Update Nuklear 2024-11-07 19:45:55 -05:00
Alexander W. Schultz a13a60e998 updates nuklear.h after paq'ing 2024-11-07 19:24:40 -05:00
Rob Loach d123122a27 Revert "const correctness in public API" 2024-11-07 19:22:55 -05:00
Xeverous 748f0dafe7 const correctness in public API 2024-10-15 19:27:56 +02:00
Rob Loach 2ad47c08f1 Rebuild nuklear.h 2024-09-30 13:41:55 -04:00
Rob Loach 0a28e3002b Fix incompatible pointer types warning 2024-09-30 13:33:55 -04:00
PROP 65 1f0c22cc10 Merge branch 'Immediate-Mode-UI:master' into knob 2024-08-28 00:51:03 +00:00
PROP 65 97fb6fffd6 Rebuild nuklear.h 2024-08-19 01:13:57 +00:00
PROP 65 6556884274 Update nuklear.h 2024-08-14 00:38:46 +00:00
Rob Loach be0a3f6141 Fix for NK_OFFSETOF on Emscripten (#663)
Fixes the following error with Emscripten, where `__builtin_offset` isn't available. This disables the usage of it when on Emscripten.

```
nuklear.h:8978:38: error: defining a type within '__builtin_offsetof' is a C23 extension [-Werror,-Wc23-extensions]
 8978 |     NK_STORAGE const nk_size align = NK_ALIGNOF(struct nk_command);
```
2024-07-29 11:07:32 -04:00
bolt a689b8efdf Improve one poor case of indentation
The original code was distinctly unclear. I've tried to keep to the
surrounding code style while making the code flow more comprehensible.

I've not looked elsewhere for any other similar occurrences; this became
apparent while investigating a specific line of thought.
2024-07-18 09:04:14 +01:00
Rob Loach 0319c0ff3b Add triangle outline symbols (#654) 2024-06-30 13:30:17 -04:00
Rob Loach 74a12afc62 Rebuild nuklear.h 2024-06-27 13:58:56 -04:00
Rob Loach 504f8319a8 Rebuild nuklear.h
Fixes #648
2024-06-14 03:17:37 -04:00
Akshay Trivedi 59b6277209 Add const qualifier to more nk_allocator parameters 2024-05-21 12:36:02 -07:00
Rob Loach 37e54da201 property: Allow optional labels for properties with # (#634) 2024-04-28 02:42:54 -04:00
Rob Loach 34ea8bb042 Merge pull request #602 from brianwatling/optional-chart-boxes
Add a style option to disable point markers on charts
2024-04-04 13:17:17 -04:00
Lautriva 5f2e2af737 Add Changelog in nuklear.h for 4.12.1 2024-03-07 13:40:31 +01:00
Lautriva d40d95471e Add Changelog in nuklear.h for 4.12.1 2024-03-07 13:39:12 +01:00
Lautriva 1edb78e4d0 Fix bitwise operations warnings in C++20 2024-03-07 13:27:33 +01:00
Brian Watling 254dfc2120 s/hide_markers/show_markers/ 2024-02-26 22:58:44 -05:00
Rob Loach 8e5c9f7f34 Merge pull request #597 from waywardmonkeys/fix-typos
Fix spelling mistakes
2024-02-23 13:18:39 -05:00
Petr Abdulin 6c6260a7c2 Suppress MSVC compiler possible loss of data warning with explicit cast 2024-01-22 23:11:50 +07:00
Brian Watling f31cb7f7e5 Add a style option to disable point markers on charts
Fixes #594
2024-01-04 21:24:02 -05:00
Bruce Mitchener 16336450bb Fix typos. 2023-12-20 00:41:52 -05:00
Jacob Ahnstedt 319f79f177 Built nuklear.h 2023-12-12 16:35:38 +01:00
Jacob Ahnstedt 0a7b4eec8e Fixed missed removed alignment params 2023-11-28 09:58:43 +01:00
Jacob Ahnstedt 9af3869728 Made the PR not break current API 2023-11-28 09:52:30 +01:00
Jacob Ahnstedt 44bd238502 Fixed typo 2023-11-27 17:03:10 +01:00
Jacob Ahnstedt 8af4468cce Fixed centered not being quite in the center 2023-11-26 14:45:06 +01:00
Jacob Ahnstedt 657e525ff8 Added all alignments to toggleables 2023-11-26 14:29:25 +01:00
Jacob Ahnstedt 2a52826392 Removed widget alignment for the draw functions of toggleables 2023-11-26 10:44:37 +01:00
Jacob Ahnstedt c5ee9a58ed Added text alignment to toggleables 2023-11-26 10:25:36 +01:00
Jacob Ahnstedt 208dbc506e Merge branch 'master' of https://github.com/Immediate-Mode-UI/Nuklear into offical/align_widgets
# Conflicts:
#	demo/common/overview.c
#	nuklear.h
#	src/nuklear_toggle.c
2023-11-26 00:19:09 +01:00
Jacob Ahnstedt e782760da3 Added option alignment right 2023-11-24 16:33:16 +01:00
Jacob Ahnstedt f187c39283 Added checkbox alignment right 2023-11-24 16:24:20 +01:00
Jacob Ahnstedt 39e2ee3ce4 Removed color factoring for item colored selectables 2023-11-20 14:02:12 +01:00
Jacob Ahnstedt afbd133914 Fixed missing color factoring for widget disabling 2023-11-20 14:01:22 +01:00
Jacob Ahnstedt df13a41ada Fixed C90 compliance issue 2023-11-20 13:56:19 +01:00
Jacob Ahnstedt aaff4f014a Merge branch 'master' of https://github.com/Immediate-Mode-UI/Nuklear into disable-widgets
# Conflicts:
#	clib.json
2023-11-20 12:55:39 +01:00
David Reid a668105390 Fix button text alignment error.
When calculating the width and height of the content rect of a button,
only the border of one side is being taken into account. Instead the
border width needs to be multiplied by two before subtracting from the
bounds. This is being done for padding and rounding, but not border,
which is resulting in text being misaligned, most notably when using
buttons with thick borders.
2023-11-14 15:39:10 +10:00
Yukyduky f88d7b58bb Fixed tabs not being shown as disabled properly 2023-10-29 10:18:09 +01:00