Commit Graph
714 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 7b637bcc71 Fix blend node out color inverted vs inputs 2023-05-31 13:00:07 +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
Andrew Kravchuk c09e3b36f8 demo/allegro5: minor string-related tweaks 2023-03-01 18:53:02 +01:00
Mark Jansen 0b7547b710 demo/win32: Add the renderer name to the window title 2022-12-02 00:19:33 +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
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 835c6551d4 Merge pull request #504 from riri/demo-includes
demos: set style with defines to ease esp. regression testing
2022-10-13 17:59:10 +02:00
Richard Gill 54cd692d17 added comment on ifdefs to use styles in demos 2022-10-13 11:51:50 +02:00
Richard Gill d63f106334 xlib backend: implemented arc commands 2022-10-12 22:08:08 +02:00
Richard Gill fc5ce1c495 demos: set style with defines
To avoid having to modify the demo code,
conditionnally include a predefined style
2022-10-12 21:19:58 +02:00
dumblob 07bd7a0925 Merge pull request #414 from Ohjurot/gdi_nuklear_native_window
Windows (GDI): Native-like nuklear windows
2022-10-06 16:55:17 +02:00
Richard Gill 6a429eca62 cleanup xlib text drawing
fixes #502
2022-10-03 21:11:12 +02:00
Rob Loach c55fd8cc62 Merge branch 'master' of github.com:Immediate-Mode-UI/Nuklear into tex_null 2022-08-03 13:59:10 -04:00
Rob Loach ca49016428 Rename more null variables to tex_null 2022-07-30 17:45:12 -04:00
Rob Loach 54fd67bddd Rename additional .null variables 2022-07-30 17:43:46 -04:00
Rob Loach ec4acc7cf4 Rename the null variable to tex_null 2022-07-30 17:38:10 -04:00
Rob Loach 7597cc7a09 x11: Free XVisualInfo after use
Fixes #473
2022-07-09 17:18:21 -04:00
Ludwig Füchsl adeb2a720f Added wWinMain comment 2022-05-30 22:49:12 +02:00
Ludwig Füchsl 50277a1c39 Changed windows include to lowercase 2022-05-29 01:47:00 +02:00
Benedikt Müssig dca0f6fcfc Corrected the fill bugs in the GDI binding 2022-05-12 13:30:18 +02:00
Benedikt Müssig 628cc61263 Added the wingdi header to the GDI binding 2022-05-12 13:04:42 +02:00
Benedikt Müssig e698bb1531 Added the GDI arc drawing commands to the dispatch switch-case 2022-05-12 12:54:03 +02:00
Benedikt Müssig 321badb389 Implemented select all for GDI 2022-05-12 12:52:44 +02:00
Benedikt Müssig cacdf6baa4 Added the arc methods to the GDI binding 2022-05-12 12:52:05 +02:00
Rob Loach a51d9eec96 Merge pull request #427 from kbolino/fix-sdl-hidpi-rendering
Fix high-DPI scaling in sdl_renderer
2022-04-20 13:51:59 -04:00