Commit Graph

2070 Commits

Author SHA1 Message Date
Rob Loach 8e0e80b516
demo: Add node editor example 2024-09-05 11:27:30 -04:00
Peter Schulman 862405f8be Added link between Color and Output nodes in initial state of node editor demo 2023-12-11 19:45:37 +02:00
Peter Schulman a531248fa2 Merge branch 'node_demo' of https://github.com/hwps/Nuklear into node_demo 2023-05-31 13:01:44 +03:00
Peter Schulman 7b637bcc71 Fix blend node out color inverted vs inputs 2023-05-31 13:00:07 +03:00
Peter Schulman 2af99553b2 Fix blend node out color inverted vs inputs 2023-05-31 12:45:43 +03:00
Peter Schulman 25e2a0b8e4 Restore main.c from master 2023-05-31 11:48:43 +03:00
Peter Schulman de72f94a85 Minor cleanups 2023-05-31 11:39:03 +03:00
Peter Schulman b2c7c1b093 Renamed node_editor_main back to node_editor 2023-05-28 13:03:34 +03:00
Peter Schulman 3f6cd310f5 camelCase -> snake_case, as in the rest of Nuklear 2023-05-28 12:17:21 +03:00
Peter Schulman 151ed01f69 Blend nodes added 2023-05-03 08:52:53 +03:00
Peter Schulman a27fba8cb6 Made float node min/max 0.0/1.0 for simplicity 2023-05-03 08:41:16 +03:00
Peter Schulman 593a51fe8e Bug fix 2023-05-03 08:40:05 +03:00
Peter Schulman fb9d7d6c05 Link buffer reuse / "memory management" 2023-05-02 09:23:05 +03:00
Peter Schulman dc4e3f1cf4 Clean up warnings + C89 compliance 2023-05-02 08:33:58 +03:00
Peter Schulman 9e9310c53b node_editor_delete_link + C89 compliance 2023-05-02 08:33:35 +03:00
Peter Schulman e6a82fe454 Node deletion 2023-04-26 12:17:59 +03:00
Peter Schulman 4c8c3e3fa0 Comment clean up + add node_editor_eval_connected & node_output_get 2023-04-26 12:16:59 +03:00
Peter Schulman f165244c8e Node eval functions 2023-04-19 19:38:58 +03:00
Peter Schulman 5f1e3efd29 Float and Output nodes, all mallocs into node_editor_add 2023-04-17 15:01:47 +03:00
Peter Schulman 86388491af Color node creation and display, base Node now generic 2023-04-17 09:07:48 +03:00
Peter Schulman f4369efc1a Color coded slots + only allow link to same type 2023-04-14 09:28:31 +03:00
Peter Schulman e9e391ee32 Node connector positioning 2023-04-14 06:47:48 +03:00
Peter Schulman 52eff509b2 Color node creation added 2023-04-13 07:02:29 +03:00
Peter Schulman ea9bfef2b5 Drawing of node as a separate function 2023-04-12 12:49:17 +03:00
Peter Schulman da00363fb1 Detachable/movable links 2023-04-12 09:29:16 +03:00
Peter Schulman 3d2e410d78 Allow only one input per input slot 2023-04-11 09:23:53 +03:00
Peter Schulman da7cf400c3 Node links now take node pointers instead of IDs 2023-04-11 06:41:29 +03:00
Peter Schulman 5abe124c5c Added node_connector struct 2023-03-31 11:12:56 +03:00
Peter Schulman 608982952c Renamed some things + added comments 2023-03-31 11:05:24 +03:00
Rob Loach 1d9fb0bc79
Merge pull request #550 from lockie/master
demo/allegro5: minor string-related tweaks
2023-03-09 15:15:51 -05:00
Andrew Kravchuk c09e3b36f8
demo/allegro5: minor string-related tweaks 2023-03-01 18:53:02 +01:00
dumblob 25b84d101d
Merge pull request #538 from LonerDan/patch-1
readme: remove link to no longer existing online "amalgamation" tool
2023-01-13 13:43:50 +01:00
LonerDan 7c84c3cc18
Remove link to no longer existing tool
The link to the online single header packer (https://apoorvaj.io/single-header-packer.html) no longer works (returns 404), so remove it.
2023-01-13 12:33:12 +01:00
Rob Loach f60c63ad12
Merge pull request #529 from Immediate-Mode-UI/gitmodules-remove
Remove .gitmodules as it's not used anymore
2022-12-18 14:07:50 -05:00
Rob Loach 7c40d519f0
Merge pull request #522 from learn-more/renderer_name
demo/win32: Add the renderer name to the window title
2022-12-17 17:41:39 -05:00
Rob Loach 9878e57d61
Merge pull request #523 from learn-more/editorconfig
utils: Add .yml indent_size to .editorconfig
2022-12-17 14:10:54 -05:00
Rob Loach 8d9f46a6a5
utils: Apply indent_size 2 to all JSON and YAML files 2022-12-17 14:10:43 -05:00
Rob Loach c512ac8864
Merge pull request #527 from dulingzhi/fix/ttc-font-offset
Fix nk_font_bake_pack() using TTC font offset incorrectly
2022-12-17 14:04:55 -05:00
Rob Loach 743dd0105f
Update version for 4.10.5 2022-12-17 14:01:12 -05:00
Rob Loach f78acb4333
Remove .gitmodules as it's not used anymore 2022-12-17 14:00:26 -05:00
Rob Loach ca227ac0f7
Merge pull request #525 from learn-more/add_link
Add link from the documentation to the code
2022-12-17 13:56:59 -05:00
Jai 1dad328fe9 Fix the problem that nk_font_bake_pack uses ttc font offset incorrectly (#456) 2022-12-16 12:20:03 +08:00
Mark Jansen 607e4716cc
Add link from the documentation to the code
Fixes #515
2022-12-03 21:57:14 +01:00
Mark Jansen da9d3866e2
utils: Add .yml indent_size to .editorconfig 2022-12-02 00:20:08 +01:00
Mark Jansen 0b7547b710
demo/win32: Add the renderer name to the window title 2022-12-02 00:19:33 +01:00
dumblob 776893ef7b
Merge pull request #520 from learn-more/gdi_cc
gdi_native: Fix calling convention problem
2022-11-30 21:48:17 +01:00
Mark Jansen b98732fbc8
gdi_native: Fix calling convention problem
The calling convention of a WNDPROC is specified as being 'CALLBACK'.
2022-11-30 18:56:00 +01:00
dumblob 7ae6d7dacc
Merge pull request #518 from Th3T3chn0G1t/master
demo/backend: Fixed UBSan trip in GLFW OpenGL3
2022-11-24 16:08:57 +01:00
Th3T3chn0G1t 637b5e198d
Fixed UBSan trip in GLFW OpenGL3 demo backend
This resolves a false UBSan trip caused by treating the element offset
in `glDrawElements` as a pointer
This parameter is effectively an offset but is taken as a `void*`
By not storing the offset as a pointer, UBSan no longer tools the offset
to check for null pointer overflow
2022-11-24 10:21:37 +00:00
dumblob 3a0aafb9cc
Merge pull request #506 from Francesco149/nuklear-string-returns-zero-fix
Fix nk_str_{append,insert}_str_utf8 always returning 0
2022-11-02 21:46:08 +01:00