Commit Graph

2227 Commits

Author SHA1 Message Date
Rob Loach ec113a0f7c
Merge pull request #680 from Immediate-Mode-UI/demo-overview--time
demo: Add time.h to overview.c
2024-09-04 11:43:17 -04:00
Rob Loach 4373fd03cc
Merge pull request #682 from PROP65/func_fix
Fixes for nk_strtod, nk_strtof, and nk_strtoi
2024-09-03 20:07:35 -04:00
PROP 65 19bb57b893
Update nuklear.h 2024-09-03 03:46:11 +00:00
PROP 65 cb9dc9635a
Update nuklear_util.c 2024-09-03 03:39:49 +00:00
Rob Loach 458112efd3
demo: Add time.h to overview.c
This adds the `time.h` include to the top of overview.c so that the renders don't need to include it manually.
2024-09-02 14:15:44 -04:00
Rob Loach f7847e6024
Add delta_time_seconds to a few renderers (#628) 2024-08-29 22:22:55 -04:00
Rob Loach 9eeb910d01
Merge pull request #672 from PROP65/delta
Add delta_time_seconds to X11 and SFML renderers
2024-08-29 10:50:22 -04:00
PROP 65 751d2bfbff
Update nuklear_sdl_gl2.h 2024-08-29 03:17:04 +00:00
PROP 65 1d03d421c5
Update nuklear_sdl_gl3.h 2024-08-29 03:16:51 +00:00
PROP 65 f180a5c423
Update nuklear_sdl_gles2.h 2024-08-29 03:16:40 +00:00
PROP 65 49fd23e13c
sfml_gl2: add delta_time_seconds 2024-08-29 03:15:45 +00:00
PROP 65 81ae780756
sfml_gl3: add delta_time_seconds 2024-08-29 03:14:25 +00:00
PROP 65 4bfc027e08
xlib: add delta_time_seconds 2024-08-29 03:13:45 +00:00
PROP 65 c3fe64a487
xlib_gl2: add delta_time_seconds 2024-08-29 03:13:22 +00:00
PROP 65 42b9ea7943
xlib_gl3: add delta_time_seconds 2024-08-29 03:11:10 +00:00
PROP 65 d043803932
xlib: add delta_time_seconds 2024-08-29 03:09:28 +00:00
PROP 65 b3b400895d
Add `delta_time_seconds` to the SDL OpenGL renderers (#671)
RE: #627
2024-08-28 11:18:48 -04:00
Rob Loach b1c2227fa9
Merge pull request #669 from PROP65/knob
New Widget: Knobs
2024-08-28 11:01:42 -04:00
PROP 65 1f0c22cc10
Merge branch 'Immediate-Mode-UI:master' into knob 2024-08-28 00:51:03 +00:00
Rob Loach 29b7be6de0
knob: Add color styles 2024-08-27 11:43:39 -04:00
Rob Loach c3282bf274
Merge pull request #665 from PROP65/assert_delete
Remove unnecessary assert
2024-08-26 11:30:45 -04:00
PROP 65 eab9f225e6
Move copyright info to its own file (#667)
* Create LICENSE

* replace license with link to license
2024-08-26 11:29:47 -04:00
PROP 65 97fb6fffd6
Rebuild nuklear.h 2024-08-19 01:13:57 +00:00
PROP 65 8306b32465
Update nuklear_style.c 2024-08-19 01:10:19 +00:00
PROP 65 a6973c2d64
Update nuklear_style.c 2024-08-19 01:08:17 +00:00
PROP 65 48434308c6
Update nuklear_style.c 2024-08-19 01:06:30 +00:00
PROP 65 820eca5858
Update overview.c 2024-08-19 01:03:06 +00:00
PROP 65 0ddaeb7043
add atan(x) and atan2(y,x) 2024-08-19 01:00:05 +00:00
PROP 65 b7125d9b10
add atan(x) and atan2(y,x) 2024-08-19 00:58:22 +00:00
PROP 65 76ad5ebd3b
add knobs 2024-08-19 00:54:52 +00:00
PROP 65 3d5eb27f85
add knob widget 2024-08-19 00:48:39 +00:00
PROP 65 d0c557dd34
Update paq.sh 2024-08-19 00:47:46 +00:00
PROP 65 728e44b0a2
Update paq.bat 2024-08-19 00:47:45 +00:00
PROP 65 c048d6fbc3
add knobs 2024-08-19 00:44:47 +00:00
PROP 65 6556884274
Update nuklear.h 2024-08-14 00:38:46 +00:00
PROP 65 a33d01bd18
Update nuklear_window.c 2024-08-14 00:38:41 +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
Rob Loach 2795d90707
Merge pull request #661 from bolt-blue/glfw_demo_quickfix
Quickfix glfw shift-key handling
2024-07-23 11:40:40 -04:00
Rob Loach 8f3fc31ba5
Merge pull request #662 from bolt-blue/indentation_quickfix
Improve one poor case of indentation
2024-07-20 03:06:17 -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
bolt 0883109476 Quickfix glfw shift-key handling
All of the glfw demo headers unset shift keypresses when the ctrl key is not
also down.
I can't think of a reason this would be desired and it appears no other demo
code does this.
Unless I'm mistaken, simply removing these lines leaves us with the desired
behaviour.
2024-07-11 12:33:37 +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 aaee3007ea
Merge pull request #652 from SchelZ/master
Fix rounding of panels
2024-06-22 22:24:06 -04:00
SchelZ d3d4a3e96e
Update nuklear_panel.c 2024-06-17 19:56:16 +03:00
Rob Loach 504f8319a8 Rebuild nuklear.h
Fixes #648
2024-06-14 03:17:37 -04:00
Rob Loach 47f570c048
Merge pull request #642 from SnootierMoon/master
Add `const` qualifiers to `nk_allocator` in more places.
2024-05-25 16:41:23 -04:00
Rob Loach b9e84c03f0
Merge pull request #636 from Ryder17z/patch-1
Proposal: Update nuklear_sdl_renderer.h to use recommended path for SDL.h
2024-05-25 15:46:07 -04:00
Rob Loach 8e84d63c6c
sdl: Allow changing the SDL.h path 2024-05-23 13:33:28 -04:00
Rob Loach 6286f22996
Merge pull request #638 from ccawley2011/rawfb-pixel-format
Support arbitrary pixel formats with more rawfb demos
2024-05-23 13:32:31 -04:00